[INFO] cloning repository https://github.com/PerfectDemo/ninja_chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PerfectDemo/ninja_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerfectDemo%2Fninja_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerfectDemo%2Fninja_chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae7847cafcdf0c11db0cd0f6a8494e2e6ee9c829 [INFO] checking PerfectDemo/ninja_chess against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerfectDemo%2Fninja_chess" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PerfectDemo/ninja_chess on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PerfectDemo/ninja_chess [INFO] finished tweaking git repo https://github.com/PerfectDemo/ninja_chess [INFO] tweaked toml for git repo https://github.com/PerfectDemo/ninja_chess written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/PerfectDemo/ninja_chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 890d70a6a7c60f19177bb7127b62e1ee854d056e50176551c343e9320bd349b3 [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" "890d70a6a7c60f19177bb7127b62e1ee854d056e50176551c343e9320bd349b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "890d70a6a7c60f19177bb7127b62e1ee854d056e50176551c343e9320bd349b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "890d70a6a7c60f19177bb7127b62e1ee854d056e50176551c343e9320bd349b3", kill_on_drop: false }` [INFO] [stdout] 890d70a6a7c60f19177bb7127b62e1ee854d056e50176551c343e9320bd349b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] a48514edd21faa605a7927cc1c52e8020aeba086f301419a5618689b1b7ce52b [INFO] running `Command { std: "docker" "start" "-a" "a48514edd21faa605a7927cc1c52e8020aeba086f301419a5618689b1b7ce52b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking ninja_chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/operate/knight.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::{min, max}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `STAGE` [INFO] [stdout] --> src/operate/knight.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{PIECES, STAGE, COLOUR}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/operate/knight.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::{min, max}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `STAGE` [INFO] [stdout] --> src/operate/knight.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{PIECES, STAGE, COLOUR}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `from_location` is assigned to, but never used [INFO] [stdout] --> src/operate/knight.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut from_location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_from_location` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `from_location` is never read [INFO] [stdout] --> src/operate/knight.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | from_location = Location { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/operate/knight.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | fn check(board: &mut Board, location: &(Location, Location)) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/operate/knight.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn check(board: &mut Board, location: &(Location, Location)) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/operate/knight.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn move_location(board: &mut Board, location: &(Location, Location)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/operate/knight.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | fn move_location(board: &mut Board, location: &(Location, Location)) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/operate/knight.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | fn after_run(board: &mut Board, location: &(Location, Location)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/operate/knight.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | fn after_run(board: &mut Board, location: &(Location, Location)) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/board.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn init() -> Board<'a> { [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: `print` [INFO] [stdout] --> src/board.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse<'a>(command: String) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/operate/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `from_location` is assigned to, but never used [INFO] [stdout] --> src/operate/knight.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut from_location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_from_location` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `from_location` is never read [INFO] [stdout] --> src/operate/knight.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | from_location = Location { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/operate/knight.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | fn check(board: &mut Board, location: &(Location, Location)) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/operate/knight.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | fn check(board: &mut Board, location: &(Location, Location)) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/operate/knight.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn move_location(board: &mut Board, location: &(Location, Location)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/operate/knight.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | fn move_location(board: &mut Board, location: &(Location, Location)) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/operate/knight.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | fn after_run(board: &mut Board, location: &(Location, Location)) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/operate/knight.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | fn after_run(board: &mut Board, location: &(Location, Location)) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse<'a>(command: String) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/operate/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.73s [INFO] running `Command { std: "docker" "inspect" "a48514edd21faa605a7927cc1c52e8020aeba086f301419a5618689b1b7ce52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a48514edd21faa605a7927cc1c52e8020aeba086f301419a5618689b1b7ce52b", kill_on_drop: false }` [INFO] [stdout] a48514edd21faa605a7927cc1c52e8020aeba086f301419a5618689b1b7ce52b