[INFO] fetching crate chess_js 0.1.0...
[INFO] checking chess_js-0.1.0 against master#9bfa31f632912180dc742809bcc51a97f2d7079d for pr-140151
[INFO] extracting crate chess_js 0.1.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate chess_js 0.1.0 on toolchain 9bfa31f632912180dc742809bcc51a97f2d7079d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate chess_js 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate chess_js 0.1.0
[INFO] tweaked toml for crates.io crate chess_js 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate crates.io crate chess_js 0.1.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" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded kdam v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 146ef9f548b1a5ba8ff83ce50ace46b562b56001d3570f53a1436e04fe284109
[INFO] running `Command { std: "docker" "start" "-a" "146ef9f548b1a5ba8ff83ce50ace46b562b56001d3570f53a1436e04fe284109", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "146ef9f548b1a5ba8ff83ce50ace46b562b56001d3570f53a1436e04fe284109", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "146ef9f548b1a5ba8ff83ce50ace46b562b56001d3570f53a1436e04fe284109", kill_on_drop: false }`
[INFO] [stdout] 146ef9f548b1a5ba8ff83ce50ace46b562b56001d3570f53a1436e04fe284109
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 80cc2afd928ebfba2d29e3355f64eab728f4eb2b806dd9fad51153687c3512e1
[INFO] running `Command { std: "docker" "start" "-a" "80cc2afd928ebfba2d29e3355f64eab728f4eb2b806dd9fad51153687c3512e1", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking terminal_size v0.4.0
[INFO] [stderr]     Checking kdam v0.6.0
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking chess_js v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `pin`
[INFO] [stdout]  --> src/chess.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ collections::HashMap, ops::Index, pin, vec::Vec };
[INFO] [stdout]   |                                              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `number` should have an upper camel case name
[INFO] [stdout]  --> src/shared/constants.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | type number = i32;
[INFO] [stdout]   |      ^^^^^^ help: convert the identifier to upper camel case: `Number`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `tnumber` should have an upper camel case name
[INFO] [stdout]  --> src/shared/constants.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type tnumber = i32;
[INFO] [stdout]   |      ^^^^^^^ help: convert the identifier to upper camel case: `Tnumber`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pin`
[INFO] [stdout]  --> tests/../src/chess.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ collections::HashMap, ops::Index, pin, vec::Vec };
[INFO] [stdout]   |                                              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `number` should have an upper camel case name
[INFO] [stdout]  --> src/chess.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type number = i32;
[INFO] [stdout]   |      ^^^^^^ help: convert the identifier to upper camel case: `Number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `number` should have an upper camel case name
[INFO] [stdout]  --> tests/../src/shared/constants.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | type number = i32;
[INFO] [stdout]   |      ^^^^^^ help: convert the identifier to upper camel case: `Number`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pin`
[INFO] [stdout]  --> src/chess.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ collections::HashMap, ops::Index, pin, vec::Vec };
[INFO] [stdout]   |                                              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `number` should have an upper camel case name
[INFO] [stdout]  --> src/shared/constants.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | type number = i32;
[INFO] [stdout]   |      ^^^^^^ help: convert the identifier to upper camel case: `Number`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `tnumber` should have an upper camel case name
[INFO] [stdout]  --> src/shared/constants.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type tnumber = i32;
[INFO] [stdout]   |      ^^^^^^^ help: convert the identifier to upper camel case: `Tnumber`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `number` should have an upper camel case name
[INFO] [stdout]  --> src/chess.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type number = i32;
[INFO] [stdout]   |      ^^^^^^ help: convert the identifier to upper camel case: `Number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `tnumber` should have an upper camel case name
[INFO] [stdout]  --> tests/../src/shared/constants.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type tnumber = i32;
[INFO] [stdout]   |      ^^^^^^^ help: convert the identifier to upper camel case: `Tnumber`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `number` should have an upper camel case name
[INFO] [stdout]  --> tests/../src/chess.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type number = i32;
[INFO] [stdout]   |      ^^^^^^ help: convert the identifier to upper camel case: `Number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `to` is never read
[INFO] [stdout]    --> src/chess.rs:362:21
[INFO] [stdout]     |
[INFO] [stdout] 362 |             let mut to: number = EMPTY;
[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: value assigned to `to` is never read
[INFO] [stdout]    --> src/chess.rs:362:21
[INFO] [stdout]     |
[INFO] [stdout] 362 |             let mut to: number = EMPTY;
[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: value assigned to `to` is never read
[INFO] [stdout]    --> tests/../src/chess.rs:362:21
[INFO] [stdout]     |
[INFO] [stdout] 362 |             let mut to: number = EMPTY;
[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: `p`
[INFO] [stdout]    --> src/chess.rs:792:18
[INFO] [stdout]     |
[INFO] [stdout] 792 |             Some(p) => {
[INFO] [stdout]     |                  ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/chess.rs:792:18
[INFO] [stdout]     |
[INFO] [stdout] 792 |             Some(p) => {
[INFO] [stdout]     |                  ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> tests/../src/chess.rs:792:18
[INFO] [stdout]     |
[INFO] [stdout] 792 |             Some(p) => {
[INFO] [stdout]     |                  ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Flags` is more private than the item `FLAGS`
[INFO] [stdout]    --> src/shared/constants.rs:143:1
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub const FLAGS: Flags = Flags {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ constant `FLAGS` is reachable at visibility `pub(chess)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Flags` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/shared/constants.rs:133:1
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct Flags {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InternalMove` is more private than the item `Chess::moves_display`
[INFO] [stdout]    --> src/chess.rs:776:5
[INFO] [stdout]     |
[INFO] [stdout] 776 |     pub fn moves_display(&self, moves: Vec<InternalMove>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Chess::moves_display` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `InternalMove` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/chess.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | struct InternalMove {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]   --> src/main.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn f(square: &str) -> i32 {
[INFO] [stdout]    |    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Square` is never used
[INFO] [stdout]   --> src/chess.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Square = String;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color` is never read
[INFO] [stdout]   --> src/chess.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct InternalMove {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 36 |     color: Color,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InternalMove` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Move` is never constructed
[INFO] [stdout]   --> src/chess.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Move {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `turn`, `m`, `display`, and `moves_display` are never used
[INFO] [stdout]    --> src/chess.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout] 159 | impl Chess {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn turn(&self) -> Color {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     pub fn m(&mut self, from: number, to: number, promotion: Option<PieceSymbol>) -> bool {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 748 |     pub fn display(&self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 776 |     pub fn moves_display(&self, moves: Vec<InternalMove>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `tnumber` is never used
[INFO] [stdout]  --> src/shared/constants.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type tnumber = i32;
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_3` is never used
[INFO] [stdout]  --> src/shared/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const RANK_3: number = 5;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_4` is never used
[INFO] [stdout]  --> src/shared/constants.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const RANK_4: number = 4;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_5` is never used
[INFO] [stdout]   --> src/shared/constants.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const RANK_5: number = 3;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_6` is never used
[INFO] [stdout]   --> src/shared/constants.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const RANK_6: number = 2;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/shared/constants.rs:62:25
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct C0x88 {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 62 |     pub a8: number, pub b8: number, pub c8: number, pub d8: number, pub e8: number, pub f8: number, pub g8: number, pub h8: number,
[INFO] [stdout]    |                         ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 63 |     pub a7: number, pub b7: number, pub c7: number, pub d7: number, pub e7: number, pub f7: number, pub g7: number, pub h7: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 64 |     pub a6: number, pub b6: number, pub c6: number, pub d6: number, pub e6: number, pub f6: number, pub g6: number, pub h6: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 65 |     pub a5: number, pub b5: number, pub c5: number, pub d5: number, pub e5: number, pub f5: number, pub g5: number, pub h5: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 66 |     pub a4: number, pub b4: number, pub c4: number, pub d4: number, pub e4: number, pub f4: number, pub g4: number, pub h4: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 67 |     pub a3: number, pub b3: number, pub c3: number, pub d3: number, pub e3: number, pub f3: number, pub g3: number, pub h3: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 68 |     pub a2: number, pub b2: number, pub c2: number, pub d2: number, pub e2: number, pub f2: number, pub g2: number, pub h2: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 69 |     pub a1: number, pub b1: number, pub c1: number, pub d1: number, pub e1: number, pub f1: number, pub g1: number, pub h1: number,
[INFO] [stdout]    |                         ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Flags` is never constructed
[INFO] [stdout]    --> src/shared/constants.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct Flags {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLAGS` is never used
[INFO] [stdout]    --> src/shared/constants.rs:143:11
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub const FLAGS: Flags = Flags {
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Flags` is more private than the item `FLAGS`
[INFO] [stdout]    --> src/shared/constants.rs:143:1
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub const FLAGS: Flags = Flags {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ constant `FLAGS` is reachable at visibility `pub(chess)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Flags` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/shared/constants.rs:133:1
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct Flags {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InternalMove` is more private than the item `Chess::moves_display`
[INFO] [stdout]    --> src/chess.rs:776:5
[INFO] [stdout]     |
[INFO] [stdout] 776 |     pub fn moves_display(&self, moves: Vec<InternalMove>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Chess::moves_display` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `InternalMove` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/chess.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | struct InternalMove {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]   --> src/main.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn f(square: &str) -> i32 {
[INFO] [stdout]    |    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Square` is never used
[INFO] [stdout]   --> src/chess.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Square = String;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color` is never read
[INFO] [stdout]   --> src/chess.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct InternalMove {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 36 |     color: Color,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InternalMove` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Move` is never constructed
[INFO] [stdout]   --> src/chess.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Move {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `turn`, `m`, `display`, and `moves_display` are never used
[INFO] [stdout]    --> src/chess.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout] 159 | impl Chess {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn turn(&self) -> Color {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     pub fn m(&mut self, from: number, to: number, promotion: Option<PieceSymbol>) -> bool {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 748 |     pub fn display(&self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 776 |     pub fn moves_display(&self, moves: Vec<InternalMove>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `tnumber` is never used
[INFO] [stdout]  --> src/shared/constants.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type tnumber = i32;
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_3` is never used
[INFO] [stdout]  --> src/shared/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const RANK_3: number = 5;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_4` is never used
[INFO] [stdout]  --> src/shared/constants.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const RANK_4: number = 4;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_5` is never used
[INFO] [stdout]   --> src/shared/constants.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const RANK_5: number = 3;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_6` is never used
[INFO] [stdout]   --> src/shared/constants.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const RANK_6: number = 2;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/shared/constants.rs:62:25
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct C0x88 {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 62 |     pub a8: number, pub b8: number, pub c8: number, pub d8: number, pub e8: number, pub f8: number, pub g8: number, pub h8: number,
[INFO] [stdout]    |                         ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 63 |     pub a7: number, pub b7: number, pub c7: number, pub d7: number, pub e7: number, pub f7: number, pub g7: number, pub h7: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 64 |     pub a6: number, pub b6: number, pub c6: number, pub d6: number, pub e6: number, pub f6: number, pub g6: number, pub h6: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 65 |     pub a5: number, pub b5: number, pub c5: number, pub d5: number, pub e5: number, pub f5: number, pub g5: number, pub h5: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 66 |     pub a4: number, pub b4: number, pub c4: number, pub d4: number, pub e4: number, pub f4: number, pub g4: number, pub h4: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 67 |     pub a3: number, pub b3: number, pub c3: number, pub d3: number, pub e3: number, pub f3: number, pub g3: number, pub h3: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 68 |     pub a2: number, pub b2: number, pub c2: number, pub d2: number, pub e2: number, pub f2: number, pub g2: number, pub h2: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 69 |     pub a1: number, pub b1: number, pub c1: number, pub d1: number, pub e1: number, pub f1: number, pub g1: number, pub h1: number,
[INFO] [stdout]    |                         ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Flags` is never constructed
[INFO] [stdout]    --> src/shared/constants.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct Flags {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLAGS` is never used
[INFO] [stdout]    --> src/shared/constants.rs:143:11
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub const FLAGS: Flags = Flags {
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Flags` is more private than the item `FLAGS`
[INFO] [stdout]    --> tests/../src/shared/constants.rs:143:1
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub const FLAGS: Flags = Flags {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ constant `FLAGS` is reachable at visibility `pub(chess)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Flags` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> tests/../src/shared/constants.rs:133:1
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct Flags {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `InternalMove` is more private than the item `Chess::moves_display`
[INFO] [stdout]    --> tests/../src/chess.rs:776:5
[INFO] [stdout]     |
[INFO] [stdout] 776 |     pub fn moves_display(&self, moves: Vec<InternalMove>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Chess::moves_display` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `InternalMove` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> tests/../src/chess.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | struct InternalMove {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Square` is never used
[INFO] [stdout]   --> tests/../src/chess.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Square = String;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color` is never read
[INFO] [stdout]   --> tests/../src/chess.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct InternalMove {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 36 |     color: Color,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InternalMove` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Move` is never constructed
[INFO] [stdout]   --> tests/../src/chess.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Move {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `turn`, `m`, `display`, and `moves_display` are never used
[INFO] [stdout]    --> tests/../src/chess.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout] 159 | impl Chess {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn turn(&self) -> Color {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     pub fn m(&mut self, from: number, to: number, promotion: Option<PieceSymbol>) -> bool {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 748 |     pub fn display(&self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 776 |     pub fn moves_display(&self, moves: Vec<InternalMove>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `tnumber` is never used
[INFO] [stdout]  --> tests/../src/shared/constants.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type tnumber = i32;
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_3` is never used
[INFO] [stdout]  --> tests/../src/shared/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const RANK_3: number = 5;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_4` is never used
[INFO] [stdout]  --> tests/../src/shared/constants.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const RANK_4: number = 4;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_5` is never used
[INFO] [stdout]   --> tests/../src/shared/constants.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const RANK_5: number = 3;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_6` is never used
[INFO] [stdout]   --> tests/../src/shared/constants.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const RANK_6: number = 2;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> tests/../src/shared/constants.rs:62:25
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct C0x88 {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 62 |     pub a8: number, pub b8: number, pub c8: number, pub d8: number, pub e8: number, pub f8: number, pub g8: number, pub h8: number,
[INFO] [stdout]    |                         ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 63 |     pub a7: number, pub b7: number, pub c7: number, pub d7: number, pub e7: number, pub f7: number, pub g7: number, pub h7: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 64 |     pub a6: number, pub b6: number, pub c6: number, pub d6: number, pub e6: number, pub f6: number, pub g6: number, pub h6: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 65 |     pub a5: number, pub b5: number, pub c5: number, pub d5: number, pub e5: number, pub f5: number, pub g5: number, pub h5: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 66 |     pub a4: number, pub b4: number, pub c4: number, pub d4: number, pub e4: number, pub f4: number, pub g4: number, pub h4: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 67 |     pub a3: number, pub b3: number, pub c3: number, pub d3: number, pub e3: number, pub f3: number, pub g3: number, pub h3: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 68 |     pub a2: number, pub b2: number, pub c2: number, pub d2: number, pub e2: number, pub f2: number, pub g2: number, pub h2: number,
[INFO] [stdout]    |         ^^              ^^              ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 69 |     pub a1: number, pub b1: number, pub c1: number, pub d1: number, pub e1: number, pub f1: number, pub g1: number, pub h1: number,
[INFO] [stdout]    |                         ^^              ^^              ^^              ^^              ^^              ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Flags` is never constructed
[INFO] [stdout]    --> tests/../src/shared/constants.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct Flags {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLAGS` is never used
[INFO] [stdout]    --> tests/../src/shared/constants.rs:143:11
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub const FLAGS: Flags = Flags {
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.29s
[INFO] running `Command { std: "docker" "inspect" "80cc2afd928ebfba2d29e3355f64eab728f4eb2b806dd9fad51153687c3512e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80cc2afd928ebfba2d29e3355f64eab728f4eb2b806dd9fad51153687c3512e1", kill_on_drop: false }`
[INFO] [stdout] 80cc2afd928ebfba2d29e3355f64eab728f4eb2b806dd9fad51153687c3512e1
