[INFO] cloning repository https://github.com/onContentStop/chess-variants-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/onContentStop/chess-variants-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FonContentStop%2Fchess-variants-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FonContentStop%2Fchess-variants-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f768d8b1b4b43f84b9ffad77aa61fde4f766555e [INFO] testing onContentStop/chess-variants-rust against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FonContentStop%2Fchess-variants-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/onContentStop/chess-variants-rust [INFO] finished tweaking git repo https://github.com/onContentStop/chess-variants-rust [INFO] tweaked toml for git repo https://github.com/onContentStop/chess-variants-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/onContentStop/chess-variants-rust on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/onContentStop/chess-variants-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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d49f2cdd6be82afe351acfa74cc1a09aec4c7859a889176d2a79a160cbe3b1f1 [INFO] running `Command { std: "docker" "start" "-a" "d49f2cdd6be82afe351acfa74cc1a09aec4c7859a889176d2a79a160cbe3b1f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d49f2cdd6be82afe351acfa74cc1a09aec4c7859a889176d2a79a160cbe3b1f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d49f2cdd6be82afe351acfa74cc1a09aec4c7859a889176d2a79a160cbe3b1f1", kill_on_drop: false }` [INFO] [stdout] d49f2cdd6be82afe351acfa74cc1a09aec4c7859a889176d2a79a160cbe3b1f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b62b88ffbaccca1aa8fb0e3feed8800118d293ee4d98a2b73959570ea6c11e7 [INFO] running `Command { std: "docker" "start" "-a" "5b62b88ffbaccca1aa8fb0e3feed8800118d293ee4d98a2b73959570ea6c11e7", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling chess-variants-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling macro-attr v0.2.0 [INFO] [stderr] Compiling enum_derive v0.1.7 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stdout] warning: unused import: `game_piece` [INFO] [stdout] --> src/chess_game/board.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{board_space::BoardSpace, game_piece}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dead_pieces` is never read [INFO] [stdout] --> src/chess_game/board.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub dead_pieces: Vec, // Maybe save the collection of MOVES and just remove dead pieces [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 `team_name` is never read [INFO] [stdout] --> src/chess_game/game_piece.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct GamePiece { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 2 | pub piece_name: String, // Needs to be reference (lifetime?) [INFO] [stdout] 3 | pub team_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `forward`, `left`, and `rules` are never read [INFO] [stdout] --> src/chess_game/piece_move.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PieceMove { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | forward: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | left: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | rules: MoveRules, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PieceMove` 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 `text` is never read [INFO] [stdout] --> src/gfx/button.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Button { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 21 | pub widget: Widget, [INFO] [stdout] 22 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcRn5EG7/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libregex-70376e3fc6c34336,libthread_local-3d21967d181ccd18,libregex_syntax-aaeedfd4c455d68b,libaho_corasick-865f2e49c52c08b7,libmemchr-ad4ecfae42a63bd1,libthiserror-b9570c0a56d05df3,libparking_lot-7741a23ab4165244,libparking_lot_core-19d238bb776f3e2a,libsmallvec-ef3c4125ebb0c184,libcfg_if-5debf92116708c19,liblock_api-1642a9fed8e15da0,libscopeguard-e318caba69bf687f,libinstant-94e837c277f23f0a,libcfg_if-3e7fc4e38d4a72b5,libmacro_attr-79a83780eab4f1c9,libenum_derive-300c28c3968413bb,libsdl2-b77dbb456de14417,libsdl2_sys-158a3b6164b56f86,libbitflags-9d8828a22cdd2424,liblazy_static-af860367908b8176,liblibc-4800f84aee29558e}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_mixer" "-lSDL2_image" "-lSDL2_ttf" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcRn5EG7/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/chess_variants_rust-fe20363d93819b61" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_mixer [INFO] [stdout] rust-lld: error: unable to find library -lSDL2_image [INFO] [stdout] rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess-variants-rust` (bin "chess-variants-rust") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b62b88ffbaccca1aa8fb0e3feed8800118d293ee4d98a2b73959570ea6c11e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b62b88ffbaccca1aa8fb0e3feed8800118d293ee4d98a2b73959570ea6c11e7", kill_on_drop: false }` [INFO] [stdout] 5b62b88ffbaccca1aa8fb0e3feed8800118d293ee4d98a2b73959570ea6c11e7