[INFO] cloning repository https://github.com/Veermove/AlphaFish-5.0 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Veermove/AlphaFish-5.0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeermove%2FAlphaFish-5.0", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeermove%2FAlphaFish-5.0'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a02dceed6eba666c3b6dcb7482b446c09be9455d [INFO] checking Veermove/AlphaFish-5.0 against try#5d96fa0e954d77528204a1ba3b8847ec083c779b for pr-153457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeermove%2FAlphaFish-5.0" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Veermove/AlphaFish-5.0 [INFO] finished tweaking git repo https://github.com/Veermove/AlphaFish-5.0 [INFO] tweaked toml for git repo https://github.com/Veermove/AlphaFish-5.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Veermove/AlphaFish-5.0 on toolchain 5d96fa0e954d77528204a1ba3b8847ec083c779b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Veermove/AlphaFish-5.0 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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea0d9ec58bcc6c5ee07304e7accacc1b62c333ef59c5af6b818393c36f3da36f [INFO] running `Command { std: "docker" "start" "-a" "ea0d9ec58bcc6c5ee07304e7accacc1b62c333ef59c5af6b818393c36f3da36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea0d9ec58bcc6c5ee07304e7accacc1b62c333ef59c5af6b818393c36f3da36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0d9ec58bcc6c5ee07304e7accacc1b62c333ef59c5af6b818393c36f3da36f", kill_on_drop: false }` [INFO] [stdout] ea0d9ec58bcc6c5ee07304e7accacc1b62c333ef59c5af6b818393c36f3da36f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8238420521d8d2849fd6a64ceb87d8b14b6b02c7141aa09d75d4296e2f4764ff [INFO] running `Command { std: "docker" "start" "-a" "8238420521d8d2849fd6a64ceb87d8b14b6b02c7141aa09d75d4296e2f4764ff", kill_on_drop: false }` [INFO] [stderr] Checking alphafish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | 0b001 => (if fig_col == Color::White { 'P' } else { 'p' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - 0b001 => (if fig_col == Color::White { 'P' } else { 'p' }), [INFO] [stdout] 48 + 0b001 => if fig_col == Color::White { 'P' } else { 'p' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | 0b010 => (if fig_col == Color::White { 'N' } else { 'n' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - 0b010 => (if fig_col == Color::White { 'N' } else { 'n' }), [INFO] [stdout] 49 + 0b010 => if fig_col == Color::White { 'N' } else { 'n' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | 0b011 => (if fig_col == Color::White { 'B' } else { 'b' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - 0b011 => (if fig_col == Color::White { 'B' } else { 'b' }), [INFO] [stdout] 50 + 0b011 => if fig_col == Color::White { 'B' } else { 'b' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | 0b100 => (if fig_col == Color::White { 'R' } else { 'r' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - 0b100 => (if fig_col == Color::White { 'R' } else { 'r' }), [INFO] [stdout] 51 + 0b100 => if fig_col == Color::White { 'R' } else { 'r' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | 0b101 => (if fig_col == Color::White { 'Q' } else { 'q' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - 0b101 => (if fig_col == Color::White { 'Q' } else { 'q' }), [INFO] [stdout] 52 + 0b101 => if fig_col == Color::White { 'Q' } else { 'q' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | 0b111 => (if fig_col == Color::White { 'K' } else { 'k' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - 0b111 => (if fig_col == Color::White { 'K' } else { 'k' }), [INFO] [stdout] 53 + 0b111 => if fig_col == Color::White { 'K' } else { 'k' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Piece`, and `Signature` [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use model::piece::{Piece, Color, Signature}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Move` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use model::move_rep::{Move}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | 0b001 => (if fig_col == Color::White { 'P' } else { 'p' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - 0b001 => (if fig_col == Color::White { 'P' } else { 'p' }), [INFO] [stdout] 48 + 0b001 => if fig_col == Color::White { 'P' } else { 'p' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | 0b010 => (if fig_col == Color::White { 'N' } else { 'n' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - 0b010 => (if fig_col == Color::White { 'N' } else { 'n' }), [INFO] [stdout] 49 + 0b010 => if fig_col == Color::White { 'N' } else { 'n' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | 0b011 => (if fig_col == Color::White { 'B' } else { 'b' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - 0b011 => (if fig_col == Color::White { 'B' } else { 'b' }), [INFO] [stdout] 50 + 0b011 => if fig_col == Color::White { 'B' } else { 'b' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | 0b100 => (if fig_col == Color::White { 'R' } else { 'r' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - 0b100 => (if fig_col == Color::White { 'R' } else { 'r' }), [INFO] [stdout] 51 + 0b100 => if fig_col == Color::White { 'R' } else { 'r' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | 0b101 => (if fig_col == Color::White { 'Q' } else { 'q' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - 0b101 => (if fig_col == Color::White { 'Q' } else { 'q' }), [INFO] [stdout] 52 + 0b101 => if fig_col == Color::White { 'Q' } else { 'q' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/display/output.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | 0b111 => (if fig_col == Color::White { 'K' } else { 'k' }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - 0b111 => (if fig_col == Color::White { 'K' } else { 'k' }), [INFO] [stdout] 53 + 0b111 => if fig_col == Color::White { 'K' } else { 'k' } , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Piece`, and `Signature` [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use model::piece::{Piece, Color, Signature}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Move` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use model::move_rep::{Move}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_current` is never used [INFO] [stdout] --> src/translator/move_translations.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn calc_current(sqr: u8) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Signature` is never used [INFO] [stdout] --> src/model/piece.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Signature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_signature` is never used [INFO] [stdout] --> src/model/piece.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Piece { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_signature(&self) -> Signature { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prev_rep` and `castles` are never read [INFO] [stdout] --> src/model/board.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | rep: HashMap, [INFO] [stdout] 6 | prev_rep: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | castles: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_current_mut`, `get_prev`, and `set_fen` are never used [INFO] [stdout] --> src/model/board.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_current_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_prev(&mut self) -> &mut Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn set_fen(&mut self, _fen: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prev_rep` is never used [INFO] [stdout] --> src/model/board.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl BoardBuilder { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn prev_rep(mut self, _prev_rep: Option>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_elegant` is never used [INFO] [stdout] --> src/model/offsets.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Offsets { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_elegant(&self, _piece: Signature) -> &Vec<(i8, i8, i8)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_col`, `current_row`, and `special_move` are never read [INFO] [stdout] --> src/model/move_rep.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Move { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | target_square: u8, [INFO] [stdout] 5 | current_col: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | current_row: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | special_move: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_str`, `get_current_sqr`, and `tup_full` are never used [INFO] [stdout] --> src/model/move_rep.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Move { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn set_str(&mut self, move_s: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_current_sqr(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn tup_full(&self) -> Option<(u8, u8, u8)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_color_E` should have a snake case name [INFO] [stdout] --> src/model/piece.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_color_E(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_color_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_current` is never used [INFO] [stdout] --> src/translator/move_translations.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn calc_current(sqr: u8) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Signature` is never used [INFO] [stdout] --> src/model/piece.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Signature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_signature` is never used [INFO] [stdout] --> src/model/piece.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Piece { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_signature(&self) -> Signature { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prev_rep` and `castles` are never read [INFO] [stdout] --> src/model/board.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | rep: HashMap, [INFO] [stdout] 6 | prev_rep: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | castles: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_current_mut`, `get_prev`, and `set_fen` are never used [INFO] [stdout] --> src/model/board.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_current_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_prev(&mut self) -> &mut Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn set_fen(&mut self, _fen: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prev_rep` is never used [INFO] [stdout] --> src/model/board.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl BoardBuilder { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn prev_rep(mut self, _prev_rep: Option>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_elegant` is never used [INFO] [stdout] --> src/model/offsets.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Offsets { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_elegant(&self, _piece: Signature) -> &Vec<(i8, i8, i8)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_col`, `current_row`, and `special_move` are never read [INFO] [stdout] --> src/model/move_rep.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Move { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | target_square: u8, [INFO] [stdout] 5 | current_col: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | current_row: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | special_move: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_str`, `get_current_sqr`, and `tup_full` are never used [INFO] [stdout] --> src/model/move_rep.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Move { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn set_str(&mut self, move_s: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_current_sqr(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn tup_full(&self) -> Option<(u8, u8, u8)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_color_E` should have a snake case name [INFO] [stdout] --> src/model/piece.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_color_E(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_color_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "8238420521d8d2849fd6a64ceb87d8b14b6b02c7141aa09d75d4296e2f4764ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8238420521d8d2849fd6a64ceb87d8b14b6b02c7141aa09d75d4296e2f4764ff", kill_on_drop: false }` [INFO] [stdout] 8238420521d8d2849fd6a64ceb87d8b14b6b02c7141aa09d75d4296e2f4764ff