[INFO] cloning repository https://github.com/AshtonSteed/OxidizedChess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AshtonSteed/OxidizedChess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshtonSteed%2FOxidizedChess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshtonSteed%2FOxidizedChess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec35e4c73dd88f0d775ca98d3fcbc702ff899a14 [INFO] checking AshtonSteed/OxidizedChess against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshtonSteed%2FOxidizedChess" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AshtonSteed/OxidizedChess 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/AshtonSteed/OxidizedChess [INFO] finished tweaking git repo https://github.com/AshtonSteed/OxidizedChess [INFO] tweaked toml for git repo https://github.com/AshtonSteed/OxidizedChess written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AshtonSteed/OxidizedChess 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] [stderr] warning: unused manifest key: profile.release.backtrace [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] da3816f2c69a67a69ff9884c19b6a0f0092ef7183a15f20e86b29c27581cb972 [INFO] running `Command { std: "docker" "start" "-a" "da3816f2c69a67a69ff9884c19b6a0f0092ef7183a15f20e86b29c27581cb972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da3816f2c69a67a69ff9884c19b6a0f0092ef7183a15f20e86b29c27581cb972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3816f2c69a67a69ff9884c19b6a0f0092ef7183a15f20e86b29c27581cb972", kill_on_drop: false }` [INFO] [stdout] da3816f2c69a67a69ff9884c19b6a0f0092ef7183a15f20e86b29c27581cb972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d24f5c40a8504a7f9f59575af7e4d8046ea4679ca7a8cbf45c094b74498fe80a [INFO] running `Command { std: "docker" "start" "-a" "d24f5c40a8504a7f9f59575af7e4d8046ea4679ca7a8cbf45c094b74498fe80a", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profile.release.backtrace [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking OxidizedChess v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/engine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/engine.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | let doublepawns = ((wspan & self.pieceboards[0]).count_ones() as i32 [INFO] [stdout] | ^ [INFO] [stdout] 401 | - (self.pieceboards[6] & bspan).count_ones() as i32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 400 ~ let doublepawns = (wspan & self.pieceboards[0]).count_ones() as i32 [INFO] [stdout] 401 ~ - (self.pieceboards[6] & bspan).count_ones() as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitBoard`, `Board` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use engine::{BitBoard, Board}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_captures`, `generate_moves` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use movegen::{generate_captures, generate_moves}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::moves::MoveStuff` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::moves::MoveStuff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `p` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | p, // black pawnn [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `n` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | n, // black knight [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | b, // black bishop [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `r` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | r, // black rook [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `q` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | q, // black queen [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `Q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `k` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | k, // black king [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | a8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | b8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | c8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | d8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | e8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | f8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | g8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | h8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | a7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | b7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | c7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | d7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | e7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | f7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | g7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | h7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | a6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | b6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | c6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | d6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | e6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | f6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | g6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | h6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | a5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | b5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | c5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | d5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | e5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | f5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | g5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | h5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | a4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | b4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | c4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | d4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | e4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | f4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | g4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | h4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | a3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | b3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | c3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | d3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | e3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | f3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | g3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | h3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | a2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | b2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | c2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | d2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | e2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | f2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | g2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | h2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | a1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | b1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | c1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | d1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | e1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | f1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | g1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | h1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nosq` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | nosq, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Nosq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/engine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/engine.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | let doublepawns = ((wspan & self.pieceboards[0]).count_ones() as i32 [INFO] [stdout] | ^ [INFO] [stdout] 401 | - (self.pieceboards[6] & bspan).count_ones() as i32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 400 ~ let doublepawns = (wspan & self.pieceboards[0]).count_ones() as i32 [INFO] [stdout] 401 ~ - (self.pieceboards[6] & bspan).count_ones() as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitBoard`, `Board` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use engine::{BitBoard, Board}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_captures`, `generate_moves` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use movegen::{generate_captures, generate_moves}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::moves::MoveStuff` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::moves::MoveStuff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `p` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | p, // black pawnn [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `n` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | n, // black knight [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | b, // black bishop [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `r` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | r, // black rook [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `q` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | q, // black queen [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `Q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `k` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | k, // black king [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | a8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | b8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | c8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | d8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | e8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | f8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | g8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | h8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | a7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | b7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | c7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | d7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | e7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | f7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | g7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | h7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | a6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | b6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | c6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | d6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | e6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | f6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | g6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | h6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | a5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | b5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | c5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | d5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | e5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | f5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | g5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | h5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | a4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | b4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | c4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | d4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | e4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | f4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | g4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | h4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | a3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | b3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | c3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | d3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | e3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | f3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | g3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | h3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | a2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | b2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | c2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | d2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | e2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | f2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | g2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | h2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | a1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | b1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | c1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | d1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | e1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | f1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | g1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | h1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nosq` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | nosq, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Nosq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawnsdiagonal` [INFO] [stdout] --> src/movegen.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let pawnsdiagonal = pawns & !board.movemasks[2]; // can go diagonal [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawnsdiagonal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pind` [INFO] [stdout] --> src/movegen.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nopind` [INFO] [stdout] --> src/movegen.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nopind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kingsq` [INFO] [stdout] --> src/movegen.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | let kingsq = board.pieceboards[side + 5].trailing_zeros() as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kingsq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawnsdiagonal` [INFO] [stdout] --> src/movegen.rs:951:13 [INFO] [stdout] | [INFO] [stdout] 951 | let pawnsdiagonal = pawns & !board.movemasks[2]; // can go diagonal [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawnsdiagonal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `promoterow` [INFO] [stdout] --> src/movegen.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | let promoterow = 0xFF00u64; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_promoterow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pind` [INFO] [stdout] --> src/movegen.rs:1004:17 [INFO] [stdout] | [INFO] [stdout] 1004 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nopind` [INFO] [stdout] --> src/movegen.rs:1005:17 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nopind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `promoterow` [INFO] [stdout] --> src/movegen.rs:1008:13 [INFO] [stdout] | [INFO] [stdout] 1008 | let promoterow = 0xFF000000000000u64; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_promoterow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | let mut king_quiet = board.movemasks[4] & !board.occupancies[2]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:881:13 [INFO] [stdout] | [INFO] [stdout] 881 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides night moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:901:13 [INFO] [stdout] | [INFO] [stdout] 901 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides rook moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:912:13 [INFO] [stdout] | [INFO] [stdout] 912 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides rook moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:932:13 [INFO] [stdout] | [INFO] [stdout] 932 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides bishops moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:942:13 [INFO] [stdout] | [INFO] [stdout] 942 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides bishop moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:1005:13 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/moves.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let temp = n.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawnsdiagonal` [INFO] [stdout] --> src/movegen.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let pawnsdiagonal = pawns & !board.movemasks[2]; // can go diagonal [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawnsdiagonal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pind` [INFO] [stdout] --> src/movegen.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nopind` [INFO] [stdout] --> src/movegen.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nopind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kingsq` [INFO] [stdout] --> src/movegen.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | let kingsq = board.pieceboards[side + 5].trailing_zeros() as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kingsq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawnsdiagonal` [INFO] [stdout] --> src/movegen.rs:951:13 [INFO] [stdout] | [INFO] [stdout] 951 | let pawnsdiagonal = pawns & !board.movemasks[2]; // can go diagonal [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawnsdiagonal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `promoterow` [INFO] [stdout] --> src/movegen.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | let promoterow = 0xFF00u64; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_promoterow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pind` [INFO] [stdout] --> src/movegen.rs:1004:17 [INFO] [stdout] | [INFO] [stdout] 1004 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nopind` [INFO] [stdout] --> src/movegen.rs:1005:17 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nopind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `promoterow` [INFO] [stdout] --> src/movegen.rs:1008:13 [INFO] [stdout] | [INFO] [stdout] 1008 | let promoterow = 0xFF000000000000u64; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_promoterow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | let mut king_quiet = board.movemasks[4] & !board.occupancies[2]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:881:13 [INFO] [stdout] | [INFO] [stdout] 881 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides night moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:901:13 [INFO] [stdout] | [INFO] [stdout] 901 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides rook moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:912:13 [INFO] [stdout] | [INFO] [stdout] 912 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides rook moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:932:13 [INFO] [stdout] | [INFO] [stdout] 932 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides bishops moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:942:13 [INFO] [stdout] | [INFO] [stdout] 942 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides bishop moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:1005:13 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxh` [INFO] [stdout] --> src/search.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let mut maxh = 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_maxh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/search.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | let mut maxh = 1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/moves.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let temp = n.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/search.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | let key = positionstack[ply].key; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxh` [INFO] [stdout] --> src/search.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let mut maxh = 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_maxh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/search.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | let mut maxh = 1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 100 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/search.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | let key = positionstack[ply].key; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 100 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "d24f5c40a8504a7f9f59575af7e4d8046ea4679ca7a8cbf45c094b74498fe80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d24f5c40a8504a7f9f59575af7e4d8046ea4679ca7a8cbf45c094b74498fe80a", kill_on_drop: false }` [INFO] [stdout] d24f5c40a8504a7f9f59575af7e4d8046ea4679ca7a8cbf45c094b74498fe80a [INFO] checking AshtonSteed/OxidizedChess against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshtonSteed%2FOxidizedChess" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AshtonSteed/OxidizedChess on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AshtonSteed/OxidizedChess [INFO] finished tweaking git repo https://github.com/AshtonSteed/OxidizedChess [INFO] tweaked toml for git repo https://github.com/AshtonSteed/OxidizedChess written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AshtonSteed/OxidizedChess 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profile.release.backtrace [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 902daa75c8f909f66d212ea113025f9557c7b7f86586643579ba62efdb494645 [INFO] running `Command { std: "docker" "start" "-a" "902daa75c8f909f66d212ea113025f9557c7b7f86586643579ba62efdb494645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "902daa75c8f909f66d212ea113025f9557c7b7f86586643579ba62efdb494645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "902daa75c8f909f66d212ea113025f9557c7b7f86586643579ba62efdb494645", kill_on_drop: false }` [INFO] [stdout] 902daa75c8f909f66d212ea113025f9557c7b7f86586643579ba62efdb494645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88f1a77950a7ad90b2bf104e0281bfa1fb90c82a84005a1bf16d806852211cf7 [INFO] running `Command { std: "docker" "start" "-a" "88f1a77950a7ad90b2bf104e0281bfa1fb90c82a84005a1bf16d806852211cf7", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profile.release.backtrace [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking OxidizedChess v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/engine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/engine.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | let doublepawns = ((wspan & self.pieceboards[0]).count_ones() as i32 [INFO] [stdout] | ^ [INFO] [stdout] 401 | - (self.pieceboards[6] & bspan).count_ones() as i32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 400 ~ let doublepawns = (wspan & self.pieceboards[0]).count_ones() as i32 [INFO] [stdout] 401 ~ - (self.pieceboards[6] & bspan).count_ones() as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitBoard`, `Board` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use engine::{BitBoard, Board}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_captures`, `generate_moves` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use movegen::{generate_captures, generate_moves}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::moves::MoveStuff` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::moves::MoveStuff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `p` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | p, // black pawnn [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `n` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | n, // black knight [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | b, // black bishop [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `r` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | r, // black rook [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `q` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | q, // black queen [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `Q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `k` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | k, // black king [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | a8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | b8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | c8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | d8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | e8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | f8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | g8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | h8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | a7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | b7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | c7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | d7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | e7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | f7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | g7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | h7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | a6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | b6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | c6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | d6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | e6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | f6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | g6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | h6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | a5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | b5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | c5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | d5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | e5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | f5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | g5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | h5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | a4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | b4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | c4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | d4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | e4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | f4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | g4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | h4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | a3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | b3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | c3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | d3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | e3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | f3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | g3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | h3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | a2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | b2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | c2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | d2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | e2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | f2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | g2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | h2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | a1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | b1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | c1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | d1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | e1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | f1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | g1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | h1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nosq` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | nosq, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Nosq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/engine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/engine.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | let doublepawns = ((wspan & self.pieceboards[0]).count_ones() as i32 [INFO] [stdout] | ^ [INFO] [stdout] 401 | - (self.pieceboards[6] & bspan).count_ones() as i32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 400 ~ let doublepawns = (wspan & self.pieceboards[0]).count_ones() as i32 [INFO] [stdout] 401 ~ - (self.pieceboards[6] & bspan).count_ones() as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitBoard`, `Board` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use engine::{BitBoard, Board}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_captures`, `generate_moves` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use movegen::{generate_captures, generate_moves}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::moves::MoveStuff` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::moves::MoveStuff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `p` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | p, // black pawnn [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `n` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | n, // black knight [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | b, // black bishop [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `r` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | r, // black rook [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `q` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | q, // black queen [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `Q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `k` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | k, // black king [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | a8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | b8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | c8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | d8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | e8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | f8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | g8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h8` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | h8, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | a7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | b7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | c7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | d7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | e7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | f7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | g7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h7` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | h7, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | a6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | b6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | c6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | d6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | e6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | f6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | g6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h6` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | h6, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | a5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | b5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | c5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | d5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | e5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | f5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | g5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h5` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | h5, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | a4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | b4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | c4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | d4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | e4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | f4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | g4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h4` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | h4, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | a3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | b3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | c3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | d3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | e3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | f3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | g3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h3` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | h3, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | a2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | b2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | c2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | d2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | e2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | f2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | g2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h2` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | h2, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | a1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `A1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | b1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `B1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | c1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `C1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `d1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | d1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `D1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `e1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | e1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `E1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `f1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | f1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `F1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | g1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h1` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | h1, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `H1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nosq` should have an upper camel case name [INFO] [stdout] --> src/piececonstants.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | nosq, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Nosq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawnsdiagonal` [INFO] [stdout] --> src/movegen.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let pawnsdiagonal = pawns & !board.movemasks[2]; // can go diagonal [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawnsdiagonal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pind` [INFO] [stdout] --> src/movegen.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nopind` [INFO] [stdout] --> src/movegen.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nopind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kingsq` [INFO] [stdout] --> src/movegen.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | let kingsq = board.pieceboards[side + 5].trailing_zeros() as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kingsq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawnsdiagonal` [INFO] [stdout] --> src/movegen.rs:951:13 [INFO] [stdout] | [INFO] [stdout] 951 | let pawnsdiagonal = pawns & !board.movemasks[2]; // can go diagonal [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawnsdiagonal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `promoterow` [INFO] [stdout] --> src/movegen.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | let promoterow = 0xFF00u64; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_promoterow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pind` [INFO] [stdout] --> src/movegen.rs:1004:17 [INFO] [stdout] | [INFO] [stdout] 1004 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nopind` [INFO] [stdout] --> src/movegen.rs:1005:17 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nopind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `promoterow` [INFO] [stdout] --> src/movegen.rs:1008:13 [INFO] [stdout] | [INFO] [stdout] 1008 | let promoterow = 0xFF000000000000u64; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_promoterow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | let mut king_quiet = board.movemasks[4] & !board.occupancies[2]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:881:13 [INFO] [stdout] | [INFO] [stdout] 881 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides night moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:901:13 [INFO] [stdout] | [INFO] [stdout] 901 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides rook moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:912:13 [INFO] [stdout] | [INFO] [stdout] 912 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides rook moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:932:13 [INFO] [stdout] | [INFO] [stdout] 932 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides bishops moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:942:13 [INFO] [stdout] | [INFO] [stdout] 942 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides bishop moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:1005:13 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/moves.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let temp = n.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawnsdiagonal` [INFO] [stdout] --> src/movegen.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let pawnsdiagonal = pawns & !board.movemasks[2]; // can go diagonal [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawnsdiagonal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pind` [INFO] [stdout] --> src/movegen.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nopind` [INFO] [stdout] --> src/movegen.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nopind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxh` [INFO] [stdout] --> src/search.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let mut maxh = 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_maxh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/search.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | let mut maxh = 1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/search.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | let key = positionstack[ply].key; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kingsq` [INFO] [stdout] --> src/movegen.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | let kingsq = board.pieceboards[side + 5].trailing_zeros() as usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kingsq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawnsdiagonal` [INFO] [stdout] --> src/movegen.rs:951:13 [INFO] [stdout] | [INFO] [stdout] 951 | let pawnsdiagonal = pawns & !board.movemasks[2]; // can go diagonal [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawnsdiagonal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `promoterow` [INFO] [stdout] --> src/movegen.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | let promoterow = 0xFF00u64; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_promoterow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pind` [INFO] [stdout] --> src/movegen.rs:1004:17 [INFO] [stdout] | [INFO] [stdout] 1004 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nopind` [INFO] [stdout] --> src/movegen.rs:1005:17 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nopind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `promoterow` [INFO] [stdout] --> src/movegen.rs:1008:13 [INFO] [stdout] | [INFO] [stdout] 1008 | let promoterow = 0xFF000000000000u64; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_promoterow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | let mut king_quiet = board.movemasks[4] & !board.occupancies[2]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:881:13 [INFO] [stdout] | [INFO] [stdout] 881 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides night moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:901:13 [INFO] [stdout] | [INFO] [stdout] 901 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides rook moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:912:13 [INFO] [stdout] | [INFO] [stdout] 912 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides rook moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:932:13 [INFO] [stdout] | [INFO] [stdout] 932 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides bishops moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:942:13 [INFO] [stdout] | [INFO] [stdout] 942 | let mut quiet = attacks & !board.occupancies[raw_enemy]; //divides bishop moves to those that dont capture [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | let mut pind = pawnsdiagonal & board.movemasks[3]; // diagonal pawns that are pinned [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/movegen.rs:1005:13 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut nopind = pawnsdiagonal & !board.movemasks[3]; // unpined diagonal pawns [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/moves.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let temp = n.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 100 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxh` [INFO] [stdout] --> src/search.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let mut maxh = 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_maxh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/search.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | let mut maxh = 1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/search.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | let key = positionstack[ply].key; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 100 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.99s [INFO] running `Command { std: "docker" "inspect" "88f1a77950a7ad90b2bf104e0281bfa1fb90c82a84005a1bf16d806852211cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f1a77950a7ad90b2bf104e0281bfa1fb90c82a84005a1bf16d806852211cf7", kill_on_drop: false }` [INFO] [stdout] 88f1a77950a7ad90b2bf104e0281bfa1fb90c82a84005a1bf16d806852211cf7