[INFO] cloning repository https://github.com/waddlepon/digital-turk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/waddlepon/digital-turk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwaddlepon%2Fdigital-turk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwaddlepon%2Fdigital-turk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 812a0796efa4d5e5759d35f1c2ac0897397ff2c7 [INFO] checking waddlepon/digital-turk against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwaddlepon%2Fdigital-turk" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/waddlepon/digital-turk on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/waddlepon/digital-turk [INFO] finished tweaking git repo https://github.com/waddlepon/digital-turk [INFO] tweaked toml for git repo https://github.com/waddlepon/digital-turk written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/waddlepon/digital-turk 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3a3ef6f29793dfa1043cda5bed93e85e420adfa5e77de45d6ebec908da5ed67 [INFO] running `Command { std: "docker" "start" "-a" "a3a3ef6f29793dfa1043cda5bed93e85e420adfa5e77de45d6ebec908da5ed67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3a3ef6f29793dfa1043cda5bed93e85e420adfa5e77de45d6ebec908da5ed67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3a3ef6f29793dfa1043cda5bed93e85e420adfa5e77de45d6ebec908da5ed67", kill_on_drop: false }` [INFO] [stdout] a3a3ef6f29793dfa1043cda5bed93e85e420adfa5e77de45d6ebec908da5ed67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4673ea92ed323e0f661811d7d2ccb1cadcce02efe6c6951ad3c0946e43c68bee [INFO] running `Command { std: "docker" "start" "-a" "4673ea92ed323e0f661811d7d2ccb1cadcce02efe6c6951ad3c0946e43c68bee", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.30 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking digital-turk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `WHITE_PAWN_MOVES` in this scope [INFO] [stdout] --> src/board.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | WHITE_PAWN_MOVES[square] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use magic::WHITE_PAWN_MOVES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLACK_PAWN_MOVES` in this scope [INFO] [stdout] --> src/board.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | BLACK_PAWN_MOVES[square] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use magic::BLACK_PAWN_MOVES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `to_move` in this scope [INFO] [stdout] --> src/board.rs:321:54 [INFO] [stdout] | [INFO] [stdout] 321 | let attackers = Board::attackers(self, king, to_move); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 321 | let attackers = Board::attackers(self, king, self.to_move); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE_PAWN_MOVES` in this scope [INFO] [stdout] --> src/board.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | WHITE_PAWN_MOVES[square] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use magic::WHITE_PAWN_MOVES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLACK_PAWN_MOVES` in this scope [INFO] [stdout] --> src/board.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | BLACK_PAWN_MOVES[square] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use magic::BLACK_PAWN_MOVES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `to_move` in this scope [INFO] [stdout] --> src/board.rs:321:54 [INFO] [stdout] | [INFO] [stdout] 321 | let attackers = Board::attackers(self, king, to_move); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 321 | let attackers = Board::attackers(self, king, self.to_move); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:321:48 [INFO] [stdout] | [INFO] [stdout] 321 | let attackers = Board::attackers(self, king, to_move); [INFO] [stdout] | ---------------- ^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/board.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn attackers(&self, square: usize, side: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^ ------------- [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 321 | let attackers = Board::attackers(self, king.try_into().unwrap(), to_move); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:321:48 [INFO] [stdout] | [INFO] [stdout] 321 | let attackers = Board::attackers(self, king, to_move); [INFO] [stdout] | ---------------- ^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/board.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn attackers(&self, square: usize, side: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^ ------------- [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 321 | let attackers = Board::attackers(self, king.try_into().unwrap(), to_move); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:330:54 [INFO] [stdout] | [INFO] [stdout] 330 | let piece_type = self.bitboards.piece_at(attacker_square).unwrap(); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/board.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn piece_at(&self, square: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ ------------- [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 330 | let piece_type = self.bitboards.piece_at(attacker_square.try_into().unwrap()).unwrap(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:340:55 [INFO] [stdout] | [INFO] [stdout] 340 | let blockers = Board::attackers(self, i, not_moving); [INFO] [stdout] | ---------------- ^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/board.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn attackers(&self, square: usize, side: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^ ------------- [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 340 | let blockers = Board::attackers(self, i.try_into().unwrap(), not_moving); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:343:74 [INFO] [stdout] | [INFO] [stdout] 343 | moves.append(&mut Board::encode_quiet_captures(self, s, (1 << i) as u64)); [INFO] [stdout] | ---------------------------- ^ expected `u8`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/board.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | fn encode_quiet_captures(&self, square: u8, move_board: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---------- [INFO] [stdout] help: you can convert a `u32` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 343 | moves.append(&mut Board::encode_quiet_captures(self, s.try_into().unwrap(), (1 << i) as u64)); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:330:54 [INFO] [stdout] | [INFO] [stdout] 330 | let piece_type = self.bitboards.piece_at(attacker_square).unwrap(); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/board.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn piece_at(&self, square: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ ------------- [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 330 | let piece_type = self.bitboards.piece_at(attacker_square.try_into().unwrap()).unwrap(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:340:55 [INFO] [stdout] | [INFO] [stdout] 340 | let blockers = Board::attackers(self, i, not_moving); [INFO] [stdout] | ---------------- ^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/board.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn attackers(&self, square: usize, side: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^ ------------- [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 340 | let blockers = Board::attackers(self, i.try_into().unwrap(), not_moving); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:343:74 [INFO] [stdout] | [INFO] [stdout] 343 | moves.append(&mut Board::encode_quiet_captures(self, s, (1 << i) as u64)); [INFO] [stdout] | ---------------------------- ^ expected `u8`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/board.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | fn encode_quiet_captures(&self, square: u8, move_board: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---------- [INFO] [stdout] help: you can convert a `u32` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 343 | moves.append(&mut Board::encode_quiet_captures(self, s.try_into().unwrap(), (1 << i) as u64)); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `digital-turk` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `digital-turk` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "4673ea92ed323e0f661811d7d2ccb1cadcce02efe6c6951ad3c0946e43c68bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4673ea92ed323e0f661811d7d2ccb1cadcce02efe6c6951ad3c0946e43c68bee", kill_on_drop: false }` [INFO] [stdout] 4673ea92ed323e0f661811d7d2ccb1cadcce02efe6c6951ad3c0946e43c68bee