[INFO] cloning repository https://github.com/spratt/russ
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spratt/russ" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspratt%2Fruss", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspratt%2Fruss'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] efa6ad7cd7f68771a5b4f5c0b145e1769419703c
[INFO] checking spratt/russ against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspratt%2Fruss" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  73% (11/15)
Updating files:  80% (12/15)
Updating files:  86% (13/15)
Updating files:  93% (14/15)
Updating files: 100% (15/15)
Updating files: 100% (15/15), done.
[INFO] started tweaking git repo https://github.com/spratt/russ
[INFO] finished tweaking git repo https://github.com/spratt/russ
[INFO] tweaked toml for git repo https://github.com/spratt/russ written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/spratt/russ on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/spratt/russ 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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "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 thread-id v2.0.0
[INFO] [stderr]   Downloaded utf8-ranges v0.1.3
[INFO] [stderr]   Downloaded memchr v0.1.11
[INFO] [stderr]   Downloaded thread_local v0.2.6
[INFO] [stderr]   Downloaded unicode-segmentation v0.1.2
[INFO] [stderr]   Downloaded glob v0.2.10
[INFO] [stderr]   Downloaded libc v0.2.11
[INFO] [stderr]   Downloaded regex-syntax v0.3.3
[INFO] [stderr]   Downloaded regex v0.1.71
[INFO] [stderr]   Downloaded winapi v0.2.7
[INFO] [stderr]   Downloaded aho-corasick v0.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8bfcc830a8569cea6fbacfd7eb1e35315899b5a3eb2b6ea8f855e1cd305d7531
[INFO] running `Command { std: "docker" "start" "-a" "8bfcc830a8569cea6fbacfd7eb1e35315899b5a3eb2b6ea8f855e1cd305d7531", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8bfcc830a8569cea6fbacfd7eb1e35315899b5a3eb2b6ea8f855e1cd305d7531", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bfcc830a8569cea6fbacfd7eb1e35315899b5a3eb2b6ea8f855e1cd305d7531", kill_on_drop: false }`
[INFO] [stdout] 8bfcc830a8569cea6fbacfd7eb1e35315899b5a3eb2b6ea8f855e1cd305d7531
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 016d9e2aa0057b3d02a1be946f232bc5bd8be9a45b2659a9c482d300a204668b
[INFO] running `Command { std: "docker" "start" "-a" "016d9e2aa0057b3d02a1be946f232bc5bd8be9a45b2659a9c482d300a204668b", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking libc v0.2.11
[INFO] [stderr]     Checking winapi v0.2.7
[INFO] [stderr]     Checking regex-syntax v0.3.3
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking unicode-segmentation v0.1.2
[INFO] [stderr]     Checking glob v0.2.10
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking aho-corasick v0.5.2
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking thread_local v0.2.6
[INFO] [stderr]     Checking regex v0.1.71
[INFO] [stderr]     Checking russ v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> src/chess.rs:369:31
[INFO] [stdout]     |
[INFO] [stdout] 369 |     fn find_all_pieces(&self, player: Player, piece: Piece) -> Vec<Posn> {
[INFO] [stdout]     |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/chess.rs:369:47
[INFO] [stdout]     |
[INFO] [stdout] 369 |     fn find_all_pieces(&self, player: Player, piece: Piece) -> Vec<Posn> {
[INFO] [stdout]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> src/chess.rs:374:35
[INFO] [stdout]     |
[INFO] [stdout] 374 |     fn find_piece_location(&self, player: Player, mov: Move) -> Option<Posn> {
[INFO] [stdout]     |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mov`
[INFO] [stdout]    --> src/chess.rs:374:51
[INFO] [stdout]     |
[INFO] [stdout] 374 |     fn find_piece_location(&self, player: Player, mov: Move) -> Option<Posn> {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_mov`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Piece` is never used
[INFO] [stdout]  --> src/chess.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum Piece {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_char` and `from` are never used
[INFO] [stdout]   --> src/chess.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Piece {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 15 |     fn to_char(&self) -> char {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn from(c: char) -> Option<Piece> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Castle` is never used
[INFO] [stdout]   --> src/chess.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub enum Castle {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_str` and `from_str` are never used
[INFO] [stdout]   --> src/chess.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl Castle {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 58 |     fn to_str(&self) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn from_str(s: String) -> Option<Castle> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Move` is never constructed
[INFO] [stdout]   --> src/chess.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | struct Move {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from`, and `to_str` are never used
[INFO] [stdout]    --> src/chess.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl Move {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] 102 |     fn new() -> Move {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn from(mov_str: &String) -> Move {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub fn to_str(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Posn` is never constructed
[INFO] [stdout]    --> src/chess.rs:296:8
[INFO] [stdout]     |
[INFO] [stdout] 296 | struct Posn {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from` is never used
[INFO] [stdout]    --> src/chess.rs:302:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | impl Posn {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 302 |     fn from(s: &String) -> Posn {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Player` is never used
[INFO] [stdout]    --> src/chess.rs:316:10
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub enum Player {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `State` is never constructed
[INFO] [stdout]    --> src/chess.rs:322:8
[INFO] [stdout]     |
[INFO] [stdout] 322 | struct State {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/chess.rs:327:12
[INFO] [stdout]     |
[INFO] [stdout] 326 | impl State {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 327 |     pub fn new() -> State {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 341 |     fn col_from_file(f: &char) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 |     fn row_from_rank(r: &i8) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |     fn find_all_pieces(&self, player: Player, piece: Piece) -> Vec<Posn> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 374 |     fn find_piece_location(&self, player: Player, mov: Move) -> Option<Posn> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 379 |     pub fn make_move(&self, player: Player, mov: Move) -> Option<State> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |     fn move_piece(&self, from: Posn, to: Posn) -> State {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> src/chess.rs:369:31
[INFO] [stdout]     |
[INFO] [stdout] 369 |     fn find_all_pieces(&self, player: Player, piece: Piece) -> Vec<Posn> {
[INFO] [stdout]     |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/chess.rs:369:47
[INFO] [stdout]     |
[INFO] [stdout] 369 |     fn find_all_pieces(&self, player: Player, piece: Piece) -> Vec<Posn> {
[INFO] [stdout]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> src/chess.rs:374:35
[INFO] [stdout]     |
[INFO] [stdout] 374 |     fn find_piece_location(&self, player: Player, mov: Move) -> Option<Posn> {
[INFO] [stdout]     |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mov`
[INFO] [stdout]    --> src/chess.rs:374:51
[INFO] [stdout]     |
[INFO] [stdout] 374 |     fn find_piece_location(&self, player: Player, mov: Move) -> Option<Posn> {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_mov`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Player` is never used
[INFO] [stdout]    --> src/chess.rs:316:10
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub enum Player {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find_all_pieces`, `find_piece_location`, and `make_move` are never used
[INFO] [stdout]    --> src/chess.rs:369:8
[INFO] [stdout]     |
[INFO] [stdout] 326 | impl State {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 369 |     fn find_all_pieces(&self, player: Player, piece: Piece) -> Vec<Posn> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 374 |     fn find_piece_location(&self, player: Player, mov: Move) -> Option<Posn> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 379 |     pub fn make_move(&self, player: Player, mov: Move) -> Option<State> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.32s
[INFO] running `Command { std: "docker" "inspect" "016d9e2aa0057b3d02a1be946f232bc5bd8be9a45b2659a9c482d300a204668b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "016d9e2aa0057b3d02a1be946f232bc5bd8be9a45b2659a9c482d300a204668b", kill_on_drop: false }`
[INFO] [stdout] 016d9e2aa0057b3d02a1be946f232bc5bd8be9a45b2659a9c482d300a204668b
