[INFO] cloning repository https://github.com/jeunotca/blobwar-ai-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeunotca/blobwar-ai-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeunotca%2Fblobwar-ai-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeunotca%2Fblobwar-ai-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1826be9144c5da5989cd95f0b5decfdd1bc35cb5 [INFO] checking jeunotca/blobwar-ai-rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeunotca%2Fblobwar-ai-rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeunotca/blobwar-ai-rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeunotca/blobwar-ai-rust [INFO] finished tweaking git repo https://github.com/jeunotca/blobwar-ai-rust [INFO] tweaked toml for git repo https://github.com/jeunotca/blobwar-ai-rust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jeunotca/blobwar-ai-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6c26b8a7c2bc5dde71ad7b3632b660c547f0059f98e3447d33839ced272ac5e [INFO] running `Command { std: "docker" "start" "-a" "c6c26b8a7c2bc5dde71ad7b3632b660c547f0059f98e3447d33839ced272ac5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6c26b8a7c2bc5dde71ad7b3632b660c547f0059f98e3447d33839ced272ac5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6c26b8a7c2bc5dde71ad7b3632b660c547f0059f98e3447d33839ced272ac5e", kill_on_drop: false }` [INFO] [stdout] c6c26b8a7c2bc5dde71ad7b3632b660c547f0059f98e3447d33839ced272ac5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a23033abb3ab695389965ac250817e7c3a1dcc461734e4d39856c679a6c7a49b [INFO] running `Command { std: "docker" "start" "-a" "a23033abb3ab695389965ac250817e7c3a1dcc461734e4d39856c679a6c7a49b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking libc v0.2.92 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.6.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking blobwar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/strategy/alphabeta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/strategy/alphabeta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha` [INFO] [stdout] --> src/strategy/evil.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beta` [INFO] [stdout] --> src/strategy/evil.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_beta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut tmp_bc = best_move; [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 `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha` [INFO] [stdout] --> src/strategy/evil.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beta` [INFO] [stdout] --> src/strategy/evil.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_beta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut tmp_bc = best_move; [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 `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | let mut tmp_bv = best_val; [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/strategy/evil.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | fn alphabeta(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/evil.rs:81:52 [INFO] [stdout] | [INFO] [stdout] 81 | fn alphabeta_sorted(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/evil.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/evil.rs:109:54 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/evil.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | fn alphabeta_par(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | fn alphabeta_pvs(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:158:53 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:158:68 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:171:58 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | fn alphabeta_par_pvs2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | fn alphabeta_par_pvs_double_depth_par(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | fn alphabeta_par2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/evil.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | fn alphabeta(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/evil.rs:81:52 [INFO] [stdout] | [INFO] [stdout] 81 | fn alphabeta_sorted(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/evil.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/evil.rs:109:54 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/evil.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | fn alphabeta_par(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minimax` [INFO] [stdout] --> src/strategy/minmax.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn minimax(profondeur: u8, maximizing: bool, state: Configuration) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `negamax2` [INFO] [stdout] --> src/strategy/evil.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn negamax2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (i8, i8, i8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_iteratif` [INFO] [stdout] --> src/strategy/evil.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par` [INFO] [stdout] --> src/strategy/evil.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn alphabeta_par(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta` [INFO] [stdout] --> src/strategy/alphabeta.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn alphabeta(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_aspiration` [INFO] [stdout] --> src/strategy/alphabeta.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn alphabeta_aspiration(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par` [INFO] [stdout] --> src/strategy/alphabeta.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn alphabeta_par(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par_classic_with_score` [INFO] [stdout] --> src/strategy/alphabeta.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par_infinite` [INFO] [stdout] --> src/strategy/alphabeta.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par_pvs` [INFO] [stdout] --> src/strategy/alphabeta.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn alphabeta_par_pvs(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par_pvs_double_depth_par` [INFO] [stdout] --> src/strategy/alphabeta.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn alphabeta_par_pvs_double_depth_par(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par_aspiration` [INFO] [stdout] --> src/strategy/alphabeta.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn alphabeta_par_aspiration(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par2` [INFO] [stdout] --> src/strategy/alphabeta.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn alphabeta_par2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_sorted` [INFO] [stdout] --> src/strategy/alphabeta.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn alphabeta_sorted(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | fn alphabeta_pvs(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:158:53 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:158:68 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:171:58 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | fn alphabeta_par_pvs2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | fn alphabeta_par_pvs_double_depth_par(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [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/strategy/alphabeta.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | fn alphabeta_par2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minimax` [INFO] [stdout] --> src/strategy/minmax.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn minimax(profondeur: u8, maximizing: bool, state: Configuration) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `negamax2` [INFO] [stdout] --> src/strategy/evil.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn negamax2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (i8, i8, i8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_iteratif` [INFO] [stdout] --> src/strategy/evil.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par` [INFO] [stdout] --> src/strategy/evil.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn alphabeta_par(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta` [INFO] [stdout] --> src/strategy/alphabeta.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn alphabeta(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_aspiration` [INFO] [stdout] --> src/strategy/alphabeta.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn alphabeta_aspiration(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par` [INFO] [stdout] --> src/strategy/alphabeta.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn alphabeta_par(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par_classic_with_score` [INFO] [stdout] --> src/strategy/alphabeta.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par_infinite` [INFO] [stdout] --> src/strategy/alphabeta.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par_pvs` [INFO] [stdout] --> src/strategy/alphabeta.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn alphabeta_par_pvs(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par_pvs_double_depth_par` [INFO] [stdout] --> src/strategy/alphabeta.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn alphabeta_par_pvs_double_depth_par(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par_aspiration` [INFO] [stdout] --> src/strategy/alphabeta.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn alphabeta_par_aspiration(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_par2` [INFO] [stdout] --> src/strategy/alphabeta.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn alphabeta_par2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alphabeta_sorted` [INFO] [stdout] --> src/strategy/alphabeta.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn alphabeta_sorted(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Evil`, `Human`, `MinMax` [INFO] [stdout] --> src/main.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use blobwar::strategy::{Greedy, Human, MinMax, Evil, AlphaBeta}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Evil`, `Human`, `MinMax` [INFO] [stdout] --> src/main.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use blobwar::strategy::{Greedy, Human, MinMax, Evil, AlphaBeta}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.62s [INFO] running `Command { std: "docker" "inspect" "a23033abb3ab695389965ac250817e7c3a1dcc461734e4d39856c679a6c7a49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23033abb3ab695389965ac250817e7c3a1dcc461734e4d39856c679a6c7a49b", kill_on_drop: false }` [INFO] [stdout] a23033abb3ab695389965ac250817e7c3a1dcc461734e4d39856c679a6c7a49b