[INFO] cloning repository https://github.com/anthonycabreralara/chess-engine-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anthonycabreralara/chess-engine-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonycabreralara%2Fchess-engine-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonycabreralara%2Fchess-engine-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3b7c729c99538d7ec0003a651cb8fe19223de5e6
[INFO] checking anthonycabreralara/chess-engine-rs against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonycabreralara%2Fchess-engine-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/anthonycabreralara/chess-engine-rs
[INFO] finished tweaking git repo https://github.com/anthonycabreralara/chess-engine-rs
[INFO] tweaked toml for git repo https://github.com/anthonycabreralara/chess-engine-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/anthonycabreralara/chess-engine-rs on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/anthonycabreralara/chess-engine-rs 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] aff7f7fa600c11496b3f6ba14877726a4f4fd88099b14fb89d73711f3e069fba
[INFO] running `Command { std: "docker" "start" "aff7f7fa600c11496b3f6ba14877726a4f4fd88099b14fb89d73711f3e069fba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aff7f7fa600c11496b3f6ba14877726a4f4fd88099b14fb89d73711f3e069fba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aff7f7fa600c11496b3f6ba14877726a4f4fd88099b14fb89d73711f3e069fba" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aff7f7fa600c11496b3f6ba14877726a4f4fd88099b14fb89d73711f3e069fba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aff7f7fa600c11496b3f6ba14877726a4f4fd88099b14fb89d73711f3e069fba" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking toyfish-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::future::pending`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::future::pending;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::pending`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::future::pending;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:366:9
[INFO] [stdout]     |
[INFO] [stdout] 366 |     let mut chess = Chess::new("settings.json")?;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `move_list`
[INFO] [stdout]    --> src/main.rs:367:9
[INFO] [stdout]     |
[INFO] [stdout] 367 |     let move_list: Vec<Move> = chess.generate_moves();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_list`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source`, `target`, `piece`, and `captured_piece` are never read
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Move {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 27 |     source: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 28 |     target: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 29 |     piece: char,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 30 |     captured_piece: char,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pieces`, `best_source`, and `best_target` are never read
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Chess {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pieces: HashMap<char, char>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     best_source: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 44 |     best_target: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print_board`, `make_move`, `take_back`, and `search` are never used
[INFO] [stdout]    --> src/main.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl Chess {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn print_board(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     fn make_move(&mut self, chess_move: &Move) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     fn take_back(&mut self, chess_move: &Move) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |     fn search(&mut self, depth: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:366:9
[INFO] [stdout]     |
[INFO] [stdout] 366 |     let mut chess = Chess::new("settings.json")?;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `move_list`
[INFO] [stdout]    --> src/main.rs:367:9
[INFO] [stdout]     |
[INFO] [stdout] 367 |     let move_list: Vec<Move> = chess.generate_moves();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_list`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source`, `target`, `piece`, and `captured_piece` are never read
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Move {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 27 |     source: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 28 |     target: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 29 |     piece: char,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 30 |     captured_piece: char,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pieces`, `best_source`, and `best_target` are never read
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Chess {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pieces: HashMap<char, char>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     best_source: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 44 |     best_target: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print_board`, `make_move`, `take_back`, and `search` are never used
[INFO] [stdout]    --> src/main.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl Chess {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn print_board(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 |     fn make_move(&mut self, chess_move: &Move) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     fn take_back(&mut self, chess_move: &Move) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |     fn search(&mut self, depth: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.58s
[INFO] running `Command { std: "docker" "inspect" "aff7f7fa600c11496b3f6ba14877726a4f4fd88099b14fb89d73711f3e069fba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aff7f7fa600c11496b3f6ba14877726a4f4fd88099b14fb89d73711f3e069fba", kill_on_drop: false }`
[INFO] [stdout] aff7f7fa600c11496b3f6ba14877726a4f4fd88099b14fb89d73711f3e069fba
