[INFO] cloning repository https://github.com/Pawel82S/text_adv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pawel82S/text_adv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPawel82S%2Ftext_adv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPawel82S%2Ftext_adv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 628301e5f903b0637e080af6bba62b35f47f3580 [INFO] checking Pawel82S/text_adv against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPawel82S%2Ftext_adv" "/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/Pawel82S/text_adv on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pawel82S/text_adv [INFO] finished tweaking git repo https://github.com/Pawel82S/text_adv [INFO] tweaked toml for git repo https://github.com/Pawel82S/text_adv written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Pawel82S/text_adv 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console_engine v1.5.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf664807dc7ddb25820b926ee3acec7f8e83f1d8e372995f8dda6c5c10236ef8 [INFO] running `Command { std: "docker" "start" "-a" "bf664807dc7ddb25820b926ee3acec7f8e83f1d8e372995f8dda6c5c10236ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf664807dc7ddb25820b926ee3acec7f8e83f1d8e372995f8dda6c5c10236ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf664807dc7ddb25820b926ee3acec7f8e83f1d8e372995f8dda6c5c10236ef8", kill_on_drop: false }` [INFO] [stdout] bf664807dc7ddb25820b926ee3acec7f8e83f1d8e372995f8dda6c5c10236ef8 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 367d00b9018d4495e948ea6386d7084389d6b2a5e4857e8f2d7c19f9b1118487 [INFO] running `Command { std: "docker" "start" "-a" "367d00b9018d4495e948ea6386d7084389d6b2a5e4857e8f2d7c19f9b1118487", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking console_engine v1.5.1 [INFO] [stderr] Checking text_adv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/map.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | io::{self, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/map.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | io::{self, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/map.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 344 | fn save_to_file(&self, file_name: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/map.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | fn load_from_reader(reader: &mut BufReader) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/map.rs:352:30 [INFO] [stdout] | [INFO] [stdout] 352 | fn save_to_writer(&self, writer: &mut BufWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hit_by` and `is_dead` are never used [INFO] [stdout] --> src/enemy.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Enemy { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn hit_by(&mut self, attack: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_type` is never read [INFO] [stdout] --> src/event.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Event { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | event_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_progress` is never used [INFO] [stdout] --> src/event.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Event { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn in_progress(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Inventory` is never constructed [INFO] [stdout] --> src/game.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `item_event_render` and `enemy_event_renderer` are never used [INFO] [stdout] --> src/game.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | fn item_event_render(&mut self, item: &Item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn enemy_event_renderer(&mut self, enemy: &Enemy) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Chest`, `Leg`, `Arm`, `Foot`, and `Hand` are never constructed [INFO] [stdout] --> src/item.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Location { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 6 | Head, [INFO] [stdout] 7 | Chest, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Leg, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Arm, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Foot, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Hand, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `details` is never read [INFO] [stdout] --> src/map.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | details: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tile`, `set_tile`, and `details` are never used [INFO] [stdout] --> src/map.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_tile(&self, x: usize, y: usize) -> Option<&MapTile> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_tile(&mut self, x: usize, y: usize, tile: MapTile) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn details(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/player.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn turn(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn hit_by(&mut self, attack: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn head(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn chest(&self) -> &Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn legs(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub fn arms(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | pub fn foots(&self) -> &Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | pub fn left_hand(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn right_hand(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn inventory(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn remove_from_inventory(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `save_to_file`, `load_from_reader`, and `save_to_writer` are never used [INFO] [stdout] --> src/serialize.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Serialize { [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 7 | fn load_from_file(file_name: &str) -> io::Result; [INFO] [stdout] 8 | fn save_to_file(&self, file_name: &str) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | fn load_from_reader(reader: &mut BufReader) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn save_to_writer(&self, writer: &mut BufWriter); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextScr` is never constructed [INFO] [stdout] --> src/ui/text_scr.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TextScr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `screen`, `set_contents`, and `render` are never used [INFO] [stdout] --> src/ui/text_scr.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TextScr { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new(width: u32, height: u32, contents: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn screen(&self) -> &Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_contents(&mut self, contents: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn render(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/map.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 344 | fn save_to_file(&self, file_name: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/map.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | fn load_from_reader(reader: &mut BufReader) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/map.rs:352:30 [INFO] [stdout] | [INFO] [stdout] 352 | fn save_to_writer(&self, writer: &mut BufWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hit_by` and `is_dead` are never used [INFO] [stdout] --> src/enemy.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Enemy { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn hit_by(&mut self, attack: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_type` is never read [INFO] [stdout] --> src/event.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Event { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | event_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_progress` is never used [INFO] [stdout] --> src/event.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Event { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn in_progress(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Inventory` is never constructed [INFO] [stdout] --> src/game.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `item_event_render` and `enemy_event_renderer` are never used [INFO] [stdout] --> src/game.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | fn item_event_render(&mut self, item: &Item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn enemy_event_renderer(&mut self, enemy: &Enemy) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Chest`, `Leg`, `Arm`, `Foot`, and `Hand` are never constructed [INFO] [stdout] --> src/item.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Location { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 6 | Head, [INFO] [stdout] 7 | Chest, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Leg, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Arm, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Foot, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Hand, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `details` is never read [INFO] [stdout] --> src/map.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | details: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tile`, `set_tile`, and `details` are never used [INFO] [stdout] --> src/map.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_tile(&self, x: usize, y: usize) -> Option<&MapTile> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_tile(&mut self, x: usize, y: usize, tile: MapTile) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn details(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/player.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn turn(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn hit_by(&mut self, attack: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn head(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn chest(&self) -> &Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn legs(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub fn arms(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | pub fn foots(&self) -> &Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | pub fn left_hand(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn right_hand(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn inventory(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn remove_from_inventory(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `save_to_file`, `load_from_reader`, and `save_to_writer` are never used [INFO] [stdout] --> src/serialize.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Serialize { [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 7 | fn load_from_file(file_name: &str) -> io::Result; [INFO] [stdout] 8 | fn save_to_file(&self, file_name: &str) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | fn load_from_reader(reader: &mut BufReader) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn save_to_writer(&self, writer: &mut BufWriter); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextScr` is never constructed [INFO] [stdout] --> src/ui/text_scr.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TextScr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `screen`, `set_contents`, and `render` are never used [INFO] [stdout] --> src/ui/text_scr.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TextScr { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new(width: u32, height: u32, contents: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn screen(&self) -> &Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_contents(&mut self, contents: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn render(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "367d00b9018d4495e948ea6386d7084389d6b2a5e4857e8f2d7c19f9b1118487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367d00b9018d4495e948ea6386d7084389d6b2a5e4857e8f2d7c19f9b1118487", kill_on_drop: false }` [INFO] [stdout] 367d00b9018d4495e948ea6386d7084389d6b2a5e4857e8f2d7c19f9b1118487