[INFO] cloning repository https://github.com/csreid/chess-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/csreid/chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsreid%2Fchess-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsreid%2Fchess-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d026bd5a88da27b9e6a6d631a54d585ddafa7b92 [INFO] checking csreid/chess-engine against try#99a443d6903f71d521237d8acb5a3016b534d17b for pr-83354 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsreid%2Fchess-engine" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csreid/chess-engine on toolchain 99a443d6903f71d521237d8acb5a3016b534d17b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/csreid/chess-engine [INFO] finished tweaking git repo https://github.com/csreid/chess-engine [INFO] tweaked toml for git repo https://github.com/csreid/chess-engine written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/csreid/chess-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chess v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] da53208d8147291f6d7fd52bdb032a52bc08eb0cd4cc9e16e5672110c6bd9f88 [INFO] running `Command { std: "docker" "start" "-a" "da53208d8147291f6d7fd52bdb032a52bc08eb0cd4cc9e16e5672110c6bd9f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da53208d8147291f6d7fd52bdb032a52bc08eb0cd4cc9e16e5672110c6bd9f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da53208d8147291f6d7fd52bdb032a52bc08eb0cd4cc9e16e5672110c6bd9f88", kill_on_drop: false }` [INFO] [stdout] da53208d8147291f6d7fd52bdb032a52bc08eb0cd4cc9e16e5672110c6bd9f88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac5ed49b30a5878ea777fd7132cd05869a903602b1682375d000befb367e5217 [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" "ac5ed49b30a5878ea777fd7132cd05869a903602b1682375d000befb367e5217", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Compiling chess v2.0.1 [INFO] [stderr] Checking chess-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ALL_FILES`, `ALL_RANKS`, `Piece`, `Square` [INFO] [stdout] --> src/main.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | ALL_FILES, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | ALL_RANKS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | Piece, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALL_FILES`, `ALL_RANKS`, `Piece`, `Square` [INFO] [stdout] --> src/main.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | ALL_FILES, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | ALL_RANKS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | Piece, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finished_count` [INFO] [stdout] --> src/main.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | let mut finished_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_finished_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_count` [INFO] [stdout] --> src/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | let mut total_count = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter2` [INFO] [stdout] --> src/main.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | let mut iter2 = MoveGen::new_legal(&board); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_iter2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | let mut count = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | let mut finished_count = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | let mut total_count = 0; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | let mut board = Board::from_fen(fen.to_string()).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 91 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | let mut iter2 = MoveGen::new_legal(&board); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | let mut count = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finished_count` [INFO] [stdout] --> src/main.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | let mut finished_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_finished_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_count` [INFO] [stdout] --> src/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | let mut total_count = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter2` [INFO] [stdout] --> src/main.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | let mut iter2 = MoveGen::new_legal(&board); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_iter2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | let mut count = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | let mut finished_count = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | let mut total_count = 0; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | let mut board = Board::from_fen(fen.to_string()).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 91 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | let mut iter2 = MoveGen::new_legal(&board); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | let mut count = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 58s [INFO] running `Command { std: "docker" "inspect" "ac5ed49b30a5878ea777fd7132cd05869a903602b1682375d000befb367e5217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac5ed49b30a5878ea777fd7132cd05869a903602b1682375d000befb367e5217", kill_on_drop: false }` [INFO] [stdout] ac5ed49b30a5878ea777fd7132cd05869a903602b1682375d000befb367e5217