[INFO] cloning repository https://github.com/TWi5td/RustChessAi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TWi5td/RustChessAi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTWi5td%2FRustChessAi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTWi5td%2FRustChessAi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69ed0d62a3002e05fbf12a08e49b2de0f4847b00 [INFO] checking TWi5td/RustChessAi against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTWi5td%2FRustChessAi" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TWi5td/RustChessAi [INFO] finished tweaking git repo https://github.com/TWi5td/RustChessAi [INFO] tweaked toml for git repo https://github.com/TWi5td/RustChessAi written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TWi5td/RustChessAi on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TWi5td/RustChessAi 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" "+969026c535f4240ff7866ef11207dfda18a26af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking TWi5td/RustChessAi against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTWi5td%2FRustChessAi" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TWi5td/RustChessAi [INFO] finished tweaking git repo https://github.com/TWi5td/RustChessAi [INFO] tweaked toml for git repo https://github.com/TWi5td/RustChessAi written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TWi5td/RustChessAi on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TWi5td/RustChessAi 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" "+969026c535f4240ff7866ef11207dfda18a26af6" "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 chess v3.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b819ba784050091b7b3c41eadff201e6b648668779e475953a865b63f4597a9f [INFO] running `Command { std: "docker" "start" "-a" "b819ba784050091b7b3c41eadff201e6b648668779e475953a865b63f4597a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b819ba784050091b7b3c41eadff201e6b648668779e475953a865b63f4597a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b819ba784050091b7b3c41eadff201e6b648668779e475953a865b63f4597a9f", kill_on_drop: false }` [INFO] [stdout] b819ba784050091b7b3c41eadff201e6b648668779e475953a865b63f4597a9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6dc63b76382b3f48724293d242d1e0fa2743fdb1d386907fee8eb002d8b7646 [INFO] running `Command { std: "docker" "start" "-a" "d6dc63b76382b3f48724293d242d1e0fa2743fdb1d386907fee8eb002d8b7646", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling chess v3.2.0 [INFO] [stderr] Checking chess_ai_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [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: `BitBoard` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{BitBoard, Board, ChessMove, Color as ChessColor, MoveGen, Piece, Square, BoardStatus, ALL_SQUARES}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::rand::seq::SliceRandom` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [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 imports: `Rng` and `thread_rng` [INFO] [stdout] --> src/lib.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use ::rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitBoard` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chess::{BitBoard, Board, ChessMove, Color as ChessColor, MoveGen, Piece, Square, BoardStatus, ALL_SQUARES}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::rand::seq::SliceRandom` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `thread_rng` [INFO] [stdout] --> src/lib.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use ::rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moves_scroll_offset` [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut moves_scroll_offset: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 63 | let mut _moves_scroll_offset: f32 = 0.0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BOARD_DIM` [INFO] [stdout] | [INFO] [stdout] 63 - let mut moves_scroll_offset: f32 = 0.0; [INFO] [stdout] 63 + let mut BOARD_DIM: f32 = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `banned` [INFO] [stdout] --> src/lib.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | let banned = history.iter().rev().next().map(|last| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_banned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moves_scroll_offset` [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut moves_scroll_offset: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 63 | let mut _moves_scroll_offset: f32 = 0.0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BOARD_DIM` [INFO] [stdout] | [INFO] [stdout] 63 - let mut moves_scroll_offset: f32 = 0.0; [INFO] [stdout] 63 + let mut BOARD_DIM: f32 = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `banned` [INFO] [stdout] --> src/lib.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | let banned = history.iter().rev().next().map(|last| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_banned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut moves_scroll_offset: f32 = 0.0; [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut moves_scroll_offset: f32 = 0.0; [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | let mut y_start = BOARD_DIM - 10.0; // Start from very bottom [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/lib.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | let mut y_start = BOARD_DIM - 10.0; // Start from very bottom [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_LIMIT_MS` is never used [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const TIME_LIMIT_MS: u128 = 500; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_eval_bar` is never used [INFO] [stdout] --> src/lib.rs:742:4 [INFO] [stdout] | [INFO] [stdout] 742 | fn draw_eval_bar(score: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_LIMIT_MS` is never used [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const TIME_LIMIT_MS: u128 = 500; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_eval_bar` is never used [INFO] [stdout] --> src/lib.rs:742:4 [INFO] [stdout] | [INFO] [stdout] 742 | fn draw_eval_bar(score: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/desktop.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/desktop.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess_ai_app` (bin "desktop") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chess_ai_app` (bin "desktop" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "d6dc63b76382b3f48724293d242d1e0fa2743fdb1d386907fee8eb002d8b7646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6dc63b76382b3f48724293d242d1e0fa2743fdb1d386907fee8eb002d8b7646", kill_on_drop: false }` [INFO] [stdout] d6dc63b76382b3f48724293d242d1e0fa2743fdb1d386907fee8eb002d8b7646