[INFO] fetching crate bmux_server 0.0.1-alpha.0...
[INFO] testing bmux_server-0.0.1-alpha.0 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] extracting crate bmux_server 0.0.1-alpha.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate bmux_server 0.0.1-alpha.0
[INFO] finished tweaking crates.io crate bmux_server 0.0.1-alpha.0
[INFO] tweaked toml for crates.io crate bmux_server 0.0.1-alpha.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate bmux_server 0.0.1-alpha.0 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate bmux_server 0.0.1-alpha.0 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded portable-pty v0.9.0
[INFO] [stderr]   Downloaded bmux_terminal v0.0.1-alpha.0
[INFO] [stderr]   Downloaded bmux_terminal_models v0.0.1-alpha.0
[INFO] [stderr]   Downloaded bmux_session v0.0.1-alpha.0
[INFO] [stderr]   Downloaded bmux_ipc v0.0.1-alpha.0
[INFO] [stderr]   Downloaded bmux_event_models v0.0.1-alpha.0
[INFO] [stderr]   Downloaded bmux_config v0.0.1-alpha.0
[INFO] [stderr]   Downloaded bmux_session_models v0.0.1-alpha.0
[INFO] [stderr]   Downloaded bmux_event v0.0.1-alpha.0
[INFO] [stderr]   Downloaded serial2 v0.2.34
[INFO] [stderr]   Downloaded nix v0.28.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b5457641b7608986ba83e6faa8fe2ea300a7ce92472ba2f18f7eddf395337bec
[INFO] running `Command { std: "docker" "start" "-a" "b5457641b7608986ba83e6faa8fe2ea300a7ce92472ba2f18f7eddf395337bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b5457641b7608986ba83e6faa8fe2ea300a7ce92472ba2f18f7eddf395337bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5457641b7608986ba83e6faa8fe2ea300a7ce92472ba2f18f7eddf395337bec", kill_on_drop: false }`
[INFO] [stdout] b5457641b7608986ba83e6faa8fe2ea300a7ce92472ba2f18f7eddf395337bec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1bcf449b76aff6a373512b2c339510019b784dec3e1a191cfcb68a2dd1537d4e
[INFO] running `Command { std: "docker" "start" "-a" "1bcf449b76aff6a373512b2c339510019b784dec3e1a191cfcb68a2dd1537d4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling winnow v0.7.11
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling serial2 v0.2.34
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling uuid v1.21.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling filedescriptor v0.8.3
[INFO] [stderr]    Compiling portable-pty v0.9.0
[INFO] [stderr]    Compiling cobs v0.3.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling bmux_session_models v0.0.1-alpha.0
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling postcard v1.1.3
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling bmux_terminal_models v0.0.1-alpha.0
[INFO] [stderr]    Compiling bmux_session v0.0.1-alpha.0
[INFO] [stderr]    Compiling bmux_ipc v0.0.1-alpha.0
[INFO] [stderr]    Compiling bmux_event_models v0.0.1-alpha.0
[INFO] [stderr]    Compiling bmux_event v0.0.1-alpha.0
[INFO] [stderr]    Compiling bmux_terminal v0.0.1-alpha.0
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling bmux_config v0.0.1-alpha.0
[INFO] [stderr]    Compiling bmux_server v0.0.1-alpha.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.60s
[INFO] running `Command { std: "docker" "inspect" "1bcf449b76aff6a373512b2c339510019b784dec3e1a191cfcb68a2dd1537d4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bcf449b76aff6a373512b2c339510019b784dec3e1a191cfcb68a2dd1537d4e", kill_on_drop: false }`
[INFO] [stdout] 1bcf449b76aff6a373512b2c339510019b784dec3e1a191cfcb68a2dd1537d4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3bb0ccf1900395839cf33704516f529e58600a3e8463bb405e580122bd81e40
[INFO] running `Command { std: "docker" "start" "-a" "f3bb0ccf1900395839cf33704516f529e58600a3e8463bb405e580122bd81e40", kill_on_drop: false }`
[INFO] [stderr]    Compiling bmux_server v0.0.1-alpha.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.39s
[INFO] running `Command { std: "docker" "inspect" "f3bb0ccf1900395839cf33704516f529e58600a3e8463bb405e580122bd81e40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3bb0ccf1900395839cf33704516f529e58600a3e8463bb405e580122bd81e40", kill_on_drop: false }`
[INFO] [stdout] f3bb0ccf1900395839cf33704516f529e58600a3e8463bb405e580122bd81e40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 52199d9c666ce69fced61370778f0652634c9eee6f483cbae16b7d9ad71b9a1a
[INFO] running `Command { std: "docker" "start" "-a" "52199d9c666ce69fced61370778f0652634c9eee6f483cbae16b7d9ad71b9a1a", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bmux_server-f044ba76b4049eaf)
[INFO] [stdout] 
[INFO] [stdout] running 42 tests
[INFO] [stdout] test persistence::tests::decode_rejects_invalid_references ... ok
[INFO] [stdout] test persistence::tests::snapshot_roundtrip_with_stable_ids ... ok
[INFO] [stdout] test persistence::tests::decode_rejects_unknown_version ... ok
[INFO] [stdout] test tests::handshake_rejects_version_mismatch ... ok
[INFO] [stdout] test tests::list_clients_reports_connected_clients ... ok
[INFO] [stdout] test tests::handshake_accepts_current_protocol_version ... ok
[INFO] [stdout] test tests::detach_keeps_runtime_alive_and_allows_reattach ... ok
[INFO] [stdout] test tests::killing_last_window_removes_session ... ok
[INFO] [stdout] test tests::attach_open_rejects_expired_token ... ok
[INFO] [stdout] test tests::attach_open_rejects_invalid_token ... ok
[INFO] [stdout] test tests::list_clients_reports_follow_relationships ... ok
[INFO] [stdout] test tests::resolve_session_id_allows_short_unique_prefixes_without_minimum ... ok
[INFO] [stdout] test tests::event_subscription_reports_lifecycle_order ... ok
[INFO] [stdout] test tests::grant_writer_role_allows_attach_input ... ok
[INFO] [stdout] test tests::non_owner_cannot_mutate_session_or_windows ... ok
[INFO] [stdout] test tests::allows_second_attach_for_same_session_with_read_only_input ... ok
[INFO] [stdout] test tests::resolve_session_id_matches_exact_uuid_string ... ok
[INFO] [stdout] test tests::resolve_session_id_picks_first_match_for_ambiguous_prefix ... ok
[INFO] [stdout] test tests::resolve_session_id_prefers_exact_name_before_uuid_fallbacks ... ok
[INFO] [stdout] test tests::server_stop_request_triggers_shutdown ... ok
[INFO] [stdout] test tests::rapid_grant_revoke_toggles_attach_input_permissions ... ok
[INFO] [stdout] test tests::detach_uses_active_stream_session_when_follow_updates_selected_session ... ok
[INFO] [stdout] test tests::observer_remains_read_only_across_follow_target_changes ... ok
[INFO] [stdout] test tests::owner_transfer_allows_new_owner_mutations ... ok
[INFO] [stdout] test tests::server_stop_while_attached_cleans_runtime_state ... ok
[INFO] [stdout] test tests::reattach_uses_current_active_window ... ok
[INFO] [stdout] test tests::owner_transfer_during_follow_attach_preserves_control_rules ... ok
[INFO] [stdout] test tests::supports_attach_detach_and_kill ... ok
[INFO] [stdout] test tests::attach_io_routes_through_active_window ... ok
[INFO] [stdout] test tests::owner_disconnect_promotes_writer ... ok
[INFO] [stdout] test tests::supports_new_session_and_list_sessions ... ok
[INFO] [stdout] test tests::restore_dry_run_reports_checksum_failure ... ok
[INFO] [stdout] test tests::switch_window_name_not_found_includes_lookup_chain ... ok
[INFO] [stdout] test tests::switch_window_accepts_uuid_prefix_via_name_selector ... ok
[INFO] [stdout] test tests::window_lifecycle_supports_create_list_switch_and_kill ... ok
[INFO] [stdout] test tests::restore_apply_replaces_current_state ... ok
[INFO] [stdout] test tests::restores_sessions_windows_and_roles_from_snapshot ... ok
[INFO] [stdout] test tests::switch_window_name_selector_prefers_exact_name ... ok
[INFO] [stdout] test tests::switch_window_empty_prefix_picks_first_match_deterministically ... ok
[INFO] [stdout] test tests::global_follow_updates_control_plane_without_rebinding_attach_stream ... ok
[INFO] [stdout] test tests::leader_disconnect_emits_follow_target_gone ... ok
[INFO] [stdout] test tests::rapid_leader_session_switches_emit_multiple_follow_target_changes ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests bmux_server
[INFO] [stdout] 
[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] running `Command { std: "docker" "inspect" "52199d9c666ce69fced61370778f0652634c9eee6f483cbae16b7d9ad71b9a1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52199d9c666ce69fced61370778f0652634c9eee6f483cbae16b7d9ad71b9a1a", kill_on_drop: false }`
[INFO] [stdout] 52199d9c666ce69fced61370778f0652634c9eee6f483cbae16b7d9ad71b9a1a
