[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 try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [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 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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] ab61f8ec5e05421789e89dd26529a22043453ee48de47ee4656e082dbcc3126c [INFO] running `Command { std: "docker" "start" "-a" "ab61f8ec5e05421789e89dd26529a22043453ee48de47ee4656e082dbcc3126c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab61f8ec5e05421789e89dd26529a22043453ee48de47ee4656e082dbcc3126c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab61f8ec5e05421789e89dd26529a22043453ee48de47ee4656e082dbcc3126c", kill_on_drop: false }` [INFO] [stdout] ab61f8ec5e05421789e89dd26529a22043453ee48de47ee4656e082dbcc3126c [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7aa10d43c66f72c77f8b8b05ad57e7d8183df79fe1dc519b33f9127bbf25651 [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" "b7aa10d43c66f72c77f8b8b05ad57e7d8183df79fe1dc519b33f9127bbf25651", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking lazy_static v1.4.0 [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:17 [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `from_location` is assigned to, but never used [INFO] [stdout] --> src/operate/knight.rs:16:17 [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: `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.88s [INFO] running `Command { std: "docker" "inspect" "b7aa10d43c66f72c77f8b8b05ad57e7d8183df79fe1dc519b33f9127bbf25651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7aa10d43c66f72c77f8b8b05ad57e7d8183df79fe1dc519b33f9127bbf25651", kill_on_drop: false }` [INFO] [stdout] b7aa10d43c66f72c77f8b8b05ad57e7d8183df79fe1dc519b33f9127bbf25651