[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#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandkey%2Fnc-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codeandkey/nc-rs on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/codeandkey/nc-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21099a80c8b49a5c6d5b81e84313d42e19a3bcfa7c9417817fed72bef19f4307 [INFO] running `Command { std: "docker" "start" "-a" "21099a80c8b49a5c6d5b81e84313d42e19a3bcfa7c9417817fed72bef19f4307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21099a80c8b49a5c6d5b81e84313d42e19a3bcfa7c9417817fed72bef19f4307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21099a80c8b49a5c6d5b81e84313d42e19a3bcfa7c9417817fed72bef19f4307", kill_on_drop: false }` [INFO] [stdout] 21099a80c8b49a5c6d5b81e84313d42e19a3bcfa7c9417817fed72bef19f4307 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd3b2e6d09491e243b97d7d78e9b9daac89b1fbfbf953b8ea0128231444d606b [INFO] running `Command { std: "docker" "start" "-a" "dd3b2e6d09491e243b97d7d78e9b9daac89b1fbfbf953b8ea0128231444d606b", 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] [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 getrandom v0.1.15 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [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 ppv-lite86 v0.2.9 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.14 [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] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.48 [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: associated function is never used: `remove` [INFO] [stdout] --> src/board.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn remove(&mut self, s: Square) -> Piece { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `key` [INFO] [stdout] --> src/board.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn key(&self) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ad` [INFO] [stdout] --> src/board.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get_ad(&self) -> [[u64; 64]; 2] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_fen_string` [INFO] [stdout] --> src/board.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn to_fen_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_uci_withnull` [INFO] [stdout] --> src/gmove.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn to_uci_withnull(inp: &Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_uci` [INFO] [stdout] --> src/gmove.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from_uci(inp: &String) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `src` [INFO] [stdout] --> src/gmove.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn src(&self) -> Square { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dst` [INFO] [stdout] --> src/gmove.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dst(&self) -> Square { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ptype` [INFO] [stdout] --> src/gmove.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn ptype(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_fen` [INFO] [stdout] --> src/piece.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn to_fen(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/piece.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn from(t: Type, c: Color) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_fen` [INFO] [stdout] --> src/piece.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn to_fen(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CASTLE_ATT_MASKS` [INFO] [stdout] --> src/position.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / pub const CASTLE_ATT_MASKS: [[u64; 2]; 2] = [ [INFO] [stdout] 55 | | [ [INFO] [stdout] 56 | | bitboard::RANKS[0] & (bitboard::FILES[2] | bitboard::FILES[3] | bitboard::FILES[4]), [INFO] [stdout] 57 | | bitboard::RANKS[0] & (bitboard::FILES[4] | bitboard::FILES[5] | bitboard::FILES[6]), [INFO] [stdout] ... | [INFO] [stdout] 62 | | ], [INFO] [stdout] 63 | | ]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_fen` [INFO] [stdout] --> src/position.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn to_fen(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/position.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn make_move(&mut self, m: Move) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unmake_move` [INFO] [stdout] --> src/position.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn unmake_move(&mut self, m: Move) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perft` [INFO] [stdout] --> src/position.rs:625:12 [INFO] [stdout] | [INFO] [stdout] 625 | pub fn perft(&mut self, d: usize, p: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EAST` [INFO] [stdout] --> src/square.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | EAST = 1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WEST` [INFO] [stdout] --> src/square.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | WEST = -1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_str_withnull` [INFO] [stdout] --> src/square.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn to_str_withnull(inp: &Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank` [INFO] [stdout] --> src/square.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn rank(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file` [INFO] [stdout] --> src/square.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn file(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EAST` [INFO] [stdout] --> src/square.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | EAST = 1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WEST` [INFO] [stdout] --> src/square.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | WEST = -1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.14s [INFO] running `Command { std: "docker" "inspect" "dd3b2e6d09491e243b97d7d78e9b9daac89b1fbfbf953b8ea0128231444d606b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd3b2e6d09491e243b97d7d78e9b9daac89b1fbfbf953b8ea0128231444d606b", kill_on_drop: false }` [INFO] [stdout] dd3b2e6d09491e243b97d7d78e9b9daac89b1fbfbf953b8ea0128231444d606b