[INFO] cloning repository https://github.com/thrawny/agent-switch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thrawny/agent-switch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrawny%2Fagent-switch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrawny%2Fagent-switch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 93c2069f4377d2bf343374a20ddb46466d527a24
[INFO] testing thrawny/agent-switch against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrawny%2Fagent-switch" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thrawny/agent-switch
[INFO] finished tweaking git repo https://github.com/thrawny/agent-switch
[INFO] tweaked toml for git repo https://github.com/thrawny/agent-switch written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thrawny/agent-switch on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thrawny/agent-switch 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 12446747ad875c387e365653b06f26f5bea8cbc5950c7ffd60e7bf2efde013e3
[INFO] running `Command { std: "docker" "start" "-a" "12446747ad875c387e365653b06f26f5bea8cbc5950c7ffd60e7bf2efde013e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12446747ad875c387e365653b06f26f5bea8cbc5950c7ffd60e7bf2efde013e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12446747ad875c387e365653b06f26f5bea8cbc5950c7ffd60e7bf2efde013e3", kill_on_drop: false }`
[INFO] [stdout] 12446747ad875c387e365653b06f26f5bea8cbc5950c7ffd60e7bf2efde013e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] add82c704afe15ff138b7944b87c8ebf9fa1b23bae7c3ee67eb0f735968cac70
[INFO] running `Command { std: "docker" "start" "-a" "add82c704afe15ff138b7944b87c8ebf9fa1b23bae7c3ee67eb0f735968cac70", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zmij v1.0.20
[INFO] [stderr]    Compiling clap_lex v1.0.0
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling notify-types v2.1.0
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling deranged v0.5.6
[INFO] [stderr]    Compiling jiff v0.2.19
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling toml_writer v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling clap_builder v4.5.58
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling inotify v0.11.0
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling notify v8.2.0
[INFO] [stderr]    Compiling toml_parser v1.0.7+spec-1.1.0
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling env_filter v1.0.0
[INFO] [stderr]    Compiling serde_spanned v1.0.4
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling toml v0.9.12+spec-1.1.0
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap v4.5.58
[INFO] [stderr]    Compiling env_logger v0.11.9
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling agent-switch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `AgentSession` is never constructed
[INFO] [stdout]   --> src/daemon.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct AgentSession {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.07s
[INFO] running `Command { std: "docker" "inspect" "add82c704afe15ff138b7944b87c8ebf9fa1b23bae7c3ee67eb0f735968cac70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "add82c704afe15ff138b7944b87c8ebf9fa1b23bae7c3ee67eb0f735968cac70", kill_on_drop: false }`
[INFO] [stdout] add82c704afe15ff138b7944b87c8ebf9fa1b23bae7c3ee67eb0f735968cac70
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 964dd42a4dd00b429b26c8a86853af637d128870c94487f9e9a603eedc52b9f6
[INFO] running `Command { std: "docker" "start" "-a" "964dd42a4dd00b429b26c8a86853af637d128870c94487f9e9a603eedc52b9f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling agent-switch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `AgentSession` is never constructed
[INFO] [stdout]   --> src/daemon.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct AgentSession {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.73s
[INFO] running `Command { std: "docker" "inspect" "964dd42a4dd00b429b26c8a86853af637d128870c94487f9e9a603eedc52b9f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "964dd42a4dd00b429b26c8a86853af637d128870c94487f9e9a603eedc52b9f6", kill_on_drop: false }`
[INFO] [stdout] 964dd42a4dd00b429b26c8a86853af637d128870c94487f9e9a603eedc52b9f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bbbce690df1600796d77c8b7d17226c40f561a9d83f693bfd862956ff6158867
[INFO] running `Command { std: "docker" "start" "-a" "bbbce690df1600796d77c8b7d17226c40f561a9d83f693bfd862956ff6158867", kill_on_drop: false }`
[INFO] [stderr] warning: struct `AgentSession` is never constructed
[INFO] [stderr]   --> src/daemon.rs:55:12
[INFO] [stderr]    |
[INFO] [stderr] 55 | pub struct AgentSession {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `agent-switch` (bin "agent-switch" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/agent_switch-58c0ad7e2a7760db)
[INFO] [stdout] 
[INFO] [stdout] running 49 tests
[INFO] [stdout] test daemon::tests::prompt_submit_backfills_missing_niri_binding ... ok
[INFO] [stdout] test daemon::tests::session_start_replaces_existing_binding_for_same_session ... ok
[INFO] [stdout] test daemon::tests::socket_path_falls_back_to_xdg_runtime_dir ... ok
[INFO] [stdout] test daemon::tests::socket_path_prefers_agent_switch_socket_override ... ok
[INFO] [stdout] test daemon::tests::prompt_submit_preserves_existing_niri_binding ... ok
[INFO] [stdout] test daemon::tests::refresh_transcript_derived_states_keeps_question_waiting_without_new_transcript_activity ... ok
[INFO] [stdout] test daemon::tests::track_event_deserializes_typed_event_kind ... ok
[INFO] [stdout] test daemon::tests::daemon_instance_lock_rejects_live_socket_listener ... ok
[INFO] [stdout] test daemon::tests::build_list_response_clears_permission_prompt_waiting_after_transcript_progress ... ok
[INFO] [stdout] test daemon::tests::track_event_kind_round_trips_kebab_case ... ok
[INFO] [stdout] test daemon::tests::daemon_instance_lock_removes_stale_socket_path ... ok
[INFO] [stdout] test projects::tests::project_name_is_inferred_from_dir_when_missing ... ok
[INFO] [stdout] test state::tests::retain_window_binding_keeps_tmux_binding_when_niri_window_is_gone ... ok
[INFO] [stdout] test projects::tests::configured_projects_are_deduplicated_in_order ... ok
[INFO] [stdout] test state::tests::load_from_path_returns_parse_error_for_invalid_json ... ok
[INFO] [stdout] test state::tests::retain_window_binding_keeps_tmux_binding_when_tmux_probe_fails ... ok
[INFO] [stdout] test state::tests::cleanup_stale_drops_session_when_known_window_ids_are_all_invalid ... ok
[INFO] [stdout] test daemon::tests::refresh_transcript_derived_states_clears_answered_question_waiting ... ok
[INFO] [stdout] test state::tests::session_state_deserializes_legacy_lowercase_strings ... ok
[INFO] [stdout] test state::tests::session_state_treats_unknown_values_as_unknown ... ok
[INFO] [stdout] test daemon::tests::refresh_transcript_derived_states_keeps_unanswered_question_waiting ... ok
[INFO] [stdout] test state::tests::store_uses_niri_windows_checks_sessions ... ok
[INFO] [stdout] test daemon::tests::cache_reload_loads_sessions_from_state_file ... ok
[INFO] [stdout] test state::tests::store_uses_tmux_windows_checks_sessions ... ok
[INFO] [stdout] test daemon::tests::daemon_instance_lock_rejects_second_holder ... ok
[INFO] [stdout] test daemon::tests::socket_protocol_returns_structured_error_for_malformed_request ... ok
[INFO] [stdout] test state::tests::save_to_path_round_trips_without_leaking_temp_files ... ok
[INFO] [stdout] test daemon::tests::socket_protocol_ping_returns_pid ... ok
[INFO] [stdout] test daemon::tests::session_start_without_explicit_niri_id_does_not_bind_focused_window ... ok
[INFO] [stdout] test daemon::tests::agent_hooks_persist_live_state_and_binding ... ok
[INFO] [stdout] test daemon::tests::stop_without_any_transcript_path_defaults_to_idle ... ok
[INFO] [stdout] test daemon::tests::socket_protocol_handles_large_track_request_and_list_round_trip ... ok
[INFO] [stdout] test daemon::tests::prompt_submit_backfills_binding_when_missing ... ok
[INFO] [stdout] test daemon::tests::stop_without_event_transcript_path_falls_back_to_session_transcript_path ... ok
[INFO] [stdout] test tmux::tests::cap_triggers_when_height_exceeds_max_lines ... ok
[INFO] [stdout] test tmux::tests::duplicate_project_names_are_deduplicated_in_order ... ok
[INFO] [stdout] test tmux::tests::ignore_list_wins_even_for_prioritized_projects ... ok
[INFO] [stdout] test tmux::tests::interleaved_height_basic ... ok
[INFO] [stdout] test tmux::tests::interleaved_height_many_groups_with_separators ... ok
[INFO] [stdout] test tmux::tests::interleaved_height_uneven ... ok
[INFO] [stdout] test tmux::tests::interleaved_height_with_cap ... ok
[INFO] [stdout] test tmux::tests::invalid_projects_toml_falls_back_to_default_behavior ... ok
[INFO] [stdout] test tmux::tests::non_project_sessions_are_sorted_alphabetically ... ok
[INFO] [stdout] test tmux::tests::numeric_tmux_sessions_are_kept_when_not_ignored ... ok
[INFO] [stdout] test tmux::tests::project_with_name_only_defaults_dir_to_home ... ok
[INFO] [stdout] test tmux::tests::visible_len_strips_ansi_escapes ... ok
[INFO] [stdout] test tmux::tests::pad_visible_pads_based_on_visible_width ... ok
[INFO] [stdout] test tmux::tests::projects_toml_drives_tmux_order_and_filtering ... ok
[INFO] [stdout] test state::tests::with_locked_store_persists_mutations ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 49 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bbbce690df1600796d77c8b7d17226c40f561a9d83f693bfd862956ff6158867", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbbce690df1600796d77c8b7d17226c40f561a9d83f693bfd862956ff6158867", kill_on_drop: false }`
[INFO] [stdout] bbbce690df1600796d77c8b7d17226c40f561a9d83f693bfd862956ff6158867
