[INFO] cloning repository https://github.com/ntBre/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ntBre/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FntBre%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FntBre%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c312a9ebaa83a2084aee0f27c9ce4e878573b09 [INFO] checking ntBre/chess against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FntBre%2Fchess" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ntBre/chess on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ntBre/chess [INFO] finished tweaking git repo https://github.com/ntBre/chess [INFO] tweaked toml for git repo https://github.com/ntBre/chess written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ntBre/chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a02c7677f5828c1c69280a8799be7e18a94e648ac77a00bf80df240577797824 [INFO] running `Command { std: "docker" "start" "-a" "a02c7677f5828c1c69280a8799be7e18a94e648ac77a00bf80df240577797824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a02c7677f5828c1c69280a8799be7e18a94e648ac77a00bf80df240577797824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a02c7677f5828c1c69280a8799be7e18a94e648ac77a00bf80df240577797824", kill_on_drop: false }` [INFO] [stdout] a02c7677f5828c1c69280a8799be7e18a94e648ac77a00bf80df240577797824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40fc90cc716300a01393aac73563e3eeccee47a0ec52b15ecf6b1670b7f441b5 [INFO] running `Command { std: "docker" "start" "-a" "40fc90cc716300a01393aac73563e3eeccee47a0ec52b15ecf6b1670b7f441b5", kill_on_drop: false }` [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `moves` [INFO] [stdout] --> src/board.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let moves = piece.moves(*coord); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_moves` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut ret = Vec::new(); [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: struct `Move` is never constructed [INFO] [stdout] --> src/lib.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Move { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 21 | pub(crate) fn new>(piece: Piece, coord: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moves` is never used [INFO] [stdout] --> src/board.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | fn moves(&self, player: Player) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moves` is never used [INFO] [stdout] --> src/piece.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Piece { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn moves(&self, coord: AlgebraicCoord) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moves` [INFO] [stdout] --> src/board.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let moves = piece.moves(*coord); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_moves` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut ret = Vec::new(); [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: method `moves` is never used [INFO] [stdout] --> src/board.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | fn moves(&self, player: Player) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "40fc90cc716300a01393aac73563e3eeccee47a0ec52b15ecf6b1670b7f441b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40fc90cc716300a01393aac73563e3eeccee47a0ec52b15ecf6b1670b7f441b5", kill_on_drop: false }` [INFO] [stdout] 40fc90cc716300a01393aac73563e3eeccee47a0ec52b15ecf6b1670b7f441b5