[INFO] cloning repository https://github.com/rynorris/chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rynorris/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frynorris%2Fchess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frynorris%2Fchess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5fa95ec072885a9fd554d80f0aeac4ab051fc89c
[INFO] checking rynorris/chess against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frynorris%2Fchess" "/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/rynorris/chess
[INFO] finished tweaking git repo https://github.com/rynorris/chess
[INFO] tweaked toml for git repo https://github.com/rynorris/chess written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rynorris/chess on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rynorris/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" "+a5689b034ad287112f709693384a37f1377eb9cc" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] be9c33f78312bd07d1dbbd364126f31a8d64170410f7ad51ff09632c00e8046a
[INFO] running `Command { std: "docker" "start" "be9c33f78312bd07d1dbbd364126f31a8d64170410f7ad51ff09632c00e8046a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be9c33f78312bd07d1dbbd364126f31a8d64170410f7ad51ff09632c00e8046a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "be9c33f78312bd07d1dbbd364126f31a8d64170410f7ad51ff09632c00e8046a" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be9c33f78312bd07d1dbbd364126f31a8d64170410f7ad51ff09632c00e8046a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "be9c33f78312bd07d1dbbd364126f31a8d64170410f7ad51ff09632c00e8046a" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling syn v1.0.70
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking os_str_bytes v2.4.0
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]     Checking crossbeam v0.7.3
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking termion v1.5.6
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking tui v0.15.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]    Compiling derive_more v0.99.13
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]     Checking clap v3.0.0-beta.2
[INFO] [stderr]     Checking chess-lib v0.1.0 (/opt/rustwide/workdir/chess-lib)
[INFO] [stdout] warning: struct `Pin` is never constructed
[INFO] [stdout]    --> chess-lib/src/moves.rs:165:8
[INFO] [stdout]     |
[INFO] [stdout] 165 | struct Pin(BitCoord, BitBoard);
[INFO] [stdout]     |        ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `BitCoord`
[INFO] [stdout]    --> chess-lib/src/moves.rs:103:63
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     } else if state.en_passant.map(|ep| ep == tgt.into()).unwrap_or(false) {
[INFO] [stdout]     |                                                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 103 -                     } else if state.en_passant.map(|ep| ep == tgt.into()).unwrap_or(false) {
[INFO] [stdout] 103 +                     } else if state.en_passant.map(|ep| ep == tgt).unwrap_or(false) {
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 103 -                     } else if state.en_passant.map(|ep| ep == tgt.into()).unwrap_or(false) {
[INFO] [stdout] 103 +                     } else if state.en_passant.map(|ep| ep == <BitCoord as Into<_>>::into(tgt)).unwrap_or(false) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `BitCoord`
[INFO] [stdout]    --> chess-lib/src/moves.rs:114:59
[INFO] [stdout]     |
[INFO] [stdout] 114 |                         new_pieces.put_piece(Piece::Pawn, tgt.into());
[INFO] [stdout]     |                                                           ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 114 -                         new_pieces.put_piece(Piece::Pawn, tgt.into());
[INFO] [stdout] 114 +                         new_pieces.put_piece(Piece::Pawn, tgt);
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 114 -                         new_pieces.put_piece(Piece::Pawn, tgt.into());
[INFO] [stdout] 114 +                         new_pieces.put_piece(Piece::Pawn, <BitCoord as Into<_>>::into(tgt));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `BitCoord`
[INFO] [stdout]    --> chess-lib/src/moves.rs:115:49
[INFO] [stdout]     |
[INFO] [stdout] 115 |                         new_pieces.clear_square(src.into());
[INFO] [stdout]     |                                                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 115 -                         new_pieces.clear_square(src.into());
[INFO] [stdout] 115 +                         new_pieces.clear_square(src);
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 115 -                         new_pieces.clear_square(src.into());
[INFO] [stdout] 115 +                         new_pieces.clear_square(<BitCoord as Into<_>>::into(src));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> chess-lib/src/zobrist.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             DEFAULT_HASHER.get_or_insert_with(|| Self::from_seed(Self::DEFAULT_SEED))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess-lib` (lib) due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: struct `Pin` is never constructed
[INFO] [stdout]    --> chess-lib/src/moves.rs:165:8
[INFO] [stdout]     |
[INFO] [stdout] 165 | struct Pin(BitCoord, BitBoard);
[INFO] [stdout]     |        ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `types::BitCoord`
[INFO] [stdout]    --> chess-lib/src/moves.rs:103:63
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     } else if state.en_passant.map(|ep| ep == tgt.into()).unwrap_or(false) {
[INFO] [stdout]     |                                                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 103 -                     } else if state.en_passant.map(|ep| ep == tgt.into()).unwrap_or(false) {
[INFO] [stdout] 103 +                     } else if state.en_passant.map(|ep| ep == tgt).unwrap_or(false) {
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 103 -                     } else if state.en_passant.map(|ep| ep == tgt.into()).unwrap_or(false) {
[INFO] [stdout] 103 +                     } else if state.en_passant.map(|ep| ep == <types::BitCoord as Into<_>>::into(tgt)).unwrap_or(false) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `types::BitCoord`
[INFO] [stdout]    --> chess-lib/src/moves.rs:114:59
[INFO] [stdout]     |
[INFO] [stdout] 114 |                         new_pieces.put_piece(Piece::Pawn, tgt.into());
[INFO] [stdout]     |                                                           ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 114 -                         new_pieces.put_piece(Piece::Pawn, tgt.into());
[INFO] [stdout] 114 +                         new_pieces.put_piece(Piece::Pawn, tgt);
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 114 -                         new_pieces.put_piece(Piece::Pawn, tgt.into());
[INFO] [stdout] 114 +                         new_pieces.put_piece(Piece::Pawn, <types::BitCoord as Into<_>>::into(tgt));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `types::BitCoord`
[INFO] [stdout]    --> chess-lib/src/moves.rs:115:49
[INFO] [stdout]     |
[INFO] [stdout] 115 |                         new_pieces.clear_square(src.into());
[INFO] [stdout]     |                                                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 115 -                         new_pieces.clear_square(src.into());
[INFO] [stdout] 115 +                         new_pieces.clear_square(src);
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 115 -                         new_pieces.clear_square(src.into());
[INFO] [stdout] 115 +                         new_pieces.clear_square(<types::BitCoord as Into<_>>::into(src));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> chess-lib/src/zobrist.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             DEFAULT_HASHER.get_or_insert_with(|| Self::from_seed(Self::DEFAULT_SEED))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess-lib` (lib test) due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: unused dependency `derive_more`
[INFO] [stderr]   --> chess-lib/Cargo.toml:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | derive_more = "0.99.13"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `derive_more`
[INFO] [stderr] warning: `chess-lib` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "be9c33f78312bd07d1dbbd364126f31a8d64170410f7ad51ff09632c00e8046a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be9c33f78312bd07d1dbbd364126f31a8d64170410f7ad51ff09632c00e8046a", kill_on_drop: false }`
[INFO] [stdout] be9c33f78312bd07d1dbbd364126f31a8d64170410f7ad51ff09632c00e8046a
