[INFO] cloning repository https://github.com/pat-365/belief_sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pat-365/belief_sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpat-365%2Fbelief_sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpat-365%2Fbelief_sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8489660523c3aa9d71bb2a1b8237080e69a2ad6e [INFO] checking pat-365/belief_sim against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpat-365%2Fbelief_sim" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pat-365/belief_sim on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pat-365/belief_sim [INFO] finished tweaking git repo https://github.com/pat-365/belief_sim [INFO] tweaked toml for git repo https://github.com/pat-365/belief_sim written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pat-365/belief_sim 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dlib v0.5.2 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded libloading v0.8.1 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.1 [INFO] [stderr] Downloaded core-graphics-types v0.1.2 [INFO] [stderr] Downloaded android_glue v0.2.3 [INFO] [stderr] Downloaded minvect v0.1.1 [INFO] [stderr] Downloaded num_enum_derive v0.5.11 [INFO] [stderr] Downloaded core-foundation-sys v0.7.0 [INFO] [stderr] Downloaded glow_mesh v0.1.1 [INFO] [stderr] Downloaded ordered-float v4.1.1 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded core-graphics v0.19.2 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded glow v0.11.2 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded hashbrown v0.14.1 [INFO] [stderr] Downloaded winnow v0.5.16 [INFO] [stderr] Downloaded toml_edit v0.19.15 [INFO] [stderr] Downloaded nix v0.22.3 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded winit v0.26.1 [INFO] [stderr] Downloaded cocoa-foundation v0.1.2 [INFO] [stderr] Downloaded core-foundation v0.7.0 [INFO] [stderr] Downloaded core-video-sys v0.1.4 [INFO] [stderr] Downloaded num_enum v0.5.11 [INFO] [stderr] Downloaded proc-macro-crate v1.3.1 [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded x11-dl v2.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f57bd30012d97320e47fc3144d2364bf2b302ca9453d0f2feb36171c32bfe6a [INFO] running `Command { std: "docker" "start" "-a" "6f57bd30012d97320e47fc3144d2364bf2b302ca9453d0f2feb36171c32bfe6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f57bd30012d97320e47fc3144d2364bf2b302ca9453d0f2feb36171c32bfe6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f57bd30012d97320e47fc3144d2364bf2b302ca9453d0f2feb36171c32bfe6a", kill_on_drop: false }` [INFO] [stdout] 6f57bd30012d97320e47fc3144d2364bf2b302ca9453d0f2feb36171c32bfe6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7af827a2456ee9c40312ba0dbe3091aa394bb2c8cd31e91c22cfe5148f1900ec [INFO] running `Command { std: "docker" "start" "-a" "7af827a2456ee9c40312ba0dbe3091aa394bb2c8cd31e91c22cfe5148f1900ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking glow v0.11.2 [INFO] [stderr] Checking minvect v0.1.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Checking ordered-float v4.1.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking glow_mesh v0.1.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking wayland-egl v0.29.5 [INFO] [stderr] Checking glutin v0.28.0 [INFO] [stderr] Checking belief_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INFINITY`, `NEG_INFINITY` [INFO] [stdout] --> src/noise.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::{consts::PI, INFINITY, NEG_INFINITY}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PI` is imported redundantly [INFO] [stdout] --> src/noise.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::{consts::PI, INFINITY, NEG_INFINITY}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2 | use minvect::*; [INFO] [stdout] | ---------- the item `PI` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rng::*` [INFO] [stdout] --> src/noise.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rng::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PI` is imported redundantly [INFO] [stdout] --> src/noise.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::{consts::PI, INFINITY, NEG_INFINITY}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2 | use minvect::*; [INFO] [stdout] | ---------- the item `PI` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glutin::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/game.rs:104:73 [INFO] [stdout] | [INFO] [stdout] 104 | WindowEvent::CursorMoved { device_id, position, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/game.rs:107:77 [INFO] [stdout] | [INFO] [stdout] 107 | WindowEvent::MouseInput { device_id, state, button, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glutin::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/game.rs:104:73 [INFO] [stdout] | [INFO] [stdout] 104 | WindowEvent::CursorMoved { device_id, position, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/game.rs:107:77 [INFO] [stdout] | [INFO] [stdout] 107 | WindowEvent::MouseInput { device_id, state, button, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/game.rs:104:52 [INFO] [stdout] | [INFO] [stdout] 104 | WindowEvent::CursorMoved { device_id, position, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/game.rs:104:73 [INFO] [stdout] | [INFO] [stdout] 104 | WindowEvent::CursorMoved { device_id, position, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/game.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | WindowEvent::MouseInput { device_id, state, button, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/game.rs:107:77 [INFO] [stdout] | [INFO] [stdout] 107 | WindowEvent::MouseInput { device_id, state, button, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sim.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | for i in 0..200 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sim.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | for i in 0..diagram.sites.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/sim.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new(seed: u32, a: f32) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/game.rs:104:52 [INFO] [stdout] | [INFO] [stdout] 104 | WindowEvent::CursorMoved { device_id, position, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/game.rs:104:73 [INFO] [stdout] | [INFO] [stdout] 104 | WindowEvent::CursorMoved { device_id, position, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/game.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | WindowEvent::MouseInput { device_id, state, button, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/game.rs:107:77 [INFO] [stdout] | [INFO] [stdout] 107 | WindowEvent::MouseInput { device_id, state, button, modifiers } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/noise.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | for i in 0..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sim.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | for i in 0..200 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sim.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | for i in 0..diagram.sites.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/sim.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new(seed: u32, a: f32) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pause` is never read [INFO] [stdout] --> src/game.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pause: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `krand` is never used [INFO] [stdout] --> src/rng.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn krand(seed: u32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_random` and `next_u64` are never used [INFO] [stdout] --> src/rng.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Rng { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 23 | pub fn new_random() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn next_u64(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `temperature_map` is never used [INFO] [stdout] --> src/heightmap.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn temperature_map(p: &Vec2, seed: u32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INITIATIVE` is never used [INFO] [stdout] --> src/sim.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const INITIATIVE: usize = 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WELCOMING` is never used [INFO] [stdout] --> src/sim.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const WELCOMING: usize = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> src/sim.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Sim { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | pub seed: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pause` is never read [INFO] [stdout] --> src/game.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pause: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `krand` is never used [INFO] [stdout] --> src/rng.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn krand(seed: u32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_random` and `next_u64` are never used [INFO] [stdout] --> src/rng.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Rng { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 23 | pub fn new_random() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn next_u64(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `temperature_map` is never used [INFO] [stdout] --> src/heightmap.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn temperature_map(p: &Vec2, seed: u32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INITIATIVE` is never used [INFO] [stdout] --> src/sim.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const INITIATIVE: usize = 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WELCOMING` is never used [INFO] [stdout] --> src/sim.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const WELCOMING: usize = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> src/sim.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Sim { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | pub seed: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.36s [INFO] running `Command { std: "docker" "inspect" "7af827a2456ee9c40312ba0dbe3091aa394bb2c8cd31e91c22cfe5148f1900ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af827a2456ee9c40312ba0dbe3091aa394bb2c8cd31e91c22cfe5148f1900ec", kill_on_drop: false }` [INFO] [stdout] 7af827a2456ee9c40312ba0dbe3091aa394bb2c8cd31e91c22cfe5148f1900ec