[INFO] cloning repository https://github.com/NailoTB/mahjong-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NailoTB/mahjong-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNailoTB%2Fmahjong-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNailoTB%2Fmahjong-simulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80973ebfd4030cc89061e8d733153d0145ff4a54 [INFO] testing NailoTB/mahjong-simulator 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%2FNailoTB%2Fmahjong-simulator" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NailoTB/mahjong-simulator [INFO] finished tweaking git repo https://github.com/NailoTB/mahjong-simulator [INFO] tweaked toml for git repo https://github.com/NailoTB/mahjong-simulator written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NailoTB/mahjong-simulator 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/NailoTB/mahjong-simulator 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fadc4d2888f0ce40162b1c03c40ad116bc7756652e53d24a0cb6c4f730dc2d4d [INFO] running `Command { std: "docker" "start" "-a" "fadc4d2888f0ce40162b1c03c40ad116bc7756652e53d24a0cb6c4f730dc2d4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fadc4d2888f0ce40162b1c03c40ad116bc7756652e53d24a0cb6c4f730dc2d4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fadc4d2888f0ce40162b1c03c40ad116bc7756652e53d24a0cb6c4f730dc2d4d", kill_on_drop: false }` [INFO] [stdout] fadc4d2888f0ce40162b1c03c40ad116bc7756652e53d24a0cb6c4f730dc2d4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a5aca59d2f87e0cd55d5aff0da5e44af5da1d9e9a5b26abf0aed51d0d6c058d4 [INFO] running `Command { std: "docker" "start" "-a" "a5aca59d2f87e0cd55d5aff0da5e44af5da1d9e9a5b26abf0aed51d0d6c058d4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling mahjong-simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `skip_chi` is assigned to, but never used [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut skip_chi = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_skip_chi` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `round_ongoing` is never read [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | round_ongoing = false; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skip_chi` is never read [INFO] [stdout] --> src/main.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | skip_chi = true; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skip_chi` is never read [INFO] [stdout] --> src/main.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | skip_chi = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `call_chi`, `kan`, and `riichi` are never read [INFO] [stdout] --> src/types/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Strategy { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 68 | pub call_chi: fn(StrategyInput) -> bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub kan: fn(StrategyInput) -> bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | pub riichi: fn(StrategyInput) -> bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Strategy` 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: associated function `new` is never used [INFO] [stdout] --> src/types/mod.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Strategy { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 77 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `discards`, `seat_wind`, and `round_number` are never read [INFO] [stdout] --> src/types/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct StrategyInput { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 119 | pub hand: Vec, [INFO] [stdout] 120 | pub discards: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | pub seat_wind: SeatWind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 122 | pub round_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrategyInput` 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: function `print_tile` is never used [INFO] [stdout] --> src/types/mahjong_tile.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn print_tile(tile: &MahjongTile) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_chi` is never used [INFO] [stdout] --> src/types/mahjong_tile.rs:473:8 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn can_chi(hand: &[MahjongTile], tile: &MahjongTile) -> bool { [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/rustctI2VEV/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libnum_traits-86a63621aee64471.rlib,librand-6007bde0b2282bc0.rlib,librand_chacha-ddba3cadc475a391.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-6d2deb9b4589a45b.rlib,libgetrandom-9657694451858363.rlib,libitertools-13686c441e6efd1a.rlib,librayon-10dda4cc0d86adde.rlib,librayon_core-57f5305b9737d99d.rlib,libnum_cpus-11f2886d6b46d2c4.rlib,liblibc-7203497c2bf2212d.rlib,libcrossbeam_deque-11a8b02b0bf30177.rlib,libcrossbeam_epoch-7e02baf06ae9896e.rlib,libmemoffset-964c980f21ec82b0.rlib,libscopeguard-73056285f12cb829.rlib,libcrossbeam_channel-47c033abb8519609.rlib,libcrossbeam_utils-a74b667513e31c04.rlib,libcfg_if-66d55f6b302e88c8.rlib,libeither-47c509ceb9dd2168.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/rustctI2VEV/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/mahjong_simulator-3f3a4433ddbc3698" "-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-9657694451858363.rlib(getrandom-9657694451858363.getrandom.b8b8ff41b4297a37-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.8/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17he6414d7863e1d9a1E+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 `mahjong-simulator` (bin "mahjong-simulator") due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5aca59d2f87e0cd55d5aff0da5e44af5da1d9e9a5b26abf0aed51d0d6c058d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5aca59d2f87e0cd55d5aff0da5e44af5da1d9e9a5b26abf0aed51d0d6c058d4", kill_on_drop: false }` [INFO] [stdout] a5aca59d2f87e0cd55d5aff0da5e44af5da1d9e9a5b26abf0aed51d0d6c058d4