[INFO] cloning repository https://github.com/ThomasBouasli/chess_rust [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_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasBouasli%2Fchess_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasBouasli%2Fchess_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bc1dd603e6fd85cc95d86c05aa8172467cbffd6 [INFO] checking ThomasBouasli/chess_rust against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasBouasli%2Fchess_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThomasBouasli/chess_rust [INFO] finished tweaking git repo https://github.com/ThomasBouasli/chess_rust [INFO] tweaked toml for git repo https://github.com/ThomasBouasli/chess_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThomasBouasli/chess_rust on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ThomasBouasli/chess_rust 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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "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 [INFO] checking ThomasBouasli/chess_rust against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasBouasli%2Fchess_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThomasBouasli/chess_rust [INFO] finished tweaking git repo https://github.com/ThomasBouasli/chess_rust [INFO] tweaked toml for git repo https://github.com/ThomasBouasli/chess_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThomasBouasli/chess_rust on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ThomasBouasli/chess_rust 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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e3eaeb2c762b67771f1e1b100e3e79a16a715d14d3e5b8a54755f9ea27b1e26 [INFO] running `Command { std: "docker" "start" "-a" "4e3eaeb2c762b67771f1e1b100e3e79a16a715d14d3e5b8a54755f9ea27b1e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e3eaeb2c762b67771f1e1b100e3e79a16a715d14d3e5b8a54755f9ea27b1e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3eaeb2c762b67771f1e1b100e3e79a16a715d14d3e5b8a54755f9ea27b1e26", kill_on_drop: false }` [INFO] [stdout] 4e3eaeb2c762b67771f1e1b100e3e79a16a715d14d3e5b8a54755f9ea27b1e26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02aac7de4b32cb19dba1d075272ae354408f08c391633ba4365d5a0c7a18e3a5 [INFO] running `Command { std: "docker" "start" "-a" "02aac7de4b32cb19dba1d075272ae354408f08c391633ba4365d5a0c7a18e3a5", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fen` [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | fn from_fen(fen: &str) -> Game { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut game = Game { [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: function `bit_to_position` is never used [INFO] [stdout] --> src/main.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn bit_to_position(bit: Position) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOD67TABLE` is never used [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const MOD67TABLE: [usize; 67] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_scan` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn bit_scan(bit: Position) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Black` is never constructed [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 34 | White, [INFO] [stdout] 35 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pawn`, `Knight`, `Bishop`, `Rook`, `Queen`, and `King` are never constructed [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | enum PieceType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 40 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | Queen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | King, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PieceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty` and `Occupied` are never constructed [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum Square { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 57 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | Occupied(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Square` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `turn`, `castling_rights`, `en_passant`, `half_move_clock`, and `full_move_number` are never read [INFO] [stdout] --> src/main.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | turn: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | castling_rights: CastlingRights, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | en_passant: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | half_move_clock: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | full_move_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fen` [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | fn from_fen(fen: &str) -> Game { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut game = Game { [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: function `bit_to_position` is never used [INFO] [stdout] --> src/main.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn bit_to_position(bit: Position) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOD67TABLE` is never used [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const MOD67TABLE: [usize; 67] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_scan` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn bit_scan(bit: Position) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Black` is never constructed [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 34 | White, [INFO] [stdout] 35 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pawn`, `Knight`, `Bishop`, `Rook`, `Queen`, and `King` are never constructed [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | enum PieceType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 40 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | Queen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | King, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PieceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty` and `Occupied` are never constructed [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum Square { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 57 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | Occupied(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Square` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `turn`, `castling_rights`, `en_passant`, `half_move_clock`, and `full_move_number` are never read [INFO] [stdout] --> src/main.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | turn: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | castling_rights: CastlingRights, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | en_passant: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | half_move_clock: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | full_move_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "02aac7de4b32cb19dba1d075272ae354408f08c391633ba4365d5a0c7a18e3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02aac7de4b32cb19dba1d075272ae354408f08c391633ba4365d5a0c7a18e3a5", kill_on_drop: false }` [INFO] [stdout] 02aac7de4b32cb19dba1d075272ae354408f08c391633ba4365d5a0c7a18e3a5