ref:main

test passed

Command: cargo test 2>&1
Started: Jun 07, 2026 at 00:44 UTC Completed: Jun 07, 2026 at 00:45 UTC Duration: 36s
Exit code: 0

Build Output

Pulling image: rust:1.95-trixie
Updating crates.io index
Downloading crates ...
Downloaded anstyle v1.0.13
Downloaded autocfg v1.5.0
Downloaded atomic-waker v1.1.2
Downloaded assert-json-diff v2.0.2
Downloaded anstyle-query v1.1.5
Downloaded rand_chacha v0.9.0
Downloaded clap_lex v1.0.0
Downloaded anstream v0.6.21
Downloaded cfg_aliases v0.2.1
Downloaded dirs v6.0.0
Downloaded block-buffer v0.10.4
Downloaded deadpool-runtime v0.1.4
Downloaded cpufeatures v0.2.17
Downloaded dirs-sys v0.5.0
Downloaded colorchoice v1.0.4
Downloaded cfg-if v1.0.4
Downloaded crypto-common v0.1.7
Downloaded idna_adapter v1.2.1
Downloaded httpdate v1.0.3
Downloaded equivalent v1.0.2
Downloaded futures-sink v0.3.32
Downloaded fastrand v2.3.0
Downloaded heck v0.4.1
Downloaded quote v1.0.45
Downloaded pin-utils v0.1.0
Downloaded option-ext v0.2.0
Downloaded fnv v1.0.7
Downloaded percent-encoding v2.3.2
Downloaded lazy_static v1.5.0
Downloaded is_terminal_polyfill v1.70.2
Downloaded errno v0.3.14
Downloaded scopeguard v1.2.0
Downloaded futures-core v0.3.32
Downloaded mime v0.3.17
Downloaded sync_wrapper v1.0.2
Downloaded stable_deref_trait v1.2.1
Downloaded hostname v0.4.2
Downloaded itoa v1.0.17
Downloaded form_urlencoded v1.2.2
Downloaded shell-words v1.1.1
Downloaded futures-task v0.3.32
Downloaded potential_utf v0.1.4
Downloaded subtle v2.6.1
Downloaded serde_urlencoded v0.7.1
Downloaded futures-macro v0.3.32
Downloaded proc-macro-error-attr2 v2.0.0
Downloaded base64 v0.22.1
Downloaded anstyle-parse v0.2.7
Downloaded num_cpus v1.17.0
Downloaded tower-service v0.3.3
Downloaded tabled_derive v0.9.0
Downloaded lru-slab v0.1.2
Downloaded generic-array v0.14.7
Downloaded zerofrom-derive v0.1.6
Downloaded utf8parse v0.2.2
Downloaded utf8_iter v1.0.4
Downloaded http-body v1.0.1
Downloaded try-lock v0.2.5
Downloaded rustc-hash v2.1.1
Downloaded heck v0.5.0
Downloaded digest v0.10.7
Downloaded bytecount v0.6.9
Downloaded lock_api v0.4.14
Downloaded futures-io v0.3.32
Downloaded http-body-util v0.1.3
Downloaded ipnet v2.12.0
Downloaded displaydoc v0.2.5
Downloaded futures-executor v0.3.32
Downloaded dialoguer v0.11.0
Downloaded yoke-derive v0.8.1
Downloaded untrusted v0.9.0
Downloaded mime_guess v2.0.5
Downloaded tower-layer v0.3.3
Downloaded deadpool v0.12.3
Downloaded colored v3.1.1
Downloaded clap_derive v4.5.55
Downloaded bitflags v2.11.0
Downloaded tinyvec_macros v0.1.1
Downloaded ppv-lite86 v0.2.21
Downloaded version_check v0.9.5
Downloaded zerofrom v0.1.6
Downloaded parking_lot_core v0.9.12
Downloaded litemap v0.8.1
Downloaded iana-time-zone v0.1.65
Downloaded hyper-rustls v0.27.7
Downloaded once_cell v1.21.3
Downloaded want v0.3.1
Downloaded proc-macro-error2 v2.0.1
Downloaded pin-project-lite v0.2.17
Downloaded glob v0.3.3
Downloaded futures-channel v0.3.32
Downloaded find-msvc-tools v0.1.9
Downloaded papergrid v0.13.0
Downloaded getrandom v0.4.2
Downloaded getrandom v0.3.4
Downloaded log v0.4.29
Downloaded icu_properties v2.1.2
Downloaded httparse v1.10.1
Downloaded getrandom v0.2.17
Downloaded icu_provider v2.1.1
Downloaded console v0.15.11
Downloaded clap v4.5.60
Downloaded num-traits v0.2.19
Downloaded bytes v1.11.1
Downloaded icu_normalizer_data v2.1.1
Downloaded icu_normalizer v2.1.1
Downloaded futures v0.3.32
Downloaded parking_lot v0.12.5
Downloaded memchr v2.8.0
Downloaded icu_locale_core v2.1.1
Downloaded icu_collections v2.1.1
Downloaded cc v1.2.56
Downloaded mio v1.1.1
Downloaded indexmap v2.13.0
Downloaded thiserror-impl v2.0.18
Downloaded thiserror v1.0.69
Downloaded hyper-util v0.1.20
Downloaded http v1.4.0
Downloaded slab v0.4.12
Downloaded synstructure v0.13.2
Downloaded thiserror v2.0.18
Downloaded tinystr v0.8.2
Downloaded iri-string v0.7.10
Downloaded hashbrown v0.16.1
Downloaded zerovec-derive v0.11.2
Downloaded icu_properties_data v2.1.2
Downloaded thiserror-impl v1.0.69
Downloaded futures-util v0.3.32
Downloaded tokio-macros v2.6.1
Downloaded chrono v0.4.44
Downloaded strsim v0.11.1
Downloaded sha2 v0.10.9
Downloaded idna v1.1.0
Downloaded h2 v0.4.14
Downloaded clap_builder v4.5.60
Downloaded aho-corasick v1.1.4
Downloaded hyper v1.8.1
Downloaded writeable v0.6.2
Downloaded libc v0.2.183
Downloaded signal-hook-registry v1.4.8
Downloaded zeroize v1.8.2
Downloaded zmij v1.0.21
Downloaded yoke v0.8.1
Downloaded quinn-udp v0.5.14
Downloaded rand_core v0.9.5
Downloaded smallvec v1.15.1
Downloaded unicase v2.9.0
Downloaded tokio-rustls v0.26.4
Downloaded shlex v1.3.0
Downloaded rustls-pki-types v1.14.0
Downloaded proc-macro2 v1.0.106
Downloaded linux-raw-sys v0.12.1
Downloaded serde_derive v1.0.228
Downloaded serde_core v1.0.228
Downloaded unicode-ident v1.0.24
Downloaded tempfile v3.27.0
Downloaded tracing-core v0.1.36
Downloaded tinyvec v1.10.0
Downloaded wiremock v0.6.5
Downloaded socket2 v0.6.3
Downloaded ryu v1.0.23
Downloaded quinn v0.11.9
Downloaded zerotrie v0.2.3
Downloaded typenum v1.19.0
Downloaded rustls-webpki v0.103.9
Downloaded serde v1.0.228
Downloaded url v2.5.8
Downloaded rand v0.9.2
Downloaded tower v0.5.3
Downloaded zerovec v0.11.5
Downloaded tokio-util v0.7.18
Downloaded tower-http v0.6.8
Downloaded serde_json v1.0.149
Downloaded quinn-proto v0.11.14
Downloaded regex v1.12.3
Downloaded reqwest v0.12.28
Downloaded tabled v0.17.0
Downloaded syn v1.0.109
Downloaded webpki-roots v1.0.6
Downloaded zerocopy v0.8.42
Downloaded unicode-width v0.2.2
Downloaded syn v2.0.117
Downloaded regex-syntax v0.8.10
Downloaded rustls v0.23.37
Downloaded rustix v1.1.4
Downloaded tracing v0.1.44
Downloaded regex-automata v0.4.14
Downloaded tokio v1.50.0
Downloaded ring v0.17.14
Compiling cfg-if v1.0.4
Compiling smallvec v1.15.1
Compiling pin-project-lite v0.2.17
Compiling stable_deref_trait v1.2.1
Compiling bytes v1.11.1
Compiling futures-core v0.3.32
Compiling scopeguard v1.2.0
Compiling memchr v2.8.0
Compiling libc v0.2.183
Compiling itoa v1.0.17
Compiling futures-sink v0.3.32
Compiling once_cell v1.21.3
Compiling slab v0.4.12
Compiling zerofrom v0.1.6
Compiling lock_api v0.4.14
Compiling futures-io v0.3.32
Compiling futures-channel v0.3.32
Compiling writeable v0.6.2
Compiling yoke v0.8.1
Compiling futures-task v0.3.32
Compiling litemap v0.8.1
Compiling fnv v1.0.7
Compiling zeroize v1.8.2
Compiling serde_core v1.0.228
Compiling tracing-core v0.1.36
Compiling percent-encoding v2.3.2
Compiling hashbrown v0.16.1
Compiling zerovec v0.11.5
Compiling zerotrie v0.2.3
Compiling equivalent v1.0.2
Compiling rustls-pki-types v1.14.0
Compiling icu_normalizer_data v2.1.1
Compiling icu_properties_data v2.1.2
Compiling atomic-waker v1.1.2
Compiling tower-service v0.3.3
Compiling try-lock v0.2.5
Compiling untrusted v0.9.0
Compiling futures-util v0.3.32
Compiling want v0.3.1
Compiling http v1.4.0
Compiling tracing v0.1.44
Compiling httparse v1.10.1
Compiling typenum v1.19.0
Compiling tinystr v0.8.2
Compiling potential_utf v0.1.4
Compiling pin-utils v0.1.0
Compiling indexmap v2.13.0
Compiling httpdate v1.0.3
Compiling icu_collections v2.1.1
Compiling bitflags v2.11.0
Compiling zmij v1.0.21
Compiling errno v0.3.14
Compiling parking_lot_core v0.9.12
Compiling socket2 v0.6.3
Compiling signal-hook-registry v1.4.8
Compiling mio v1.1.1
Compiling parking_lot v0.12.5
Compiling icu_locale_core v2.1.1
Compiling getrandom v0.2.17
Compiling http-body v1.0.1
Compiling ring v0.17.14
Compiling generic-array v0.14.7
Compiling tokio v1.50.0
Compiling form_urlencoded v1.2.2
Compiling utf8_iter v1.0.4
Compiling subtle v2.6.1
Compiling unicase v2.9.0
Compiling unicode-width v0.2.2
Compiling utf8parse v0.2.2
Compiling base64 v0.22.1
Compiling ipnet v2.12.0
Compiling anstyle-parse v0.2.7
Compiling aho-corasick v1.1.4
Compiling mime_guess v2.0.5
Compiling sync_wrapper v1.0.2
Compiling colorchoice v1.0.4
Compiling icu_provider v2.1.1
Compiling linux-raw-sys v0.12.1
Compiling tower-layer v0.3.3
Compiling anstyle-query v1.1.5
Compiling regex-syntax v0.8.10
Compiling anstyle v1.0.13
Compiling is_terminal_polyfill v1.70.2
Compiling icu_properties v2.1.2
Compiling icu_normalizer v2.1.1
Compiling rustix v1.1.4
Compiling anstream v0.6.21
Compiling crypto-common v0.1.7
Compiling block-buffer v0.10.4
Compiling getrandom v0.4.2
Compiling http-body-util v0.1.3
Compiling num_cpus v1.17.0
Compiling serde v1.0.228
Compiling rustls-webpki v0.103.9
Compiling serde_json v1.0.149
Compiling webpki-roots v1.0.6
Compiling log v0.4.29
Compiling lazy_static v1.5.0
Compiling clap_lex v1.0.0
Compiling mime v0.3.17
Compiling idna_adapter v1.2.1
Compiling rustls v0.23.37
Compiling idna v1.1.0
Compiling futures-executor v0.3.32
Compiling deadpool-runtime v0.1.4
Compiling iri-string v0.7.10
Compiling fastrand v2.3.0
Compiling url v2.5.8
Compiling option-ext v0.2.0
Compiling strsim v0.11.1
Compiling ryu v1.0.23
Compiling regex-automata v0.4.14
Compiling bytecount v0.6.9
Compiling papergrid v0.13.0
Compiling clap_builder v4.5.60
Compiling serde_urlencoded v0.7.1
Compiling dirs-sys v0.5.0
Compiling tempfile v3.27.0
Compiling assert-json-diff v2.0.2
Compiling futures v0.3.32
Compiling thiserror v1.0.69
Compiling digest v0.10.7
Compiling num-traits v0.2.19
Compiling console v0.15.11
Compiling cpufeatures v0.2.17
Compiling iana-time-zone v0.1.65
Compiling shell-words v1.1.1
Compiling anvil-cli v0.1.0 (/workspace)
Compiling tabled v0.17.0
Compiling sha2 v0.10.9
Compiling dialoguer v0.11.0
Compiling chrono v0.4.44
Compiling thiserror v2.0.18
Compiling dirs v6.0.0
Compiling hostname v0.4.2
Compiling glob v0.3.3
Compiling colored v3.1.1
Compiling tokio-util v0.7.18
Compiling tower v0.5.3
Compiling deadpool v0.12.3
Compiling regex v1.12.3
Compiling clap v4.5.60
Compiling h2 v0.4.14
Compiling tower-http v0.6.8
Compiling tokio-rustls v0.26.4
Compiling hyper v1.8.1
Compiling hyper-util v0.1.20
Compiling hyper-rustls v0.27.7
Compiling wiremock v0.6.5
Compiling reqwest v0.12.28
Finished `test` profile [unoptimized + debuginfo] target(s) in 34.13s
Running unittests src/main.rs (target/debug/deps/anvil-d67e5636aba615c0)
running 127 tests
test commands::auth::tests::classify_400_denied ... ok
test commands::auth::tests::classify_400_expired ... ok
test commands::auth::tests::classify_400_pending_returns_pending ... ok
test commands::auth::tests::classify_400_slow_down ... ok
test commands::auth::tests::classify_success_returns_token ... ok
test commands::auth::tests::classify_success_without_token_is_other ... ok
test commands::auth::tests::classify_unknown_error_surfaces_description ... ok
test commands::auth::tests::normalize_strips_trailing_slashes_and_api_prefix ... ok
test commands::auth::tests::login_parses_no_browser_flag ... ok
test commands::commit::tests::view_parses_with_diff ... ok
test commands::commit::tests::view_parses_without_diff ... ok
test commands::auth::tests::login_parses_with_defaults ... ok
test commands::auth::tests::login_parses_url_and_token_args ... ok
test commands::epic::tests::matches_bare_number ... ok
test commands::epic::tests::short_ref_uses_full_when_repo_known ... ok
test commands::epic::tests::matches_full_cross_repo_ref ... ok
test commands::issue::tests::link_kind_api_values_match_server ... ok
test commands::epic::tests::short_ref_falls_back_to_hash_n_when_repo_unknown ... ok
test commands::issue::tests::parse_target_ref_cross_repo ... ok
test commands::issue::tests::parse_target_ref_rejects_bad_number ... ok
test commands::issue::tests::parse_target_ref_rejects_empty_parts ... ok
test commands::issue::tests::parse_target_ref_rejects_missing_hash ... ok
test commands::issue::tests::parse_target_ref_rejects_prefix_without_slash ... ok
test commands::issue::tests::parse_target_ref_same_repo ... ok
test client::tests::get_happy_path_parses_json ... ok
test client::tests::sse_stream_unhappy_json_body_is_surfaced_verbatim ... ok
test commands::issue::tests::parse_target_ref_whitespace_tolerated ... ok
test commands::milestone::tests::create_parses_due_date ... ok
test commands::milestone::tests::create_parses_required_title ... ok
test commands::pr::tests::checkout_parses_with_repo ... ok
test commands::pr::tests::edit_parses_base_repoint ... ok
test commands::pr::tests::checkout_parses ... ok
test commands::pr::tests::diff_parses_with_defaults ... ok
test commands::pr::tests::diff_parses_with_name_only_and_custom_remote ... ok
test commands::pr::tests::edit_parses_draft_flag ... ok
test commands::pr::tests::edit_parses_ready_flag ... ok
test commands::pr::tests::edit_parses_title_and_body ... ok
test commands::requirement::tests::any_standards_flags_detects_each_flag ... ok
test commands::requirement::tests::applicability_add_rejects_unknown_prefix ... ok
test commands::pr::tests::edit_rejects_draft_and_ready_together ... ok
test commands::requirement::tests::applicability_list_rejects_req_id ... ok
test commands::requirement::tests::create_rejects_std_with_repo_flag ... ok
test commands::requirement::tests::create_rejects_std_without_organization ... ok
test commands::requirement::tests::create_rejects_req_with_standards_flags ... ok
test commands::requirement::tests::infer_kind_from_prefix ... ok
test commands::requirement::tests::create_rejects_req_with_organization_flag ... ok
test commands::requirement::tests::list_all_rejects_missing_organization ... ok
test commands::requirement::tests::create_rejects_unknown_prefix ... ok
test commands::requirement::tests::matrix_rejects_unknown_kind ... ok
test commands::requirement::tests::require_standard_id_accepts_std ... ok
test commands::requirement::tests::matrix_standards_rejects_missing_organization ... ok
test commands::requirement::tests::require_standard_id_rejects_req ... ok
test commands::requirement::tests::require_standard_id_rejects_unknown ... ok
test commands::requirement::tests::list_rejects_unknown_kind ... ok
test commands::requirement::tests::strict_standards_errors_on_422_uncovered ... ok
test commands::requirement::tests::update_rejects_unknown_prefix ... ok
test commands::runner::tests::doctor_parses_with_defaults ... ok
test commands::runner::tests::logs_parses_follow_and_lines ... ok
test commands::runner::tests::restart_parses ... ok
test commands::runner::tests::service_install_accepts_service_name ... ok
test commands::runner::tests::service_install_parses_scope_system_with_user_account ... ok
test commands::runner::tests::service_install_parses_scope_user ... ok
test commands::runner::tests::service_install_parses_with_no_flags ... ok
test commands::runner::tests::service_list_parses ... ok
test commands::runner::tests::start_parses_detach_and_log_file ... ok
test commands::runner::tests::start_parses_hidden_detach_child_flag ... ok
test commands::runner::tests::start_parses_pid_file_and_shutdown_timeout ... ok
test commands::runner::tests::status_parses_with_service_name ... ok
test commands::runner::tests::stop_parses_force_and_timeout ... ok
test commands::runner::tests::stop_parses_with_defaults ... ok
test commands::runner::tests::svc_restart_parses_to_restart_variant ... ok
test commands::runner::tests::svc_start_parses_service_name_flag ... ok
test commands::runner::tests::svc_start_parses_to_start_variant ... ok
test commands::runner::tests::svc_status_parses_to_status_variant ... ok
test commands::runner::tests::svc_stop_parses_to_stop_variant ... ok
test commands::update::tests::parse_checksum_line_matches_filename ... ok
test commands::update::tests::parse_checksum_line_missing_returns_none ... ok
test commands::update::tests::parse_checksum_tolerates_extra_whitespace ... ok
test commands::update::tests::platform_target_maps_known_platforms ... ok
test commands::update::tests::platform_target_rejects_unknown ... ok
test commands::update::tests::verify_sha256_accepts_correct_hash ... ok
test commands::update::tests::verify_sha256_rejects_wrong_hash ... ok
test config::tests::test_parse_remote_urls ... ok
test output::tests::json_mode_off_by_default ... ok
test output::tests::print_json_pretty_prints ... ok
test output::tests::set_json_mode_round_trip ... ok
test runner::executor::end_reason_tests::finished_has_no_cancel_reason ... ok
test runner::executor::end_reason_tests::runner_shutdown_reports_as_cancel ... ok
test runner::executor::end_reason_tests::timeout_has_reason_but_is_not_runner_cancel ... ok
test runner::log_rotate::tests::no_rotate_when_log_absent ... ok
test runner::log_rotate::tests::no_rotate_when_under_threshold ... ok
test runner::log_rotate::tests::rotates_when_over_threshold ... ok
test runner::log_rotate::tests::rotation_chain_shifts_and_drops_oldest ... ok
test commands::requirement::tests::strict_standards_rejects_missing_organization ... ok
test commands::requirement::tests::update_rejects_req_with_organization_flag ... ok
test commands::requirement::tests::update_rejects_std_with_repo_flag ... ok
test commands::requirement::tests::update_rejects_req_with_standards_flags ... ok
test commands::requirement::tests::update_rejects_std_without_organization ... ok
test runner::pid_file::tests::inspect_absent_returns_none ... ok
test runner::prepare::tests::test_compute_prepared_tag_deterministic ... ok
test runner::pid_file::tests::inspect_live_pid_returns_live ... ok
test runner::prepare::tests::test_compute_prepared_tag_differs_on_commands ... ok
test runner::prepare::tests::test_compute_prepared_tag_differs_on_image ... ok
test commands::requirement::tests::strict_standards_propagates_non_422_errors ... ok
test client::tests::get_unhappy_json_body_is_surfaced_verbatim ... ok
test client::tests::sse_stream_unhappy_html_body_is_summarized ... ok
test runner::service_manager::tests::build_run_args_accepts_list_command ... ok
test runner::pid_file::tests::inspect_garbage_returns_stale ... ok
test runner::pid_file::tests::inspect_dead_pid_returns_stale ... ok
test client::tests::get_unhappy_html_body_is_summarized ... ok
test runner::prepare::tests::test_compute_prepared_tag_order_matters ... ok
test runner::service_manager::tests::build_run_args_omits_command_when_unset ... ok
test runner::service_manager::tests::build_run_args_appends_string_command_after_image ... ok
test runner::service_mode::tests::legacy_record_without_instance_field_loads_as_default ... ok
test runner::service_manager::tests::build_run_args_includes_network_alias_for_dns_resolution ... ok
test runner::service_mode::tests::record_path_uses_services_subdir ... ok
test client::tests::sse_stream_happy_path_returns_response ... ok
test runner::service_mode::tests::scope_round_trips_through_json ... ok
test commands::requirement::tests::strict_standards_returns_ok_on_2xx_status_ok ... ok
test runner::service_mode::tests::scope_serializes_as_lowercase ... ok
test runner::service_mode::tests::validate_instance_name_accepts_typical ... ok
test runner::service_mode::tests::validate_instance_name_rejects_invalid ... ok
test runner::slot_counter::tests::busy_starts_at_zero ... ok
test runner::slot_counter::tests::reservation_increments_and_drops_decrement ... ok
test runner::workspace::tests::test_parse_repo_url ... ok
test runner::pid_file::tests::guard_leaves_file_alone_on_drop_when_pid_was_clobbered ... ok
test runner::pid_file::tests::guard_writes_pid_and_removes_on_drop_when_pid_matches ... ok
test result: ok. 127 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s