[INFO] cloning repository https://github.com/AngelVI13/crust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AngelVI13/crust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelVI13%2Fcrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelVI13%2Fcrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62cd9b4183521e8c840d79c10081def9b0cac64c [INFO] checking AngelVI13/crust against try#411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelVI13%2Fcrust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AngelVI13/crust on toolchain 411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AngelVI13/crust [INFO] finished tweaking git repo https://github.com/AngelVI13/crust [INFO] tweaked toml for git repo https://github.com/AngelVI13/crust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AngelVI13/crust 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" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 182a961abe85c193ff83df638eb2fc76335c95c5760201b76872ebe2172ffae4 [INFO] running `Command { std: "docker" "start" "-a" "182a961abe85c193ff83df638eb2fc76335c95c5760201b76872ebe2172ffae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "182a961abe85c193ff83df638eb2fc76335c95c5760201b76872ebe2172ffae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "182a961abe85c193ff83df638eb2fc76335c95c5760201b76872ebe2172ffae4", kill_on_drop: false }` [INFO] [stdout] 182a961abe85c193ff83df638eb2fc76335c95c5760201b76872ebe2172ffae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f851d8379a359cb963fd48480e510b0b680f1d497b132639379a5f1f89c848a [INFO] running `Command { std: "docker" "start" "-a" "0f851d8379a359cb963fd48480e510b0b680f1d497b132639379a5f1f89c848a", kill_on_drop: false }` [INFO] [stderr] Checking crust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: visibility `pub` is not followed by an item [INFO] [stdout] --> src/defines.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub let mut Sq120ToSq64: [u8; BOARD_SQUARE_NUM]; [INFO] [stdout] | ^^^ the visibility [INFO] [stdout] | [INFO] [stdout] = help: you likely meant to define an item, e.g., `pub fn foo() {}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: visibility `pub` is not followed by an item [INFO] [stdout] --> src/defines.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub let mut Sq120ToSq64: [u8; BOARD_SQUARE_NUM]; [INFO] [stdout] | ^^^ the visibility [INFO] [stdout] | [INFO] [stdout] = help: you likely meant to define an item, e.g., `pub fn foo() {}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/defines.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub let mut Sq120ToSq64: [u8; BOARD_SQUARE_NUM]; [INFO] [stdout] | ^^^ `let` cannot be used for global variables [INFO] [stdout] | [INFO] [stdout] = help: consider using `static` and a `Mutex` instead of `let mut` [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/defines.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub let mut Sq120ToSq64: [u8; BOARD_SQUARE_NUM]; [INFO] [stdout] | ^^^ `let` cannot be used for global variables [INFO] [stdout] | [INFO] [stdout] = help: consider using `static` and a `Mutex` instead of `let mut` [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PieceType` in this scope [INFO] [stdout] --> src/board.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pieces: [PieceType; BOARD_SQUARE_NUM], [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOARD_SQUARE_NUM` in this scope [INFO] [stdout] --> src/board.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pieces: [PieceType; BOARD_SQUARE_NUM], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PieceType` in this scope [INFO] [stdout] --> src/board.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pos: [PieceType.Empty; BOARD_SIZE], [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOARD_SIZE` in this scope [INFO] [stdout] --> src/board.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pos: [PieceType.Empty; BOARD_SIZE], [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::defines::*` [INFO] [stdout] --> src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::defines::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `defines::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use defines::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PieceType` in this scope [INFO] [stdout] --> src/board.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pieces: [PieceType; BOARD_SQUARE_NUM], [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOARD_SQUARE_NUM` in this scope [INFO] [stdout] --> src/board.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pieces: [PieceType; BOARD_SQUARE_NUM], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PieceType` in this scope [INFO] [stdout] --> src/board.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pos: [PieceType.Empty; BOARD_SIZE], [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOARD_SIZE` in this scope [INFO] [stdout] --> src/board.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pos: [PieceType.Empty; BOARD_SIZE], [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::defines::*` [INFO] [stdout] --> src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::defines::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `defines::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use defines::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Board` has no field named `pos` [INFO] [stdout] --> src/board.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pos: [PieceType.Empty; BOARD_SIZE], [INFO] [stdout] | ^^^ `Board` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pieces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Board` has no field named `pos` [INFO] [stdout] --> src/board.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pos: [PieceType.Empty; BOARD_SIZE], [INFO] [stdout] | ^^^ `Board` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pieces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crust` (bin "crust") due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `crust` (bin "crust" test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f851d8379a359cb963fd48480e510b0b680f1d497b132639379a5f1f89c848a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f851d8379a359cb963fd48480e510b0b680f1d497b132639379a5f1f89c848a", kill_on_drop: false }` [INFO] [stdout] 0f851d8379a359cb963fd48480e510b0b680f1d497b132639379a5f1f89c848a