[INFO] cloning repository https://github.com/pixlark/rust-chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pixlark/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5574de551476386e7c852d19d296848b03d0bd15
[INFO] checking pixlark/rust-chess against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-chess" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pixlark/rust-chess
[INFO] finished tweaking git repo https://github.com/pixlark/rust-chess
[INFO] tweaked toml for git repo https://github.com/pixlark/rust-chess written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pixlark/rust-chess on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pixlark/rust-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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cfg-if v0.1.5
[INFO] [stderr]   Downloaded rand v0.3.22
[INFO] [stderr]   Downloaded bitflags v0.7.0
[INFO] [stderr]   Downloaded lazy_static v0.2.11
[INFO] [stderr]   Downloaded num v0.1.42
[INFO] [stderr]   Downloaded num-iter v0.1.37
[INFO] [stderr]   Downloaded rand v0.4.3
[INFO] [stderr]   Downloaded num-traits v0.2.6
[INFO] [stderr]   Downloaded num-integer v0.1.39
[INFO] [stderr]   Downloaded sdl2 v0.31.0
[INFO] [stderr]   Downloaded sdl2-sys v0.31.0
[INFO] [stderr]   Downloaded libc v0.2.43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 559d4c900824fbcdc7c77e2a60c77e6887e7db116a12de3f681f57057d2a6a8c
[INFO] running `Command { std: "docker" "start" "-a" "559d4c900824fbcdc7c77e2a60c77e6887e7db116a12de3f681f57057d2a6a8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "559d4c900824fbcdc7c77e2a60c77e6887e7db116a12de3f681f57057d2a6a8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "559d4c900824fbcdc7c77e2a60c77e6887e7db116a12de3f681f57057d2a6a8c", kill_on_drop: false }`
[INFO] [stdout] 559d4c900824fbcdc7c77e2a60c77e6887e7db116a12de3f681f57057d2a6a8c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 44bc969095729b1df47084314f1bf090cca85dfb7469b1d8a3cdd77de8fa810a
[INFO] running `Command { std: "docker" "start" "-a" "44bc969095729b1df47084314f1bf090cca85dfb7469b1d8a3cdd77de8fa810a", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling cfg-if v0.1.5
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]    Compiling sdl2-sys v0.31.0
[INFO] [stderr]     Checking rand v0.4.3
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking sdl2 v0.31.0
[INFO] [stderr]     Checking game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         for i in 0..3 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:418:13
[INFO] [stdout]     |
[INFO] [stdout] 418 |             _ => panic!("Movement not implemented for this yet..."),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:418:13
[INFO] [stdout]     |
[INFO] [stdout] 404 |             PieceType::Pawn => self.move_squares_pawn(pos),
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout] 405 |             PieceType::Knight => self.move_squares_knight(pos),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] 406 |             PieceType::Bishop => self.move_squares_diagonal(pos, None),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] 407 |             PieceType::Rook => self.move_squares_lateral(pos, None),
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 418 |             _ => panic!("Movement not implemented for this yet..."),
[INFO] [stdout]     |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sdl_image_context`
[INFO] [stdout]    --> src/main.rs:590:9
[INFO] [stdout]     |
[INFO] [stdout] 590 |     let sdl_image_context = image::init(image::InitFlag::all()).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `Sdl2ImageContext`
[INFO] [stdout]     |
[INFO] [stdout] 590 -     let sdl_image_context = image::init(image::InitFlag::all()).unwrap();
[INFO] [stdout] 590 +     let sdl2::image::Sdl2ImageContext = image::init(image::InitFlag::all()).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 590 |     let _sdl_image_context = image::init(image::InitFlag::all()).unwrap();
[INFO] [stdout]     |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flipped` is never used
[INFO] [stdout]   --> src/main.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Side {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 21 |     fn flipped(self: &Side) -> Side {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `capture` is never read
[INFO] [stdout]   --> src/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct Move {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 56 |     pos: Pos,
[INFO] [stdout] 57 |     capture: Option<Piece>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Move` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `starting` and `capture_on_line` are never used
[INFO] [stdout]    --> src/main.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 194 | impl Board {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 203 |     fn starting() -> Board {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     fn capture_on_line(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:468:9
[INFO] [stdout]     |
[INFO] [stdout] 468 | /         canvas.copy(
[INFO] [stdout] 469 | |             texture_table.table[tex_index.0][tex_index.1]
[INFO] [stdout] 470 | |                 .as_ref()
[INFO] [stdout] 471 | |                 .unwrap(),
[INFO] [stdout] ...   |
[INFO] [stdout] 478 | |             )),
[INFO] [stdout] 479 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 468 |         let _ = canvas.copy(
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:570:13
[INFO] [stdout]     |
[INFO] [stdout] 570 | /             canvas.copy(
[INFO] [stdout] 571 | |                 texture_table.table[tex_index.0][tex_index.1]
[INFO] [stdout] 572 | |                     .as_ref()
[INFO] [stdout] 573 | |                     .unwrap(),
[INFO] [stdout] ...   |
[INFO] [stdout] 580 | |                 )),
[INFO] [stdout] 581 | |             );
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 570 |             let _ = canvas.copy(
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         for i in 0..3 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:418:13
[INFO] [stdout]     |
[INFO] [stdout] 418 |             _ => panic!("Movement not implemented for this yet..."),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:418:13
[INFO] [stdout]     |
[INFO] [stdout] 404 |             PieceType::Pawn => self.move_squares_pawn(pos),
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout] 405 |             PieceType::Knight => self.move_squares_knight(pos),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] 406 |             PieceType::Bishop => self.move_squares_diagonal(pos, None),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] 407 |             PieceType::Rook => self.move_squares_lateral(pos, None),
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 418 |             _ => panic!("Movement not implemented for this yet..."),
[INFO] [stdout]     |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sdl_image_context`
[INFO] [stdout]    --> src/main.rs:590:9
[INFO] [stdout]     |
[INFO] [stdout] 590 |     let sdl_image_context = image::init(image::InitFlag::all()).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `Sdl2ImageContext`
[INFO] [stdout]     |
[INFO] [stdout] 590 -     let sdl_image_context = image::init(image::InitFlag::all()).unwrap();
[INFO] [stdout] 590 +     let sdl2::image::Sdl2ImageContext = image::init(image::InitFlag::all()).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 590 |     let _sdl_image_context = image::init(image::InitFlag::all()).unwrap();
[INFO] [stdout]     |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flipped` is never used
[INFO] [stdout]   --> src/main.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Side {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 21 |     fn flipped(self: &Side) -> Side {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `capture` is never read
[INFO] [stdout]   --> src/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct Move {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 56 |     pos: Pos,
[INFO] [stdout] 57 |     capture: Option<Piece>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Move` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `starting` and `capture_on_line` are never used
[INFO] [stdout]    --> src/main.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 194 | impl Board {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 203 |     fn starting() -> Board {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     fn capture_on_line(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:468:9
[INFO] [stdout]     |
[INFO] [stdout] 468 | /         canvas.copy(
[INFO] [stdout] 469 | |             texture_table.table[tex_index.0][tex_index.1]
[INFO] [stdout] 470 | |                 .as_ref()
[INFO] [stdout] 471 | |                 .unwrap(),
[INFO] [stdout] ...   |
[INFO] [stdout] 478 | |             )),
[INFO] [stdout] 479 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 468 |         let _ = canvas.copy(
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:570:13
[INFO] [stdout]     |
[INFO] [stdout] 570 | /             canvas.copy(
[INFO] [stdout] 571 | |                 texture_table.table[tex_index.0][tex_index.1]
[INFO] [stdout] 572 | |                     .as_ref()
[INFO] [stdout] 573 | |                     .unwrap(),
[INFO] [stdout] ...   |
[INFO] [stdout] 580 | |                 )),
[INFO] [stdout] 581 | |             );
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 570 |             let _ = canvas.copy(
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.68s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "44bc969095729b1df47084314f1bf090cca85dfb7469b1d8a3cdd77de8fa810a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44bc969095729b1df47084314f1bf090cca85dfb7469b1d8a3cdd77de8fa810a", kill_on_drop: false }`
[INFO] [stdout] 44bc969095729b1df47084314f1bf090cca85dfb7469b1d8a3cdd77de8fa810a
