[INFO] cloning repository https://github.com/hectormiguel1/workshop-extension-sdk
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hectormiguel1/workshop-extension-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhectormiguel1%2Fworkshop-extension-sdk"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhectormiguel1%2Fworkshop-extension-sdk'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 73e4d13b512508c3e72c98eef44c2ea61c1111fe
[INFO] testing hectormiguel1/workshop-extension-sdk against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhectormiguel1%2Fworkshop-extension-sdk" "/workspace/builds/worker-4-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hectormiguel1/workshop-extension-sdk
[INFO] finished tweaking git repo https://github.com/hectormiguel1/workshop-extension-sdk
[INFO] tweaked toml for git repo https://github.com/hectormiguel1/workshop-extension-sdk written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hectormiguel1/workshop-extension-sdk on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/hectormiguel1/workshop-extension-sdk already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: unused field `license` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | license = "MIT OR Apache-2.0"
[INFO] [stderr]    | ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_workspace_package_fields` is set to `warn` by default
[INFO] [stderr] help: consider removing the field `workspace.package.license`
[INFO] [stderr] warning: unused field `repository` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | repository = "https://github.com/hectormiguel1/workshop-extension-sdk"
[INFO] [stderr]    | ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the field `workspace.package.repository`
[INFO] [stderr] warning: unused field `rust-version` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:20:1
[INFO] [stderr]    |
[INFO] [stderr] 20 | rust-version = "1.89"
[INFO] [stderr]    | ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the field `workspace.package.rust-version`
[INFO] [stderr] warning: workspace (manifest) generated 3 warnings
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sealed v0.6.0
[INFO] [stderr]   Downloaded typed-builder v0.23.2
[INFO] [stderr]   Downloaded smart-default v0.7.1
[INFO] [stderr]   Downloaded gherkin v0.16.0
[INFO] [stderr]   Downloaded peg-runtime v0.6.3
[INFO] [stderr]   Downloaded peg v0.6.3
[INFO] [stderr]   Downloaded cucumber-expressions v0.5.0
[INFO] [stderr]   Downloaded synthez v0.4.0
[INFO] [stderr]   Downloaded synthez-codegen v0.4.0
[INFO] [stderr]   Downloaded typed-builder-macro v0.23.2
[INFO] [stderr]   Downloaded smawk v0.3.3
[INFO] [stderr]   Downloaded peg-macros v0.6.3
[INFO] [stderr]   Downloaded synthez-core v0.4.0
[INFO] [stderr]   Downloaded textwrap v0.16.4
[INFO] [stderr]   Downloaded cucumber-codegen v0.23.0
[INFO] [stderr]   Downloaded cucumber v0.23.0
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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] be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9
[INFO] running `"docker" "start" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9"`
[INFO] running `"docker" "inspect" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9"`
[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" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9"`
[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" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: unused field `license` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | license = "MIT OR Apache-2.0"
[INFO] [stderr]    | ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_workspace_package_fields` is set to `warn` by default
[INFO] [stderr] help: consider removing the field `workspace.package.license`
[INFO] [stderr] warning: unused field `repository` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | repository = "https://github.com/hectormiguel1/workshop-extension-sdk"
[INFO] [stderr]    | ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the field `workspace.package.repository`
[INFO] [stderr] warning: unused field `rust-version` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:20:1
[INFO] [stderr]    |
[INFO] [stderr] 20 | rust-version = "1.89"
[INFO] [stderr]    | ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the field `workspace.package.rust-version`
[INFO] [stderr] warning: workspace (manifest) generated 3 warnings
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling workshop-ext-sdk-derive v0.1.0 (/opt/rustwide/workdir/crates/workshop-ext-sdk-derive)
[INFO] [stderr]    Compiling workshop-ext-sdk v0.1.0 (/opt/rustwide/workdir/crates/workshop-ext-sdk)
[INFO] [stderr]    Compiling hello-unit v0.1.0 (/opt/rustwide/workdir/examples/hello-unit)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 12.46s
[INFO] running `"docker" "inspect" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9"`
[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" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr] warning: unused field `license` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | license = "MIT OR Apache-2.0"
[INFO] [stderr]    | ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_workspace_package_fields` is set to `warn` by default
[INFO] [stderr] help: consider removing the field `workspace.package.license`
[INFO] [stderr] warning: unused field `repository` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | repository = "https://github.com/hectormiguel1/workshop-extension-sdk"
[INFO] [stderr]    | ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the field `workspace.package.repository`
[INFO] [stderr] warning: unused field `rust-version` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:20:1
[INFO] [stderr]    |
[INFO] [stderr] 20 | rust-version = "1.89"
[INFO] [stderr]    | ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the field `workspace.package.rust-version`
[INFO] [stderr] warning: workspace (manifest) generated 3 warnings
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling writeable v0.6.4
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling litemap v0.8.3
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.23
[INFO] [stderr]    Compiling icu_locale_fallback_data v2.3.0
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling rustix v1.1.5
[INFO] [stderr]    Compiling icu_segmenter_data v2.3.0
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling icu_locale_core v2.3.0
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.21
[INFO] [stderr]    Compiling icu_locale_fallback v2.3.0
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling bstr v1.13.1
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling sealed v0.6.0
[INFO] [stderr]    Compiling workshop-ext-sdk-derive v0.1.0 (/opt/rustwide/workdir/crates/workshop-ext-sdk-derive)
[INFO] [stderr]    Compiling synthez-core v0.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.34
[INFO] [stderr]    Compiling either v1.19.0
[INFO] [stderr]    Compiling thiserror v2.0.21
[INFO] [stderr]    Compiling futures-io v0.3.34
[INFO] [stderr]    Compiling peg-runtime v0.6.3
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling bytecount v0.6.9
[INFO] [stderr]    Compiling smallvec v1.16.3
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling peg-macros v0.6.3
[INFO] [stderr]    Compiling icu_segmenter v2.3.0
[INFO] [stderr]    Compiling nom_locate v5.0.0
[INFO] [stderr]    Compiling globset v0.4.20
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling synthez-codegen v0.4.0
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling typed-builder-macro v0.23.2
[INFO] [stderr]    Compiling gherkin v0.16.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.8
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling terminal_size v0.4.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.21
[INFO] [stderr]    Compiling clap_lex v1.1.1
[INFO] [stderr]    Compiling smawk v0.3.3
[INFO] [stderr]    Compiling textwrap v0.16.4
[INFO] [stderr]    Compiling peg v0.6.3
[INFO] [stderr]    Compiling clap_builder v4.6.7
[INFO] [stderr]    Compiling typed-builder v0.23.2
[INFO] [stderr]    Compiling ignore v0.4.33
[INFO] [stderr]    Compiling futures-executor v0.3.34
[INFO] [stderr]    Compiling cucumber-expressions v0.5.0
[INFO] [stderr]    Compiling synthez v0.4.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling workshop-ext-sdk v0.1.0 (/opt/rustwide/workdir/crates/workshop-ext-sdk)
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]    Compiling clap_derive v4.6.7
[INFO] [stderr]    Compiling ref-cast-impl v1.0.27
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]    Compiling cucumber-codegen v0.23.0
[INFO] [stderr]    Compiling ref-cast v1.0.27
[INFO] [stderr]    Compiling pin-project v1.1.13
[INFO] [stderr]    Compiling globwalk v0.9.1
[INFO] [stderr]    Compiling console v0.16.6
[INFO] [stderr]    Compiling futures v0.3.34
[INFO] [stderr]    Compiling clap v4.6.7
[INFO] [stderr]    Compiling smart-default v0.7.1
[INFO] [stderr]    Compiling humantime v2.4.0
[INFO] [stderr]    Compiling inventory v0.3.25
[INFO] [stderr]    Compiling cucumber v0.23.0
[INFO] [stderr]    Compiling hello-unit v0.1.0 (/opt/rustwide/workdir/examples/hello-unit)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3m 28s
[INFO] running `"docker" "inspect" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9"`
[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" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unused field `license` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | license = "MIT OR Apache-2.0"
[INFO] [stderr]    | ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_workspace_package_fields` is set to `warn` by default
[INFO] [stderr] help: consider removing the field `workspace.package.license`
[INFO] [stderr] warning: unused field `repository` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | repository = "https://github.com/hectormiguel1/workshop-extension-sdk"
[INFO] [stderr]    | ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the field `workspace.package.repository`
[INFO] [stderr] warning: unused field `rust-version` in `workspace.package`
[INFO] [stderr]   --> Cargo.toml:20:1
[INFO] [stderr]    |
[INFO] [stderr] 20 | rust-version = "1.89"
[INFO] [stderr]    | ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the field `workspace.package.rust-version`
[INFO] [stderr] warning: workspace (manifest) generated 3 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/hello-unit/2835d9131c25d9da/out/hello_unit-2835d9131c25d9da)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::refuses_other_games_and_builds ... ok
[INFO] [stdout] test tests::counts_sessions_and_registers_its_menu ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/workshop-ext-sdk/cc1724f6d3d797f1/out/workshop_ext_sdk-cc1724f6d3d797f1)
[INFO] [stdout] 
[INFO] [stdout] running 81 tests
[INFO] [stdout] test abi::tests::games_have_names ... ok
[INFO] [stdout] test header::parser_handles_every_declaration_form ... ok
[INFO] [stdout] test abi::tests::read_copies_only_the_advertised_size ... ok
[INFO] [stdout] test host::tests::files_are_read_bounded_and_statuses_reported ... ok
[INFO] [stdout] test abi::tests::every_constant_matches_the_headers ... ok
[INFO] [stdout] test host::tests::host_validates_before_reading_and_exposes_the_context ... ok
[INFO] [stdout] test abi::tests::x86_sizes_and_static_asserts_match_the_headers ... ok
[INFO] [stdout] test abi::tests::the_text_extension_matches_the_host_rust_contract ... ok
[INFO] [stdout] test hooks::tests::a_failed_create_or_enable_rolls_everything_back ... ok
[INFO] [stdout] test hooks::tests::a_set_installs_enabled_with_trampolines ... ok
[INFO] [stdout] test host::tests::service_tables_are_size_and_version_guarded ... ok
[INFO] [stdout] test host::tests::requirements_are_checked_in_order ... ok
[INFO] [stdout] test host::tests::refusals_read_as_the_units_log_lines ... ok
[INFO] [stdout] test image::tests::bounds_and_addresses ... ok
[INFO] [stdout] test log::tests::formats_and_truncates_at_char_boundaries ... ok
[INFO] [stdout] test param::tests::set_clamps_and_reports_changes_once ... ok
[INFO] [stdout] test pe::tests::reads_export_names_and_checks_the_unit_pair ... ok
[INFO] [stdout] test packed::tests::the_derived_layout_is_the_warp_units ... ok
[INFO] [stdout] test packed::tests::trait_defaults_apply_to_minimal_records ... ok
[INFO] [stdout] test param::tests::flags_and_menu_values ... ok
[INFO] [stdout] test per_save::tests::a_conflict_on_the_first_write_or_a_write_error_stops_persisting ... ok
[INFO] [stdout] test per_save::tests::a_flush_failure_is_logged_and_the_write_kept ... ok
[INFO] [stdout] test abi::tests::every_mirrored_struct_matches_the_c_headers ... ok
[INFO] [stdout] test per_save::tests::a_failed_save_discards_its_capture_and_unknown_operations_are_ignored ... ok
[INFO] [stdout] test packed::tests::malformed_records_are_refused ... ok
[INFO] [stdout] test packed::tests::records_match_the_golden_bytes ... ok
[INFO] [stdout] test param::tests::params_also_build_at_run_time ... ok
[INFO] [stdout] test per_save::tests::a_new_game_keeps_memory_and_quitting_to_title_changes_nothing ... ok
[INFO] [stdout] test per_save::tests::captures_are_bounded_and_need_an_identity_and_an_operation ... ok
[INFO] [stdout] test per_save::tests::a_failed_import_batch_stops_persisting ... ok
[INFO] [stdout] test per_save::tests::checksums_and_hashes_are_the_documented_algorithms ... ok
[INFO] [stdout] test per_save::tests::a_revision_conflict_retries_once_when_the_header_is_unchanged ... ok
[INFO] [stdout] test per_save::tests::an_invalid_load_is_off_and_never_slot_zero ... ok
[INFO] [stdout] test per_save::tests::a_save_writes_the_slot_and_a_load_restores_it ... ok
[INFO] [stdout] test per_save::tests::foreign_regions_are_never_read_or_written ... ok
[INFO] [stdout] test per_save::tests::headers_round_trip_and_reject_damage ... ok
[INFO] [stdout] test per_save::tests::deferred_saves_wait_for_the_writer_and_a_load_finishes_them_first ... ok
[INFO] [stdout] test per_save::tests::process_start_is_defaults_off_and_menu_edits_stay_in_memory ... ok
[INFO] [stdout] test per_save::tests::profiles_are_kept_apart_up_to_the_directory_capacity ... ok
[INFO] [stdout] test per_save::tests::the_next_session_reads_the_stored_region ... ok
[INFO] [stdout] test per_save::tests::keys_need_a_valid_slot_and_profile_below_the_slot_count ... ok
[INFO] [stdout] test per_save::tests::the_import_seeds_a_fresh_region_once ... ok
[INFO] [stdout] test per_save::tests::records_larger_than_the_contract_are_refused ... ok
[INFO] [stdout] test per_save::tests::records_round_trip_and_reject_other_slots_versions_and_damage ... ok
[INFO] [stdout] test per_save::tests::stores_and_adapters_also_build_at_run_time ... ok
[INFO] [stdout] test per_save::tests::the_import_skips_profiles_past_capacity_and_nothing_to_import ... ok
[INFO] [stdout] test per_save::tests::unreadable_or_corrupt_records_load_as_defaults_off ... ok
[INFO] [stdout] test per_save::tests::unsupported_shapes_no_service_and_host_errors ... ok
[INFO] [stdout] test save_events::tests::raw_services_copy_the_table ... ok
[INFO] [stdout] test save_events::tests::handlers_receive_events_and_panics_are_contained ... ok
[INFO] [stdout] test per_save::tests::the_params_adapter_packs_values_and_restores_through_set ... ok
[INFO] [stdout] test settings::tests::a_param_checkbox_needs_a_flag - should panic ... ok
[INFO] [stdout] test settings::tests::a_built_provider_is_the_v1_wire_layout ... ok
[INFO] [stdout] test settings::tests::a_param_combo_needs_one_option_per_value - should panic ... ok
[INFO] [stdout] test settings::tests::callbacks_convert_round_clamp_and_contain_panics ... ok
[INFO] [stdout] test settings::tests::menu_strings_list_what_an_adapter_looks_up ... ok
[INFO] [stdout] test save_events::tests::kinds_and_masks ... ok
[INFO] [stdout] test per_save::tests::the_writer_thread_sleeps_until_a_save_is_queued ... ok
[INFO] [stdout] test settings::tests::raw_registries_and_option_lists ... ok
[INFO] [stdout] test settings::tests::the_macro_answers_matching_queries_and_registers ... ok
[INFO] [stdout] test per_save::tests::a_large_import_goes_out_in_bounded_batches ... ok
[INFO] [stdout] test sites::tests::classify_matches_the_shared_head_policy ... ok
[INFO] [stdout] test sites::tests::only_call_sites_admit_a_foreign_detour ... ok
[INFO] [stdout] test sites::tests::problems_and_bytes_display ... ok
[INFO] [stdout] test sites::tests::verify_reports_problems_and_accepted_detours ... ok
[INFO] [stdout] test storage::tests::host_failures_are_reported ... ok
[INFO] [stdout] test settings::tests::a_param_slider_needs_a_step - should panic ... ok
[INFO] [stdout] test storage::tests::ids_are_validated ... ok
[INFO] [stdout] test texts::tests::json_lines_escape_and_skip_unknown_sources ... ok
[INFO] [stdout] test texts::tests::problems_report_missing_empty_and_placeholder_drift ... ok
[INFO] [stdout] test texts::tests::required_lists_the_short_name_menu_and_runtime_texts ... ok
[INFO] [stdout] test texts::tests::keys_are_the_menu_adapter_hash ... ok
[INFO] [stdout] test settings::tests::malformed_descriptors_fail_loudly ... ok
[INFO] [stdout] test texts::tests::placeholders_are_sorted_digits ... ok
[INFO] [stdout] test texts::tests::missing_in_reads_a_text_dump ... ok
[INFO] [stdout] test storage::tests::raw_registration_copies_the_table ... ok
[INFO] [stdout] test storage::tests::regions_read_absent_until_written_then_round_trip ... ok
[INFO] [stdout] test unit::tests::errors_and_panics_become_host_codes ... ok
[INFO] [stdout] test settings::tests::param_controls_read_and_write_their_params ... ok
[INFO] [stdout] test unit::tests::the_exports_validate_run_and_shut_down ... ok
[INFO] [stdout] test unit::tests::the_init_scope_hands_out_init_only_services ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 81 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/features.rs (/opt/rustwide/target/release/build/workshop-ext-sdk/1fed1876570902cd/out/features-1fed1876570902cd)
[INFO] [stdout] Feature: All-or-nothing hook installs
[INFO] [stdout]   Scenario: A hook set installs enabled with trampolines
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the unit installs 3 hooks
[INFO] [stdout]    ✔  Then 3 hooks are enabled and each detour holds its trampoline
[INFO] [stdout]    ✔  And disabling, enabling and removing a hook reach the host
[INFO] [stdout]   Scenario: A failed creation rolls back what was created
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  And the host fails the 3rd hook creation
[INFO] [stdout]    ✔  When the unit installs 3 hooks
[INFO] [stdout]    ✔  Then the install fails with "hook create failed at 0x403000 (status -6); removed 2 hook(s)"
[INFO] [stdout]    ✔  And no hook remains and every trampoline is cleared
[INFO] [stdout]   Scenario: A failed enable rolls back every hook
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  And the host fails enabling the 2nd hook
[INFO] [stdout]    ✔  When the unit installs 3 hooks
[INFO] [stdout]    ✔  Then the install fails with "hook enable failed at 0x402000 (status -6); removed 3 hook(s)"
[INFO] [stdout]    ✔  And no hook remains and every trampoline is cleared
[INFO] [stdout]   Scenario: A null trampoline is a failed creation
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  And the host hands back null trampolines
[INFO] [stdout]    ✔  When the unit installs 3 hooks
[INFO] [stdout]    ✔  Then the install fails with "hook create failed at 0x401000 (status -6); removed 0 hook(s)"
[INFO] [stdout]   Scenario: Hook services must all be present
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the context's hook_create is null
[INFO] [stdout]    ✔  Then hooks can be controlled but not created
[INFO] [stdout] Feature: Host context validation and services
[INFO] [stdout]   Scenario Outline: Unusable contexts are refused with the unit's log text
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the context's pointer is null
[INFO] [stdout]    ✔  Then the context is refused with "host context is null"
[INFO] [stdout]   Scenario Outline: Unusable contexts are refused with the unit's log text
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the context's version is 2
[INFO] [stdout]    ✔  Then the context is refused with "host ABI version 2 (need 1)"
[INFO] [stdout]   Scenario Outline: Unusable contexts are refused with the unit's log text
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the context's size is 8
[INFO] [stdout]    ✔  Then the context is refused with "host context size 8 is too small"
[INFO] [stdout]   Scenario Outline: Requirements are checked in order
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the context's game is 2
[INFO] [stdout]    ✔  Then requiring FINAL FANTASY XIII with log and VFS and an image fails with "game 2 is not FINAL FANTASY XIII"
[INFO] [stdout]   Scenario Outline: Requirements are checked in order
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the context's vfs_read is null
[INFO] [stdout]    ✔  Then requiring FINAL FANTASY XIII with log and VFS and an image fails with "host service vfs_read is missing"
[INFO] [stdout]   Scenario Outline: Requirements are checked in order
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the context's log is null
[INFO] [stdout]    ✔  Then requiring FINAL FANTASY XIII with log and VFS and an image fails with "host service log is missing"
[INFO] [stdout]   Scenario Outline: Requirements are checked in order
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the context's game_base is 0
[INFO] [stdout]    ✔  Then requiring FINAL FANTASY XIII with log and VFS and an image fails with "host context has no game image"
[INFO] [stdout]   Scenario: A complete context meets every requirement
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then every requirement is met
[INFO] [stdout]    ✔  And every service names its context field
[INFO] [stdout]   Scenario: Merged-container files are read within a limit
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  And the merged containers hold "vfx/x.xfv" with "package"
[INFO] [stdout]    ✔  Then reading "vfx/x.xfv" with a limit of 64 bytes gives "package"
[INFO] [stdout]    ✔  And reading "vfx/x.xfv" with a limit of 3 bytes is refused as too large (7 bytes)
[INFO] [stdout]    ✔  And reading "missing.bin" reports host status -2
[INFO] [stdout]    ✔  And a host whose read fails reports host status -3
[INFO] [stdout]    ✔  And a host without VFS services reports the read unavailable
[INFO] [stdout]   Scenario: Log lines reach the host at their levels
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the unit logs at every level
[INFO] [stdout]    ✔  Then the host received the lines "plain", "e 1", "w 2" and "i 3"
[INFO] [stdout]    ✔  And a context without a log drops lines silently
[INFO] [stdout]   Scenario: Service tables are guarded by size and version
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then storage, settings and save events are all advertised
[INFO] [stdout]    ✔  When the context's size is prefix
[INFO] [stdout]    ✔  Then storage, settings and save events are all absent
[INFO] [stdout]   Scenario Outline: Malformed service tables are refused
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the host advertises a storage table with version 2
[INFO] [stdout]    ✔  Then the service is refused with "storage service version/size"
[INFO] [stdout]   Scenario Outline: Malformed service tables are refused
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the host advertises a storage table with size 8
[INFO] [stdout]    ✔  Then the service is refused with "storage service version/size"
[INFO] [stdout]   Scenario Outline: Malformed service tables are refused
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the host advertises a storage table with no read_at
[INFO] [stdout]    ✔  Then the service is refused with "storage service table incomplete"
[INFO] [stdout]   Scenario Outline: Malformed service tables are refused
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the host advertises a settings table with no register_provider
[INFO] [stdout]    ✔  Then the service is refused with "settings service version/size"
[INFO] [stdout]   Scenario Outline: Malformed service tables are refused
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the host advertises a settings table with version 0
[INFO] [stdout]    ✔  Then the service is refused with "settings service version/size"
[INFO] [stdout]   Scenario Outline: Malformed service tables are refused
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the host advertises a settings table with size 4
[INFO] [stdout]    ✔  Then the service is refused with "settings service version/size"
[INFO] [stdout]   Scenario Outline: Malformed service tables are refused
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the host advertises a save events table with no register_callback
[INFO] [stdout]    ✔  Then the service is refused with "save events service version/size"
[INFO] [stdout]   Scenario Outline: Malformed service tables are refused
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the host advertises a save events table with version 7
[INFO] [stdout]    ✔  Then the service is refused with "save events service version/size"
[INFO] [stdout]   Scenario Outline: Malformed service tables are refused
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the host advertises a save events table with size 4
[INFO] [stdout]    ✔  Then the service is refused with "save events service version/size"
[INFO] [stdout]   Scenario: A stored host is found again after init
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then a host slot remembers the context until cleared
[INFO] [stdout]   Scenario: The context layout is the C header's
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then the x86 context offsets match the header's static assertions
[INFO] [stdout]    ✔  And a prefix-sized context reads its service tables as absent
[INFO] [stdout]   Scenario: Log lines are built on the stack without allocating
[INFO] [stdout]    ✔  Then a default line keeps 192 bytes of whole characters
[INFO] [stdout]    ✔  And a 3-byte line keeps "abc" of "abcd" and "e"
[INFO] [stdout] Feature: Packed storage records
[INFO] [stdout]   Scenario: The warp unit's options derive to the frozen layout
[INFO] [stdout]    ✔  Then the derived options layout equals the warp unit's schema 2 fields
[INFO] [stdout]   Scenario: Golden records decode and re-encode identically
[INFO] [stdout]    ✔  Then the default options encode to "0101000000be13000000000000000000"
[INFO] [stdout]    ✔  And the full options round-trip "012bc031c0d229e9ffffff7f0d000020000c080052657475726e4d61705365747a3130355f61726b00090a0052657475726e506f73312e35202d3220333030030504004f746865726b657074"
[INFO] [stdout]    ✔  And the schema 1 record "010a0000007c27803401000000000000" migrates to destination 5 and return zone 1234
[INFO] [stdout]    ✔  And an unknown schema is refused
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0201000000be13000000000000000000" is refused for another version
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be13" is refused for too short
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "010f000000be13000000000000000000" is refused for destination 15 above 11
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be13000000000000000080" is refused for a padding bit
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be130000000000000000000001" is refused for a truncated text header
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be13000000000000000000000300006162" is refused for a key past the end
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be13000000000000000000000105006162" is refused for a value past the end
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be130000000000000000000501000061" is refused for section 5
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be1300000000000000000000000000" is refused for an empty key
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be130000000000000000000001011061" is refused for a 4097-byte value
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be1300000000000000000000080000426174746c656964" is refused for a key naming a field
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be1300000000000000000000010000610001000041" is refused for a duplicate key
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be13000000000000000000000101006100" is refused for a NUL in a value
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be1300000000000000000000010000ff" is refused for a non-UTF-8 key
[INFO] [stdout]   Scenario Outline: Malformed records are refused
[INFO] [stdout]    ✔  Then the options record "0101000000be130000000000000000000001010061ff" is refused for a non-UTF-8 value
[INFO] [stdout]   Scenario: Encoding refuses what decoding would refuse
[INFO] [stdout]    ✔  Then encoding refuses short values, out-of-range values, bad or duplicate text, oversized and overlong records
[INFO] [stdout]    ✔  And a record failing its validity hook neither encodes nor decodes
[INFO] [stdout]    ✔  And an oversized record and too many text entries are refused on decode
[INFO] [stdout]   Scenario: Records without text or hooks use the trait defaults
[INFO] [stdout]    ✔  Then a minimal record packs to 2 bytes and back
[INFO] [stdout]    ✔  And invalid layouts are detected
[INFO] [stdout]    ✔  And every integer type converts
[INFO] [stdout] Feature: Per-save settings
[INFO] [stdout]   Scenario: Process start is off; menu edits stay in memory
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  Then the per-save store opened fresh
[INFO] [stdout]    ✔  And the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 7
[INFO] [stdout]    ✔  Then the per-save region is unwritten
[INFO] [stdout]   Scenario: A save keeps what SAVE_BEGIN captured; loads restore each slot
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 7
[INFO] [stdout]    ✔  And save operation 10 begins for slot 2 of profile 1
[INFO] [stdout]    ✔  And the menu sets Enabled on and Level 9
[INFO] [stdout]    ✔  And save operation 10 completes for slot 2 of profile 1
[INFO] [stdout]    ✔  Then the per-save event answered ok
[INFO] [stdout]    ✔  And slot 2 of profile 1 is stored on
[INFO] [stdout]    ✔  And the per-save store is ready
[INFO] [stdout]    ✔  And the per-save log mentions "slot 2 saved"
[INFO] [stdout]    ✔  When slot 5 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  And the per-save log mentions "slot 5 has no record: defaults, off"
[INFO] [stdout]    ✔  When slot 2 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled on, Level 7
[INFO] [stdout]    ✔  And the per-save log mentions "slot 2 restored (on)"
[INFO] [stdout]   Scenario: The next session reads the stored region
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 8
[INFO] [stdout]    ✔  And slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And the next session opens the stored region over 8 slots
[INFO] [stdout]    ✔  Then the per-save store opened stored
[INFO] [stdout]    ✔  And the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  When slot 0 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled on, Level 8
[INFO] [stdout]   Scenario: A failed save is discarded; unknown operations and kinds are ignored
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 4
[INFO] [stdout]    ✔  And save operation 20 begins for slot 1 of profile 1
[INFO] [stdout]    ✔  And save operation 20 fails for slot 1 of profile 1
[INFO] [stdout]    ✔  Then the per-save event answered ok
[INFO] [stdout]    ✔  And the per-save log mentions "slot 1 save failed; capture discarded"
[INFO] [stdout]    ✔  And the per-save region is unwritten
[INFO] [stdout]    ✔  When save operation 99 completes for slot 1 of profile 1
[INFO] [stdout]    ✔  Then the per-save event answered not-found
[INFO] [stdout]    ✔  And the per-save log mentions "save operation 99 unknown; ignored"
[INFO] [stdout]    ✔  When save operation 21 begins for slot 1 of profile 1
[INFO] [stdout]    ✔  And save operation 21 begins for slot 1 of profile 1
[INFO] [stdout]    ✔  Then the per-save event answered invalid
[INFO] [stdout]    ✔  When save operation 21 completes for slot 3 of profile 1
[INFO] [stdout]    ✔  Then the per-save event answered invalid
[INFO] [stdout]    ✔  And the per-save log mentions "changed slot; discarded"
[INFO] [stdout]    ✔  When an event of unknown kind 77 arrives
[INFO] [stdout]    ✔  Then the per-save event answered invalid
[INFO] [stdout]    ✔  And the per-save log mentions "unknown save event kind 77"
[INFO] [stdout]   Scenario: Captures are bounded and need a slot, a profile and an operation
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When 64 saves begin for slot 1 of profile 1
[INFO] [stdout]    ✔  And save operation 5000 begins for slot 1 of profile 1
[INFO] [stdout]    ✔  Then the per-save event answered limit
[INFO] [stdout]    ✔  And 64 captures are pending
[INFO] [stdout]    ✔  When a save begins without a profile
[INFO] [stdout]    ✔  Then the per-save event answered invalid
[INFO] [stdout]    ✔  When a save begins without an operation id
[INFO] [stdout]    ✔  Then the per-save event answered invalid
[INFO] [stdout]    ✔  And the per-save log mentions "save without an operation id"
[INFO] [stdout]   Scenario: A load without a valid identity is off and never slot 0
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 9
[INFO] [stdout]    ✔  And slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And a load arrives without a slot
[INFO] [stdout]    ✔  Then the per-save event answered invalid
[INFO] [stdout]    ✔  And the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  And the per-save log mentions "load without a valid slot/profile: defaults, off"
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 9
[INFO] [stdout]    ✔  And a load arrives without a profile for slot 0
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 3
[INFO] [stdout]   Scenario: A new game keeps the title-screen choices; quitting to title changes nothing
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When slot 3 of profile 1 is loaded
[INFO] [stdout]    ✔  And the menu sets Enabled on and Level 5
[INFO] [stdout]    ✔  Then the per-save settings are Enabled on, Level 5
[INFO] [stdout]    ✔  When a new game starts
[INFO] [stdout]    ✔  Then the per-save event answered ok
[INFO] [stdout]    ✔  And the per-save settings are Enabled on, Level 5
[INFO] [stdout]    ✔  And the per-save log mentions "new game: settings kept from the title screen"
[INFO] [stdout]    ✔  And the per-save region is unwritten
[INFO] [stdout]   Scenario: Profiles are kept apart up to the directory capacity
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 2
[INFO] [stdout]    ✔  And slot 1 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And the menu sets Enabled off and Level 6
[INFO] [stdout]    ✔  And slot 1 of profile 2 is saved as operation 2
[INFO] [stdout]    ✔  And slot 1 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled on, Level 2
[INFO] [stdout]    ✔  When slot 1 of profile 2 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 6
[INFO] [stdout]    ✔  When 14 more save profiles each save slot 0
[INFO] [stdout]    ✔  And slot 0 of profile 99 is saved as operation 500
[INFO] [stdout]    ✔  Then the per-save log mentions "save profile directory full; slot 0 not persisted"
[INFO] [stdout]    ✔  And the per-save store is ready
[INFO] [stdout]   Scenario: A revision conflict retries once; a changed header stops persisting
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And another writer bumps the region revision
[INFO] [stdout]    ✔  And the menu sets Enabled on and Level 4
[INFO] [stdout]    ✔  And slot 1 of profile 1 is saved as operation 2
[INFO] [stdout]    ✔  Then slot 1 of profile 1 is stored on
[INFO] [stdout]    ✔  When another writer changes the region header
[INFO] [stdout]    ✔  And slot 2 of profile 1 is saved as operation 3
[INFO] [stdout]    ✔  Then the per-save store is failed
[INFO] [stdout]    ✔  And the per-save log mentions "slot 2 write failed"
[INFO] [stdout]    ✔  When slot 3 of profile 1 is saved as operation 4
[INFO] [stdout]    ✔  Then the per-save log mentions "slot 3 not persisted (store is Failed)"
[INFO] [stdout]    ✔  When slot 1 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 3
[INFO] [stdout]   Scenario: Host write and flush failures
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the host flush fails with -7
[INFO] [stdout]    ✔  And slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  Then the per-save log mentions "flush failed (-7)"
[INFO] [stdout]    ✔  And slot 0 of profile 1 is stored off
[INFO] [stdout]    ✔  When the host refuses storage writes with -7
[INFO] [stdout]    ✔  And slot 1 of profile 1 is saved as operation 2
[INFO] [stdout]    ✔  Then the per-save store is failed
[INFO] [stdout]    ✔  And the per-save log mentions "write failed (-7)"
[INFO] [stdout]   Scenario Outline: A region another layout wrote is never read or written
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 8
[INFO] [stdout]    ✔  And slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And the next session finds the region damaged: schema
[INFO] [stdout]    ✔  Then the per-save store opened foreign
[INFO] [stdout]    ✔  And the per-save log mentions "region schema unknown"
[INFO] [stdout]    ✔  When slot 0 of profile 1 is saved as operation 2
[INFO] [stdout]    ✔  And slot 0 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  And the per-save region bytes are unchanged
[INFO] [stdout]    ✔  And the import is refused
[INFO] [stdout]   Scenario Outline: A region another layout wrote is never read or written
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 8
[INFO] [stdout]    ✔  And slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And the next session finds the region damaged: short
[INFO] [stdout]    ✔  Then the per-save store opened foreign
[INFO] [stdout]    ✔  And the per-save log mentions "region shorter than its header"
[INFO] [stdout]    ✔  When slot 0 of profile 1 is saved as operation 2
[INFO] [stdout]    ✔  And slot 0 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  And the per-save region bytes are unchanged
[INFO] [stdout]    ✔  And the import is refused
[INFO] [stdout]   Scenario Outline: A region another layout wrote is never read or written
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 8
[INFO] [stdout]    ✔  And slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And the next session finds the region damaged: magic
[INFO] [stdout]    ✔  Then the per-save store opened foreign
[INFO] [stdout]    ✔  And the per-save log mentions "not a per-save region"
[INFO] [stdout]    ✔  When slot 0 of profile 1 is saved as operation 2
[INFO] [stdout]    ✔  And slot 0 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  And the per-save region bytes are unchanged
[INFO] [stdout]    ✔  And the import is refused
[INFO] [stdout]   Scenario Outline: A region another layout wrote is never read or written
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 8
[INFO] [stdout]    ✔  And slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And the next session finds the region damaged: layout
[INFO] [stdout]    ✔  Then the per-save store opened foreign
[INFO] [stdout]    ✔  And the per-save log mentions "settings layout changed"
[INFO] [stdout]    ✔  When slot 0 of profile 1 is saved as operation 2
[INFO] [stdout]    ✔  And slot 0 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  And the per-save region bytes are unchanged
[INFO] [stdout]    ✔  And the import is refused
[INFO] [stdout]   Scenario Outline: A region another layout wrote is never read or written
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 8
[INFO] [stdout]    ✔  And slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And the next session finds the region damaged: slots
[INFO] [stdout]    ✔  Then the per-save store opened foreign
[INFO] [stdout]    ✔  And the per-save log mentions "slot count changed"
[INFO] [stdout]    ✔  When slot 0 of profile 1 is saved as operation 2
[INFO] [stdout]    ✔  And slot 0 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  And the per-save region bytes are unchanged
[INFO] [stdout]    ✔  And the import is refused
[INFO] [stdout]   Scenario Outline: A region another layout wrote is never read or written
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 8
[INFO] [stdout]    ✔  And slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And the next session finds the region damaged: truncated
[INFO] [stdout]    ✔  Then the per-save store opened foreign
[INFO] [stdout]    ✔  And the per-save log mentions "region truncated"
[INFO] [stdout]    ✔  When slot 0 of profile 1 is saved as operation 2
[INFO] [stdout]    ✔  And slot 0 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  And the per-save region bytes are unchanged
[INFO] [stdout]    ✔  And the import is refused
[INFO] [stdout]   Scenario: Without host storage settings last for the session
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  Given a per-save store without host storage
[INFO] [stdout]    ✔  Then the per-save store opened without-storage
[INFO] [stdout]    ✔  And the per-save store is memory
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 8
[INFO] [stdout]    ✔  And slot 0 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  Then the per-save log mentions "slot 0 not persisted (store is Memory)"
[INFO] [stdout]    ✔  And a per-save store over 0 slots is refused
[INFO] [stdout]    ✔  And a host that cannot describe the region fails the store
[INFO] [stdout]   Scenario: Damaged records load as defaults, off
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 8
[INFO] [stdout]    ✔  And slot 2 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  And the stored record of slot 2 is damaged
[INFO] [stdout]    ✔  And slot 2 of profile 1 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 3
[INFO] [stdout]    ✔  And the per-save log mentions "slot 2 record rejected (Checksum)"
[INFO] [stdout]    ✔  When the stored records are cut off
[INFO] [stdout]    ✔  Then slot 2 of profile 1 is stored absent
[INFO] [stdout]    ✔  And the per-save log mentions "slot 2 unreadable"
[INFO] [stdout]   Scenario: A legacy file is imported once, into a region never written
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When legacy records are imported: 2 profiles with 3 slots each, Enabled off
[INFO] [stdout]    ✔  Then 6 records were imported
[INFO] [stdout]    ✔  And the per-save store is ready
[INFO] [stdout]    ✔  And the per-save log mentions "imported 6 record(s) over 2 save profile(s)"
[INFO] [stdout]    ✔  And the per-save region is marked imported
[INFO] [stdout]    ✔  And the import is refused
[INFO] [stdout]    ✔  When slot 1 of profile 2 is loaded
[INFO] [stdout]    ✔  Then the per-save settings are Enabled off, Level 6
[INFO] [stdout]   Scenario: A large import goes out in bounded batches; a failed batch stops persisting
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  Then a wide import over 200 slots of 3 profiles writes several 64 KiB batches
[INFO] [stdout]    ✔  When the host refuses storage writes with -7
[INFO] [stdout]    ✔  And legacy records are imported: 1 profiles with 1 slots each, Enabled on
[INFO] [stdout]    ✔  Then the per-save store is failed
[INFO] [stdout]    ✔  And the per-save log mentions "import failed (-7)"
[INFO] [stdout]   Scenario: Deferred saves wait for the writer; a load finishes them first
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  When the store defers writes to its writer
[INFO] [stdout]    ✔  And the menu sets Enabled on and Level 3
[INFO] [stdout]    ✔  And slot 1 of profile 1 is saved as operation 1
[INFO] [stdout]    ✔  Then 1 writes are queued
[INFO] [stdout]    ✔  And the per-save region is unwritten
[INFO] [stdout]    ✔  When the writer writes the queue
[INFO] [stdout]    ✔  Then 0 writes are queued
[INFO] [stdout]    ✔  When the menu sets Enabled on and Level 6
[INFO] [stdout]    ✔  And slot 2 of profile 1 is saved as operation 2
[INFO] [stdout]    ✔  And slot 2 of profile 1 is loaded
[INFO] [stdout]    ✔  Then 0 writes are queued
[INFO] [stdout]    ✔  And the per-save settings are Enabled on, Level 6
[INFO] [stdout]   Scenario: Records and headers carry their identity and reject damage
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  Then a record of slot 4 decodes for slot 4 only and at its own version
[INFO] [stdout]    ✔  And a never-saved record reads as no record and a short one is refused
[INFO] [stdout]    ✔  And a header round-trips and rejects a bad magic, checksum, version and directory
[INFO] [stdout]    ✔  And layout hashes follow keys and ranges, not defaults
[INFO] [stdout]    ✔  And records larger than the contract are refused
[INFO] [stdout]   Scenario: The params adapter packs settings and restores them through their setters
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  Then the params adapter packs Enabled on, Level 8, Gil 999 into 2 bytes and back
[INFO] [stdout]    ✔  And a payload of another layout restores defaults, off
[INFO] [stdout]   Scenario: Params clamp, report changes and bind to menu controls
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  Then a param over 10..2000 clamps 5000 to 2000 and reports the change once
[INFO] [stdout]    ✔  And menu values round half up, negatives read 0 and NaN is ignored
[INFO] [stdout]    ✔  And param controls write their params through the menu callbacks
[INFO] [stdout]   Scenario: Import edge cases
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  Then an import skips slots past the count, other payload sizes and profiles past capacity
[INFO] [stdout]    ✔  And an import of nothing writes nothing
[INFO] [stdout]    ✔  And a flush failure after an import is logged
[INFO] [stdout]    ✔  And stores and adapters also build at run time
[INFO] [stdout]   Scenario: The writer thread sleeps until a save is queued
[INFO] [stdout]    ✔> Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔> And a per-save store over 8 slots
[INFO] [stdout]    ✔  Then a writer thread handles a deferred save of a store without storage
[INFO] [stdout] Feature: Save lifecycle events
[INFO] [stdout]   Scenario: Event kinds and masks follow the header
[INFO] [stdout]    ✔  Then every event kind has its ABI value and mask
[INFO] [stdout]    ✔  And a slot or profile is reported only when the host flags it valid
[INFO] [stdout]   Scenario: Subscribed handlers receive their events
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the unit subscribes to saved and new-game events and a panicking loaded handler
[INFO] [stdout]    ✔  Then the adapter reports all events over 100 slots
[INFO] [stdout]    ✔  And a saved event for slot 2 and a new game reach the handler, a save begin does not
[INFO] [stdout]    ✔  And the panicking handler answers -1000 instead of unwinding
[INFO] [stdout]    ✔  And null and short events are refused
[INFO] [stdout]   Scenario: Registration arguments and host failures
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then an empty mask, an unknown event bit and an empty ID are refused
[INFO] [stdout]    ✔  And a conflicting adapter hook is reported
[INFO] [stdout]    ✔  And a table without entries is unavailable
[INFO] [stdout] Feature: Settings providers
[INFO] [stdout]   Scenario: A provider has the v1 wire layout
[INFO] [stdout]    ✔  Given the example provider with every control kind
[INFO] [stdout]    ✔  Then it has 7 controls of kinds status, section, checkbox, integer, float, combo, button
[INFO] [stdout]    ✔  And its metadata reads "example.menu", "Example", "Tests", "1.0.0", "Help." and "https://example.invalid"
[INFO] [stdout]    ✔  And the status row reports "ready " within 8 bytes, never splitting a character
[INFO] [stdout]    ✔  And the section is experimental and collapsed, the checkbox visible and the integer prefixed "Lv "
[INFO] [stdout]    ✔  And the combo offers "A", "B" and "C"
[INFO] [stdout]   Scenario: Menu writes are converted, rounded and clamped
[INFO] [stdout]    ✔  Given the example provider with every control kind
[INFO] [stdout]    ✔  Then the checkbox turns on at 0.6 and off at 0.4, ignoring NaN
[INFO] [stdout]    ✔  And the integer rounds 7.6 to 8, clamps 99 to 10 and ignores infinity
[INFO] [stdout]    ✔  And the float clamps 5 to 2 and ignores NaN
[INFO] [stdout]    ✔  And the combo rounds 1.4 to 1 and clamps -3 to 0
[INFO] [stdout]    ✔  And pressing the button runs it once
[INFO] [stdout]   Scenario: Panicking callbacks never reach the game
[INFO] [stdout]    ✔  Given a provider whose callbacks all panic
[INFO] [stdout]    ✔  Then reads give 0, writes and presses are ignored and the status text is empty
[INFO] [stdout]    ✔  And a panicking state callback reads as visible
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building a duplicate id panics with "settings: duplicate control id"
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building an empty id panics with "settings: invalid string (too long or NUL)"
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building a NUL in an id panics with "settings: invalid string (too long or NUL)"
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building a 193-byte label panics with "settings: invalid string (too long or NUL)"
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building an extension first panics with "settings: add a control first"
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building two presentations panics with "settings: duplicate extension"
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building a combo without options panics with "settings: invalid range or options"
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building an integer step of 0 panics with "settings: invalid range or options"
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building an inverted float range panics with "settings: invalid range or options"
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building 7 display decimals panics with "settings: invalid range or options"
[INFO] [stdout]   Scenario Outline: Malformed descriptors fail loudly
[INFO] [stdout]    ✔  Then building 257 controls panics with "settings: more than 256 controls"
[INFO] [stdout]   Scenario: The declared provider answers matching queries and registers
[INFO] [stdout]    ✔  Then the declared provider answers XIII queries only, once built
[INFO] [stdout]    ✔  And a provider for any game answers every game
[INFO] [stdout]    ✔  And a provider whose build panics answers null
[INFO] [stdout]    ✔  And query contexts of another version or size are refused
[INFO] [stdout]    ✔  When a fake FINAL FANTASY XIII host registers the declared provider
[INFO] [stdout]    ✔  Then the host's menu sees 1 control
[INFO] [stdout]    ✔  And registering it again is refused as a conflict
[INFO] [stdout]    ✔  And an unavailable registry is reported
[INFO] [stdout] Feature: Verified sites with one shared policy
[INFO] [stdout]   Scenario: The retail image passes
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then verification passes with no findings
[INFO] [stdout]   Scenario: A foreign rel32 detour is accepted at the call site and refused at the hook site
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  When another component writes a "jmp rel32" detour at the head to executable memory outside the image
[INFO] [stdout]    ✔  And the anchor byte changes
[INFO] [stdout]    ✔  Then 2 sites fail and 2 carry a foreign detour
[INFO] [stdout]    ✔  And the findings are "call head: foreign", "hook head: occupied" and "anchor: bytes"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying the retail bytes gives "retail"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying a rel32 jump to executable memory gives "foreign"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying an indirect jump through a readable slot gives "foreign"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying an indirect jump through an unreadable slot gives "mismatch"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying a rel32 jump into the image gives "mismatch"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying a rel32 jump to non-executable memory gives "mismatch"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying a rel32 jump to address zero gives "mismatch"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying a rel32 jump with a changed byte after it gives "mismatch"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying a shorter byte run gives "mismatch"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying other bytes gives "mismatch"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying a rel32 jump over a five-byte head gives "mismatch"
[INFO] [stdout]   Scenario Outline: Detours that are not recognised are mismatches
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then classifying a head carrying a rel32 jump with no foreign code mapped gives "mismatch"
[INFO] [stdout]   Scenario: Only call sites admit a foreign detour
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then call sites admit retail and foreign bytes, hook sites and anchors only retail
[INFO] [stdout]   Scenario: Sites outside a short or unreadable image fail
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then an image of 0x150 bytes fails all 4 sites, some outside the image
[INFO] [stdout]    ✔  And an unreadable image fails every site
[INFO] [stdout]    ✔  And a site longer than 512 bytes is outside the comparable range
[INFO] [stdout]    ✔  And empty or oversized sites fail the table check
[INFO] [stdout]   Scenario: Problems and bytes read clearly in log lines
[INFO] [stdout]    ✔> Given the retail image with a call head, a hook head, an anchor and a slice anchor
[INFO] [stdout]    ✔  Then the problems read "outside the loaded image", "bytes differ from the verified build" and "already hooked by another component (jmp [abs32] -> 0x00001234); not overwritten"
[INFO] [stdout]    ✔  And bytes display as "0f b6 45"
[INFO] [stdout] Feature: Host storage regions
[INFO] [stdout]   Scenario: A region round-trips through whole and ranged writes
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the unit registers the region "example.state" in init
[INFO] [stdout]    ✔  Then the region reads as never written
[INFO] [stdout]    ✔  When the unit writes "hello" with schema 2
[INFO] [stdout]    ✔  Then the region holds "hello" with schema 2 at revision 1
[INFO] [stdout]    ✔  And bytes 3..5 read "lo" and bytes 4..6 are refused
[INFO] [stdout]    ✔  And a write against revision 0 is refused as a conflict
[INFO] [stdout]    ✔  When the unit writes "J" at 0 and "!" at 5 in a 6-byte batch
[INFO] [stdout]    ✔  Then the region holds "Jello!" with schema 3 at revision 2
[INFO] [stdout]    ✔  When the unit empties the region
[INFO] [stdout]    ✔  Then the region holds "" with schema 3 at revision 3
[INFO] [stdout]    ✔  And more than 256 ranges are refused as over the limit
[INFO] [stdout]    ✔  And schema 0 is refused
[INFO] [stdout]    ✔  And a flush reaches the host
[INFO] [stdout]   Scenario Outline: Region IDs are validated
[INFO] [stdout]    ✔  Then the region ID "example.ff13.zone_warp" is valid
[INFO] [stdout]   Scenario Outline: Region IDs are validated
[INFO] [stdout]    ✔  Then the region ID "a-b_c.9" is valid
[INFO] [stdout]   Scenario Outline: Region IDs are validated
[INFO] [stdout]    ✔  Then the region ID "no spaces" is invalid
[INFO] [stdout]   Scenario Outline: Region IDs are validated
[INFO] [stdout]    ✔  Then the region ID "" is invalid
[INFO] [stdout]   Scenario: Registration conflicts and host failures are reported
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the unit registers the region "example.state" in init
[INFO] [stdout]    ✔  Then registering "example.state" again is refused as a conflict
[INFO] [stdout]    ✔  And a host in recovery refuses registration and an IO error fails the write
[INFO] [stdout]    ✔  And a short info answer is a decode failure
[INFO] [stdout]    ✔  And a handle the host never issued is refused
[INFO] [stdout]    ✔  And a table without entries refuses every call but flush
[INFO] [stdout]    ✔  And a zero handle, a failing flush and an oversized region are reported
[INFO] [stdout]   Scenario: Storage without the service lasts for the session
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  When the context's size is prefix
[INFO] [stdout]    ✔  Then init sees no storage, settings or save events service
[INFO] [stdout]   Scenario: Raw tables can be registered outside the init scope helpers
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then raw storage, settings and save event tables register through copies
[INFO] [stdout] Feature: A unit's own menu texts
[INFO] [stdout]   Scenario: Keys, placeholders and the strings a menu looks up
[INFO] [stdout]    ✔  Then the key of "Gil" is "$ms8b1998869903"
[INFO] [stdout]    ✔  And placeholders are the sorted single digits in braces
[INFO] [stdout]    ✔  And a provider's looked-up strings are its short name, labels, help, options and affixes without status rows
[INFO] [stdout]   Scenario: Catalog and container checks
[INFO] [stdout]    ✔  Then a complete catalog has no problems, a missing, empty or drifted entry is reported
[INFO] [stdout]    ✔  And a container dump missing a locale fails the check
[INFO] [stdout]    ✔  And the catalog is exported as escaped JSON lines
[INFO] [stdout] Feature: The unit boundary
[INFO] [stdout]   Scenario: The exports validate, run and shut down
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then init returns 0 and the unit logged "started on 1"
[INFO] [stdout]    ✔  And init of a null context returns 1
[INFO] [stdout]    ✔  And init of a version 2 context returns 1 without running the unit
[INFO] [stdout]    ✔  And init of an 8-byte context returns 1 without running the unit
[INFO] [stdout]    ✔  And shutdown runs the unit's shutdown, with or without one, and contains panics
[INFO] [stdout]   Scenario Outline: Results and panics become host codes
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then an init that refuses returns 2
[INFO] [stdout]   Scenario Outline: Results and panics become host codes
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then an init that fails a hook returns 3
[INFO] [stdout]   Scenario Outline: Results and panics become host codes
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then an init that returns code 77 returns 77
[INFO] [stdout]   Scenario Outline: Results and panics become host codes
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then an init that returns code 0 as an error returns 2
[INFO] [stdout]   Scenario Outline: Results and panics become host codes
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then an init that panics with a message returns 4
[INFO] [stdout]   Scenario Outline: Results and panics become host codes
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then an init that panics with a number returns 4
[INFO] [stdout]   Scenario Outline: Results and panics become host codes
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then an init that panics with a static text returns 4
[INFO] [stdout]   Scenario: Init errors convert and display
[INFO] [stdout]    ✔  Then init errors read "init returned 2" and convert from hook and service failures
[INFO] [stdout]   Scenario: The init scope hands out init-only services
[INFO] [stdout]    ✔  Given a fake FINAL FANTASY XIII host
[INFO] [stdout]    ✔  Then an init using storage, settings, save events and hooks succeeds
[INFO] [stdout]    ✔  And a second registration of its region is a conflict
[INFO] [stdout]    ✔  And a malformed storage table refuses init with code 2
[INFO] [stdout]    ✔  And without MinHook services the install fails at create and init returns 3
[INFO] [stdout]    ✔  And a prefix-only context offers no optional service
[INFO] [stdout]   Scenario: Built units export exactly init and shutdown
[INFO] [stdout]    ✔  Then a PE32 image exporting init and shutdown is a unit
[INFO] [stdout]    ✔  And images exporting more, nothing, another machine or a broken table are not
[INFO] [stdout] [Summary]
[INFO] [stdout] 10 features
[INFO] [stdout] 129 scenarios (129 passed)
[INFO] [stdout] 544 steps (544 passed)
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/workshop-ext-sdk-derive/44b16cf3ebdd7327/out/workshop_ext_sdk_derive-44b16cf3ebdd7327)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::expands_fields_text_and_hooks ... ok
[INFO] [stdout] test tests::rejects_malformed_inputs ... ok
[INFO] [stderr]    Doc-tests hello_unit
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[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] [stderr]    Doc-tests workshop_ext_sdk
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test crates/workshop-ext-sdk/src/unit.rs - unit::ff13_unit (line 227) - compile ... ok
[INFO] [stdout] test crates/workshop-ext-sdk/src/texts.rs - texts (line 15) ... ok
[INFO] [stdout] test crates/workshop-ext-sdk/src/settings.rs - settings (line 14) ... ok
[INFO] [stdout] test crates/workshop-ext-sdk/src/lib.rs - (line 35) - compile ... ok
[INFO] [stdout] test crates/workshop-ext-sdk/src/param.rs - param (line 11) ... ok
[INFO] [stdout] test crates/workshop-ext-sdk/src/sites.rs - sites::sites (line 321) ... ok
[INFO] [stdout] test crates/workshop-ext-sdk/src/testing.rs - testing (line 7) ... ok
[INFO] [stdout] test crates/workshop-ext-sdk/src/per_save.rs - per_save (line 47) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.66s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.75s; merged doctests compilation took 0.09s
[INFO] [stderr]    Doc-tests workshop_ext_sdk_derive
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test crates/workshop-ext-sdk-derive/src/lib.rs - (line 6) ... ignored
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.28s; merged doctests compilation took 0.27s
[INFO] running `"docker" "inspect" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9"`
[INFO] running `"docker" "rm" "-f" "be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9"`
[INFO] [stdout] be655fe4b02f466cd3bc7b4dfd3599f78e5ceaf939a378bb76f7e6c2cbb7b5b9
