[INFO] cloning repository https://github.com/FaydSpeare/Celestial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FaydSpeare/Celestial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFaydSpeare%2FCelestial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFaydSpeare%2FCelestial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4853e53a9091b2d62fb20e240241f237dd47dc0b [INFO] checking FaydSpeare/Celestial against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFaydSpeare%2FCelestial" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FaydSpeare/Celestial on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FaydSpeare/Celestial [INFO] finished tweaking git repo https://github.com/FaydSpeare/Celestial [INFO] tweaked toml for git repo https://github.com/FaydSpeare/Celestial written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/FaydSpeare/Celestial already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitintr v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ebec8e422573a7067c7b49ef5327cdd80dcd1a7a09274410d4f52fa673cd025 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0ebec8e422573a7067c7b49ef5327cdd80dcd1a7a09274410d4f52fa673cd025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ebec8e422573a7067c7b49ef5327cdd80dcd1a7a09274410d4f52fa673cd025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebec8e422573a7067c7b49ef5327cdd80dcd1a7a09274410d4f52fa673cd025", kill_on_drop: false }` [INFO] [stdout] 0ebec8e422573a7067c7b49ef5327cdd80dcd1a7a09274410d4f52fa673cd025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9108318423c5d5db91e66e7a3b555818cc855e6e489522c3dfa80da5731c56a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f9108318423c5d5db91e66e7a3b555818cc855e6e489522c3dfa80da5731c56a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking bitintr v0.2.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking celestial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/domotion.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | self.piece_list[piece][i] = (to as i32); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/evaluation.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | let rank = (i / 8); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/domotion.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | self.piece_list[piece][i] = (to as i32); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/evaluation.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | let rank = (i / 8); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parsing.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let c = fen.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/parsing.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | c = fen.next().unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/parsing.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | c = fen.next().unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/parsing.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut a = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/parsing.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut b = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/parsing.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut a = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/parsing.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut b = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/mcts.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `traversals` is assigned to, but never used [INFO] [stdout] --> src/mcts.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut traversals = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_traversals` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mcts.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | for i in list.iter(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mcts.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | for n in 0..50000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/uci.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(t) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_num` [INFO] [stdout] --> src/search.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut move_num = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `score` is never read [INFO] [stdout] --> src/search.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut score = -INF; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `null` [INFO] [stdout] --> src/search.rs:91:105 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn alpha_beta(mut alpha: i32, beta: i32, mut depth: i32, pos: &mut Position, info: &mut SearchInfo, null: bool) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_null` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `best_score` is never read [INFO] [stdout] --> src/search.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let mut best_score = -INF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pv_moves` [INFO] [stdout] --> src/search.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let mut pv_moves = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pv_moves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pv_num` [INFO] [stdout] --> src/search.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pv_num = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pv_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/search.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | for i in 0..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/search.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_num` [INFO] [stdout] --> src/search.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let mut move_num = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `score` is never read [INFO] [stdout] --> src/search.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | let mut score = -INF; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `list` is never read [INFO] [stdout] --> src/search.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | let mut list: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parsing.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let c = fen.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/parsing.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | c = fen.next().unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/parsing.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | c = fen.next().unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/parsing.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut a = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/parsing.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut b = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/parsing.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut a = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/parsing.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut b = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/mcts.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `traversals` is assigned to, but never used [INFO] [stdout] --> src/mcts.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut traversals = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_traversals` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mcts.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | for i in list.iter(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mcts.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | for n in 0..50000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/uci.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(t) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_num` [INFO] [stdout] --> src/search.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut move_num = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `score` is never read [INFO] [stdout] --> src/search.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut score = -INF; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `null` [INFO] [stdout] --> src/search.rs:91:105 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn alpha_beta(mut alpha: i32, beta: i32, mut depth: i32, pos: &mut Position, info: &mut SearchInfo, null: bool) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_null` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `best_score` is never read [INFO] [stdout] --> src/search.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let mut best_score = -INF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pv_moves` [INFO] [stdout] --> src/search.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let mut pv_moves = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pv_moves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pv_num` [INFO] [stdout] --> src/search.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pv_num = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pv_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/search.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | for i in 0..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/search.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_num` [INFO] [stdout] --> src/search.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let mut move_num = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `score` is never read [INFO] [stdout] --> src/search.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | let mut score = -INF; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `list` is never read [INFO] [stdout] --> src/search.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | let mut list: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mcts.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [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/search.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut move_num = 0; [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/mcts.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [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/search.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let mut pv_moves = 0; [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/search.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pv_num = 0; [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/search.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let mut move_num = 0; [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/search.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut move_num = 0; [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/search.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let mut pv_moves = 0; [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/search.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pv_num = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `promotee` [INFO] [stdout] --> src/position.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn promotee(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_none` [INFO] [stdout] --> src/position.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_prom_queen` [INFO] [stdout] --> src/position.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn is_prom_queen(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_prom_rook` [INFO] [stdout] --> src/position.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn is_prom_rook(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_prom_bishop` [INFO] [stdout] --> src/position.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn is_prom_bishop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_prom_knight` [INFO] [stdout] --> src/position.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn is_prom_knight(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/position.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reset(&mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_legal_moves` [INFO] [stdout] --> src/movegen.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn gen_legal_moves(motion_list: &mut Vec, position: &mut Position){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MotionList` [INFO] [stdout] --> src/motion.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct MotionList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/motion.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> Motion { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_none` [INFO] [stdout] --> src/motion.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_capture` [INFO] [stdout] --> src/motion.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn is_capture(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_moves` [INFO] [stdout] --> src/io.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn print_moves(list: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_mcts` [INFO] [stdout] --> src/mcts.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn run_mcts(pos: &mut Position, list: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simulate` [INFO] [stdout] --> src/mcts.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn simulate(pos: &mut Position) -> i32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `evaluate` [INFO] [stdout] --> src/mcts.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn evaluate(pos: &Position) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `iterative_deepening` [INFO] [stdout] --> src/search.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn iterative_deepening(time: u128, pos: &mut Position) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minimax_top` [INFO] [stdout] --> src/search.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn minimax_top(list: &mut Vec, depth: i32, pos: &mut Position, k: &mut i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minimax` [INFO] [stdout] --> src/search.rs:472:8 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn minimax(depth: i32, pos: &mut Position, player: bool, k: &mut i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KING_TABLE` [INFO] [stdout] --> src/evaluation.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / pub const KING_TABLE: [i32; 64] = [ 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] 49 | | 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] 50 | | 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] 51 | | 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] ... | [INFO] [stdout] 55 | | 10, 20, 20, 5, 0, 10, 30, 10, [INFO] [stdout] 56 | | ]; [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `divide` [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn divide(depth: i32, pos: &mut Position){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/search.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let mut move_num = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perft` [INFO] [stdout] --> src/main.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn perft(depth: i32, pos: &mut Position, leaves: &mut i32){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `promotee` [INFO] [stdout] --> src/position.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn promotee(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_none` [INFO] [stdout] --> src/position.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_prom_queen` [INFO] [stdout] --> src/position.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn is_prom_queen(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_prom_rook` [INFO] [stdout] --> src/position.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn is_prom_rook(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_prom_bishop` [INFO] [stdout] --> src/position.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn is_prom_bishop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_prom_knight` [INFO] [stdout] --> src/position.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn is_prom_knight(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/position.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reset(&mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_legal_moves` [INFO] [stdout] --> src/movegen.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn gen_legal_moves(motion_list: &mut Vec, position: &mut Position){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MotionList` [INFO] [stdout] --> src/motion.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct MotionList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/motion.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> Motion { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_none` [INFO] [stdout] --> src/motion.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_capture` [INFO] [stdout] --> src/motion.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn is_capture(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_moves` [INFO] [stdout] --> src/io.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn print_moves(list: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_mcts` [INFO] [stdout] --> src/mcts.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn run_mcts(pos: &mut Position, list: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simulate` [INFO] [stdout] --> src/mcts.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn simulate(pos: &mut Position) -> i32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `evaluate` [INFO] [stdout] --> src/mcts.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn evaluate(pos: &Position) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `iterative_deepening` [INFO] [stdout] --> src/search.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn iterative_deepening(time: u128, pos: &mut Position) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minimax_top` [INFO] [stdout] --> src/search.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn minimax_top(list: &mut Vec, depth: i32, pos: &mut Position, k: &mut i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minimax` [INFO] [stdout] --> src/search.rs:472:8 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn minimax(depth: i32, pos: &mut Position, player: bool, k: &mut i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KING_TABLE` [INFO] [stdout] --> src/evaluation.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / pub const KING_TABLE: [i32; 64] = [ 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] 49 | | 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] 50 | | 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] 51 | | 0, 0, 0, 0, 0, 0, 0, 0, [INFO] [stdout] ... | [INFO] [stdout] 55 | | 10, 20, 20, 5, 0, 10, 30, 10, [INFO] [stdout] 56 | | ]; [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `divide` [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn divide(depth: i32, pos: &mut Position){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perft` [INFO] [stdout] --> src/main.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn perft(depth: i32, pos: &mut Position, leaves: &mut i32){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.11s [INFO] running `Command { std: "docker" "inspect" "f9108318423c5d5db91e66e7a3b555818cc855e6e489522c3dfa80da5731c56a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9108318423c5d5db91e66e7a3b555818cc855e6e489522c3dfa80da5731c56a", kill_on_drop: false }` [INFO] [stdout] f9108318423c5d5db91e66e7a3b555818cc855e6e489522c3dfa80da5731c56a