[INFO] cloning repository https://github.com/hex1bit/gomoku [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hex1bit/gomoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhex1bit%2Fgomoku", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhex1bit%2Fgomoku'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4fe6673c1e56c4547a0c8506a07275ee6f5f3c9 [INFO] testing hex1bit/gomoku against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhex1bit%2Fgomoku" "/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/hex1bit/gomoku [INFO] finished tweaking git repo https://github.com/hex1bit/gomoku [INFO] tweaked toml for git repo https://github.com/hex1bit/gomoku written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hex1bit/gomoku on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hex1bit/gomoku 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" "+1.99.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0 [INFO] running `Command { std: "docker" "start" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0", 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" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling gomoku v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 11.51s [INFO] running `Command { std: "docker" "inspect" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling rand v0.9.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling proptest v1.11.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling gomoku v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Finished `release` profile [optimized] target(s) in 51.90s [INFO] running `Command { std: "docker" "inspect" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/gomoku-d103731a1301ff00) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test forbidden::tests::detects_double_four ... ok [INFO] [stdout] test forbidden::tests::detects_double_three ... ok [INFO] [stdout] test forbidden::tests::five_in_row_overrides_forbidden ... ok [INFO] [stdout] test forbidden::tests::detects_long_connect ... ok [INFO] [stdout] test forbidden::tests::single_three_is_legal ... ok [INFO] [stdout] test incr::tests::incremental_clear_consistent ... ok [INFO] [stdout] test lines::tests::line_count_is_72 ... ok [INFO] [stdout] test lines::tests::each_cell_has_at_most_four_lines ... ok [INFO] [stdout] test lines::tests::center_cell_has_four_lines ... ok [INFO] [stdout] test forbidden::tests::board_state_unchanged_after_check ... ok [INFO] [stdout] test lines::tests::cell_in_line_consistent ... ok [INFO] [stdout] test pattern::tests::classify_line_returns_both_sides ... ok [INFO] [stdout] test pattern::tests::dead_three ... ok [INFO] [stdout] test pattern::tests::dead_four_at_edge ... ok [INFO] [stdout] test pattern::tests::five_in_row ... ok [INFO] [stdout] test pattern::tests::dead_four_blocked_one_side ... ok [INFO] [stdout] test pattern::tests::jump_live_three_other ... ok [INFO] [stdout] test pattern::tests::jump_live_three ... ok [INFO] [stdout] test pattern::tests::jump_four_in_window ... ok [INFO] [stdout] test search::tests::opening_weighted_distribution_matches_60_30_10 ... ok [INFO] [stdout] test pattern::tests::live_four ... ok [INFO] [stdout] test pattern::tests::no_threat_when_blocked_both ... ok [INFO] [stdout] test search::tests::opening_weighted_handles_short_ranking ... ok [INFO] [stdout] test pattern::tests::live_three ... ok [INFO] [stdout] test incr::tests::incremental_equals_full_random_1k ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/gomoku-bc810440dcf26849) [INFO] [stdout] [INFO] [stderr] Running tests/smoke.rs (/opt/rustwide/target/release/deps/smoke-e95ce5e80733438e) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test candidates_neighbour_radius_2 ... ok [INFO] [stdout] test check_win_detects_diagonal_five ... ok [INFO] [stdout] test check_win_detects_horizontal_five ... ok [INFO] [stdout] test check_win_rejects_four_in_row ... ok [INFO] [stdout] test double_three_is_recognized_as_near_win ... ok [INFO] [stdout] test score_line_recognises_five ... ok [INFO] [stdout] test empty_board_candidates_is_center ... ok [INFO] [stdout] test empty_board_is_zero_eval ... ok [INFO] [stdout] test set_and_clear_track_stones ... ok [INFO] [stdout] test different_positions_distinct_hash ... ok [INFO] [stdout] test forbidden_double_three_blocks_black ... ok [INFO] [stdout] test forbidden_long_connect_six ... ok [INFO] [stdout] test stone_opp ... ok [INFO] [stdout] test tt_probe_after_store ... ok [INFO] [stdout] test tt_clear_resets ... ok [INFO] [stdout] test hash_xor_self_inverse ... ok [INFO] [stdout] test search_does_not_corrupt_board_on_timeout ... ok [INFO] [stdout] test ai_picks_winning_move ... ok [INFO] [stdout] test mate_in_one_for_self ... ok [INFO] [stdout] test white_immune_to_forbidden_rules ... ok [INFO] [stdout] test time_limit_respected ... FAILED [INFO] [stdout] test ai_as_black_avoids_forbidden ... ok [INFO] [stdout] test ai_makes_double_three_attack ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- time_limit_respected stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'time_limit_respected' (1604) panicked at tests/smoke.rs:197:5: [INFO] [stdout] search 用时 628ms 超过预期 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x64826eda4d51 - <::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt [INFO] [stdout] 1: 0x64826edb916a - core[7c831bd917ebf35f]::fmt::write [INFO] [stdout] 2: 0x64826eda91ec - as core[7c831bd917ebf35f]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x64826ed81336 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x64826ed9d469 - std[104cf6e2632825ea]::panicking::default_hook [INFO] [stdout] 5: 0x64826ed30a10 - test[73009c9f9aebf890]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x64826ed9d622 - std[104cf6e2632825ea]::panicking::panic_with_hook [INFO] [stdout] 7: 0x64826ed813e2 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x64826ed79d89 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x64826ed81fdd - __rustc[b0d56fa5b193ad05]::rust_begin_unwind [INFO] [stdout] 10: 0x64826edb989c - core[7c831bd917ebf35f]::panicking::panic_fmt [INFO] [stdout] 11: 0x64826ed219ad - >::call_once [INFO] [stdout] 12: 0x64826ed23cfb - test[73009c9f9aebf890]::__rust_begin_short_backtrace::, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>> [INFO] [stdout] 13: 0x64826ed31365 - test[73009c9f9aebf890]::run_test::{closure#0} [INFO] [stdout] 14: 0x64826ed2a724 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 15: 0x64826ed344c2 - ::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 16: 0x64826eda4629 - ::new::thread_start [INFO] [stdout] 17: 0x73bd9b2e607a - [INFO] [stdout] 18: 0x73bd9b379534 - clone [INFO] [stdout] 19: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] time_limit_respected [INFO] [stdout] [INFO] [stdout] test result: FAILED. 22 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.76s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test smoke` [INFO] running `Command { std: "docker" "inspect" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0", kill_on_drop: false }` [INFO] [stdout] 9780fadd7423880fc147a7036f1e82d1868f6f70b6fecc2ca701b70d40ff9fc0