[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] testing rynorris/chess 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%2Frynorris%2Fchess" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rynorris/chess 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/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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6d1612b3ea8a0f8b8691812b3682064d6de2dd25a25249188a1d914386a19880 [INFO] running `Command { std: "docker" "start" "-a" "6d1612b3ea8a0f8b8691812b3682064d6de2dd25a25249188a1d914386a19880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d1612b3ea8a0f8b8691812b3682064d6de2dd25a25249188a1d914386a19880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d1612b3ea8a0f8b8691812b3682064d6de2dd25a25249188a1d914386a19880", kill_on_drop: false }` [INFO] [stdout] 6d1612b3ea8a0f8b8691812b3682064d6de2dd25a25249188a1d914386a19880 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b53e5681513590cca6ea244b88641d10eed0baabe4eb3b3de3b84499702086b0 [INFO] running `Command { std: "docker" "start" "-a" "b53e5681513590cca6ea244b88641d10eed0baabe4eb3b3de3b84499702086b0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.6.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] Compiling termion v1.5.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling tui v0.15.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling 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: `Pin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: for more information, see [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chess-ai v0.1.0 (/opt/rustwide/workdir/chess-ai) [INFO] [stderr] Compiling chess-cli v0.1.0 (/opt/rustwide/workdir/chess-cli) [INFO] [stdout] warning: struct `ChessBoard` is never constructed [INFO] [stdout] --> chess-cli/src/board.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ChessBoard { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HBorder` is never used [INFO] [stdout] --> chess-cli/src/board.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum HBorder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VBorder` is never used [INFO] [stdout] --> chess-cli/src/board.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | enum VBorder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symbol_for_piece` is never used [INFO] [stdout] --> chess-cli/src/board.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn symbol_for_piece(piece: Piece) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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/rustcsB1EdT/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libchess_ai-e6f555a3c3f6d754.rlib,libtui-d418c895c0f72c16.rlib,libcassowary-320fe38210946833.rlib,libunicode_segmentation-4d3884e610d8f92b.rlib,libtermion-a6e150bb539ee95b.rlib,libnumtoa-e9c283ec89102151.rlib,libchess_lib-edfbb9e6b468f30b.rlib,librand-931de9c23076b015.rlib,librand_chacha-ff2326d31ff1c541.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-6c4fc9ccbd7ae0bb.rlib,libgetrandom-eaf6e2f1b6acd797.rlib,libcfg_if-66d55f6b302e88c8.rlib,libthreadpool-51bde4cd3b193e11.rlib,libnum_cpus-14d9fd8c9733c390.rlib,libcrossbeam-8f20d67439e4a885.rlib,libcrossbeam_queue-c8b90f95d355dfab.rlib,libcrossbeam_channel-e4f7507907b6e89d.rlib,libcrossbeam_deque-43acff69c40427e4.rlib,libcrossbeam_epoch-8701c7a50401fee7.rlib,libscopeguard-73056285f12cb829.rlib,libmemoffset-d1f7fdae4314fb01.rlib,libcrossbeam_utils-946317e8b534a400.rlib,libmaybe_uninit-56cae5b1ed8837f0.rlib,libcfg_if-2d17986ae484e939.rlib,libclap-9f723f29ab8436ef.rlib,libstrsim-7a71560e0c2955e4.rlib,libatty-10ab0b301b102f6d.rlib,liblibc-4d7b145f3080a37b.rlib,libtextwrap-f7a2553bffdec3f9.rlib,libvec_map-f5624d319d58cb9d.rlib,libos_str_bytes-6dd76ccbff92ce3c.rlib,libtermcolor-811ad993a566b17a.rlib,libunicode_width-a8c49d31449f9404.rlib,libindexmap-4c045fd774b717b5.rlib,libhashbrown-aed633c8184090a0.rlib,libbitflags-561a4f1321538a32.rlib,liblazy_static-4b136fc9bfbd2c4b.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/rustcsB1EdT/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/chess_cli-aa42a2ccb5254fd9" "-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-eaf6e2f1b6acd797.rlib(getrandom-eaf6e2f1b6acd797.getrandom.83987fef130a5163-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.2/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hc5a20fa54412be1bE+0xb6): 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 `chess-cli` (bin "chess-cli") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b53e5681513590cca6ea244b88641d10eed0baabe4eb3b3de3b84499702086b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53e5681513590cca6ea244b88641d10eed0baabe4eb3b3de3b84499702086b0", kill_on_drop: false }` [INFO] [stdout] b53e5681513590cca6ea244b88641d10eed0baabe4eb3b3de3b84499702086b0