[INFO] cloning repository https://github.com/AndriyParkho/blobwar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AndriyParkho/blobwar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndriyParkho%2Fblobwar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndriyParkho%2Fblobwar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b075529e21b31c8e7a86c71553e950fdf3591866 [INFO] testing AndriyParkho/blobwar against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndriyParkho%2Fblobwar" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AndriyParkho/blobwar on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AndriyParkho/blobwar [INFO] finished tweaking git repo https://github.com/AndriyParkho/blobwar [INFO] tweaked toml for git repo https://github.com/AndriyParkho/blobwar written to /workspace/builds/worker-103/source/Cargo.toml [INFO] crate git repo https://github.com/AndriyParkho/blobwar already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d875cbe7c7a7d5c23c7fd1a78d38f87d68f4a6b28e0e386fc355933dbd18e5f4 [INFO] running `Command { std: "docker" "start" "-a" "d875cbe7c7a7d5c23c7fd1a78d38f87d68f4a6b28e0e386fc355933dbd18e5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d875cbe7c7a7d5c23c7fd1a78d38f87d68f4a6b28e0e386fc355933dbd18e5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d875cbe7c7a7d5c23c7fd1a78d38f87d68f4a6b28e0e386fc355933dbd18e5f4", kill_on_drop: false }` [INFO] [stdout] d875cbe7c7a7d5c23c7fd1a78d38f87d68f4a6b28e0e386fc355933dbd18e5f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f95effd5d472c818cd905821ccf69e7184f13bc6e39b8b608e975d48d9786b9 [INFO] running `Command { std: "docker" "start" "-a" "1f95effd5d472c818cd905821ccf69e7184f13bc6e39b8b608e975d48d9786b9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.38 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling blobwar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/strategy/alphabeta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicI8`, `Ordering` [INFO] [stdout] --> src/strategy/alphabeta.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicI8, Ordering}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/minmax.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut readed_value = -value; [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/alphabeta.rs:73:46 [INFO] [stdout] | [INFO] [stdout] 73 | fn negamax(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (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:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let mut readed_value = -value; [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:156:111 [INFO] [stdout] | [INFO] [stdout] 156 | ... HashMap, i8)>, depth: u8, mut alpha: i8, mut beta: i8) -> (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:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | let mut readed_value = -value; [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:194:42 [INFO] [stdout] | [INFO] [stdout] 194 | fn pvs(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (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:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut mov = iter_m.next(); [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:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let mut readed_value = -value; [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:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let mut readed_value = -value; [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:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | let mut readed_value = -value; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `negamax` [INFO] [stdout] --> src/strategy/minmax.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn negamax(state: &Configuration, depth: u8) -> (Option, 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: `alpha_beta` [INFO] [stdout] --> src/strategy/alphabeta.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn alpha_beta(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8, current: bool) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `negamax_mem` [INFO] [stdout] --> src/strategy/alphabeta.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn negamax_mem(state: &Configuration, saving_states: &mut HashMap, i8)>, depth: u8, mut alpha: i8, mut beta: i8... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pvs` [INFO] [stdout] --> src/strategy/alphabeta.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn pvs(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (Option, i8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Greedy`, `Human`, `MinMax` [INFO] [stdout] --> src/main.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use blobwar::strategy::{MinMax, Greedy, Human, 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 2m 49s [INFO] running `Command { std: "docker" "inspect" "1f95effd5d472c818cd905821ccf69e7184f13bc6e39b8b608e975d48d9786b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f95effd5d472c818cd905821ccf69e7184f13bc6e39b8b608e975d48d9786b9", kill_on_drop: false }` [INFO] [stdout] 1f95effd5d472c818cd905821ccf69e7184f13bc6e39b8b608e975d48d9786b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a8cc130d0afbdb16fb29f5dbd70be6fde2c726fab314a58aedf6574c5de2ca3 [INFO] running `Command { std: "docker" "start" "-a" "9a8cc130d0afbdb16fb29f5dbd70be6fde2c726fab314a58aedf6574c5de2ca3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling blobwar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/strategy/alphabeta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicI8`, `Ordering` [INFO] [stdout] --> src/strategy/alphabeta.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicI8, Ordering}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/minmax.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut readed_value = -value; [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/alphabeta.rs:73:46 [INFO] [stdout] | [INFO] [stdout] 73 | fn negamax(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (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:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let mut readed_value = -value; [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:156:111 [INFO] [stdout] | [INFO] [stdout] 156 | ... HashMap, i8)>, depth: u8, mut alpha: i8, mut beta: i8) -> (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:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | let mut readed_value = -value; [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:194:42 [INFO] [stdout] | [INFO] [stdout] 194 | fn pvs(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (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:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut mov = iter_m.next(); [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:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let mut readed_value = -value; [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:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let mut readed_value = -value; [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:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | let mut readed_value = -value; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `negamax` [INFO] [stdout] --> src/strategy/minmax.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn negamax(state: &Configuration, depth: u8) -> (Option, 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: `alpha_beta` [INFO] [stdout] --> src/strategy/alphabeta.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn alpha_beta(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8, current: bool) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `negamax_mem` [INFO] [stdout] --> src/strategy/alphabeta.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn negamax_mem(state: &Configuration, saving_states: &mut HashMap, i8)>, depth: u8, mut alpha: i8, mut beta: i8... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pvs` [INFO] [stdout] --> src/strategy/alphabeta.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn pvs(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (Option, i8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Greedy`, `Human`, `MinMax` [INFO] [stdout] --> src/main.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use blobwar::strategy::{MinMax, Greedy, Human, AlphaBeta}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/strategy/alphabeta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicI8`, `Ordering` [INFO] [stdout] --> src/strategy/alphabeta.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicI8, Ordering}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/minmax.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut readed_value = -value; [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/alphabeta.rs:73:46 [INFO] [stdout] | [INFO] [stdout] 73 | fn negamax(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (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:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let mut readed_value = -value; [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:156:111 [INFO] [stdout] | [INFO] [stdout] 156 | ... HashMap, i8)>, depth: u8, mut alpha: i8, mut beta: i8) -> (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:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | let mut readed_value = -value; [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:194:42 [INFO] [stdout] | [INFO] [stdout] 194 | fn pvs(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (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:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut mov = iter_m.next(); [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:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let mut readed_value = -value; [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:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let mut readed_value = -value; [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:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | let mut readed_value = -value; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `negamax` [INFO] [stdout] --> src/strategy/minmax.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn negamax(state: &Configuration, depth: u8) -> (Option, 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: `alpha_beta` [INFO] [stdout] --> src/strategy/alphabeta.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn alpha_beta(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8, current: bool) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `negamax_mem` [INFO] [stdout] --> src/strategy/alphabeta.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn negamax_mem(state: &Configuration, saving_states: &mut HashMap, i8)>, depth: u8, mut alpha: i8, mut beta: i8... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pvs` [INFO] [stdout] --> src/strategy/alphabeta.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn pvs(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (Option, i8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "9a8cc130d0afbdb16fb29f5dbd70be6fde2c726fab314a58aedf6574c5de2ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8cc130d0afbdb16fb29f5dbd70be6fde2c726fab314a58aedf6574c5de2ca3", kill_on_drop: false }` [INFO] [stdout] 9a8cc130d0afbdb16fb29f5dbd70be6fde2c726fab314a58aedf6574c5de2ca3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 69cef78d06f3e5cbff00ff222e98bba23f6c9277afb1f576021bf393bd3e2482 [INFO] running `Command { std: "docker" "start" "-a" "69cef78d06f3e5cbff00ff222e98bba23f6c9277afb1f576021bf393bd3e2482", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `rayon::prelude::*` [INFO] [stdout] [INFO] [stderr] --> src/strategy/alphabeta.rs:8:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 8 | use rayon::prelude::*; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] running 0 tests [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused imports: `AtomicI8`, `Ordering` [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> src/strategy/alphabeta.rs:9:25 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 9 | use std::sync::atomic::{AtomicI8, Ordering}; [INFO] [stdout] running 0 tests [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stdout] [INFO] [stderr] --> src/strategy/minmax.rs:58:17 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] 58 | let mut readed_value = -value; [INFO] [stdout] [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | | [INFO] [stdout] [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/strategy/alphabeta.rs:73:46 [INFO] [stderr] | [INFO] [stderr] 73 | fn negamax(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (Option, i8) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/strategy/alphabeta.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | let mut readed_value = -value; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/strategy/alphabeta.rs:156:111 [INFO] [stderr] | [INFO] [stderr] 156 | ... HashMap, i8)>, depth: u8, mut alpha: i8, mut beta: i8) -> (Option, i8) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/strategy/alphabeta.rs:170:25 [INFO] [stderr] | [INFO] [stderr] 170 | let mut readed_value = -value; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/strategy/alphabeta.rs:194:42 [INFO] [stderr] | [INFO] [stderr] 194 | fn pvs(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (Option, i8) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/strategy/alphabeta.rs:202:13 [INFO] [stderr] | [INFO] [stderr] 202 | let mut mov = iter_m.next(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/strategy/alphabeta.rs:205:13 [INFO] [stderr] | [INFO] [stderr] 205 | let mut readed_value = -value; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/strategy/alphabeta.rs:219:17 [INFO] [stderr] | [INFO] [stderr] 219 | let mut readed_value = -value; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/strategy/alphabeta.rs:229:21 [INFO] [stderr] | [INFO] [stderr] 229 | let mut readed_value = -value; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `negamax` [INFO] [stderr] --> src/strategy/minmax.rs:49:4 [INFO] [stderr] | [INFO] [stderr] 49 | fn negamax(state: &Configuration, depth: u8) -> (Option, i8) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `alpha_beta` [INFO] [stderr] --> src/strategy/alphabeta.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn alpha_beta(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8, current: bool) -> (Option, i8) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `negamax_mem` [INFO] [stderr] --> src/strategy/alphabeta.rs:156:4 [INFO] [stderr] | [INFO] [stderr] 156 | fn negamax_mem(state: &Configuration, saving_states: &mut HashMap, i8)>, depth: u8, mut alpha: i8, mut beta: i8... [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `pvs` [INFO] [stderr] --> src/strategy/alphabeta.rs:194:4 [INFO] [stderr] | [INFO] [stderr] 194 | fn pvs(state: &Configuration, depth: u8, mut alpha: i8, mut beta: i8) -> (Option, i8) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `blobwar` (lib) generated 16 warnings [INFO] [stderr] warning: `blobwar` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] warning: unused imports: `Greedy`, `Human`, `MinMax` [INFO] [stderr] --> src/main.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use blobwar::strategy::{MinMax, Greedy, Human, AlphaBeta}; [INFO] [stderr] | ^^^^^^ ^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `blobwar` (bin "blobwar" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blobwar-4f4001ff33f19e3f) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blobwar-e743f402ccddb283) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blobwar_iterative_deepening-2343ad91f10b1ae4) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/client-28895ff041258351) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/server-a2e7a6df533fe56b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests blobwar [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "69cef78d06f3e5cbff00ff222e98bba23f6c9277afb1f576021bf393bd3e2482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69cef78d06f3e5cbff00ff222e98bba23f6c9277afb1f576021bf393bd3e2482", kill_on_drop: false }` [INFO] [stdout] 69cef78d06f3e5cbff00ff222e98bba23f6c9277afb1f576021bf393bd3e2482