[INFO] cloning repository https://github.com/CadenMG/AI-Chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CadenMG/AI-Chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCadenMG%2FAI-Chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCadenMG%2FAI-Chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f46dd4c3f3f39bf3b8d5caa8da5a10b3193b1b52
[INFO] building CadenMG/AI-Chess against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCadenMG%2FAI-Chess" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CadenMG/AI-Chess on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/CadenMG/AI-Chess
[INFO] finished tweaking git repo https://github.com/CadenMG/AI-Chess
[INFO] tweaked toml for git repo https://github.com/CadenMG/AI-Chess written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/CadenMG/AI-Chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2965d0e82c83c8118028bc7b483150b57b243a0719f81c618d45f0fcd44f9348
[INFO] running `Command { std: "docker" "start" "-a" "2965d0e82c83c8118028bc7b483150b57b243a0719f81c618d45f0fcd44f9348", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2965d0e82c83c8118028bc7b483150b57b243a0719f81c618d45f0fcd44f9348", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2965d0e82c83c8118028bc7b483150b57b243a0719f81c618d45f0fcd44f9348", kill_on_drop: false }`
[INFO] [stdout] 2965d0e82c83c8118028bc7b483150b57b243a0719f81c618d45f0fcd44f9348
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ecba5f1cf5858a855aa3aaefdba59d387173af9ec8319de9484a385edc1a54c4
[INFO] running `Command { std: "docker" "start" "-a" "ecba5f1cf5858a855aa3aaefdba59d387173af9ec8319de9484a385edc1a54c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.92
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.68
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling gimli v0.23.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.18
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling object v0.23.0
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling addr2line v0.14.1
[INFO] [stderr]    Compiling backtrace v0.3.56
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling chess v3.2.0
[INFO] [stderr]    Compiling ai_chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/engine.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chess::Game::new_from_fen`: Please use Game::from_str(fen)? instead.
[INFO] [stdout]   --> src/game_logic.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let game = Game::new_from_fen(&*(fen)).unwrap_or(Game::new());
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:188:18
[INFO] [stdout]     |
[INFO] [stdout] 188 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]    --> src/engine.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn randomheuristic(position: Board) -> i32 {
[INFO] [stdout]     |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `randomheuristic` is never used
[INFO] [stdout]    --> src/engine.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn randomheuristic(position: Board) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         write!(&mut res, "{}  ", (row + 1).to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 write!(&mut res, "{}", piece_to_string(piece.unwrap(), color.unwrap()));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 write!(&mut res, "{}", EMPTY_SQUARE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         write!(&mut res, "\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/engine.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chess::Game::new_from_fen`: Please use Game::from_str(fen)? instead.
[INFO] [stdout]   --> src/game_logic.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let game = Game::new_from_fen(&*(fen)).unwrap_or(Game::new());
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:188:18
[INFO] [stdout]     |
[INFO] [stdout] 188 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]    --> src/engine.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn randomheuristic(position: Board) -> i32 {
[INFO] [stdout]     |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `randomheuristic` is never used
[INFO] [stdout]    --> src/engine.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn randomheuristic(position: Board) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         write!(&mut res, "{}  ", (row + 1).to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 write!(&mut res, "{}", piece_to_string(piece.unwrap(), color.unwrap()));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 write!(&mut res, "{}", EMPTY_SQUARE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         write!(&mut res, "\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s
[INFO] running `Command { std: "docker" "inspect" "ecba5f1cf5858a855aa3aaefdba59d387173af9ec8319de9484a385edc1a54c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecba5f1cf5858a855aa3aaefdba59d387173af9ec8319de9484a385edc1a54c4", kill_on_drop: false }`
[INFO] [stdout] ecba5f1cf5858a855aa3aaefdba59d387173af9ec8319de9484a385edc1a54c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2e15cfa936a36b3691027fbd72a3d06dc84b53290ee206b01ab438e0e53f75d
[INFO] running `Command { std: "docker" "start" "-a" "f2e15cfa936a36b3691027fbd72a3d06dc84b53290ee206b01ab438e0e53f75d", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/engine.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chess::Game::new_from_fen`: Please use Game::from_str(fen)? instead.
[INFO] [stdout]   --> src/game_logic.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let game = Game::new_from_fen(&*(fen)).unwrap_or(Game::new());
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:188:18
[INFO] [stdout]     |
[INFO] [stdout] 188 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]    --> src/engine.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn randomheuristic(position: Board) -> i32 {
[INFO] [stdout]     |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `randomheuristic` is never used
[INFO] [stdout]    --> src/engine.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn randomheuristic(position: Board) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         write!(&mut res, "{}  ", (row + 1).to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 write!(&mut res, "{}", piece_to_string(piece.unwrap(), color.unwrap()));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 write!(&mut res, "{}", EMPTY_SQUARE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         write!(&mut res, "\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ai_chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/engine.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chess::Game::new_from_fen`: Please use Game::from_str(fen)? instead.
[INFO] [stdout]   --> src/game_logic.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let game = Game::new_from_fen(&*(fen)).unwrap_or(Game::new());
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/engine.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chess::Game::new_from_fen`: Please use Game::from_str(fen)? instead.
[INFO] [stdout]   --> src/game_logic.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let game = Game::new_from_fen(&*(fen)).unwrap_or(Game::new());
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:188:18
[INFO] [stdout]     |
[INFO] [stdout] 188 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]    --> src/engine.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn randomheuristic(position: Board) -> i32 {
[INFO] [stdout]     |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `randomheuristic` is never used
[INFO] [stdout]    --> src/engine.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn randomheuristic(position: Board) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         write!(&mut res, "{}  ", (row + 1).to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 write!(&mut res, "{}", piece_to_string(piece.unwrap(), color.unwrap()));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 write!(&mut res, "{}", EMPTY_SQUARE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         write!(&mut res, "\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/engine.rs:188:18
[INFO] [stdout]     |
[INFO] [stdout] 188 |         for (mv, val) in moves_and_values {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]    --> src/engine.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn randomheuristic(position: Board) -> i32 {
[INFO] [stdout]     |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `randomheuristic` is never used
[INFO] [stdout]    --> src/engine.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn randomheuristic(position: Board) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         write!(&mut res, "{}  ", (row + 1).to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 write!(&mut res, "{}", piece_to_string(piece.unwrap(), color.unwrap()));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 write!(&mut res, "{}", EMPTY_SQUARE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game_printer.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         write!(&mut res, "\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s
[INFO] running `Command { std: "docker" "inspect" "f2e15cfa936a36b3691027fbd72a3d06dc84b53290ee206b01ab438e0e53f75d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2e15cfa936a36b3691027fbd72a3d06dc84b53290ee206b01ab438e0e53f75d", kill_on_drop: false }`
[INFO] [stdout] f2e15cfa936a36b3691027fbd72a3d06dc84b53290ee206b01ab438e0e53f75d
