running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 4 tests test os_shutdown_io_flush_invalid_fault_inputs ... ok test os_shutdown_io_flush_positive ... ok test os_shutdown_io_flush_negative ... ok test os_shutdown_io_flush_order_and_process_quit_separation ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 4 tests test complete_plan_is_validated_before_the_first_write ... ok test ordered_writes_and_completed_barriers_issue_receipt ... ok test open_and_partly_drained_gate_issue_no_storage_commands ... ok test every_write_and_flush_failure_withholds_clean_and_stops_io ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 4 tests test unquiesced_and_invalid_plan_never_reach_device ... ok test authorized_actual_flush_is_required_before_clean_claim ... ok test other_pid_and_stale_generation_cannot_submit_or_claim ... ok test every_device_failure_is_terminal_without_clean_receipt ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 10 tests test actual_commands_and_fresh_observations_precede_release ... ok test partial_release_error_reports_unknown_and_never_double_frees ... ok test invalid_resources_and_drop_cannot_release_pages ... ok test allocator_accounting_cannot_be_fabricated_or_overflowed ... ok test expired_deadlines_cannot_submit_more_commands ... ok test reset_readback_must_keep_irq_threads_and_dma_quiet ... ok test wrong_owner_and_stale_generation_cannot_touch_backend ... ok test successful_return_without_physical_effect_cannot_advance ... ok test every_io_error_and_timeout_stops_without_retry_or_receipt ... ok test identity_changes_are_rejected_at_every_readback ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 3 tests test os_shutdown_io_leases_validation_and_capacity ... ok test os_shutdown_io_leases_positive ... ok test os_shutdown_io_leases_negative ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 4 tests test os_shutdown_io_quiesce_immediate_when_empty_and_no_double_quiesce ... ok test os_shutdown_io_quiesce_validation_and_capacity ... ok test os_shutdown_io_quiesce_negative ... ok test os_shutdown_io_quiesce_positive ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Compiling turkos-os-shutdown-io v0.1.0 (/reports/os-implementation/K2155-lease-io-preparation-7s7xz6v0/source) warning: constant `EIO` is never used --> tests/../src/flush.rs:8:11 | 8 | pub const EIO: u64 = 5; | ^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: constant `ETIMEDOUT` is never used --> tests/../src/flush.rs:9:11 | 9 | pub const ETIMEDOUT: u64 = 110; | ^^^^^^^^^ warning: variants `IoError` and `Timeout` are never constructed --> tests/../src/flush.rs:25:5 | 23 | pub enum Fault { | ----- variants in this enum 24 | None = 0, 25 | IoError = 1, | ^^^^^^^ 26 | Timeout = 2, | ^^^^^^^ | = note: `Fault` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis warning: variant `DegradedAbort` is never constructed --> tests/../src/flush.rs:37:5 | 31 | pub enum Phase { | ----- variant in this enum ... 37 | DegradedAbort = 5, | ^^^^^^^^^^^^^ | = note: `Phase` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis warning: variants `IoError` and `Timeout` are never constructed --> tests/../src/flush.rs:46:5 | 42 | pub enum Error { | ----- variants in this enum ... 46 | IoError = 4, | ^^^^^^^ 47 | Timeout = 5, | ^^^^^^^ | = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis warning: method `inject_fault` is never used --> tests/../src/flush.rs:178:12 | 88 | impl FlushCoordinator { | --------------------- method in this implementation ... 178 | pub fn inject_fault(&mut self, stage: Stage, fault: Fault) -> Result { | ^^^^^^^^^^^^ warning: constant `ESHUTDOWN` is never used --> tests/../src/quiesce.rs:9:11 | 9 | pub const ESHUTDOWN: u64 = 108; | ^^^^^^^^^ warning: variants `Shutdown`, `Capacity`, and `InvalidWrite` are never constructed --> tests/../src/quiesce.rs:22:5 | 21 | pub enum Error { | ----- variants in this enum 22 | Shutdown = 1, | ^^^^^^^^ 23 | Capacity = 2, | ^^^^^^^^ 24 | InvalidWrite = 3, | ^^^^^^^^^^^^ | = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis warning: struct `CompletedWrite` is never constructed --> tests/../src/quiesce.rs:30:12 | 30 | pub struct CompletedWrite { | ^^^^^^^^^^^^^^ warning: methods `admit_write`, `complete_write`, and `completed_record` are never used --> tests/../src/quiesce.rs:103:12 | 75 | impl QuiesceGate { | ---------------- methods in this implementation ... 103 | pub fn admit_write(&mut self, client_id: u64, bytes: u32, digest: u64) -> Result { | ^^^^^^^^^^^ ... 141 | pub fn complete_write(&mut self, write_id: u64) -> Result { | ^^^^^^^^^^^^^^ ... 167 | pub fn completed_record(&self, write_id: u64) -> Result { | ^^^^^^^^^^^^^^^^ warning: `turkos-os-shutdown-io` (test "flush_session") generated 10 warnings Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s Running unittests src/lib.rs (reports/os-implementation/K2155-lease-io-preparation-7s7xz6v0/cargo-target/debug/build/turkos-os-shutdown-io/5457a1990d53bcc5/out/turkos_os_shutdown_io-5457a1990d53bcc5) Running tests/flush.rs (reports/os-implementation/K2155-lease-io-preparation-7s7xz6v0/cargo-target/debug/build/turkos-os-shutdown-io/adad065d7450c5bc/out/flush-adad065d7450c5bc) Running tests/flush_io.rs (reports/os-implementation/K2155-lease-io-preparation-7s7xz6v0/cargo-target/debug/build/turkos-os-shutdown-io/769b7f1e7a9b6b70/out/flush_io-769b7f1e7a9b6b70) Running tests/flush_session.rs (reports/os-implementation/K2155-lease-io-preparation-7s7xz6v0/cargo-target/debug/build/turkos-os-shutdown-io/c33c4e9eb57ae785/out/flush_session-c33c4e9eb57ae785) Running tests/lease_io.rs (reports/os-implementation/K2155-lease-io-preparation-7s7xz6v0/cargo-target/debug/build/turkos-os-shutdown-io/f058443c7c97fd50/out/lease_io-f058443c7c97fd50) Running tests/leases.rs (reports/os-implementation/K2155-lease-io-preparation-7s7xz6v0/cargo-target/debug/build/turkos-os-shutdown-io/a074b98138725522/out/leases-a074b98138725522) Running tests/quiesce.rs (reports/os-implementation/K2155-lease-io-preparation-7s7xz6v0/cargo-target/debug/build/turkos-os-shutdown-io/f0b2c56a0d74b4dc/out/quiesce-f0b2c56a0d74b4dc) Doc-tests turkos_os_shutdown_io