[INFO] cloning repository https://github.com/ThomasBouasli/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThomasBouasli/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasBouasli%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasBouasli%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a3b9ddf83d6c8a825fa0ea492bae6033f3f9123 [INFO] checking ThomasBouasli/chess against master#8387315ab3c26a57a1f53a90f188f0bc88514bca for pr-124605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasBouasli%2Fchess" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasBouasli/chess on toolchain 8387315ab3c26a57a1f53a90f188f0bc88514bca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8387315ab3c26a57a1f53a90f188f0bc88514bca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThomasBouasli/chess [INFO] finished tweaking git repo https://github.com/ThomasBouasli/chess [INFO] tweaked toml for git repo https://github.com/ThomasBouasli/chess written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ThomasBouasli/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" "+8387315ab3c26a57a1f53a90f188f0bc88514bca" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking ThomasBouasli/chess against try#fcc50f77e1a14e407d895972348a0ff09eafc210 for pr-124605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasBouasli%2Fchess" "/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/ThomasBouasli/chess on toolchain fcc50f77e1a14e407d895972348a0ff09eafc210 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThomasBouasli/chess [INFO] finished tweaking git repo https://github.com/ThomasBouasli/chess [INFO] tweaked toml for git repo https://github.com/ThomasBouasli/chess written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ThomasBouasli/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" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "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/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80457104e2509bec3d9d42a0ce1b0cb249579493004c19119a702cd118d49389 [INFO] running `Command { std: "docker" "start" "-a" "80457104e2509bec3d9d42a0ce1b0cb249579493004c19119a702cd118d49389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80457104e2509bec3d9d42a0ce1b0cb249579493004c19119a702cd118d49389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80457104e2509bec3d9d42a0ce1b0cb249579493004c19119a702cd118d49389", kill_on_drop: false }` [INFO] [stdout] 80457104e2509bec3d9d42a0ce1b0cb249579493004c19119a702cd118d49389 [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c2ae3c88d537e483f9e0a2e5fbaf5f5806c032fba5caf2c32e880e56c338ab8 [INFO] running `Command { std: "docker" "start" "-a" "9c2ae3c88d537e483f9e0a2e5fbaf5f5806c032fba5caf2c32e880e56c338ab8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking better_chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `value`, `generate_valid_moves`, `generate_valid_captures`, and `promote` are never used [INFO] [stdout] --> src/chess/piece.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Piece { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn generate_valid_moves(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn generate_valid_captures(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn promote(&self, piece_type : PieceType) -> Piece{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value` and `promote` are never used [INFO] [stdout] --> src/chess/piece/pawn.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Pawn{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn promote(&self, piece_type : PieceType) -> Piece{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value` and `moved` are never used [INFO] [stdout] --> src/chess/piece/king.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl King{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn moved(&mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/chess/piece/bishop.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Bishop{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/chess/piece/knight.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Knight{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value` and `moved` are never used [INFO] [stdout] --> src/chess/piece/rook.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Rook{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn moved(&mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/chess/piece/queen.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Queen{ [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IGame` is never used [INFO] [stdout] --> src/chess/game/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait IGame{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_values`, `movement_from_chess_notation`, `generate_legal_move_for_piece_type`, and `generate_legal_captures_for_piece_type` are never used [INFO] [stdout] --> src/chess/game/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Game{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_values(&self) -> (i32, i32){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | fn movement_from_chess_notation(&self, destination: AbsolutePosition, piece_prefix : Option, rank_from : Option, file_fr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | fn generate_legal_move_for_piece_type(&self, piece_prefix: char,color : &Color) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | fn generate_legal_captures_for_piece_type(&self, piece_prefix: char,color : &Color) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_relative` is never used [INFO] [stdout] --> src/chess/movement/absolute_position.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AbsolutePosition { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_relative(from : &AbsolutePosition, to : &RelativePosition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_absolute` is never used [INFO] [stdout] --> src/chess/movement/relative_position.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RelativePosition{ [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_absolute(from : &AbsolutePosition, to : &AbsolutePosition) -> RelativePosition { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `promote` is never used [INFO] [stdout] --> src/chess/piece.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Piece { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn promote(&self, piece_type : PieceType) -> Piece{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `promote` is never used [INFO] [stdout] --> src/chess/piece/pawn.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Pawn{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn promote(&self, piece_type : PieceType) -> Piece{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moved` is never used [INFO] [stdout] --> src/chess/piece/king.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl King{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn moved(&mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moved` is never used [INFO] [stdout] --> src/chess/piece/rook.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Rook{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn moved(&mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IGame` is never used [INFO] [stdout] --> src/chess/game/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait IGame{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.10s [INFO] running `Command { std: "docker" "inspect" "9c2ae3c88d537e483f9e0a2e5fbaf5f5806c032fba5caf2c32e880e56c338ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c2ae3c88d537e483f9e0a2e5fbaf5f5806c032fba5caf2c32e880e56c338ab8", kill_on_drop: false }` [INFO] [stdout] 9c2ae3c88d537e483f9e0a2e5fbaf5f5806c032fba5caf2c32e880e56c338ab8