[INFO] cloning repository https://github.com/nathanjent/ruby-the-ms.-hackman-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nathanjent/ruby-the-ms.-hackman-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanjent%2Fruby-the-ms.-hackman-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanjent%2Fruby-the-ms.-hackman-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c1c98050ede3daf2a850ab0b0ccc218ecd51210 [INFO] checking nathanjent/ruby-the-ms.-hackman-bot against try#cc4c4328b2b4da72bc61f8f5984292dd73740b5e for pr-112842-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanjent%2Fruby-the-ms.-hackman-bot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot on toolchain cc4c4328b2b4da72bc61f8f5984292dd73740b5e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cc4c4328b2b4da72bc61f8f5984292dd73740b5e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot [INFO] finished tweaking git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot [INFO] tweaked toml for git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nathanjent/ruby-the-ms.-hackman-bot 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" "+cc4c4328b2b4da72bc61f8f5984292dd73740b5e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+cc4c4328b2b4da72bc61f8f5984292dd73740b5e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 595275251e75ac921bab2f8f371ba849013b08cdda968cb9e1f50e1fa3715046 [INFO] running `Command { std: "docker" "start" "-a" "595275251e75ac921bab2f8f371ba849013b08cdda968cb9e1f50e1fa3715046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "595275251e75ac921bab2f8f371ba849013b08cdda968cb9e1f50e1fa3715046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595275251e75ac921bab2f8f371ba849013b08cdda968cb9e1f50e1fa3715046", kill_on_drop: false }` [INFO] [stdout] 595275251e75ac921bab2f8f371ba849013b08cdda968cb9e1f50e1fa3715046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+cc4c4328b2b4da72bc61f8f5984292dd73740b5e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fce5a9ee9040c3fe3a9578df2ea0c1f0b3efedd3258df74cc68c4f6671f80e61 [INFO] running `Command { std: "docker" "start" "-a" "fce5a9ee9040c3fe3a9578df2ea0c1f0b3efedd3258df74cc68c4f6671f80e61", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking ruby_the_ms_hack_man_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Write`, `self as stdio` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self as stdio, BufRead, Write}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bot::BotState` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use bot::BotState; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler::*` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use handler::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | type BoxAny = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy` [INFO] [stdout] --> src/field.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | CellItem::Enemy(enemy) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/field.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | CellItem::Bomb(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enemy` [INFO] [stdout] --> src/field.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | CellItem::Enemy(enemy) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/field.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | CellItem::Bomb(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | Message::Action(Action::Character { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | Message::Action(Action::Move { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `action` is never read [INFO] [stdout] --> src/handler.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let mut action = String::new(); [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: unused variable: `expected_cells` [INFO] [stdout] --> src/field.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let expected_cells = vec![CellItem::Empty, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_cells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual_cells` [INFO] [stdout] --> src/field.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let actual_cells = parse_field(field_str); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_cells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | Message::Action(Action::Character { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/handler.rs:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | Message::Action(Action::Move { time_to_respond: n }) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `action` is never read [INFO] [stdout] --> src/handler.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let mut action = String::new(); [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: unused variable: `en_pos` [INFO] [stdout] --> src/handler.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let en_pos = &field.enemy_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_en_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bm_pos` [INFO] [stdout] --> src/handler.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let bm_pos = &field.bomb_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bm_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `en_pos` [INFO] [stdout] --> src/handler.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let en_pos = &field.enemy_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_en_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sn_pos` [INFO] [stdout] --> src/handler.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let sn_pos = &field.snippet_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sn_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bm_pos` [INFO] [stdout] --> src/handler.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let bm_pos = &field.bomb_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bm_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/handler.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_move(field: &Field, player_id: &i32) -> Move { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sn_pos` [INFO] [stdout] --> src/handler.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let sn_pos = &field.snippet_positions; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sn_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/handler.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_move(field: &Field, player_id: &i32) -> Move { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut next_move = Move::new(); [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/player.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut next_move = Move::new(); [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: method `character_type` is never used [INFO] [stdout] --> src/player.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn character_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bixiette` is never constructed [INFO] [stdout] --> src/player.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum CharacterType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 33 | Bixie, [INFO] [stdout] 34 | Bixiette, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/player.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn make_move() -> Move { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_to` is never used [INFO] [stdout] --> src/simple_matrix.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Matrix { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn reset_to(&mut self, value: T) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bot.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl BotState { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnintentionalBreak` and `PlayerNotFound` are never constructed [INFO] [stdout] --> src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | UnintentionalBreak, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | PlayerNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_point`, `update_field`, `set_width`, and `set_height` are never used [INFO] [stdout] --> src/field.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Field { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn get_point(&self, index: usize) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn update_field(&mut self, field: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_width(&mut self, width: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn set_height(&mut self, height: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_message` is never used [INFO] [stdout] --> src/handler.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn handle_message(line: String, bot: &BotState) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/handler.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_move(field: &Field, player_id: &i32) -> Move { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `character_type` are never used [INFO] [stdout] --> src/player.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Player { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn character_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bixie` and `Bixiette` are never constructed [INFO] [stdout] --> src/player.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum CharacterType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 33 | Bixie, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | Bixiette, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Left`, `Right`, and `Pass` are never constructed [INFO] [stdout] --> src/player.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 47 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | Pass, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/player.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Move { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/player.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn make_move() -> Move { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `reset_to` are never used [INFO] [stdout] --> src/simple_matrix.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Matrix { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn reset_to(&mut self, value: T) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Test` should have a snake case name [INFO] [stdout] --> src/field.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | mod Test { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Test` should have a snake case name [INFO] [stdout] --> src/simple_matrix.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | mod Test { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "fce5a9ee9040c3fe3a9578df2ea0c1f0b3efedd3258df74cc68c4f6671f80e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fce5a9ee9040c3fe3a9578df2ea0c1f0b3efedd3258df74cc68c4f6671f80e61", kill_on_drop: false }` [INFO] [stdout] fce5a9ee9040c3fe3a9578df2ea0c1f0b3efedd3258df74cc68c4f6671f80e61