[INFO] cloning repository https://github.com/jgabriellacerda/snake-agent
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgabriellacerda/snake-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgabriellacerda%2Fsnake-agent"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgabriellacerda%2Fsnake-agent'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] feeb7ca775e7fa41d5e7bc00df8abe26d91d0345
[INFO] testing jgabriellacerda/snake-agent against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgabriellacerda%2Fsnake-agent" "/workspace/builds/worker-4-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jgabriellacerda/snake-agent
[INFO] finished tweaking git repo https://github.com/jgabriellacerda/snake-agent
[INFO] tweaked toml for git repo https://github.com/jgabriellacerda/snake-agent written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jgabriellacerda/snake-agent on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/jgabriellacerda/snake-agent already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792
[INFO] running `"docker" "start" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792"`
[INFO] running `"docker" "inspect" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792"`
[INFO] running `"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" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792"`
[INFO] running `"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" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling unicode-ident v1.0.26
[INFO] [stderr]    Compiling bitflags v2.13.2
[INFO] [stderr]    Compiling thiserror v2.0.21
[INFO] [stderr]    Compiling either v1.18.0
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling rustix v1.1.5
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling smallvec v1.16.2
[INFO] [stderr]    Compiling mio v1.2.3
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]    Compiling time-core v0.1.9
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling compact_str v0.9.1
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling line-clipping v0.3.8
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]    Compiling syn v3.0.6
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling lru v0.18.5
[INFO] [stderr]    Compiling time v0.3.55
[INFO] [stderr]    Compiling unicode-truncate v2.0.1
[INFO] [stderr]    Compiling strum_macros v0.28.0
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling strum v0.28.0
[INFO] [stderr]    Compiling darling_core v0.24.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.21
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling kasuari v0.4.12
[INFO] [stderr]    Compiling ratatui-core v0.1.2
[INFO] [stderr]    Compiling darling_macro v0.24.1
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling darling v0.24.1
[INFO] [stderr]    Compiling instability v0.3.14
[INFO] [stderr]    Compiling ratatui-widgets v0.3.2
[INFO] [stderr]    Compiling ratatui-crossterm v0.1.2
[INFO] [stderr]    Compiling ratatui-macros v0.7.2
[INFO] [stderr]    Compiling ratatui v0.30.2
[INFO] [stderr]    Compiling snake-tui v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 35.19s
[INFO] running `"docker" "inspect" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792"`
[INFO] running `"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" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling snake-tui v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4.95s
[INFO] running `"docker" "inspect" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792"`
[INFO] running `"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" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/snake-tui/aa770e50f901e1f7/out/snake_tui-aa770e50f901e1f7)
[INFO] [stdout] 
[INFO] [stdout] running 63 tests
[INFO] [stdout] test agent::tests::keyboard_keeps_direction_without_input ... ok
[INFO] [stdout] test agent::tests::error_classification ... ok
[INFO] [stdout] test config::tests::headless_requires_agent ... ok
[INFO] [stdout] test agent::tests::keyboard_uses_last_key_once ... ok
[INFO] [stdout] test config::tests::help_wins ... ok
[INFO] [stdout] test config::tests::help_starts_with_usage_line ... ok
[INFO] [stdout] test config::tests::help_defaults_match_config_defaults ... ok
[INFO] [stdout] test config::tests::help_lists_every_flag ... ok
[INFO] [stdout] test config::tests::out_requires_headless ... ok
[INFO] [stdout] test config::tests::rejects_board_out_of_range ... ok
[INFO] [stdout] test config::tests::rejects_invalid_number ... ok
[INFO] [stdout] test config::tests::rejects_unknown_flag ... ok
[INFO] [stdout] test config::tests::parses_every_flag ... ok
[INFO] [stdout] test agent::tests::oversized_reply_is_fatal_error_class ... ok
[INFO] [stdout] test config::tests::no_args_gives_defaults ... ok
[INFO] [stdout] test game::tests::hitting_body_ends_game ... ok
[INFO] [stdout] test config::tests::rejects_missing_value ... ok
[INFO] [stdout] test config::tests::rejects_zero_episodes ... ok
[INFO] [stdout] test game::tests::abort_records_reason ... ok
[INFO] [stdout] test game::tests::eating_grows_and_respawns_food ... ok
[INFO] [stdout] test game::tests::names_match_protocol ... ok
[INFO] [stdout] test game::tests::new_game_starts_centered_heading_right ... ok
[INFO] [stdout] test game::tests::reversing_is_ignored ... ok
[INFO] [stdout] test game::tests::hitting_wall_ends_game ... ok
[INFO] [stdout] test game::tests::starving_ends_game ... ok
[INFO] [stdout] test game::tests::moving_forward_keeps_length ... ok
[INFO] [stdout] test game::tests::moving_into_tail_cell_is_allowed ... ok
[INFO] [stdout] test game::tests::same_seed_same_food ... ok
[INFO] [stdout] test game::tests::stepping_after_end_panics - should panic ... ok
[INFO] [stdout] test headless::tests::episode_seed_wraps ... ok
[INFO] [stdout] test headless::tests::invalid_json_ends_episode_but_run_continues ... ok
[INFO] [stdout] test game::tests::filling_the_board_wins ... ok
[INFO] [stdout] test agent::tests::stdio_agent_detects_exit ... ok
[INFO] [stdout] test protocol::tests::parse_action_rejects_non_json ... ok
[INFO] [stdout] test headless::tests::timeout_is_fatal ... ok
[INFO] [stdout] test headless::tests::plays_every_episode_with_its_own_seed ... ok
[INFO] [stdout] test protocol::tests::done_line_matches_protocol ... ok
[INFO] [stdout] test protocol::tests::obs_from_game_uses_head_first_coordinates ... ok
[INFO] [stdout] test protocol::tests::obs_line_matches_protocol ... ok
[INFO] [stdout] test protocol::tests::parse_action_accepts_valid_action ... ok
[INFO] [stdout] test protocol::tests::parse_action_rejects_missing_field ... ok
[INFO] [stdout] test protocol::tests::parse_action_trims_whitespace_and_crlf ... ok
[INFO] [stdout] test rng::tests::matches_reference_splitmix64_output ... ok
[INFO] [stdout] test rng::tests::same_seed_same_sequence ... ok
[INFO] [stdout] test stats::tests::summarize_computes_aggregates ... ok
[INFO] [stdout] test stats::tests::summarize_empty_is_none ... ok
[INFO] [stdout] test stats::tests::summary_display_is_stable ... ok
[INFO] [stdout] test rng::tests::below_stays_in_range ... ok
[INFO] [stdout] test protocol::tests::parse_action_rejects_unknown_action ... ok
[INFO] [stdout] test rng::tests::below_zero_panics - should panic ... ok
[INFO] [stdout] test stats::tests::p50_is_lower_median_for_even_count ... ok
[INFO] [stdout] test tui::tests::draw_renders_board_and_stats ... ok
[INFO] [stdout] test stats::tests::write_jsonl_writes_one_line_per_episode ... ok
[INFO] [stdout] test tui::tests::draw_warns_when_terminal_too_small ... ok
[INFO] [stdout] test tui::tests::required_size_accounts_for_borders_and_panel ... ok
[INFO] [stdout] test agent::tests::oversized_reply_is_fatal_instead_of_buffered ... ok
[INFO] [stdout] test agent::tests::stdio_agent_reports_invalid_json ... ok
[INFO] [stdout] test agent::tests::stdio_agent_round_trip ... ok
[INFO] [stdout] test agent::tests::delayed_leftover_is_still_fatal ... ok
[INFO] [stdout] test agent::tests::stdio_agent_times_out ... ok
[INFO] [stdout] test agent::tests::leftover_output_is_fatal ... ok
[INFO] [stdout] test agent::tests::close_kills_agent_that_ignores_eof ... ok
[INFO] [stdout] test agent::tests::close_kills_grandchild_when_command_does_not_exec ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- agent::tests::close_kills_grandchild_when_command_does_not_exec stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'agent::tests::close_kills_grandchild_when_command_does_not_exec' (1192) panicked at src/agent.rs:381:9:
[INFO] [stdout] grandchild 1223 survived close()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57b0064ed9a1 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x57b0065032fa - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x57b0064f1e5c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x57b0064c9826 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x57b0064e59f9 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x57b00645ed40 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x57b0064e5bb2 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x57b0064c98d2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x57b0064c1c39 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x57b0064ca4dd - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x57b00650400c - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x57b00643367a - <snake_tui[c84c9250169b8f0c]::agent::tests::close_kills_grandchild_when_command_does_not_exec::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   12:     0x57b006451bab - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   13:     0x57b00645f365 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   14:     0x57b0064587b4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   15:     0x57b0064622f2 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   16:     0x57b0064ecedf - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   17:     0x7f7ac4389dfa - <unknown>
[INFO] [stdout]   18:     0x7f7ac441d3d4 - clone
[INFO] [stdout]   19:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     agent::tests::close_kills_grandchild_when_command_does_not_exec
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 62 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.24s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792"`
[INFO] running `"docker" "rm" "-f" "07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792"`
[INFO] [stdout] 07e4b8e17f407567c36a7c59f89ff5e398ca6501735be2a575cafb853964e792
