[INFO] cloning repository https://github.com/uymaz/Harita [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uymaz/Harita" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuymaz%2FHarita", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuymaz%2FHarita'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51de97934b0f526038bf89e10fa2484cd33d869d [INFO] checking uymaz/Harita against try#c6359cd3b4418e8472bae1a89c242796f2b86d56 for pr-147984-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuymaz%2FHarita" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/uymaz/Harita [INFO] finished tweaking git repo https://github.com/uymaz/Harita [INFO] tweaked toml for git repo https://github.com/uymaz/Harita written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/uymaz/Harita on toolchain c6359cd3b4418e8472bae1a89c242796f2b86d56 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c6359cd3b4418e8472bae1a89c242796f2b86d56" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/uymaz/Harita 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" "+c6359cd3b4418e8472bae1a89c242796f2b86d56" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c6359cd3b4418e8472bae1a89c242796f2b86d56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf19530fd97b8396dff87e4d4a90820b42b1c91394989783b25fbc66cf1bad4f [INFO] running `Command { std: "docker" "start" "-a" "bf19530fd97b8396dff87e4d4a90820b42b1c91394989783b25fbc66cf1bad4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf19530fd97b8396dff87e4d4a90820b42b1c91394989783b25fbc66cf1bad4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf19530fd97b8396dff87e4d4a90820b42b1c91394989783b25fbc66cf1bad4f", kill_on_drop: false }` [INFO] [stdout] bf19530fd97b8396dff87e4d4a90820b42b1c91394989783b25fbc66cf1bad4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c6359cd3b4418e8472bae1a89c242796f2b86d56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5ab4ad3782e2bf64168d7cfccbe9b8c7baa174c29f9e8100934dcc0af4925e5 [INFO] running `Command { std: "docker" "start" "-a" "c5ab4ad3782e2bf64168d7cfccbe9b8c7baa174c29f9e8100934dcc0af4925e5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking noise v0.7.0 [INFO] [stderr] Checking harita v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `Perlin` is ambiguous [INFO] [stdout] --> src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use noise::{NoiseFn, Perlin, Seedable}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Perlin` could refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::perlin::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: `Perlin` could also refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::perlin_surflet::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Perlin` is ambiguous [INFO] [stdout] --> src/main.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | let perlin_heightmap = Perlin::new().set_seed(seed_heightmap); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Perlin` could refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::perlin::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: `Perlin` could also refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::perlin_surflet::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Perlin` is ambiguous [INFO] [stdout] --> src/main.rs:160:40 [INFO] [stdout] | [INFO] [stdout] 160 | let perlin_precipitation_map = Perlin::new().set_seed(seed_precipitation_map); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Perlin` could refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::perlin::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: `Perlin` could also refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::perlin_surflet::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::error::Error; [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 imports: `Level`, `debug`, `error`, `info`, and `log_enabled` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use log::{debug, error, log_enabled, info, Level}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Perlin` is ambiguous [INFO] [stdout] --> src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use noise::{NoiseFn, Perlin, Seedable}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Perlin` could refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::perlin::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: `Perlin` could also refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::perlin_surflet::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Perlin` is ambiguous [INFO] [stdout] --> src/main.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | let perlin_heightmap = Perlin::new().set_seed(seed_heightmap); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Perlin` could refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::perlin::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: `Perlin` could also refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::perlin_surflet::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Perlin` is ambiguous [INFO] [stdout] --> src/main.rs:160:40 [INFO] [stdout] | [INFO] [stdout] 160 | let perlin_precipitation_map = Perlin::new().set_seed(seed_precipitation_map); [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Perlin` could refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::perlin::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: `Perlin` could also refer to the struct defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noise-0.7.0/src/noise_fns/generators.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::perlin_surflet::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precipitation` [INFO] [stdout] --> src/main.rs:85:49 [INFO] [stdout] | [INFO] [stdout] 85 | fn color(tile: Tile, biome: Biome, height: f64, precipitation: f64) -> Rgb { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precipitation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heightmap` [INFO] [stdout] --> src/main.rs:288:48 [INFO] [stdout] | [INFO] [stdout] 288 | fn adjust_biomes(biomes: &mut Vec>, heightmap: &Vec>, precipitation_map: &Vec>) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heightmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precipitation_map` [INFO] [stdout] --> src/main.rs:288:75 [INFO] [stdout] | [INFO] [stdout] 288 | fn adjust_biomes(biomes: &mut Vec>, heightmap: &Vec>, precipitation_map: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precipitation_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Snow` and `Volcano` are never constructed [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum Tile { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Snow, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Volcano, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Coast`, `Beach`, `Swamp`, `Tundra`, and `Taiga` are never constructed [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum Biome { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 29 | Ocean, [INFO] [stdout] 30 | Coast, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Beach, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | Swamp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | Tundra, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | Taiga, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Biome` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/main.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 154 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::error::Error; [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 imports: `Level`, `debug`, `error`, `info`, and `log_enabled` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use log::{debug, error, log_enabled, info, Level}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `harita` (bin "harita" test) due to 6 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `precipitation` [INFO] [stdout] --> src/main.rs:85:49 [INFO] [stdout] | [INFO] [stdout] 85 | fn color(tile: Tile, biome: Biome, height: f64, precipitation: f64) -> Rgb { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precipitation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heightmap` [INFO] [stdout] --> src/main.rs:288:48 [INFO] [stdout] | [INFO] [stdout] 288 | fn adjust_biomes(biomes: &mut Vec>, heightmap: &Vec>, precipitation_map: &Vec>) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heightmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precipitation_map` [INFO] [stdout] --> src/main.rs:288:75 [INFO] [stdout] | [INFO] [stdout] 288 | fn adjust_biomes(biomes: &mut Vec>, heightmap: &Vec>, precipitation_map: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precipitation_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Snow` and `Volcano` are never constructed [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum Tile { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Snow, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Volcano, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Coast`, `Beach`, `Swamp`, `Tundra`, and `Taiga` are never constructed [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum Biome { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 29 | Ocean, [INFO] [stdout] 30 | Coast, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Beach, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | Swamp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | Tundra, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | Taiga, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Biome` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/main.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 154 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `harita` (bin "harita") due to 6 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c5ab4ad3782e2bf64168d7cfccbe9b8c7baa174c29f9e8100934dcc0af4925e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ab4ad3782e2bf64168d7cfccbe9b8c7baa174c29f9e8100934dcc0af4925e5", kill_on_drop: false }` [INFO] [stdout] c5ab4ad3782e2bf64168d7cfccbe9b8c7baa174c29f9e8100934dcc0af4925e5