[INFO] cloning repository https://github.com/raffimolero/kittytac-board-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raffimolero/kittytac-board-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraffimolero%2Fkittytac-board-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraffimolero%2Fkittytac-board-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95b73af44cb3de62e8351bdfd1309a33a0e03d45 [INFO] testing raffimolero/kittytac-board-game against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraffimolero%2Fkittytac-board-game" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raffimolero/kittytac-board-game [INFO] finished tweaking git repo https://github.com/raffimolero/kittytac-board-game [INFO] tweaked toml for git repo https://github.com/raffimolero/kittytac-board-game written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raffimolero/kittytac-board-game on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raffimolero/kittytac-board-game 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43639f642f88c9358d7c900cef754118e3aaca5c80411287e34138742ef3e1f8 [INFO] running `Command { std: "docker" "start" "-a" "43639f642f88c9358d7c900cef754118e3aaca5c80411287e34138742ef3e1f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43639f642f88c9358d7c900cef754118e3aaca5c80411287e34138742ef3e1f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43639f642f88c9358d7c900cef754118e3aaca5c80411287e34138742ef3e1f8", kill_on_drop: false }` [INFO] [stdout] 43639f642f88c9358d7c900cef754118e3aaca5c80411287e34138742ef3e1f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 541eff7289a9e92656c75730d66960692e4e6127de07cf0dfff859f1458e1d0c [INFO] running `Command { std: "docker" "start" "-a" "541eff7289a9e92656c75730d66960692e4e6127de07cf0dfff859f1458e1d0c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling quote v1.0.19 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling kittytac-board-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `destination` [INFO] [stdout] --> src/game/board.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn find_push(self, destination: Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut board = Board::<8>::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Position` is more private than the item `Move::Move::from` [INFO] [stdout] --> src/game/board.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | from: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `Move::Move::from` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Position` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game/board.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Position` is more private than the item `Move::Move::to` [INFO] [stdout] --> src/game/board.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | to: Position, [INFO] [stdout] | ^^^^^^^^^^^^ field `Move::Move::to` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Position` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game/board.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Position` is more private than the item `Move::Push::from` [INFO] [stdout] --> src/game/board.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | from: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `Move::Push::from` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Position` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game/board.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Position` is more private than the item `Move::Push::to` [INFO] [stdout] --> src/game/board.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | to: Position, [INFO] [stdout] | ^^^^^^^^^^^^ field `Move::Push::to` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Position` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game/board.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Position` is more private than the item `Move::KnightPush::from` [INFO] [stdout] --> src/game/board.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | from: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `Move::KnightPush::from` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Position` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game/board.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Position` is more private than the item `Move::KnightPush::to` [INFO] [stdout] --> src/game/board.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | to: Position, [INFO] [stdout] | ^^^^^^^^^^^^ field `Move::KnightPush::to` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Position` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game/board.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Position` is more private than the item `Move::KnightPush::push` [INFO] [stdout] --> src/game/board.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | push: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `Move::KnightPush::push` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Position` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game/board.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InvalidMove` is more private than the item `Board::::get_user_move` [INFO] [stdout] --> src/game/board.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_user_move(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Board::::get_user_move` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InvalidMove` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game/board.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | enum InvalidMove { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InvalidMove` is more private than the item `Board::::make_move` [INFO] [stdout] --> src/game/board.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn make_move(&mut self) -> Result<(), InvalidMove> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Board::::make_move` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InvalidMove` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/game/board.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | enum InvalidMove { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/game/board.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_push` is never used [INFO] [stdout] --> src/game/board.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Position { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn find_push(self, destination: Self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Move` is never used [INFO] [stdout] --> src/game/board.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InvalidMove` is never used [INFO] [stdout] --> src/game/board.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum InvalidMove { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidMove` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `turn` is never read [INFO] [stdout] --> src/game/board.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 77 | pub tiles: [[Tile; N]; N], [INFO] [stdout] 78 | pub turn: Team, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Board` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_user_move`, `make_move`, and `get_legal_moves` are never used [INFO] [stdout] --> src/game/board.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Board { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 82 | pub fn get_user_move(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn make_move(&mut self) -> Result<(), InvalidMove> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_legal_moves() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `White` is never constructed [INFO] [stdout] --> src/helpers.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcJcDErp/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libthiserror-d8a6a0dc1ff6c0a5.rlib,librand-989516339a90bc93.rlib,librand_chacha-db194170470e091f.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-fe01da8348a1754c.rlib,libgetrandom-d95b1955222c3a76.rlib,liblibc-25aaa37364d43f8c.rlib,libcfg_if-66d55f6b302e88c8.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcJcDErp/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/kittytac_board_game-26ffa29f7084d3cc" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-d95b1955222c3a76.rlib(getrandom-d95b1955222c3a76.getrandom.100cf4c265625b42-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h854a34dbd35b8a86E+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kittytac-board-game` (bin "kittytac-board-game") due to 1 previous error; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "541eff7289a9e92656c75730d66960692e4e6127de07cf0dfff859f1458e1d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "541eff7289a9e92656c75730d66960692e4e6127de07cf0dfff859f1458e1d0c", kill_on_drop: false }` [INFO] [stdout] 541eff7289a9e92656c75730d66960692e4e6127de07cf0dfff859f1458e1d0c