[INFO] cloning repository https://github.com/jamiebidelia/star_slammers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamiebidelia/star_slammers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamiebidelia%2Fstar_slammers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamiebidelia%2Fstar_slammers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92aceab9aa4c909c8e9587d42b191ea5133b4c44 [INFO] checking jamiebidelia/star_slammers against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamiebidelia%2Fstar_slammers" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamiebidelia/star_slammers on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamiebidelia/star_slammers [INFO] finished tweaking git repo https://github.com/jamiebidelia/star_slammers [INFO] tweaked toml for git repo https://github.com/jamiebidelia/star_slammers written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/jamiebidelia/star_slammers already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 01d7dd6f28cf19d8930b216c9f92f15bc81a5cd38c9f1f950c66a1e35bf3e56b [INFO] running `Command { std: "docker" "start" "-a" "01d7dd6f28cf19d8930b216c9f92f15bc81a5cd38c9f1f950c66a1e35bf3e56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01d7dd6f28cf19d8930b216c9f92f15bc81a5cd38c9f1f950c66a1e35bf3e56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01d7dd6f28cf19d8930b216c9f92f15bc81a5cd38c9f1f950c66a1e35bf3e56b", kill_on_drop: false }` [INFO] [stdout] 01d7dd6f28cf19d8930b216c9f92f15bc81a5cd38c9f1f950c66a1e35bf3e56b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27df92755f9384b78fc21bc106e7b9f05cf4a96400fd2e63240958cad489602a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "27df92755f9384b78fc21bc106e7b9f05cf4a96400fd2e63240958cad489602a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling lua v0.0.10 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking pancurses v0.16.1 [INFO] [stderr] Checking star_slammers v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::menu` [INFO] [stdout] --> src/menu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::menu; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::menu` [INFO] [stdout] --> src/menu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::menu; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_mode` [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut game_mode = mode::Mode::Adventure; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventory_action` [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let inventory_action = inventory_screen::process_keyboard(&game_window); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventory_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stat1` is never read [INFO] [stdout] --> src/creature.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let mut stat1 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stat2` is never read [INFO] [stdout] --> src/creature.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let mut stat2 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stat3` is never read [INFO] [stdout] --> src/creature.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut stat3 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `defense` is never read [INFO] [stdout] --> src/creature.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut defense = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_mode` [INFO] [stdout] --> src/menu.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn null_action(cur_mode : &mut mode::Mode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_cursor` [INFO] [stdout] --> src/menu.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | cur_cursor : &mut usize) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_cursor` [INFO] [stdout] --> src/menu.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | cur_cursor : &mut usize) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_cursor` [INFO] [stdout] --> src/menu.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | cur_cursor : &mut usize) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_x` [INFO] [stdout] --> src/inventory_screen.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let end_x = game_window.get_max_x(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_y` [INFO] [stdout] --> src/inventory_screen.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let end_y = game_window.get_max_y(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_start_x` [INFO] [stdout] --> src/inventory_screen.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let map_start_x = start_x; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_start_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_start_y` [INFO] [stdout] --> src/inventory_screen.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let map_start_y = start_y; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_start_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/inventory_screen.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | player : &mut creature::Creature, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `console_buffer` [INFO] [stdout] --> src/inventory_screen.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | console_buffer : &mut Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_console_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rng.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | for i in 0 .. dr.num_dice [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_y` [INFO] [stdout] --> src/title.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let end_y = game_window.get_max_y(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dedication_x` [INFO] [stdout] --> src/title.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | let dedication_x = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dedication_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dedication_y` [INFO] [stdout] --> src/title.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | let dedication_y = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dedication_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut game_mode = mode::Mode::Adventure; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_mode` [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut game_mode = mode::Mode::Adventure; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventory_action` [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let inventory_action = inventory_screen::process_keyboard(&game_window); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventory_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stat1` is never read [INFO] [stdout] --> src/creature.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let mut stat1 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stat2` is never read [INFO] [stdout] --> src/creature.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let mut stat2 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stat3` is never read [INFO] [stdout] --> src/creature.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut stat3 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `defense` is never read [INFO] [stdout] --> src/creature.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut defense = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_mode` [INFO] [stdout] --> src/menu.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn null_action(cur_mode : &mut mode::Mode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_cursor` [INFO] [stdout] --> src/menu.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | cur_cursor : &mut usize) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_cursor` [INFO] [stdout] --> src/menu.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | cur_cursor : &mut usize) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_cursor` [INFO] [stdout] --> src/menu.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | cur_cursor : &mut usize) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_x` [INFO] [stdout] --> src/inventory_screen.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let end_x = game_window.get_max_x(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_y` [INFO] [stdout] --> src/inventory_screen.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let end_y = game_window.get_max_y(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_start_x` [INFO] [stdout] --> src/inventory_screen.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let map_start_x = start_x; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_start_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_start_y` [INFO] [stdout] --> src/inventory_screen.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let map_start_y = start_y; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_start_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `creativity` [INFO] [stdout] --> src/creature.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | creativity : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `focus` [INFO] [stdout] --> src/creature.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | focus : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/creature.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | memory : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_health` [INFO] [stdout] --> src/creature.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | max_health : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_health` [INFO] [stdout] --> src/creature.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | current_health : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_fatigue` [INFO] [stdout] --> src/creature.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | max_fatigue : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_fatigue` [INFO] [stdout] --> src/creature.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | current_fatigue : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_sanity` [INFO] [stdout] --> src/creature.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | max_sanity : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/inventory_screen.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | player : &mut creature::Creature, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `console_buffer` [INFO] [stdout] --> src/inventory_screen.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | console_buffer : &mut Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_console_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rng.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | for i in 0 .. dr.num_dice [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_y` [INFO] [stdout] --> src/title.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let end_y = game_window.get_max_y(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dedication_x` [INFO] [stdout] --> src/title.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | let dedication_x = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dedication_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dedication_y` [INFO] [stdout] --> src/title.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | let dedication_y = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dedication_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_sanity` [INFO] [stdout] --> src/creature.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | current_sanity : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `evasion` [INFO] [stdout] --> src/creature.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | evasion : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `endurance` [INFO] [stdout] --> src/creature.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | endurance : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nullification` [INFO] [stdout] --> src/creature.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | nullification : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `experience_have` [INFO] [stdout] --> src/creature.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | experience_have : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inventory` [INFO] [stdout] --> src/creature.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | inventory : Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_player_control` [INFO] [stdout] --> src/creature.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn get_player_control(&self) -> &bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_evasion` [INFO] [stdout] --> src/creature.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_evasion(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_evasion` [INFO] [stdout] --> src/creature.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn set_evasion(&mut self, new_evasion : u32) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_endurance` [INFO] [stdout] --> src/creature.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_endurance(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_endurnace` [INFO] [stdout] --> src/creature.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn set_endurnace(&mut self, new_endurance : u32) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_nullification` [INFO] [stdout] --> src/creature.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_nullification(&self) ->&u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_nullification` [INFO] [stdout] --> src/creature.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn set_nullification(&mut self, new_nullification : u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `use_skill` [INFO] [stdout] --> src/creature.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn use_skill(&self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut game_mode = mode::Mode::Adventure; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_console_end_x` [INFO] [stdout] --> src/camera.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn get_console_end_x(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `damage` [INFO] [stdout] --> src/tile.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | damage : i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/tile.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Tile [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_full` [INFO] [stdout] --> src/tile.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new_full(new_passable : bool, new_damage : i32, new_image : char) -> Tile [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_passable` [INFO] [stdout] --> src/tile.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn set_passable(&mut self, new_passable : bool) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_damage` [INFO] [stdout] --> src/tile.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_damage(&self) -> &i32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_damage` [INFO] [stdout] --> src/tile.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_damage(&mut self, new_damage : i32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_image` [INFO] [stdout] --> src/tile.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn set_image(&mut self, new_image : char) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_tile_database` [INFO] [stdout] --> src/tile.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn print_tile_database(tile_database: &[Tile; MAX_TILES]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_x_size` [INFO] [stdout] --> src/tile_map.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_x_size(&mut self, new_x_size : u32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_y_size` [INFO] [stdout] --> src/tile_map.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn set_y_size(&mut self, new_y_size : u32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_map_handle` [INFO] [stdout] --> src/tile_map.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_map_handle(&mut self) -> &mut Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_visible` [INFO] [stdout] --> src/menu.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_visible(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_map_end_x` [INFO] [stdout] --> src/inventory_screen.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_map_end_x(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_map_end_y` [INFO] [stdout] --> src/inventory_screen.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_map_end_y(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_console_start_x` [INFO] [stdout] --> src/inventory_screen.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_console_start_x(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_console_end_x` [INFO] [stdout] --> src/inventory_screen.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_console_end_x(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_console_start_y` [INFO] [stdout] --> src/inventory_screen.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_console_start_y(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_console_end_y` [INFO] [stdout] --> src/inventory_screen.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn get_console_end_y(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PseudoRandom` [INFO] [stdout] --> src/rng.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PseudoRandom [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DiceRoll` [INFO] [stdout] --> src/rng.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct DiceRoll [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rand_in_range` [INFO] [stdout] --> src/rng.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn rand_in_range(&mut self, lower_bound : u32, upper_bound : u32) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `roll_dice` [INFO] [stdout] --> src/rng.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn roll_dice(&mut self, dr : &DiceRoll) -> u32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `roll_skill_check` [INFO] [stdout] --> src/rng.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn roll_skill_check(&mut self, stat1 : u32, stat2 : u32, stat3 : u32, defense : u32) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `StatTarget` [INFO] [stdout] --> src/skill.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum StatTarget [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DefenseTarget` [INFO] [stdout] --> src/skill.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum DefenseTarget [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Effect` [INFO] [stdout] --> src/skill.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum Effect [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Skill` [INFO] [stdout] --> src/skill.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Skill [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/skill.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new() -> Skill [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetName` [INFO] [stdout] --> src/skill.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn GetName(&self) -> &String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetRange` [INFO] [stdout] --> src/skill.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn GetRange(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetStat1` [INFO] [stdout] --> src/skill.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn GetStat1(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetStat2` [INFO] [stdout] --> src/skill.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn GetStat2(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetStat3` [INFO] [stdout] --> src/skill.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn GetStat3(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetDefense` [INFO] [stdout] --> src/skill.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn GetDefense(&self) -> &DefenseTarget [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetDescription` [INFO] [stdout] --> src/skill.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn GetDescription(&self) -> &String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetEffect` [INFO] [stdout] --> src/skill.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn GetEffect(&self) -> &Effect [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blow_up` [INFO] [stdout] --> src/main.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn blow_up() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `creativity` [INFO] [stdout] --> src/creature.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | creativity : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `focus` [INFO] [stdout] --> src/creature.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | focus : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/creature.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | memory : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_health` [INFO] [stdout] --> src/creature.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | max_health : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_health` [INFO] [stdout] --> src/creature.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | current_health : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_fatigue` [INFO] [stdout] --> src/creature.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | max_fatigue : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_fatigue` [INFO] [stdout] --> src/creature.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | current_fatigue : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_sanity` [INFO] [stdout] --> src/creature.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | max_sanity : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_sanity` [INFO] [stdout] --> src/creature.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | current_sanity : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `evasion` [INFO] [stdout] --> src/creature.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | evasion : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `endurance` [INFO] [stdout] --> src/creature.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | endurance : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nullification` [INFO] [stdout] --> src/creature.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | nullification : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `experience_have` [INFO] [stdout] --> src/creature.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | experience_have : u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inventory` [INFO] [stdout] --> src/creature.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | inventory : Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_player_control` [INFO] [stdout] --> src/creature.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn get_player_control(&self) -> &bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_evasion` [INFO] [stdout] --> src/creature.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_evasion(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_evasion` [INFO] [stdout] --> src/creature.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn set_evasion(&mut self, new_evasion : u32) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_endurance` [INFO] [stdout] --> src/creature.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_endurance(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_endurnace` [INFO] [stdout] --> src/creature.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn set_endurnace(&mut self, new_endurance : u32) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_nullification` [INFO] [stdout] --> src/creature.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_nullification(&self) ->&u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_nullification` [INFO] [stdout] --> src/creature.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn set_nullification(&mut self, new_nullification : u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `use_skill` [INFO] [stdout] --> src/creature.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn use_skill(&self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_console_end_x` [INFO] [stdout] --> src/camera.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn get_console_end_x(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `damage` [INFO] [stdout] --> src/tile.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | damage : i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/tile.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Tile [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_full` [INFO] [stdout] --> src/tile.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new_full(new_passable : bool, new_damage : i32, new_image : char) -> Tile [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_passable` [INFO] [stdout] --> src/tile.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn set_passable(&mut self, new_passable : bool) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_damage` [INFO] [stdout] --> src/tile.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_damage(&self) -> &i32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_damage` [INFO] [stdout] --> src/tile.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_damage(&mut self, new_damage : i32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_image` [INFO] [stdout] --> src/tile.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn set_image(&mut self, new_image : char) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_tile_database` [INFO] [stdout] --> src/tile.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn print_tile_database(tile_database: &[Tile; MAX_TILES]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_x_size` [INFO] [stdout] --> src/tile_map.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_x_size(&mut self, new_x_size : u32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_y_size` [INFO] [stdout] --> src/tile_map.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn set_y_size(&mut self, new_y_size : u32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_map_handle` [INFO] [stdout] --> src/tile_map.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_map_handle(&mut self) -> &mut Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_visible` [INFO] [stdout] --> src/menu.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_visible(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_map_end_x` [INFO] [stdout] --> src/inventory_screen.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_map_end_x(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_map_end_y` [INFO] [stdout] --> src/inventory_screen.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_map_end_y(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_console_start_x` [INFO] [stdout] --> src/inventory_screen.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_console_start_x(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_console_end_x` [INFO] [stdout] --> src/inventory_screen.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_console_end_x(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_console_start_y` [INFO] [stdout] --> src/inventory_screen.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_console_start_y(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_console_end_y` [INFO] [stdout] --> src/inventory_screen.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn get_console_end_y(game_window : &pancurses::Window) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PseudoRandom` [INFO] [stdout] --> src/rng.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PseudoRandom [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DiceRoll` [INFO] [stdout] --> src/rng.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct DiceRoll [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rand_in_range` [INFO] [stdout] --> src/rng.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn rand_in_range(&mut self, lower_bound : u32, upper_bound : u32) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `roll_dice` [INFO] [stdout] --> src/rng.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn roll_dice(&mut self, dr : &DiceRoll) -> u32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `roll_skill_check` [INFO] [stdout] --> src/rng.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn roll_skill_check(&mut self, stat1 : u32, stat2 : u32, stat3 : u32, defense : u32) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `StatTarget` [INFO] [stdout] --> src/skill.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum StatTarget [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DefenseTarget` [INFO] [stdout] --> src/skill.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum DefenseTarget [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Effect` [INFO] [stdout] --> src/skill.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum Effect [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Skill` [INFO] [stdout] --> src/skill.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Skill [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/skill.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new() -> Skill [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetName` [INFO] [stdout] --> src/skill.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn GetName(&self) -> &String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetRange` [INFO] [stdout] --> src/skill.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn GetRange(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetStat1` [INFO] [stdout] --> src/skill.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn GetStat1(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetStat2` [INFO] [stdout] --> src/skill.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn GetStat2(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetStat3` [INFO] [stdout] --> src/skill.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn GetStat3(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetDefense` [INFO] [stdout] --> src/skill.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn GetDefense(&self) -> &DefenseTarget [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetDescription` [INFO] [stdout] --> src/skill.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn GetDescription(&self) -> &String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `GetEffect` [INFO] [stdout] --> src/skill.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn GetEffect(&self) -> &Effect [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blow_up` [INFO] [stdout] --> src/main.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn blow_up() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.27s [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "27df92755f9384b78fc21bc106e7b9f05cf4a96400fd2e63240958cad489602a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27df92755f9384b78fc21bc106e7b9f05cf4a96400fd2e63240958cad489602a", kill_on_drop: false }` [INFO] [stdout] 27df92755f9384b78fc21bc106e7b9f05cf4a96400fd2e63240958cad489602a