[INFO] cloning repository https://github.com/20NickName20/term-cave-crawl-rpg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/20NickName20/term-cave-crawl-rpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F20NickName20%2Fterm-cave-crawl-rpg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F20NickName20%2Fterm-cave-crawl-rpg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d94cc88032f70c16e0d0a4d934344aa88caa4fc3 [INFO] checking 20NickName20/term-cave-crawl-rpg against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F20NickName20%2Fterm-cave-crawl-rpg" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/20NickName20/term-cave-crawl-rpg [INFO] finished tweaking git repo https://github.com/20NickName20/term-cave-crawl-rpg [INFO] tweaked toml for git repo https://github.com/20NickName20/term-cave-crawl-rpg written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/20NickName20/term-cave-crawl-rpg on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/20NickName20/term-cave-crawl-rpg 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4842c8a2bcc0255495a514146c7936d3e5aff5f0a06c1210801a5ad352cb42f5 [INFO] running `Command { std: "docker" "start" "4842c8a2bcc0255495a514146c7936d3e5aff5f0a06c1210801a5ad352cb42f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4842c8a2bcc0255495a514146c7936d3e5aff5f0a06c1210801a5ad352cb42f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4842c8a2bcc0255495a514146c7936d3e5aff5f0a06c1210801a5ad352cb42f5" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4842c8a2bcc0255495a514146c7936d3e5aff5f0a06c1210801a5ad352cb42f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4842c8a2bcc0255495a514146c7936d3e5aff5f0a06c1210801a5ad352cb42f5" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking time-format v1.2.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking term-cave-crawl-rpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `util::vec2::Vec2u` [INFO] [stdout] --> src/world/generation/map_gen.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{log, util::vec2::Vec2u, world::{map::Map, tile::Tile}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/world/generation/world_gen.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, u32}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/world/generation/world_gen.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | world.add_level(Level { exits: todo!() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^-------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/world/entity.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | fn think(&self, pos: &Vec2u, map: &Map) -> Action { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/world/entity.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | fn think(&self, pos: &Vec2u, map: &Map) -> Action { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/world/entity.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn update(&mut self, action: Action) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entrances` [INFO] [stdout] --> src/world/generation/world_gen.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_maps_per_level(level: u32, entrances: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entrances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `free_warps_to_next` is never read [INFO] [stdout] --> src/world/map.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | free_warps_to_next: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_warp`, `add_free_warp`, and `link_free_warp_to_next` are never used [INFO] [stdout] --> src/world/map.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn add_warp(&mut self, x: u16, y: u16, target_info: TargetInfo) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_free_warp(&mut self, x: u16, y: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn link_free_warp_to_next(&mut self, x: u16, y: u16, target_info: TargetInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level_graphs` is never read [INFO] [stdout] --> src/world/world.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | level_graphs: Vec [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_next_level_idx`, `add_level`, `get_last_level`, and `get_next_map_id` are never used [INFO] [stdout] --> src/world/world.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_next_level_idx(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_level(&mut self, level: Level) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_last_level(&self) -> Option<&Level> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_next_map_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Vent`, `RockWall`, `Water`, `Lava`, and `Door` are never constructed [INFO] [stdout] --> src/world/tile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Tile { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Vent, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | RockWall, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | Water, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Lava, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | Door(bool), [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] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_level_delta` and `warp_from_direction` are never used [INFO] [stdout] --> src/world/tile.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tile { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_level_delta(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn warp_from_direction(direction: i32) -> Tile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/world/entity.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Attack` and `Interact` are never constructed [INFO] [stdout] --> src/world/entity.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Attack(Direction), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Interact(Direction) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> src/world/entity.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct LivingData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | pub health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Skeleton` is never constructed [INFO] [stdout] --> src/world/entity.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum EntityData { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 34 | Player(LivingData), [INFO] [stdout] 35 | Skeleton(LivingData) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `damage` is never used [INFO] [stdout] --> src/world/entity.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl LivingData { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 72 | pub fn damage(&mut self, amount: u32) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RockCave`, `FloodedRockCave`, `RockCaveWithLakes`, `RockCaveWithLava`, and `Labyrinth` are never constructed [INFO] [stdout] --> src/world/generation/map_gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum MapType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | RockCave, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | FloodedRockCave, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | RockCaveWithLakes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | RockCaveWithLava, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Labyrinth [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MapType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LevelType` is never used [INFO] [stdout] --> src/world/generation/world_gen.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum LevelType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exits` is never read [INFO] [stdout] --> src/world/generation/world_gen.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Level { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | exits: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::vec2::Vec2u` [INFO] [stdout] --> src/world/generation/map_gen.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{log, util::vec2::Vec2u, world::{map::Map, tile::Tile}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_pair` is never used [INFO] [stdout] --> src/world/generation/world_gen.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn sort_pair(p: (u32, u32)) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_maps_per_level` is never used [INFO] [stdout] --> src/world/generation/world_gen.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_maps_per_level(level: u32, entrances: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_next_level` is never used [INFO] [stdout] --> src/world/generation/world_gen.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn generate_next_level(world: &mut World) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::u32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/world/generation/world_gen.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, u32}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/world/generation/world_gen.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | world.add_level(Level { exits: todo!() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^-------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/world/entity.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | fn think(&self, pos: &Vec2u, map: &Map) -> Action { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/world/entity.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | fn think(&self, pos: &Vec2u, map: &Map) -> Action { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/world/entity.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn update(&mut self, action: Action) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entrances` [INFO] [stdout] --> src/world/generation/world_gen.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_maps_per_level(level: u32, entrances: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entrances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `free_warps_to_next` is never read [INFO] [stdout] --> src/world/map.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | free_warps_to_next: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_warp`, `add_free_warp`, and `link_free_warp_to_next` are never used [INFO] [stdout] --> src/world/map.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn add_warp(&mut self, x: u16, y: u16, target_info: TargetInfo) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_free_warp(&mut self, x: u16, y: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn link_free_warp_to_next(&mut self, x: u16, y: u16, target_info: TargetInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level_graphs` is never read [INFO] [stdout] --> src/world/world.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | level_graphs: Vec [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_next_level_idx`, `add_level`, `get_last_level`, and `get_next_map_id` are never used [INFO] [stdout] --> src/world/world.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_next_level_idx(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_level(&mut self, level: Level) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_last_level(&self) -> Option<&Level> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_next_map_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Vent`, `RockWall`, `Water`, `Lava`, and `Door` are never constructed [INFO] [stdout] --> src/world/tile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Tile { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Vent, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | RockWall, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | Water, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Lava, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | Door(bool), [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] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_level_delta` and `warp_from_direction` are never used [INFO] [stdout] --> src/world/tile.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tile { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_level_delta(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn warp_from_direction(direction: i32) -> Tile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/world/entity.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Attack` and `Interact` are never constructed [INFO] [stdout] --> src/world/entity.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Attack(Direction), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Interact(Direction) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> src/world/entity.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct LivingData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | pub health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Skeleton` is never constructed [INFO] [stdout] --> src/world/entity.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum EntityData { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 34 | Player(LivingData), [INFO] [stdout] 35 | Skeleton(LivingData) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `damage` is never used [INFO] [stdout] --> src/world/entity.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl LivingData { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 72 | pub fn damage(&mut self, amount: u32) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RockCave`, `FloodedRockCave`, `RockCaveWithLakes`, `RockCaveWithLava`, and `Labyrinth` are never constructed [INFO] [stdout] --> src/world/generation/map_gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum MapType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | RockCave, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | FloodedRockCave, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | RockCaveWithLakes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | RockCaveWithLava, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Labyrinth [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MapType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LevelType` is never used [INFO] [stdout] --> src/world/generation/world_gen.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum LevelType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exits` is never read [INFO] [stdout] --> src/world/generation/world_gen.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Level { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | exits: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_pair` is never used [INFO] [stdout] --> src/world/generation/world_gen.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn sort_pair(p: (u32, u32)) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_maps_per_level` is never used [INFO] [stdout] --> src/world/generation/world_gen.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_maps_per_level(level: u32, entrances: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_next_level` is never used [INFO] [stdout] --> src/world/generation/world_gen.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn generate_next_level(world: &mut World) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.44s [INFO] running `Command { std: "docker" "inspect" "4842c8a2bcc0255495a514146c7936d3e5aff5f0a06c1210801a5ad352cb42f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4842c8a2bcc0255495a514146c7936d3e5aff5f0a06c1210801a5ad352cb42f5", kill_on_drop: false }` [INFO] [stdout] 4842c8a2bcc0255495a514146c7936d3e5aff5f0a06c1210801a5ad352cb42f5