[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#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirCfr%2Frchess" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AirCfr/rchess on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-1-tc2/source/Cargo.toml
[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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ca0c9ff21db5f5357ba38dd017897b1c444cd07181ba367305657a8a79d995c9
[INFO] running `Command { std: "docker" "start" "-a" "ca0c9ff21db5f5357ba38dd017897b1c444cd07181ba367305657a8a79d995c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ca0c9ff21db5f5357ba38dd017897b1c444cd07181ba367305657a8a79d995c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca0c9ff21db5f5357ba38dd017897b1c444cd07181ba367305657a8a79d995c9", kill_on_drop: false }`
[INFO] [stdout] ca0c9ff21db5f5357ba38dd017897b1c444cd07181ba367305657a8a79d995c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63427c67224d4d6219780cdcc85e8b54b5d59158af38f5c4539e6a393fa0f232
[INFO] running `Command { std: "docker" "start" "-a" "63427c67224d4d6219780cdcc85e8b54b5d59158af38f5c4539e6a393fa0f232", 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: 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: 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 1.70s
[INFO] running `Command { std: "docker" "inspect" "63427c67224d4d6219780cdcc85e8b54b5d59158af38f5c4539e6a393fa0f232", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63427c67224d4d6219780cdcc85e8b54b5d59158af38f5c4539e6a393fa0f232", kill_on_drop: false }`
[INFO] [stdout] 63427c67224d4d6219780cdcc85e8b54b5d59158af38f5c4539e6a393fa0f232
