[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#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerfectDemo%2Fninja_chess" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PerfectDemo/ninja_chess on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc746d106906aa4e169093de826bd0663dadc50059668f4a2942e3e6f9b0fe0a [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" "dc746d106906aa4e169093de826bd0663dadc50059668f4a2942e3e6f9b0fe0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc746d106906aa4e169093de826bd0663dadc50059668f4a2942e3e6f9b0fe0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc746d106906aa4e169093de826bd0663dadc50059668f4a2942e3e6f9b0fe0a", kill_on_drop: false }` [INFO] [stdout] dc746d106906aa4e169093de826bd0663dadc50059668f4a2942e3e6f9b0fe0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d412f2d45c026f2659da7df3b955aaed938517df1a2d3781390bd009c5f00af1 [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" "d412f2d45c026f2659da7df3b955aaed938517df1a2d3781390bd009c5f00af1", 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: struct is never constructed: `RookOperate` [INFO] [stdout] --> src/operate/rook.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct RookOperate {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `KnightOperate` [INFO] [stdout] --> src/operate/knight.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct KnightOperate {} [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: 16 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: struct is never constructed: `KnightOperate` [INFO] [stdout] --> src/operate/knight.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct KnightOperate {} [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.84s [INFO] running `Command { std: "docker" "inspect" "d412f2d45c026f2659da7df3b955aaed938517df1a2d3781390bd009c5f00af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d412f2d45c026f2659da7df3b955aaed938517df1a2d3781390bd009c5f00af1", kill_on_drop: false }` [INFO] [stdout] d412f2d45c026f2659da7df3b955aaed938517df1a2d3781390bd009c5f00af1