[INFO] cloning repository https://github.com/aisev0/chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aisev0/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisev0%2Fchess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisev0%2Fchess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2942c19ef3c7a781fd4b1247ae770cb0b6a9a7e4
[INFO] checking aisev0/chess against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisev0%2Fchess" "/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/aisev0/chess
[INFO] finished tweaking git repo https://github.com/aisev0/chess
[INFO] tweaked toml for git repo https://github.com/aisev0/chess written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aisev0/chess on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aisev0/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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4938cc31450a81d16aa9c2e61cdff614a97b3ebddbb5cc16129caf9e59464c61
[INFO] running `Command { std: "docker" "start" "4938cc31450a81d16aa9c2e61cdff614a97b3ebddbb5cc16129caf9e59464c61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4938cc31450a81d16aa9c2e61cdff614a97b3ebddbb5cc16129caf9e59464c61", 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" "4938cc31450a81d16aa9c2e61cdff614a97b3ebddbb5cc16129caf9e59464c61" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4938cc31450a81d16aa9c2e61cdff614a97b3ebddbb5cc16129caf9e59464c61", 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" "4938cc31450a81d16aa9c2e61cdff614a97b3ebddbb5cc16129caf9e59464c61" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected `is_legal` after identifier
[INFO] [stdout]   --> src/board.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 |         if not is_legal {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `!` to perform logical negation or bitwise not
[INFO] [stdout]    |
[INFO] [stdout] 44 -         if not is_legal {
[INFO] [stdout] 44 +         if !is_legal {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `{`, found `}`
[INFO] [stdout]   --> src/movement.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | }
[INFO] [stdout]    | ^ expected `{`
[INFO] [stdout]    |
[INFO] [stdout] note: the `if` expression is missing a block after this condition
[INFO] [stdout]   --> src/movement.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     if color_board(self.flags )
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `{`, found `}`
[INFO] [stdout]   --> src/movement.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | }
[INFO] [stdout]    | ^ expected `{`
[INFO] [stdout]    |
[INFO] [stdout] note: the `if` expression is missing a block after this condition
[INFO] [stdout]   --> src/movement.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     if color_board(self.flags )
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]   --> src/parser.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let side: u16 = ;
[INFO] [stdout]    |                     ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `is_legal` after identifier
[INFO] [stdout]   --> src/board.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 |         if not is_legal {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `!` to perform logical negation or bitwise not
[INFO] [stdout]    |
[INFO] [stdout] 44 -         if not is_legal {
[INFO] [stdout] 44 +         if !is_legal {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `{`, found `}`
[INFO] [stdout]   --> src/movement.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | }
[INFO] [stdout]    | ^ expected `{`
[INFO] [stdout]    |
[INFO] [stdout] note: the `if` expression is missing a block after this condition
[INFO] [stdout]   --> src/movement.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     if color_board(self.flags )
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `{`, found `}`
[INFO] [stdout]   --> src/movement.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | }
[INFO] [stdout]    | ^ expected `{`
[INFO] [stdout]    |
[INFO] [stdout] note: the `if` expression is missing a block after this condition
[INFO] [stdout]   --> src/movement.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     if color_board(self.flags )
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]   --> src/parser.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let side: u16 = ;
[INFO] [stdout]    |                     ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Move` in this scope
[INFO] [stdout]   --> src/board.rs:43:35
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn apply(&mut self, mv: &mut Move) {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::Move;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Board` in this scope
[INFO] [stdout]   --> src/movement.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn is_check(board: &Board) -> bool {
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::Board;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Board` in this scope
[INFO] [stdout]   --> src/movement.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn is_legal(board: &Board, mv: &mut Move) -> bool {
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::Board;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Board` in this scope
[INFO] [stdout]   --> src/parser.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse(board: &Board, input: &str) -> Move {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::Board;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FILES`, `defaults`, `flag_bits`, and `move_flags`
[INFO] [stdout]  --> src/parser.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::constants::{FILES, move_flags, defaults, flag_bits};
[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::io`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Move` in this scope
[INFO] [stdout]   --> src/board.rs:43:35
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn apply(&mut self, mv: &mut Move) {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::Move;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Board` in this scope
[INFO] [stdout]   --> src/movement.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn is_check(board: &Board) -> bool {
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::Board;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Board` in this scope
[INFO] [stdout]   --> src/movement.rs:24:25
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn is_legal(board: &Board, mv: &mut Move) -> bool {
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::Board;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Board` in this scope
[INFO] [stdout]   --> src/parser.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse(board: &Board, input: &str) -> Move {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::Board;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FILES`, `defaults`, `flag_bits`, and `move_flags`
[INFO] [stdout]  --> src/parser.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::constants::{FILES, move_flags, defaults, flag_bits};
[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::io`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> src/board.rs:34:3
[INFO] [stdout]    |
[INFO] [stdout] 34 |         *self.pieces[*piece]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `for<'a, 'b> fn(&'a {type error}, &'b mut Move) -> bool {is_legal}`
[INFO] [stdout]   --> src/board.rs:44:6
[INFO] [stdout]    |
[INFO] [stdout] 44 |         if not is_legal {
[INFO] [stdout]    |            ^^^^^^^^^^^^ cannot apply unary operator `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> src/board.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |             self.occupancy &= *piece_board
[INFO] [stdout]    |                               ^^^^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> src/board.rs:34:3
[INFO] [stdout]    |
[INFO] [stdout] 34 |         *self.pieces[*piece]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |             mv = parse(&raw);
[INFO] [stdout]    |                  ^^^^^------ argument #2 of type `&str` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/parser.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse(board: &Board, input: &str) -> Move {
[INFO] [stdout]    |        ^^^^^                -----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 27 |             mv = parse(&raw, /* &str */);
[INFO] [stdout]    |                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `for<'a, 'b> fn(&'a {type error}, &'b mut Move) -> bool {is_legal}`
[INFO] [stdout]   --> src/board.rs:44:6
[INFO] [stdout]    |
[INFO] [stdout] 44 |         if not is_legal {
[INFO] [stdout]    |            ^^^^^^^^^^^^ cannot apply unary operator `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> src/board.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |             self.occupancy &= *piece_board
[INFO] [stdout]    |                               ^^^^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |             mv = parse(&raw);
[INFO] [stdout]    |                  ^^^^^------ argument #2 of type `&str` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/parser.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse(board: &Board, input: &str) -> Move {
[INFO] [stdout]    |        ^^^^^                -----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 27 |             mv = parse(&raw, /* &str */);
[INFO] [stdout]    |                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_legal` found for struct `Board` in the current scope
[INFO] [stdout]   --> src/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             if board.is_legal(mv) {
[INFO] [stdout]    |                      ^^^^^^^^ method not found in `Board`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/board.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Board {
[INFO] [stdout]    | ---------------- method `is_legal` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599, E0600, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_legal` found for struct `Board` in the current scope
[INFO] [stdout]   --> src/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             if board.is_legal(mv) {
[INFO] [stdout]    |                      ^^^^^^^^ method not found in `Board`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/board.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Board {
[INFO] [stdout]    | ---------------- method `is_legal` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess` (bin "chess" test) due to 13 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599, E0600, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess` (bin "chess") due to 13 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4938cc31450a81d16aa9c2e61cdff614a97b3ebddbb5cc16129caf9e59464c61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4938cc31450a81d16aa9c2e61cdff614a97b3ebddbb5cc16129caf9e59464c61", kill_on_drop: false }`
[INFO] [stdout] 4938cc31450a81d16aa9c2e61cdff614a97b3ebddbb5cc16129caf9e59464c61
