[INFO] cloning repository https://github.com/wspeirs/fishermann [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wspeirs/fishermann" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwspeirs%2Ffishermann", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwspeirs%2Ffishermann'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 627c97918774c33875c567d9a42e6808776ce564 [INFO] checking wspeirs/fishermann against try#32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d for pr-83312 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwspeirs%2Ffishermann" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wspeirs/fishermann on toolchain 32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wspeirs/fishermann [INFO] finished tweaking git repo https://github.com/wspeirs/fishermann [INFO] tweaked toml for git repo https://github.com/wspeirs/fishermann written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/wspeirs/fishermann already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded btoi v0.4.2 [INFO] [stderr] Downloaded shakmaty v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca2051e5ddd85b4fa5cefdf8e4548327bcbce954c7158a101b337fa8bbb780d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ca2051e5ddd85b4fa5cefdf8e4548327bcbce954c7158a101b337fa8bbb780d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca2051e5ddd85b4fa5cefdf8e4548327bcbce954c7158a101b337fa8bbb780d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca2051e5ddd85b4fa5cefdf8e4548327bcbce954c7158a101b337fa8bbb780d1", kill_on_drop: false }` [INFO] [stdout] ca2051e5ddd85b4fa5cefdf8e4548327bcbce954c7158a101b337fa8bbb780d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f36bfee36a01469a99d4d3b71121b3ba21fff557a92ffea57e9f17f2fb0b9176 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f36bfee36a01469a99d4d3b71121b3ba21fff557a92ffea57e9f17f2fb0b9176", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling shakmaty v0.18.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking btoi v0.4.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking fishermann v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `board_fen`, `epd` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use shakmaty::fen::{board_fen, epd, Fen}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `board_fen`, `epd` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use shakmaty::fen::{board_fen, epd, Fen}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | fn evaluate(game :&Chess) -> i64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | fn evaluate(game :&Chess) -> i64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:254:51 [INFO] [stdout] | [INFO] [stdout] 254 | let (score, moves) = negamax_ab(&game, depth, &mut i64::MIN, i64::MAX); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KING_VALUES` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / const KING_VALUES :[i64; 64] = [INFO] [stdout] 15 | | [ -30,-40,-40,-50,-50,-40,-40,-30, [INFO] [stdout] 16 | | -30,-40,-40,-50,-50,-40,-40,-30, [INFO] [stdout] 17 | | -30,-40,-40,-50,-50,-40,-40,-30, [INFO] [stdout] ... | [INFO] [stdout] 21 | | 20, 20, 1, 1, 1, 1, 20, 20, [INFO] [stdout] 22 | | 20, 30, 10, 1, 1, 10, 30, 20 ]; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QUEEN_VALUES` [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / const QUEEN_VALUES :[i64; 64] = [INFO] [stdout] 25 | | [ -20,-10,-10, -5, -5,-10,-10,-20, [INFO] [stdout] 26 | | -10, 1, 1, 1, 1, 1, 1,-10, [INFO] [stdout] 27 | | -10, 1, 5, 5, 5, 5, 1,-10, [INFO] [stdout] ... | [INFO] [stdout] 31 | | -10, 1, 5, 1, 1, 1, 1,-10, [INFO] [stdout] 32 | | -20,-10,-10, -5, -5,-10,-10,-20 ]; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROOK_VALUES` [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / const ROOK_VALUES :[i64; 64] = [INFO] [stdout] 35 | | [ 1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 36 | | 5, 10, 10, 10, 10, 10, 10, 5, [INFO] [stdout] 37 | | -5, 1, 1, 1, 1, 1, 1, -5, [INFO] [stdout] ... | [INFO] [stdout] 41 | | -5, 1, 1, 1, 1, 1, 1, -5, [INFO] [stdout] 42 | | 1, 1, 1, 5, 5, 1, 1, 1 ]; [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BISHOP_VALUES` [INFO] [stdout] --> src/main.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / const BISHOP_VALUES :[i64; 64] = [INFO] [stdout] 45 | | [ -20,-10,-10,-10,-10,-10,-10,-20, [INFO] [stdout] 46 | | -10, 1, 1, 1, 1, 1, 1,-10, [INFO] [stdout] 47 | | -10, 1, 5, 10, 10, 5, 1,-10, [INFO] [stdout] ... | [INFO] [stdout] 51 | | -10, 5, 1, 1, 1, 1, 5,-10, [INFO] [stdout] 52 | | -20,-10,-10,-10,-10,-10,-10,-20 ]; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KNIGHT_VALUES` [INFO] [stdout] --> src/main.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / const KNIGHT_VALUES :[i64; 64] = [INFO] [stdout] 55 | | [ -50,-40,-30,-30,-30,-30,-40,-50, [INFO] [stdout] 56 | | -40,-20, 1, 1, 1, 1,-20,-40, [INFO] [stdout] 57 | | -30, 1, 10, 15, 15, 10, 1,-30, [INFO] [stdout] ... | [INFO] [stdout] 61 | | -40,-20, 1, 5, 5, 1,-20,-40, [INFO] [stdout] 62 | | -50,-40,-30,-30,-30,-30,-40,-50 ]; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PAWN_VALUES` [INFO] [stdout] --> src/main.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / const PAWN_VALUES :[i64; 64] = [INFO] [stdout] 65 | | [ 1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 66 | | 50, 50, 50, 50, 50, 50, 50, 50, [INFO] [stdout] 67 | | 10, 10, 20, 30, 30, 20, 10, 10, [INFO] [stdout] ... | [INFO] [stdout] 71 | | 5, 10, 10,-20,-20, 10, 10, 5, [INFO] [stdout] 72 | | 1, 1, 1, 1, 1, 1, 1, 1 ]; [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_value` [INFO] [stdout] --> src/main.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_value(square :usize, piece :&Piece) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `negamax_basic` [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn negamax_basic(game :&Chess, depth :usize) -> (i64, SmallVec<[Move; MAX_DEPTH]>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:254:51 [INFO] [stdout] | [INFO] [stdout] 254 | let (score, moves) = negamax_ab(&game, depth, &mut i64::MIN, i64::MAX); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KING_VALUES` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / const KING_VALUES :[i64; 64] = [INFO] [stdout] 15 | | [ -30,-40,-40,-50,-50,-40,-40,-30, [INFO] [stdout] 16 | | -30,-40,-40,-50,-50,-40,-40,-30, [INFO] [stdout] 17 | | -30,-40,-40,-50,-50,-40,-40,-30, [INFO] [stdout] ... | [INFO] [stdout] 21 | | 20, 20, 1, 1, 1, 1, 20, 20, [INFO] [stdout] 22 | | 20, 30, 10, 1, 1, 10, 30, 20 ]; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QUEEN_VALUES` [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / const QUEEN_VALUES :[i64; 64] = [INFO] [stdout] 25 | | [ -20,-10,-10, -5, -5,-10,-10,-20, [INFO] [stdout] 26 | | -10, 1, 1, 1, 1, 1, 1,-10, [INFO] [stdout] 27 | | -10, 1, 5, 5, 5, 5, 1,-10, [INFO] [stdout] ... | [INFO] [stdout] 31 | | -10, 1, 5, 1, 1, 1, 1,-10, [INFO] [stdout] 32 | | -20,-10,-10, -5, -5,-10,-10,-20 ]; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROOK_VALUES` [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / const ROOK_VALUES :[i64; 64] = [INFO] [stdout] 35 | | [ 1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 36 | | 5, 10, 10, 10, 10, 10, 10, 5, [INFO] [stdout] 37 | | -5, 1, 1, 1, 1, 1, 1, -5, [INFO] [stdout] ... | [INFO] [stdout] 41 | | -5, 1, 1, 1, 1, 1, 1, -5, [INFO] [stdout] 42 | | 1, 1, 1, 5, 5, 1, 1, 1 ]; [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BISHOP_VALUES` [INFO] [stdout] --> src/main.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / const BISHOP_VALUES :[i64; 64] = [INFO] [stdout] 45 | | [ -20,-10,-10,-10,-10,-10,-10,-20, [INFO] [stdout] 46 | | -10, 1, 1, 1, 1, 1, 1,-10, [INFO] [stdout] 47 | | -10, 1, 5, 10, 10, 5, 1,-10, [INFO] [stdout] ... | [INFO] [stdout] 51 | | -10, 5, 1, 1, 1, 1, 5,-10, [INFO] [stdout] 52 | | -20,-10,-10,-10,-10,-10,-10,-20 ]; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KNIGHT_VALUES` [INFO] [stdout] --> src/main.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / const KNIGHT_VALUES :[i64; 64] = [INFO] [stdout] 55 | | [ -50,-40,-30,-30,-30,-30,-40,-50, [INFO] [stdout] 56 | | -40,-20, 1, 1, 1, 1,-20,-40, [INFO] [stdout] 57 | | -30, 1, 10, 15, 15, 10, 1,-30, [INFO] [stdout] ... | [INFO] [stdout] 61 | | -40,-20, 1, 5, 5, 1,-20,-40, [INFO] [stdout] 62 | | -50,-40,-30,-30,-30,-30,-40,-50 ]; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PAWN_VALUES` [INFO] [stdout] --> src/main.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / const PAWN_VALUES :[i64; 64] = [INFO] [stdout] 65 | | [ 1, 1, 1, 1, 1, 1, 1, 1, [INFO] [stdout] 66 | | 50, 50, 50, 50, 50, 50, 50, 50, [INFO] [stdout] 67 | | 10, 10, 20, 30, 30, 20, 10, 10, [INFO] [stdout] ... | [INFO] [stdout] 71 | | 5, 10, 10,-20,-20, 10, 10, 5, [INFO] [stdout] 72 | | 1, 1, 1, 1, 1, 1, 1, 1 ]; [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_value` [INFO] [stdout] --> src/main.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_value(square :usize, piece :&Piece) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `negamax_basic` [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn negamax_basic(game :&Chess, depth :usize) -> (i64, SmallVec<[Move; MAX_DEPTH]>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.56s [INFO] running `Command { std: "docker" "inspect" "f36bfee36a01469a99d4d3b71121b3ba21fff557a92ffea57e9f17f2fb0b9176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36bfee36a01469a99d4d3b71121b3ba21fff557a92ffea57e9f17f2fb0b9176", kill_on_drop: false }` [INFO] [stdout] f36bfee36a01469a99d4d3b71121b3ba21fff557a92ffea57e9f17f2fb0b9176