[INFO] cloning repository https://github.com/AirCfr/rchess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AirCfr/rchess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirCfr%2Frchess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirCfr%2Frchess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8c09007fccd743e5c11c64fefc01ec6e642bc0f0
[INFO] checking AirCfr/rchess against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirCfr%2Frchess" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AirCfr/rchess
[INFO] finished tweaking git repo https://github.com/AirCfr/rchess
[INFO] tweaked toml for git repo https://github.com/AirCfr/rchess written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AirCfr/rchess on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AirCfr/rchess 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 293e9b1e483a9a330537ed252939bb5dba44198b352a330f8cb0ab24bebaa2a6
[INFO] running `Command { std: "docker" "start" "-a" "293e9b1e483a9a330537ed252939bb5dba44198b352a330f8cb0ab24bebaa2a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "293e9b1e483a9a330537ed252939bb5dba44198b352a330f8cb0ab24bebaa2a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "293e9b1e483a9a330537ed252939bb5dba44198b352a330f8cb0ab24bebaa2a6", kill_on_drop: false }`
[INFO] [stdout] 293e9b1e483a9a330537ed252939bb5dba44198b352a330f8cb0ab24bebaa2a6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87a069d559b6e009572142c95185fd8ad7e365a5c346f5e690972a1d16d592c0
[INFO] running `Command { std: "docker" "start" "-a" "87a069d559b6e009572142c95185fd8ad7e365a5c346f5e690972a1d16d592c0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]     Checking termion v2.0.1
[INFO] [stderr]     Checking rches v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BufWriter`, `any::Any`, `empty`, `fmt::format`, and `stdin`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fmt::format,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 3 |     io::{empty, stdin, stdout, BufRead, BufReader, BufWriter, Write},
[INFO] [stdout]   |          ^^^^^  ^^^^^                              ^^^^^^^^^
[INFO] [stdout] 4 |     net::{SocketAddr, TcpListener, TcpStream}, any::Any,
[INFO] [stdout]   |                                                ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/main.rs:343:19
[INFO] [stdout]     |
[INFO] [stdout] 343 |             while (s.len() > 2) {
[INFO] [stdout]     |                   ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 343 -             while (s.len() > 2) {
[INFO] [stdout] 343 +             while s.len() > 2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:386:12
[INFO] [stdout]     |
[INFO] [stdout] 386 |         if (p.ptype == PieceType::Empty) {
[INFO] [stdout]     |            ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 386 -         if (p.ptype == PieceType::Empty) {
[INFO] [stdout] 386 +         if p.ptype == PieceType::Empty {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:393:28
[INFO] [stdout]     |
[INFO] [stdout] 393 |                         if (result.unwrap().can_move_to(self.size, &pos)) {
[INFO] [stdout]     |                            ^                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 393 -                         if (result.unwrap().can_move_to(self.size, &pos)) {
[INFO] [stdout] 393 +                         if result.unwrap().can_move_to(self.size, &pos) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:404:28
[INFO] [stdout]     |
[INFO] [stdout] 404 |                         if (result.unwrap().can_move_to(self.size, &pos)) {
[INFO] [stdout]     |                            ^                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 404 -                         if (result.unwrap().can_move_to(self.size, &pos)) {
[INFO] [stdout] 404 +                         if result.unwrap().can_move_to(self.size, &pos) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufWriter`, `any::Any`, `empty`, `fmt::format`, and `stdin`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fmt::format,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 3 |     io::{empty, stdin, stdout, BufRead, BufReader, BufWriter, Write},
[INFO] [stdout]   |          ^^^^^  ^^^^^                              ^^^^^^^^^
[INFO] [stdout] 4 |     net::{SocketAddr, TcpListener, TcpStream}, any::Any,
[INFO] [stdout]   |                                                ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/main.rs:343:19
[INFO] [stdout]     |
[INFO] [stdout] 343 |             while (s.len() > 2) {
[INFO] [stdout]     |                   ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 343 -             while (s.len() > 2) {
[INFO] [stdout] 343 +             while s.len() > 2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:386:12
[INFO] [stdout]     |
[INFO] [stdout] 386 |         if (p.ptype == PieceType::Empty) {
[INFO] [stdout]     |            ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 386 -         if (p.ptype == PieceType::Empty) {
[INFO] [stdout] 386 +         if p.ptype == PieceType::Empty {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:393:28
[INFO] [stdout]     |
[INFO] [stdout] 393 |                         if (result.unwrap().can_move_to(self.size, &pos)) {
[INFO] [stdout]     |                            ^                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 393 -                         if (result.unwrap().can_move_to(self.size, &pos)) {
[INFO] [stdout] 393 +                         if result.unwrap().can_move_to(self.size, &pos) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:404:28
[INFO] [stdout]     |
[INFO] [stdout] 404 |                         if (result.unwrap().can_move_to(self.size, &pos)) {
[INFO] [stdout]     |                            ^                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 404 -                         if (result.unwrap().can_move_to(self.size, &pos)) {
[INFO] [stdout] 404 +                         if result.unwrap().can_move_to(self.size, &pos) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `user_input2` is never read
[INFO] [stdout]    --> src/main.rs:424:13
[INFO] [stdout]     |
[INFO] [stdout] 424 |     let mut user_input2 = "".to_string();
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `piece` is never read
[INFO] [stdout]    --> src/main.rs:425:13
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let mut piece = PieceType::Empty.to_piece(PieceColor::Empty, (9, 9));
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_mat`, `is_pat`, and `mat_color` are never read
[INFO] [stdout]    --> src/main.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct Grid {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     is_mat: bool,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 137 |     is_pat: bool,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 138 |     mat_color: PieceColor,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `user_input2` is never read
[INFO] [stdout]    --> src/main.rs:424:13
[INFO] [stdout]     |
[INFO] [stdout] 424 |     let mut user_input2 = "".to_string();
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `piece` is never read
[INFO] [stdout]    --> src/main.rs:425:13
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let mut piece = PieceType::Empty.to_piece(PieceColor::Empty, (9, 9));
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_mat`, `is_pat`, and `mat_color` are never read
[INFO] [stdout]    --> src/main.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct Grid {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     is_mat: bool,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 137 |     is_pat: bool,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 138 |     mat_color: PieceColor,
[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 2.25s
[INFO] running `Command { std: "docker" "inspect" "87a069d559b6e009572142c95185fd8ad7e365a5c346f5e690972a1d16d592c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87a069d559b6e009572142c95185fd8ad7e365a5c346f5e690972a1d16d592c0", kill_on_drop: false }`
[INFO] [stdout] 87a069d559b6e009572142c95185fd8ad7e365a5c346f5e690972a1d16d592c0
