[INFO] cloning repository https://github.com/osmarks/ewo3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osmarks/ewo3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmarks%2Fewo3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmarks%2Fewo3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ae79eb7585569075186344d6a65220f81e0cd77 [INFO] building osmarks/ewo3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmarks%2Fewo3" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/osmarks/ewo3 [INFO] finished tweaking git repo https://github.com/osmarks/ewo3 [INFO] tweaked toml for git repo https://github.com/osmarks/ewo3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/osmarks/ewo3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/osmarks/ewo3 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.rustflags [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87a87406aa1a2d726259dc8bb281c16b8e782719c74723563f77f5628d6c2063 [INFO] running `Command { std: "docker" "start" "-a" "87a87406aa1a2d726259dc8bb281c16b8e782719c74723563f77f5628d6c2063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87a87406aa1a2d726259dc8bb281c16b8e782719c74723563f77f5628d6c2063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a87406aa1a2d726259dc8bb281c16b8e782719c74723563f77f5628d6c2063", kill_on_drop: false }` [INFO] [stdout] 87a87406aa1a2d726259dc8bb281c16b8e782719c74723563f77f5628d6c2063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1b4aaa8cd79bcfc2602ddf080acd618ba529eb08866c5440bde9e34baee6989 [INFO] running `Command { std: "docker" "start" "-a" "a1b4aaa8cd79bcfc2602ddf080acd618ba529eb08866c5440bde9e34baee6989", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.rustflags [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling noise-functions v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling tokio-tungstenite v0.23.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling bincode v2.0.0-rc.3 [INFO] [stderr] Compiling hecs v0.10.5 [INFO] [stderr] Compiling euclid v0.22.10 [INFO] [stderr] Compiling ewo3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/worldgen_test.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temperature` [INFO] [stdout] --> src/worldgen_test.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | let (rain, temperature, atmo_humidity) = simulate_air(&heightmap, &sea, CoordVec::new(0, -1), CoordVec::new(1, 0)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atmo_humidity` [INFO] [stdout] --> src/worldgen_test.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | let (rain, temperature, atmo_humidity) = simulate_air(&heightmap, &sea, CoordVec::new(0, -1), CoordVec::new(1, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atmo_humidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `salt` [INFO] [stdout] --> src/worldgen_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let (water, salt) = simulate_water(&mut heightmap, &rain, &sea, &sinks); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_salt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `map` is never used [INFO] [stdout] --> src/worldgen.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Map { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn map S>(mut f: F, other: &Self) -> Map { [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 `SEA_LEVEL_AIR_PRESSURE` is never used [INFO] [stdout] --> src/worldgen.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | const SEA_LEVEL_AIR_PRESSURE: f32 = 1013.0; // hPa [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESSURE_DROP_PER_METER` is never used [INFO] [stdout] --> src/worldgen.rs:486:7 [INFO] [stdout] | [INFO] [stdout] 486 | const PRESSURE_DROP_PER_METER: f32 = 0.001; // hPa m^-1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TerrainType` is never used [INFO] [stdout] --> src/worldgen.rs:564:10 [INFO] [stdout] | [INFO] [stdout] 564 | pub enum TerrainType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeneratedWorld` is never constructed [INFO] [stdout] --> src/worldgen.rs:573:12 [INFO] [stdout] | [INFO] [stdout] 573 | pub struct GeneratedWorld { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_world` is never used [INFO] [stdout] --> src/worldgen.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 583 | pub fn generate_world() -> GeneratedWorld { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `entry_cost` and `symbol` are never used [INFO] [stdout] --> src/worldgen.rs:623:12 [INFO] [stdout] | [INFO] [stdout] 622 | impl TerrainType { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 623 | pub fn entry_cost(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn symbol(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_terrain` and `radius` are never used [INFO] [stdout] --> src/worldgen.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 644 | impl GeneratedWorld { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 645 | pub fn get_terrain(&self, pos: Coord) -> TerrainType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | pub fn radius(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_axis` is never used [INFO] [stdout] --> src/map.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn on_axis(p: CoordVec) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_range` is never used [INFO] [stdout] --> src/map.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn sample_range(range: i32) -> CoordVec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEA_LEVEL_AIR_PRESSURE` is never used [INFO] [stdout] --> src/worldgen.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | const SEA_LEVEL_AIR_PRESSURE: f32 = 1013.0; // hPa [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 `PRESSURE_DROP_PER_METER` is never used [INFO] [stdout] --> src/worldgen.rs:486:7 [INFO] [stdout] | [INFO] [stdout] 486 | const PRESSURE_DROP_PER_METER: f32 = 0.001; // hPa m^-1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take` is never used [INFO] [stdout] --> src/main.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 206 | impl Inventory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | fn take(&mut self, item: Item, qty: u64) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal` is never used [INFO] [stdout] --> src/main.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn normal() -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_scaled` is never used [INFO] [stdout] --> src/main.rs:289:4 [INFO] [stdout] | [INFO] [stdout] 289 | fn normal_scaled(mu: f32, sigma: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Constant` is never constructed [INFO] [stdout] --> src/main.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 304 | enum StochasticNumber { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 305 | Constant(f32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StochasticNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "a1b4aaa8cd79bcfc2602ddf080acd618ba529eb08866c5440bde9e34baee6989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b4aaa8cd79bcfc2602ddf080acd618ba529eb08866c5440bde9e34baee6989", kill_on_drop: false }` [INFO] [stdout] a1b4aaa8cd79bcfc2602ddf080acd618ba529eb08866c5440bde9e34baee6989 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfa92e612eb99c78421409ab6059fdc88717077dfdc1c48e214baae38981b6f3 [INFO] running `Command { std: "docker" "start" "-a" "dfa92e612eb99c78421409ab6059fdc88717077dfdc1c48e214baae38981b6f3", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.rustflags [INFO] [stderr] Compiling ewo3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/worldgen_test.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temperature` [INFO] [stdout] --> src/worldgen_test.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | let (rain, temperature, atmo_humidity) = simulate_air(&heightmap, &sea, CoordVec::new(0, -1), CoordVec::new(1, 0)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atmo_humidity` [INFO] [stdout] --> src/worldgen_test.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | let (rain, temperature, atmo_humidity) = simulate_air(&heightmap, &sea, CoordVec::new(0, -1), CoordVec::new(1, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atmo_humidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `salt` [INFO] [stdout] --> src/worldgen_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let (water, salt) = simulate_water(&mut heightmap, &rain, &sea, &sinks); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_salt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `map` is never used [INFO] [stdout] --> src/worldgen.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Map { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn map S>(mut f: F, other: &Self) -> Map { [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 `SEA_LEVEL_AIR_PRESSURE` is never used [INFO] [stdout] --> src/worldgen.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | const SEA_LEVEL_AIR_PRESSURE: f32 = 1013.0; // hPa [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESSURE_DROP_PER_METER` is never used [INFO] [stdout] --> src/worldgen.rs:486:7 [INFO] [stdout] | [INFO] [stdout] 486 | const PRESSURE_DROP_PER_METER: f32 = 0.001; // hPa m^-1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TerrainType` is never used [INFO] [stdout] --> src/worldgen.rs:564:10 [INFO] [stdout] | [INFO] [stdout] 564 | pub enum TerrainType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeneratedWorld` is never constructed [INFO] [stdout] --> src/worldgen.rs:573:12 [INFO] [stdout] | [INFO] [stdout] 573 | pub struct GeneratedWorld { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_world` is never used [INFO] [stdout] --> src/worldgen.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 583 | pub fn generate_world() -> GeneratedWorld { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `entry_cost` and `symbol` are never used [INFO] [stdout] --> src/worldgen.rs:623:12 [INFO] [stdout] | [INFO] [stdout] 622 | impl TerrainType { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 623 | pub fn entry_cost(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn symbol(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_terrain` and `radius` are never used [INFO] [stdout] --> src/worldgen.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 644 | impl GeneratedWorld { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 645 | pub fn get_terrain(&self, pos: Coord) -> TerrainType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | pub fn radius(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_axis` is never used [INFO] [stdout] --> src/map.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn on_axis(p: CoordVec) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_range` is never used [INFO] [stdout] --> src/map.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn sample_range(range: i32) -> CoordVec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEA_LEVEL_AIR_PRESSURE` is never used [INFO] [stdout] --> src/worldgen.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | const SEA_LEVEL_AIR_PRESSURE: f32 = 1013.0; // hPa [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 `PRESSURE_DROP_PER_METER` is never used [INFO] [stdout] --> src/worldgen.rs:486:7 [INFO] [stdout] | [INFO] [stdout] 486 | const PRESSURE_DROP_PER_METER: f32 = 0.001; // hPa m^-1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take` is never used [INFO] [stdout] --> src/main.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 206 | impl Inventory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | fn take(&mut self, item: Item, qty: u64) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal` is never used [INFO] [stdout] --> src/main.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn normal() -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_scaled` is never used [INFO] [stdout] --> src/main.rs:289:4 [INFO] [stdout] | [INFO] [stdout] 289 | fn normal_scaled(mu: f32, sigma: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Constant` is never constructed [INFO] [stdout] --> src/main.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 304 | enum StochasticNumber { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 305 | Constant(f32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StochasticNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "dfa92e612eb99c78421409ab6059fdc88717077dfdc1c48e214baae38981b6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa92e612eb99c78421409ab6059fdc88717077dfdc1c48e214baae38981b6f3", kill_on_drop: false }` [INFO] [stdout] dfa92e612eb99c78421409ab6059fdc88717077dfdc1c48e214baae38981b6f3