[INFO] cloning repository https://github.com/87flowers/shogitest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/87flowers/shogitest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F87flowers%2Fshogitest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F87flowers%2Fshogitest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d413fd841a5bf10babaf9eb5e0a66e380d4361ba
[INFO] checking 87flowers/shogitest against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F87flowers%2Fshogitest" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/87flowers/shogitest
[INFO] finished tweaking git repo https://github.com/87flowers/shogitest
[INFO] tweaked toml for git repo https://github.com/87flowers/shogitest written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/87flowers/shogitest on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/87flowers/shogitest 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 12cd4a94f580253f6411f79a291d35858617cf9077e7549904ce3df5b9a0095f
[INFO] running `Command { std: "docker" "start" "-a" "12cd4a94f580253f6411f79a291d35858617cf9077e7549904ce3df5b9a0095f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12cd4a94f580253f6411f79a291d35858617cf9077e7549904ce3df5b9a0095f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12cd4a94f580253f6411f79a291d35858617cf9077e7549904ce3df5b9a0095f", kill_on_drop: false }`
[INFO] [stdout] 12cd4a94f580253f6411f79a291d35858617cf9077e7549904ce3df5b9a0095f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dcaad7381072c36452f40581394313e843ef3f3356bb9a71ee943253b39f66bf
[INFO] running `Command { std: "docker" "start" "-a" "dcaad7381072c36452f40581394313e843ef3f3356bb9a71ee943253b39f66bf", kill_on_drop: false }`
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking shogitest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `init` is never used
[INFO] [stdout]   --> src/engine.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl EngineBuilder {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 13 |     pub fn init(&self) -> Result<Engine> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Engine` is never constructed
[INFO] [stdout]   --> src/engine.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Engine {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name`, `builder`, `write_line`, `flush`, and `read_line` are never used
[INFO] [stdout]   --> src/engine.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl Engine {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 65 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn builder(&self) -> &EngineBuilder {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn write_line(&mut self, line: &str) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn flush(&mut self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn read_line(&mut self) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Color` is never used
[INFO] [stdout]  --> src/shogi.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Color {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_index` and `parse` are never used
[INFO] [stdout]   --> src/shogi.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Color {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn to_index(self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn parse(s: &str) -> Option<Color> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Square` is never constructed
[INFO] [stdout]   --> src/shogi.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Square(u8);
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/shogi.rs:58:12
[INFO] [stdout]     |
[INFO] [stdout]  57 | impl Square {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  58 |     pub fn new(file: i8, rank: i8) -> Option<Square> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn parse(c0: u8, c1: u8) -> Option<Square> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     pub fn from_fen_ordering(i: usize) -> Option<Square> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |     pub fn file(self) -> i8 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn rank(self) -> i8 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn to_index(self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn normalize_to_sente(self, current_color: Color) -> Square {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn is_promo_square(self, color: Color) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Delta` is never constructed
[INFO] [stdout]    --> src/shogi.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct Delta {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `normalize_to_sente`, `signum`, `is_ring`, and `could_be_piece_move` are never used
[INFO] [stdout]    --> src/shogi.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl Delta {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 143 |     pub fn new(file: i8, rank: i8) -> Delta {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn normalize_to_sente(self, piece_color: Color) -> Delta {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn signum(self) -> Delta {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn is_ring(self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn could_be_piece_move(self, color: Color, pt: PieceType) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PieceType` is never used
[INFO] [stdout]    --> src/shogi.rs:196:10
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub enum PieceType {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `promotable`, `promoted`, `promote`, `demote`, and `to_str` are never used
[INFO] [stdout]    --> src/shogi.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 215 | impl PieceType {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 216 |     pub fn promotable(self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn promoted(self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn promote(self) -> PieceType {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn demote(self) -> PieceType {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn to_str(self, color: Color) -> &'static str {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Move` is never used
[INFO] [stdout]    --> src/shogi.rs:285:10
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub enum Move {
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse` is never used
[INFO] [stdout]    --> src/shogi.rs:299:12
[INFO] [stdout]     |
[INFO] [stdout] 298 | impl Move {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 299 |     pub fn parse(s: &str) -> Option<Move> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Place` is never constructed
[INFO] [stdout]    --> src/shogi.rs:382:12
[INFO] [stdout]     |
[INFO] [stdout] 382 | pub struct Place(Color, PieceType);
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]    --> src/shogi.rs:385:8
[INFO] [stdout]     |
[INFO] [stdout] 384 | impl Place {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 385 |     fn is_empty(self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hand` is never constructed
[INFO] [stdout]    --> src/shogi.rs:403:12
[INFO] [stdout]     |
[INFO] [stdout] 403 | pub struct Hand {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get`, `get_mut`, and `set_from_parse` are never used
[INFO] [stdout]    --> src/shogi.rs:414:12
[INFO] [stdout]     |
[INFO] [stdout] 413 | impl Hand {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 414 |     pub fn get(&self, pt: PieceType) -> u8 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 427 |     pub fn get_mut(&mut self, pt: PieceType) -> &mut u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 440 |     fn set_from_parse(&mut self, pt: PieceType, modifier: Option<usize>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CheckState` is never used
[INFO] [stdout]    --> src/shogi.rs:456:10
[INFO] [stdout]     |
[INFO] [stdout] 456 | pub enum CheckState {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Position` is never constructed
[INFO] [stdout]    --> src/shogi.rs:463:12
[INFO] [stdout]     |
[INFO] [stdout] 463 | pub struct Position {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/shogi.rs:477:12
[INFO] [stdout]     |
[INFO] [stdout] 476 | impl Position {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 477 |     pub fn is_clone_of(&self, other: &Position) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 481 |     pub fn king_sq(&self, king_color: Color) -> Square {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 490 |     pub fn is_empty(&self, sq: Square) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 494 |     pub fn is_enemy(&self, sq: Square) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 499 |     pub fn is_friendly(&self, sq: Square) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 504 |     pub fn is_in_check(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 512 |     pub fn get_check_state(&self) -> CheckState {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 523 |     fn is_nifu(&self, file: i8) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 531 |     fn is_ikidokorononai(color: Color, pt: PieceType, sq: Square) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 541 |     pub fn is_legal(&self, m: Move) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 545 |     pub fn do_move(&self, m: Move) -> Option<Position> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 631 |     pub fn piece_has_ray_to(&self, from: Square, to: Square) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 642 |     fn is_clear_between(&self, a: Square, b: Square) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 657 |     pub fn has_legal_move(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 661 |     pub fn legal_moves(&self) -> Vec<Move> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 669 |     pub fn parse(s: &str) -> Option<Position> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 682 |     pub fn parse_parts(board: &str, color: &str, hand: &str, ply: &str) -> Option<Position> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 691 |     fn parse_board(s: &str) -> Option<[Place; 81]> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 764 |     fn parse_hand(s: &str) -> Option<[Hand; 2]> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 811 |     fn perft(&self, depth: usize, print: bool) -> u64 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GameOutcome` is never used
[INFO] [stdout]    --> src/shogi.rs:911:10
[INFO] [stdout]     |
[INFO] [stdout] 911 | pub enum GameOutcome {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_determined`, `winner`, and `is_draw` are never used
[INFO] [stdout]    --> src/shogi.rs:924:12
[INFO] [stdout]     |
[INFO] [stdout] 923 | impl GameOutcome {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 924 |     pub fn is_determined(self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 928 |     pub fn winner(self) -> Option<Color> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 942 |     pub fn is_draw(self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]    --> src/shogi.rs:948:12
[INFO] [stdout]     |
[INFO] [stdout] 948 | pub struct Game {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `do_move`, and `valid_impasse_win_declaration` are never used
[INFO] [stdout]     --> src/shogi.rs:956:12
[INFO] [stdout]      |
[INFO] [stdout]  955 | impl Game {
[INFO] [stdout]      | --------- associated items in this implementation
[INFO] [stdout]  956 |     pub fn new(startpos: Position) -> Game {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  966 |     pub fn do_move(&mut self, m: Move) -> GameOutcome {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1027 |     fn valid_impasse_win_declaration(&self) -> bool {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `init` is never used
[INFO] [stdout]   --> src/engine.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl EngineBuilder {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 13 |     pub fn init(&self) -> Result<Engine> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Engine` is never constructed
[INFO] [stdout]   --> src/engine.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Engine {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name`, `builder`, `write_line`, `flush`, and `read_line` are never used
[INFO] [stdout]   --> src/engine.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl Engine {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 65 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn builder(&self) -> &EngineBuilder {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn write_line(&mut self, line: &str) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn flush(&mut self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn read_line(&mut self) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/shogi.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl Delta {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 143 |     pub fn new(file: i8, rank: i8) -> Delta {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `LossByClock` and `LossByDisconnection` are never constructed
[INFO] [stdout]    --> src/shogi.rs:919:5
[INFO] [stdout]     |
[INFO] [stdout] 911 | pub enum GameOutcome {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 919 |     LossByClock(Color),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 920 |     LossByDisconnection(Color),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GameOutcome` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_determined`, `winner`, and `is_draw` are never used
[INFO] [stdout]    --> src/shogi.rs:924:12
[INFO] [stdout]     |
[INFO] [stdout] 923 | impl GameOutcome {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 924 |     pub fn is_determined(self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 928 |     pub fn winner(self) -> Option<Color> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 942 |     pub fn is_draw(self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.08s
[INFO] running `Command { std: "docker" "inspect" "dcaad7381072c36452f40581394313e843ef3f3356bb9a71ee943253b39f66bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcaad7381072c36452f40581394313e843ef3f3356bb9a71ee943253b39f66bf", kill_on_drop: false }`
[INFO] [stdout] dcaad7381072c36452f40581394313e843ef3f3356bb9a71ee943253b39f66bf
