running 33 tests test constructor_and_attach_capacity_return_same_actual_resources ... ok test changed_actual_capture_before_commit_refuses_publication ... ok test duplicate_deferred_episode_and_target_retire_refuse ... ok test before_switch_returns_same_dispatch_and_unchanged_metadata ... ok test failed_abort_retains_prepared_and_bindings ... ok test deferred_prepare_failure_retains_original_episode_and_actual_owner ... ok test after_switch_retains_both_bindings_prepared_and_source_capture ... ok test failed_pin_release_retains_same_binding_and_refuses_reuse ... ok test finish_failure_is_after_switch_quarantine ... ok test changed_cpu_or_daif_before_commit_returns_original_dispatch ... ok test foreign_context_bank_handle_never_selects_matching_slot_generation ... ok test actual_sleep_episode_wakes_then_saved_context_runs_without_reset ... ok test capture_episode_consumes_only_on_success_and_uncertain_episode_is_retained ... ok test os_context_switch_callee_saved_negative ... ok test critical_or_unsafe_idle_refuses_with_same_real_wait_owner ... ok test idle_abort_failure_keeps_exact_actual_wait_in_quarantine ... ok test idle_changed_context_returns_same_actual_wait_before_handoff ... ok test idle_before_failure_preserves_same_episode_and_wake_authority ... ok test os_context_switch_callee_saved_positive ... ok test os_context_switch_preempt_negative ... ok test guard_canary_stack_alignment_and_capture_address_refuse_before_prepare ... ok test os_context_switch_idle_negative ... ok test os_context_switch_simd_negative ... ok test os_context_switch_idle_positive ... ok test retained_actual_ready_thread_prevents_idle ... ok test os_context_switch_preempt_positive ... ok test stale_same_thread_intact_capture_is_not_the_current_handoff ... ok test retire_requires_dead_different_stack_and_releases_actual_pin_then_stack ... ok test os_context_switch_simd_positive ... ok test malformed_timer_origin_status_and_every_frame_owner_field_refuse ... ok test idle_after_failure_and_bad_atomic_receipt_retain_wake_custody ... ok test corrupted_restored_callee_simd_fpcr_and_timer_fail_closed ... ok test thousand_modeled_switches_preserve_all_registers_and_inventory ... ok test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s Compiling turkos-os-exceptions v0.1.0 (/os-exceptions) Compiling turkos-os-threads v0.1.0 (/os-threads) Compiling turkos-os-context-switch v0.1.0 (/os-context-switch) Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s Running tests/context.rs (reports/os-implementation/K1021-K1039-preparation-EkLAoy/target/debug/build/turkos-os-context-switch/e772bbf0cffe2a0a/out/context-e772bbf0cffe2a0a)