[INFO] cloning repository https://github.com/diamondAlex/chess_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diamondAlex/chess_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdiamondAlex%2Fchess_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdiamondAlex%2Fchess_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bbdc39c9b4d091280eb1315c3719dcc9aec4616f
[INFO] building diamondAlex/chess_rust against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdiamondAlex%2Fchess_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/diamondAlex/chess_rust
[INFO] finished tweaking git repo https://github.com/diamondAlex/chess_rust
[INFO] tweaked toml for git repo https://github.com/diamondAlex/chess_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/diamondAlex/chess_rust on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/diamondAlex/chess_rust 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 34a8962ead54c5431f2bbad5ceaecf0e75619f1c054ba42c5cefd7a151e888af
[INFO] running `Command { std: "docker" "start" "-a" "34a8962ead54c5431f2bbad5ceaecf0e75619f1c054ba42c5cefd7a151e888af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34a8962ead54c5431f2bbad5ceaecf0e75619f1c054ba42c5cefd7a151e888af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34a8962ead54c5431f2bbad5ceaecf0e75619f1c054ba42c5cefd7a151e888af", kill_on_drop: false }`
[INFO] [stdout] 34a8962ead54c5431f2bbad5ceaecf0e75619f1c054ba42c5cefd7a151e888af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f7b49d0f5533ab3ee8cb33a35b4c134ee8976bfc50244485a00ad80f1c4be002
[INFO] running `Command { std: "docker" "start" "-a" "f7b49d0f5533ab3ee8cb33a35b4c134ee8976bfc50244485a00ad80f1c4be002", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling rustix v0.38.35
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling cc v1.1.15
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling castaway v0.2.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling compact_str v0.8.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling unicode-truncate v1.1.0
[INFO] [stderr]    Compiling tracing-error v0.2.0
[INFO] [stderr]    Compiling lru v0.12.4
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling color-spantrace v0.2.1
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling instability v0.3.2
[INFO] [stderr]    Compiling color-eyre v0.6.3
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling ratatui v0.28.1
[INFO] [stderr]    Compiling chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `fi`
[INFO] [stdout]    --> src/main.rs:439:29
[INFO] [stdout]     |
[INFO] [stdout] 439 |                         let fi = (*from/8 as i32) as usize;
[INFO] [stdout]     |                             ^^ help: if this is intentional, prefix it with an underscore: `_fi`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fj`
[INFO] [stdout]    --> src/main.rs:440:29
[INFO] [stdout]     |
[INFO] [stdout] 440 |                         let fj = (*from%8) as usize;
[INFO] [stdout]     |                             ^^ help: if this is intentional, prefix it with an underscore: `_fj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chess_move`
[INFO] [stdout]    --> src/main.rs:385:13
[INFO] [stdout]     |
[INFO] [stdout] 385 |     let mut chess_move = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chess_move`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `found`
[INFO] [stdout]    --> src/main.rs:139:17
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut found = 0;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_found`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:454:33
[INFO] [stdout]     |
[INFO] [stdout] 454 | ...                   let mut piece = board[fi][fj];
[INFO] [stdout]     |                           ----^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:385:9
[INFO] [stdout]     |
[INFO] [stdout] 385 |     let mut chess_move = String::new();
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut found = 0;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl ChessPiece{
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 27 |     fn new(piece: Piece, color: PColors, rec: Rect) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_e_type` is never used
[INFO] [stdout]    --> src/main.rs:365:4
[INFO] [stdout]     |
[INFO] [stdout] 365 | fn print_e_type(input: Piece) -> io::Result<String>{
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/main.rs:142:19
[INFO] [stdout]     |
[INFO] [stdout] 142 |             while i >= 0 {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/main.rs:176:19
[INFO] [stdout]     |
[INFO] [stdout] 176 |             while j >= 0 {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.88s
[INFO] running `Command { std: "docker" "inspect" "f7b49d0f5533ab3ee8cb33a35b4c134ee8976bfc50244485a00ad80f1c4be002", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7b49d0f5533ab3ee8cb33a35b4c134ee8976bfc50244485a00ad80f1c4be002", kill_on_drop: false }`
[INFO] [stdout] f7b49d0f5533ab3ee8cb33a35b4c134ee8976bfc50244485a00ad80f1c4be002
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef66ff9669d10f57d3098ee2a7e09f4ee919eb4da59d81904c8143885c2ca4b8
[INFO] running `Command { std: "docker" "start" "-a" "ef66ff9669d10f57d3098ee2a7e09f4ee919eb4da59d81904c8143885c2ca4b8", kill_on_drop: false }`
[INFO] [stderr]    Compiling chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `fi`
[INFO] [stdout]    --> src/main.rs:439:29
[INFO] [stdout]     |
[INFO] [stdout] 439 |                         let fi = (*from/8 as i32) as usize;
[INFO] [stdout]     |                             ^^ help: if this is intentional, prefix it with an underscore: `_fi`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `found`
[INFO] [stdout]    --> src/main.rs:139:17
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut found = 0;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_found`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fj`
[INFO] [stdout]    --> src/main.rs:440:29
[INFO] [stdout]     |
[INFO] [stdout] 440 |                         let fj = (*from%8) as usize;
[INFO] [stdout]     |                             ^^ help: if this is intentional, prefix it with an underscore: `_fj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chess_move`
[INFO] [stdout]    --> src/main.rs:385:13
[INFO] [stdout]     |
[INFO] [stdout] 385 |     let mut chess_move = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chess_move`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut found = 0;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:385:9
[INFO] [stdout]     |
[INFO] [stdout] 385 |     let mut chess_move = String::new();
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:454:33
[INFO] [stdout]     |
[INFO] [stdout] 454 | ...                   let mut piece = board[fi][fj];
[INFO] [stdout]     |                           ----^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl ChessPiece{
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 27 |     fn new(piece: Piece, color: PColors, rec: Rect) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_e_type` is never used
[INFO] [stdout]    --> src/main.rs:365:4
[INFO] [stdout]     |
[INFO] [stdout] 365 | fn print_e_type(input: Piece) -> io::Result<String>{
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/main.rs:142:19
[INFO] [stdout]     |
[INFO] [stdout] 142 |             while i >= 0 {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/main.rs:176:19
[INFO] [stdout]     |
[INFO] [stdout] 176 |             while j >= 0 {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s
[INFO] running `Command { std: "docker" "inspect" "ef66ff9669d10f57d3098ee2a7e09f4ee919eb4da59d81904c8143885c2ca4b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef66ff9669d10f57d3098ee2a7e09f4ee919eb4da59d81904c8143885c2ca4b8", kill_on_drop: false }`
[INFO] [stdout] ef66ff9669d10f57d3098ee2a7e09f4ee919eb4da59d81904c8143885c2ca4b8
