[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] 1f3a46165746446268a8c5a3a9ece87d5320b14d [INFO] checking jamiebidelia/star_slammers against master#e29821ff85a2a3000d226f99f62f89464028d5d6 for pr-111505 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamiebidelia%2Fstar_slammers" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamiebidelia/star_slammers on toolchain e29821ff85a2a3000d226f99f62f89464028d5d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lua v0.0.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9128b994712e5251f47d6addf027e085191f74e3c995b73c2ff27de71afbaf1 [INFO] running `Command { std: "docker" "start" "-a" "c9128b994712e5251f47d6addf027e085191f74e3c995b73c2ff27de71afbaf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9128b994712e5251f47d6addf027e085191f74e3c995b73c2ff27de71afbaf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9128b994712e5251f47d6addf027e085191f74e3c995b73c2ff27de71afbaf1", kill_on_drop: false }` [INFO] [stdout] c9128b994712e5251f47d6addf027e085191f74e3c995b73c2ff27de71afbaf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 075d7b1671a484f349247ba0a273a46c6f2533e74a64cd835b0d825853505d67 [INFO] running `Command { std: "docker" "start" "-a" "075d7b1671a484f349247ba0a273a46c6f2533e74a64cd835b0d825853505d67", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling lua v0.0.10 [INFO] [stderr] Checking pancurses v0.16.1 [INFO] [stderr] Checking star_slammers v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::camera` [INFO] [stdout] --> src/camera/tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::camera; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::creature` [INFO] [stdout] --> src/camera/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::creature; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tile` [INFO] [stdout] --> src/camera/tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::tile; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tile_map` [INFO] [stdout] --> src/camera/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::tile_map; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::menuaction` [INFO] [stdout] --> src/chargen.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::menuaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mode` [INFO] [stdout] --> src/chargen.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::mode; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::camera` [INFO] [stdout] --> src/camera/tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::camera; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::creature` [INFO] [stdout] --> src/camera/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::creature; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tile` [INFO] [stdout] --> src/camera/tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::tile; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tile_map` [INFO] [stdout] --> src/camera/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::tile_map; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::menuaction` [INFO] [stdout] --> src/chargen.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::menuaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mode` [INFO] [stdout] --> src/chargen.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::mode; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/attributeslider.rs:294:14 [INFO] [stdout] | [INFO] [stdout] 294 | while(self.done == false) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 294 - while(self.done == false) [INFO] [stdout] 294 + while self.done == false [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/attributeslider.rs:294:14 [INFO] [stdout] | [INFO] [stdout] 294 | while(self.done == false) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 294 - while(self.done == false) [INFO] [stdout] 294 + while self.done == false [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied at the crate level [INFO] [stdout] --> src/creature.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | #![doc(html_no_source)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 #82730 [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied at the crate level [INFO] [stdout] --> src/rng.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | #![doc(html_no_source)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 #82730 [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied at the crate level [INFO] [stdout] --> src/skill.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | #![doc(html_no_source)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 #82730 [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied at the crate level [INFO] [stdout] --> src/creature.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | #![doc(html_no_source)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 #82730 [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied at the crate level [INFO] [stdout] --> src/rng.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | #![doc(html_no_source)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 #82730 [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied at the crate level [INFO] [stdout] --> src/skill.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | #![doc(html_no_source)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 #82730 [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stat1` is never read [INFO] [stdout] --> src/creature.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let mut stat1 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stat2` is never read [INFO] [stdout] --> src/creature.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | 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:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | 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:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | 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: value assigned to `stat1` is never read [INFO] [stdout] --> src/creature.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let mut stat1 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stat2` is never read [INFO] [stdout] --> src/creature.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | 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:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | 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:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | 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: variable does not need to be mutable [INFO] [stdout] --> src/camera/tests.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut tile_map = crate::tile_map::load_map("maps/test.map".to_string(), [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: variable does not need to be mutable [INFO] [stdout] --> src/camera/tests.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut tile_map = crate::tile_map::load_map("maps/test.map".to_string(), [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/camera/tests.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut player = crate::creature::Creature::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/camera/tests.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut player = crate::creature::Creature::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_y` [INFO] [stdout] --> src/chargen.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_field` [INFO] [stdout] --> src/chargen.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let name_field = "Name:"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `confirm_dots` [INFO] [stdout] --> src/chargen.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let confirm_dots = "******************************************"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confirm_dots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `confirm_text` [INFO] [stdout] --> src/chargen.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let confirm_text = "* Press any key to begin your adventure. *"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confirm_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_confirm` [INFO] [stdout] --> src/chargen.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let center_confirm = std::cmp::max(center_x - (welcome_text.len() / 2) as i32, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_confirm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_y` [INFO] [stdout] --> src/chargen.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_field` [INFO] [stdout] --> src/chargen.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let name_field = "Name:"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `confirm_dots` [INFO] [stdout] --> src/chargen.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let confirm_dots = "******************************************"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confirm_dots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `confirm_text` [INFO] [stdout] --> src/chargen.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let confirm_text = "* Press any key to begin your adventure. *"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confirm_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_confirm` [INFO] [stdout] --> src/chargen.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let center_confirm = std::cmp::max(center_x - (welcome_text.len() / 2) as i32, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_confirm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_mode` [INFO] [stdout] --> src/menu.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | 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:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | 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:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | 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:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | 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: `cur_mode` [INFO] [stdout] --> src/menu.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | 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: `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: `cur_cursor` [INFO] [stdout] --> src/menu.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | 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:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | 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:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | 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: 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:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut player = creature::Creature::Default_Player(); [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: `inventory_action` [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut player = creature::Creature::Default_Player(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventory_action` [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | 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: private type `KeyType` in public interface (error E0446) [INFO] [stdout] --> src/textwriter.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn input_key(&mut self, game_window : &pancurses::Window) -> KeyType [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 #34537 [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `KeyType` in public interface (error E0446) [INFO] [stdout] --> src/textwriter.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn input_key(&mut self, game_window : &pancurses::Window) -> KeyType [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 #34537 [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/creature.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Creature { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | max_health: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | current_health: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | [INFO] [stdout] 37 | max_fatigue: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | current_fatigue: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | max_sanity: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | current_sanity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | evasion: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | endurance: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | nullification: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | experience_have: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | image: char, [INFO] [stdout] 49 | player_control: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | inventory: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/creature.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Creature { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | max_health: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | current_health: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | [INFO] [stdout] 37 | max_fatigue: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | current_fatigue: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | max_sanity: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | current_sanity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | evasion: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | endurance: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | nullification: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | experience_have: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | image: char, [INFO] [stdout] 49 | player_control: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | inventory: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/creature.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Creature { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_creativity(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_focus(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn get_memory(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn set_image(&mut self, new_image: char) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn get_player_control(&self) -> &bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn set_player_control(&mut self, new_player_control: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_evasion(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn set_evasion(&mut self, new_evasion: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_endurance(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn set_endurnace(&mut self, new_endurance: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn get_nullification(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn set_nullification(&mut self, new_nullification: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn use_skill( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_console_end_x` is never used [INFO] [stdout] --> src/camera/mod.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn get_console_end_x(game_window: &pancurses::Window) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `damage` is never read [INFO] [stdout] --> src/tile.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Tile [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | damage : i32, [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: multiple associated items are never used [INFO] [stdout] --> src/creature.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Creature { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 54 | pub fn new() -> Creature { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_creativity(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_focus(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn get_memory(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn set_image(&mut self, new_image: char) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn get_player_control(&self) -> &bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn set_player_control(&mut self, new_player_control: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_evasion(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn set_evasion(&mut self, new_evasion: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_endurance(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn set_endurnace(&mut self, new_endurance: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn get_nullification(&self) -> &u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn set_nullification(&mut self, new_nullification: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn use_skill( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_console_end_x` is never used [INFO] [stdout] --> src/camera/mod.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn get_console_end_x(game_window: &pancurses::Window) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_full`, `set_passable`, `get_damage`, `set_damage`, and `set_image` are never used [INFO] [stdout] --> src/tile.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Tile [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 31 | { [INFO] [stdout] 32 | pub fn new() -> Tile [INFO] [stdout] | ^^^ [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] 51 | pub fn set_passable(&mut self, new_passable : bool) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_damage(&self) -> &i32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_damage(&mut self, new_damage : i32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_image(&mut self, new_image : char) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_tile_database` is never used [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: field `damage` is never read [INFO] [stdout] --> src/tile.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Tile [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | damage : i32, [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: method `get_map_handle` is never used [INFO] [stdout] --> src/tile_map.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl TileMap [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_map_handle(&mut self) -> &mut Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_visible` is never used [INFO] [stdout] --> src/menu.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl MenuItem<'_> [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_visible(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map_end_x` is never used [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: associated items `new`, `new_full`, `set_passable`, `get_damage`, `set_damage`, and `set_image` are never used [INFO] [stdout] --> src/tile.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Tile [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 31 | { [INFO] [stdout] 32 | pub fn new() -> Tile [INFO] [stdout] | ^^^ [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] 51 | pub fn set_passable(&mut self, new_passable : bool) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_damage(&self) -> &i32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_damage(&mut self, new_damage : i32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_image(&mut self, new_image : char) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map_end_y` is never used [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 `print_tile_database` is never used [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: function `get_console_start_x` is never used [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: method `get_map_handle` is never used [INFO] [stdout] --> src/tile_map.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl TileMap [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_map_handle(&mut self) -> &mut Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_console_end_x` is never used [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 `get_console_start_y` is never used [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: method `get_visible` is never used [INFO] [stdout] --> src/menu.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl MenuItem<'_> [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_visible(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_map_end_x` is never used [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 `get_console_end_y` is never used [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: function `get_map_end_y` is never used [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: struct `PseudoRandom` is never constructed [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 `DiceRoll` is never constructed [INFO] [stdout] --> src/rng.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct DiceRoll [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_console_start_x` is never used [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 `get_console_end_x` is never used [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 `get_console_start_y` is never used [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: methods `rand_in_range`, `roll_dice`, and `roll_skill_check` are never used [INFO] [stdout] --> src/rng.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl PseudoRandom [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn rand_in_range(&mut self, lower_bound : u32, upper_bound : u32) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn roll_dice(&mut self, dr : &DiceRoll) -> u32 [INFO] [stdout] | ^^^^^^^^^ [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: function `get_console_end_y` is never used [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: enum `StatTarget` is never used [INFO] [stdout] --> src/skill.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum StatTarget [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PseudoRandom` is never constructed [INFO] [stdout] --> src/rng.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PseudoRandom [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DefenseTarget` is never used [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 `Effect` is never used [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 `Skill` is never constructed [INFO] [stdout] --> src/skill.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Skill [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiceRoll` is never constructed [INFO] [stdout] --> src/rng.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct DiceRoll [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rand_in_range`, `roll_dice`, and `roll_skill_check` are never used [INFO] [stdout] --> src/rng.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl PseudoRandom [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn rand_in_range(&mut self, lower_bound : u32, upper_bound : u32) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn roll_dice(&mut self, dr : &DiceRoll) -> u32 [INFO] [stdout] | ^^^^^^^^^ [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 `StatTarget` is never used [INFO] [stdout] --> src/skill.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum StatTarget [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/skill.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Skill [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn new() -> Skill [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn GetName(&self) -> &String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn GetRange(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn GetStat1(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn GetStat2(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn GetStat3(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn GetDefense(&self) -> &DefenseTarget [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn GetDescription(&self) -> &String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn GetEffect(&self) -> &Effect [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DefenseTarget` is never used [INFO] [stdout] --> src/skill.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum DefenseTarget [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `desc` is never read [INFO] [stdout] --> src/attributeslider.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Attribute [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | desc : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Effect` is never used [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 `Skill` is never constructed [INFO] [stdout] --> src/skill.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Skill [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | panic!(err); // We will now crash the game. [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 261 | panic!("{}", err); // We will now crash the game. [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/skill.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Skill [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn new() -> Skill [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn GetName(&self) -> &String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn GetRange(&self) -> &u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn GetStat1(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn GetStat2(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn GetStat3(&self) -> &StatTarget [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn GetDefense(&self) -> &DefenseTarget [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn GetDescription(&self) -> &String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn GetEffect(&self) -> &Effect [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `desc` is never read [INFO] [stdout] --> src/attributeslider.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Attribute [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | desc : String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | panic!(err); // We will now crash the game. [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 261 | panic!("{}", err); // We will now crash the game. [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.81s [INFO] running `Command { std: "docker" "inspect" "075d7b1671a484f349247ba0a273a46c6f2533e74a64cd835b0d825853505d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "075d7b1671a484f349247ba0a273a46c6f2533e74a64cd835b0d825853505d67", kill_on_drop: false }` [INFO] [stdout] 075d7b1671a484f349247ba0a273a46c6f2533e74a64cd835b0d825853505d67