[INFO] cloning repository https://github.com/GageHoweTamu/Life-Automata-3D [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GageHoweTamu/Life-Automata-3D" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGageHoweTamu%2FLife-Automata-3D", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGageHoweTamu%2FLife-Automata-3D'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e02205695aa846c5e80986e56c9019f38ff4dec [INFO] checking GageHoweTamu/Life-Automata-3D against master#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGageHoweTamu%2FLife-Automata-3D" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GageHoweTamu/Life-Automata-3D on toolchain c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GageHoweTamu/Life-Automata-3D [INFO] finished tweaking git repo https://github.com/GageHoweTamu/Life-Automata-3D [INFO] tweaked toml for git repo https://github.com/GageHoweTamu/Life-Automata-3D written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GageHoweTamu/Life-Automata-3D 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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "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] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.21 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded js-sys v0.3.69 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded glow v0.7.2 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.4 [INFO] [stderr] Downloaded gif v0.11.4 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.4 [INFO] [stderr] Downloaded tiff v0.6.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.4 [INFO] [stderr] Downloaded kiss3d v0.32.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.4 [INFO] [stderr] Downloaded web-sys v0.3.69 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.6 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.8 [INFO] [stderr] Downloaded wayland-egl v0.28.6 [INFO] [stderr] Downloaded cocoa v0.24.1 [INFO] [stderr] Downloaded miow v0.2.2 [INFO] [stderr] Downloaded net2 v0.2.39 [INFO] [stderr] Downloaded mio v0.6.23 [INFO] [stderr] Downloaded redox_syscall v0.2.16 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded raw-window-handle v0.4.3 [INFO] [stderr] Downloaded raw-window-handle v0.3.4 [INFO] [stderr] Downloaded walkdir v2.5.0 [INFO] [stderr] Downloaded xdg v2.5.2 [INFO] [stderr] Downloaded libloading v0.6.7 [INFO] [stderr] Downloaded memmap2 v0.1.0 [INFO] [stderr] Downloaded wayland-cursor v0.28.6 [INFO] [stderr] Downloaded wayland-protocols v0.28.6 [INFO] [stderr] Downloaded smithay-client-toolkit v0.12.3 [INFO] [stderr] Downloaded cc v1.0.89 [INFO] [stderr] Downloaded nix v0.20.0 [INFO] [stderr] Downloaded wayland-commons v0.28.6 [INFO] [stderr] Downloaded wayland-scanner v0.28.6 [INFO] [stderr] Downloaded windows-targets v0.52.4 [INFO] [stderr] Downloaded libloading v0.8.3 [INFO] [stderr] Downloaded wayland-sys v0.28.6 [INFO] [stderr] Downloaded wayland-client v0.28.6 [INFO] [stderr] Downloaded winit v0.24.0 [INFO] [stderr] Downloaded glutin v0.26.0 [INFO] [stderr] Downloaded num-iter v0.1.44 [INFO] [stderr] Downloaded num-rational v0.3.2 [INFO] [stderr] Downloaded crc32fast v1.4.0 [INFO] [stderr] Downloaded deflate v0.8.6 [INFO] [stderr] Downloaded miniz_oxide v0.3.7 [INFO] [stderr] Downloaded png v0.16.8 [INFO] [stderr] Downloaded rayon v1.9.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [INFO] [stderr] Downloaded image v0.23.14 [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded matrixmultiply v0.3.8 [INFO] [stderr] Downloaded nalgebra-macros v0.1.0 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded num-rational v0.4.1 [INFO] [stderr] Downloaded nalgebra v0.29.0 [INFO] [stderr] Downloaded petgraph v0.5.1 [INFO] [stderr] Downloaded num-complex v0.4.5 [INFO] [stderr] Downloaded safe_arch v0.7.1 [INFO] [stderr] Downloaded wide v0.7.15 [INFO] [stderr] Downloaded simba v0.6.0 [INFO] [stderr] Downloaded ncollide3d v0.32.0 [INFO] [stderr] Downloaded hermit-abi v0.3.9 [INFO] [stderr] Downloaded num_cpus v1.16.0 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded syn v2.0.52 [INFO] [stderr] Downloaded fixedbitset v0.2.0 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded bumpalo v3.15.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eacd5f546ac2e51b3bfa37a7b89837a84f27783899605acea47a535cdf735b75 [INFO] running `Command { std: "docker" "start" "-a" "eacd5f546ac2e51b3bfa37a7b89837a84f27783899605acea47a535cdf735b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eacd5f546ac2e51b3bfa37a7b89837a84f27783899605acea47a535cdf735b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eacd5f546ac2e51b3bfa37a7b89837a84f27783899605acea47a535cdf735b75", kill_on_drop: false }` [INFO] [stdout] eacd5f546ac2e51b3bfa37a7b89837a84f27783899605acea47a535cdf735b75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c686cf4c20f294fba9a943ff196376eccb112fe9a423f8479fa0a98d771404e [INFO] running `Command { std: "docker" "start" "-a" "8c686cf4c20f294fba9a943ff196376eccb112fe9a423f8479fa0a98d771404e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking glow v0.7.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking ncollide3d v0.32.0 [INFO] [stderr] Checking kiss3d v0.32.0 [INFO] [stderr] Checking life_3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `kiss3d::scene::SceneNode` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kiss3d::scene::SceneNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point`, `UnitQuaternion` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use kiss3d::nalgebra::{Point, Point2, Point3, Translation3, UnitQuaternion, Vector3}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/organism.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entity`, `World` [INFO] [stdout] --> src/organism.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::world::{World, Entity}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> src/cell.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::block::{Block, BlockType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::organism::Organism` [INFO] [stdout] --> src/world.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::organism::Organism; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `world::*` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use world::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kiss3d::scene::SceneNode` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kiss3d::scene::SceneNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point`, `UnitQuaternion` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use kiss3d::nalgebra::{Point, Point2, Point3, Translation3, UnitQuaternion, Vector3}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/organism.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entity`, `World` [INFO] [stdout] --> src/organism.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::world::{World, Entity}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> src/cell.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::block::{Block, BlockType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::organism::Organism` [INFO] [stdout] --> src/world.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::organism::Organism; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `world::*` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use world::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `food_in_sight` [INFO] [stdout] --> src/organism.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | let (danger_in_sight, food_in_sight) = self.get_nearby_organisms(organisms).iter().fold((0, 0), |(danger, food), organism| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_food_in_sight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `food_in_sight` [INFO] [stdout] --> src/organism.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | let (danger_in_sight, food_in_sight) = self.get_nearby_organisms(organisms).iter().fold((0, 0), |(danger, food), organism| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_food_in_sight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sim_world` [INFO] [stdout] --> src/main.rs:41:149 [INFO] [stdout] | [INFO] [stdout] 41 | ...usize, max_blocks: usize, sim_world: &mut World) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sim_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `frame_counter` is assigned to, but never used [INFO] [stdout] --> src/main.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut frame_counter = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_frame_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sim_world` [INFO] [stdout] --> src/main.rs:41:149 [INFO] [stdout] | [INFO] [stdout] 41 | ...usize, max_blocks: usize, sim_world: &mut World) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sim_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `frame_counter` is assigned to, but never used [INFO] [stdout] --> src/main.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut frame_counter = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_frame_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_organisms` [INFO] [stdout] --> src/main.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let num_organisms = organisms.lock().unwrap().len(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_organisms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `framerate` [INFO] [stdout] --> src/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let framerate = 1.0 / (now.duration_since(last_instant)).as_secs_f32(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framerate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let mut new_blocks = Vec::new(); [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: `num_organisms` [INFO] [stdout] --> src/main.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let num_organisms = organisms.lock().unwrap().len(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_organisms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `framerate` [INFO] [stdout] --> src/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let framerate = 1.0 / (now.duration_since(last_instant)).as_secs_f32(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framerate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let mut new_blocks = Vec::new(); [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: method `look` is never used [INFO] [stdout] --> src/cell.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Eye { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 22 | pub fn look(&self, rotation: i8, world: &World, x: usize, y: usize, z: usize) -> (i32, i32) { // delete this [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `look` is never used [INFO] [stdout] --> src/cell.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Eye { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 22 | pub fn look(&self, rotation: i8, world: &World, x: usize, y: usize, z: usize) -> (i32, i32) { // delete this [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `shift` and `clone` are never used [INFO] [stdout] --> src/cell.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn shift(&mut self, x: i8, y: i8, z: i8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn clone(&self) -> Cell { // this may not be needed [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Block` and `Cell` are never constructed [INFO] [stdout] --> src/world.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Entity { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 8 | Block(Block), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Cell(Cell), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid`, `width`, `height`, and `depth` are never read [INFO] [stdout] --> src/world.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | pub grid: Vec>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub depth: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_entity`, `get_entity`, `get_adjacent_entities`, and `clear` are never used [INFO] [stdout] --> src/world.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn set_entity(&mut self, x: usize, y: usize, z: usize, entity: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_entity(&self, x: usize, y: usize, z: usize) -> Option<&Entity> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_adjacent_entities(&self, x: usize, y: usize, z: usize) -> Vec<((usize, usize, usize), &Entity)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Wall` is never constructed [INFO] [stdout] --> src/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum BlockType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 6 | Food, [INFO] [stdout] 7 | Wall, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `shift` and `clone` are never used [INFO] [stdout] --> src/cell.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn shift(&mut self, x: i8, y: i8, z: i8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn clone(&self) -> Cell { // this may not be needed [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Block` and `Cell` are never constructed [INFO] [stdout] --> src/world.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Entity { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 8 | Block(Block), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Cell(Cell), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid`, `width`, `height`, and `depth` are never read [INFO] [stdout] --> src/world.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct World { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | pub grid: Vec>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub depth: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_entity`, `get_entity`, `get_adjacent_entities`, and `clear` are never used [INFO] [stdout] --> src/world.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn set_entity(&mut self, x: usize, y: usize, z: usize, entity: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_entity(&self, x: usize, y: usize, z: usize) -> Option<&Entity> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_adjacent_entities(&self, x: usize, y: usize, z: usize) -> Vec<((usize, usize, usize), &Entity)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Wall` is never constructed [INFO] [stdout] --> src/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum BlockType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 6 | Food, [INFO] [stdout] 7 | Wall, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "8c686cf4c20f294fba9a943ff196376eccb112fe9a423f8479fa0a98d771404e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c686cf4c20f294fba9a943ff196376eccb112fe9a423f8479fa0a98d771404e", kill_on_drop: false }` [INFO] [stdout] 8c686cf4c20f294fba9a943ff196376eccb112fe9a423f8479fa0a98d771404e