[INFO] cloning repository https://github.com/codeandkey/nc-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codeandkey/nc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandkey%2Fnc-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandkey%2Fnc-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4a7766f3a7b1dad1cbcd3dcaaa55609d86fa5e02
[INFO] checking codeandkey/nc-rs against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandkey%2Fnc-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/codeandkey/nc-rs
[INFO] finished tweaking git repo https://github.com/codeandkey/nc-rs
[INFO] tweaked toml for git repo https://github.com/codeandkey/nc-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/codeandkey/nc-rs on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/codeandkey/nc-rs 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5f6ee814b78a47a8e4f444d666a0456466240fee36ec2708cc2bf1585c7b7fcb
[INFO] running `Command { std: "docker" "start" "-a" "5f6ee814b78a47a8e4f444d666a0456466240fee36ec2708cc2bf1585c7b7fcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f6ee814b78a47a8e4f444d666a0456466240fee36ec2708cc2bf1585c7b7fcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f6ee814b78a47a8e4f444d666a0456466240fee36ec2708cc2bf1585c7b7fcb", kill_on_drop: false }`
[INFO] [stdout] 5f6ee814b78a47a8e4f444d666a0456466240fee36ec2708cc2bf1585c7b7fcb
[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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f44d070558678189d9c5d4419bf63e197cda06823f9052cda85e5e36aed66891
[INFO] running `Command { std: "docker" "start" "-a" "f44d070558678189d9c5d4419bf63e197cda06823f9052cda85e5e36aed66891", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]     Checking regex-syntax v0.6.20
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking aho-corasick v0.7.14
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking regex v1.4.1
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling arr_macro_impl v0.1.3
[INFO] [stderr]     Checking arr_macro v0.1.3
[INFO] [stderr]     Checking nc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::zobrist::*`
[INFO] [stdout]  --> src/position.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::zobrist::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::zobrist::*`
[INFO] [stdout]  --> src/position.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::zobrist::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove`, `key`, `get_ad`, and `to_fen_string` are never used
[INFO] [stdout]    --> src/board.rs:63:12
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl Board {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn remove(&mut self, s: Square) -> Piece {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn key(&self) -> u64 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn get_ad(&self) -> [[u64; 64]; 2] {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn to_fen_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_uci_withnull`, `from_uci`, `src`, `dst`, and `ptype` are never used
[INFO] [stdout]   --> src/gmove.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Move {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn to_uci_withnull(inp: &Option<Move>) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn from_uci(inp: &String) -> Option<Move> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn src(&self) -> Square {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn dst(&self) -> Square {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn ptype(&self) -> Option<Type> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_fen` is never used
[INFO] [stdout]   --> src/piece.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Color {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn to_fen(&self) -> char {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from` and `to_fen` are never used
[INFO] [stdout]   --> src/piece.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl Piece {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 76 |     pub fn from(t: Type, c: Color) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn to_fen(&self) -> char {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_fen`, `make_move`, `unmake_move`, and `perft` are never used
[INFO] [stdout]    --> src/position.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl Position {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn to_fen(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     pub fn make_move(&mut self, m: Move) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn unmake_move(&mut self, m: Move) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 625 |     pub fn perft(&mut self, d: usize, p: usize) -> usize {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASTLE_ATT_MASKS` is never used
[INFO] [stdout]   --> src/position.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub const CASTLE_ATT_MASKS: [[u64; 2]; 2] = [
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EAST` and `WEST` are never constructed
[INFO] [stdout]  --> src/square.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Direction {
[INFO] [stdout]   |          --------- variants in this enum
[INFO] [stdout] 2 |     EAST = 1,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 3 |     WEST = -1,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_str_withnull`, `rank`, and `file` are never used
[INFO] [stdout]   --> src/square.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Square {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn to_str_withnull(inp: &Option<Square>) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn rank(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn file(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_ep_keys` is never used
[INFO] [stdout]  --> src/zobrist.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn gen_ep_keys() -> [u64; 8] {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_castle_keys` is never used
[INFO] [stdout]  --> src/zobrist.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn gen_castle_keys() -> [[u64; 2]; 2] {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EAST` and `WEST` are never constructed
[INFO] [stdout]  --> src/square.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Direction {
[INFO] [stdout]   |          --------- variants in this enum
[INFO] [stdout] 2 |     EAST = 1,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 3 |     WEST = -1,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.25s
[INFO] running `Command { std: "docker" "inspect" "f44d070558678189d9c5d4419bf63e197cda06823f9052cda85e5e36aed66891", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f44d070558678189d9c5d4419bf63e197cda06823f9052cda85e5e36aed66891", kill_on_drop: false }`
[INFO] [stdout] f44d070558678189d9c5d4419bf63e197cda06823f9052cda85e5e36aed66891
