[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeermove%2FAlphaFish-5.0" "/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/Veermove/AlphaFish-5.0 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/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-0-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] c112c346041e4dce969ed7f4a6e071030aae9344e0ea1a368fd16b632b1ec528 [INFO] running `Command { std: "docker" "start" "-a" "c112c346041e4dce969ed7f4a6e071030aae9344e0ea1a368fd16b632b1ec528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c112c346041e4dce969ed7f4a6e071030aae9344e0ea1a368fd16b632b1ec528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c112c346041e4dce969ed7f4a6e071030aae9344e0ea1a368fd16b632b1ec528", kill_on_drop: false }` [INFO] [stdout] c112c346041e4dce969ed7f4a6e071030aae9344e0ea1a368fd16b632b1ec528 [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] 3f74a27af953ecfea12a7de65eefe66be6f15d9f931b69e7d1c37d26a7184eb1 [INFO] running `Command { std: "docker" "start" "-a" "3f74a27af953ecfea12a7de65eefe66be6f15d9f931b69e7d1c37d26a7184eb1", 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)]` 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: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)]` 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: the item `String` is imported redundantly [INFO] [stdout] --> src/display/input_move.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Piece`, `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] [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: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: the item `String` is imported redundantly [INFO] [stdout] --> src/display/input_move.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Piece`, `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] [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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "3f74a27af953ecfea12a7de65eefe66be6f15d9f931b69e7d1c37d26a7184eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f74a27af953ecfea12a7de65eefe66be6f15d9f931b69e7d1c37d26a7184eb1", kill_on_drop: false }` [INFO] [stdout] 3f74a27af953ecfea12a7de65eefe66be6f15d9f931b69e7d1c37d26a7184eb1