[INFO] cloning repository https://github.com/Ozraam/blind_labyrinth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ozraam/blind_labyrinth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOzraam%2Fblind_labyrinth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOzraam%2Fblind_labyrinth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 604d35367443fd0663180dede83b990092c6b06e [INFO] building Ozraam/blind_labyrinth against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOzraam%2Fblind_labyrinth" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ozraam/blind_labyrinth on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ozraam/blind_labyrinth [INFO] finished tweaking git repo https://github.com/Ozraam/blind_labyrinth [INFO] tweaked toml for git repo https://github.com/Ozraam/blind_labyrinth written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ozraam/blind_labyrinth 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02468fa2c0af5b4d25e68f2db454c3155336af2ac8d51bc581a4d26298009bc2 [INFO] running `Command { std: "docker" "start" "-a" "02468fa2c0af5b4d25e68f2db454c3155336af2ac8d51bc581a4d26298009bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02468fa2c0af5b4d25e68f2db454c3155336af2ac8d51bc581a4d26298009bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02468fa2c0af5b4d25e68f2db454c3155336af2ac8d51bc581a4d26298009bc2", kill_on_drop: false }` [INFO] [stdout] 02468fa2c0af5b4d25e68f2db454c3155336af2ac8d51bc581a4d26298009bc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c48d5f6afe83f7817f65c145abf33cb8fe83f0f40b6f3ff82605b287f64aee5 [INFO] running `Command { std: "docker" "start" "-a" "7c48d5f6afe83f7817f65c145abf33cb8fe83f0f40b6f3ff82605b287f64aee5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling blind_labyrinth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Lexer` [INFO] [stdout] --> src/data_loader/parser.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use super::lexer::{Token, Lexer}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/data_loader/parser.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | let mut value = 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: enum `Direction` is never used [INFO] [stdout] --> src/player.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/player.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Player { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(name: &str) -> Player { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn life(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn inventory(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn weapon(&self) -> Option<&Item> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn equip_weapon(&mut self, weapon: Item) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn armor(&self) -> Option<&Item> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn equip_armor(&mut self, armor: Item) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn move_to(&mut self, position: Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn move_to_direction(&mut self, direction: Direction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn take_damage(&mut self, damage: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn take_damage_from(&mut self, weapon: &Item) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn level(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn experience(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn next_level(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_gold(&self) -> Option<&Item> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Monster`, `Treasure`, and `Teleport` are never constructed [INFO] [stdout] --> src/map.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Event { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 33 | Empty, [INFO] [stdout] 34 | Monster(Monster), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Treasure(Item, i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | Teleport(Position), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` 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: methods `get_random_position`, `add_event`, `event_at_mut`, `remove_event`, and `do_event` are never used [INFO] [stdout] --> src/map.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_random_position(&self) -> &Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn add_event(&mut self, position: Position, event: Event) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn event_at_mut(&mut self, position: &Position) -> Option<&mut Event> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn remove_event(&mut self, position: &Position) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn do_event(&mut self, position: &Position, player: &mut player::Player) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/map/item.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Effect { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 15 | pub fn apply(&self, map: Map, player: &mut player::Player, monster: Option<&mut Monster>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `use_item` and `description` are never used [INFO] [stdout] --> src/map/item.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn use_item(&self) -> Option<&Effect> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn description(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/map/monster.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Monster { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn life(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn take_damage(&mut self, damage: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn take_damage_from(&mut self, weapon: &Item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn drop(&self) -> &Option<(Item, u32)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn weapon(&self) -> &Item { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn drop_mut(&mut self) -> &mut Option<(Item, u32)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn weapon_mut(&mut self) -> &mut Item { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] running `Command { std: "docker" "inspect" "7c48d5f6afe83f7817f65c145abf33cb8fe83f0f40b6f3ff82605b287f64aee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c48d5f6afe83f7817f65c145abf33cb8fe83f0f40b6f3ff82605b287f64aee5", kill_on_drop: false }` [INFO] [stdout] 7c48d5f6afe83f7817f65c145abf33cb8fe83f0f40b6f3ff82605b287f64aee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de6ea503a0597fc3a061a4558a37910a28d523fa3d8d28905904c5dedf7c6cd7 [INFO] running `Command { std: "docker" "start" "-a" "de6ea503a0597fc3a061a4558a37910a28d523fa3d8d28905904c5dedf7c6cd7", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Lexer` [INFO] [stdout] --> src/data_loader/parser.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use super::lexer::{Token, Lexer}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/data_loader/parser.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | let mut value = 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: enum `Direction` is never used [INFO] [stdout] --> src/player.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/player.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Player { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(name: &str) -> Player { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn life(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn inventory(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn weapon(&self) -> Option<&Item> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn equip_weapon(&mut self, weapon: Item) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn armor(&self) -> Option<&Item> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn equip_armor(&mut self, armor: Item) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn move_to(&mut self, position: Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn move_to_direction(&mut self, direction: Direction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn take_damage(&mut self, damage: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn take_damage_from(&mut self, weapon: &Item) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn level(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn experience(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn next_level(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_gold(&self) -> Option<&Item> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Monster`, `Treasure`, and `Teleport` are never constructed [INFO] [stdout] --> src/map.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Event { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 33 | Empty, [INFO] [stdout] 34 | Monster(Monster), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Treasure(Item, i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | Teleport(Position), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` 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: methods `get_random_position`, `add_event`, `event_at_mut`, `remove_event`, and `do_event` are never used [INFO] [stdout] --> src/map.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_random_position(&self) -> &Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn add_event(&mut self, position: Position, event: Event) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn event_at_mut(&mut self, position: &Position) -> Option<&mut Event> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn remove_event(&mut self, position: &Position) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn do_event(&mut self, position: &Position, player: &mut player::Player) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/map/item.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Effect { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 15 | pub fn apply(&self, map: Map, player: &mut player::Player, monster: Option<&mut Monster>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `use_item` and `description` are never used [INFO] [stdout] --> src/map/item.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn use_item(&self) -> Option<&Effect> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn description(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/map/monster.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Monster { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn life(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn take_damage(&mut self, damage: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn take_damage_from(&mut self, weapon: &Item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn drop(&self) -> &Option<(Item, u32)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn weapon(&self) -> &Item { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn drop_mut(&mut self) -> &mut Option<(Item, u32)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn weapon_mut(&mut self) -> &mut Item { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling blind_labyrinth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/data_loader/parser.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | let mut value = 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: methods `name`, `armor`, `is_dead`, and `next_level` are never used [INFO] [stdout] --> src/player.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn armor(&self) -> Option<&Item> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn next_level(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weapon` is never used [INFO] [stdout] --> src/map/monster.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Monster { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn weapon(&self) -> &Item { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "de6ea503a0597fc3a061a4558a37910a28d523fa3d8d28905904c5dedf7c6cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6ea503a0597fc3a061a4558a37910a28d523fa3d8d28905904c5dedf7c6cd7", kill_on_drop: false }` [INFO] [stdout] de6ea503a0597fc3a061a4558a37910a28d523fa3d8d28905904c5dedf7c6cd7