ref:main

test passed

Command: cargo test 2>&1
Started: Jun 07, 2026 at 01:22 UTC Completed: Jun 07, 2026 at 01:23 UTC Duration: 57s
Exit code: 0

Build Output

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