[INFO] cloning repository https://github.com/hota1024/ccswitch
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hota1024/ccswitch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhota1024%2Fccswitch"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhota1024%2Fccswitch'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] a09b33770f3cbdf2534e8a2fd24c031c98180339
[INFO] testing hota1024/ccswitch 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%2Fhota1024%2Fccswitch" "/workspace/builds/worker-1-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hota1024/ccswitch
[INFO] finished tweaking git repo https://github.com/hota1024/ccswitch
[INFO] tweaked toml for git repo https://github.com/hota1024/ccswitch written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hota1024/ccswitch 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/hota1024/ccswitch already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ureq v3.4.0
[INFO] [stderr]   Downloaded ureq-proto v0.6.1
[INFO] [stderr]   Downloaded inquire v0.9.4
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff
[INFO] running `"docker" "start" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff"`
[INFO] running `"docker" "inspect" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff"`
[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" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff"`
[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" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.10
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling unicode-segmentation v1.13.3
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling rustls v0.23.43
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling rustls-pki-types v1.15.1
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling http v1.5.0
[INFO] [stderr]    Compiling thread_local v1.1.10
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling cc v1.4.2
[INFO] [stderr]    Compiling base64 v0.23.1
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]    Compiling winnow v1.0.4
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]    Compiling clap_builder v4.6.6
[INFO] [stderr]    Compiling clap_derive v4.6.4
[INFO] [stderr]    Compiling webpki-roots v1.0.9
[INFO] [stderr]    Compiling fuzzy-matcher v0.3.7
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]    Compiling ureq-proto v0.6.1
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling utf8-zero v0.8.1
[INFO] [stderr]    Compiling toml_writer v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling mio v1.2.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling console v0.16.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling toml_parser v1.1.3+spec-1.1.0
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling clap v4.6.6
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling serde_spanned v1.1.1
[INFO] [stderr]    Compiling toml_edit v0.25.13+spec-1.1.0
[INFO] [stderr]    Compiling inquire v0.9.4
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling ureq v3.4.0
[INFO] [stderr]    Compiling ccswitch v2.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 29s
[INFO] running `"docker" "inspect" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff"`
[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" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling predicates-core v1.0.10
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling assert_cmd v2.2.2
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling predicates-tree v1.0.13
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling inquire v0.9.4
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling bstr v1.13.1
[INFO] [stderr]    Compiling ccswitch v2.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling predicates v3.1.4
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 16s
[INFO] running `"docker" "inspect" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff"`
[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" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/ccswitch/5326140e49c8b107/out/ccswitch-5326140e49c8b107)
[INFO] [stdout] 
[INFO] [stdout] running 53 tests
[INFO] [stdout] test claude::tests::missing_oauth_account_is_not_logged_in ... ok
[INFO] [stdout] test claude::tests::broken_json_is_unreadable_not_a_panic ... ok
[INFO] [stdout] test claude::tests::parses_a_normal_account ... ok
[INFO] [stdout] test completion::tests::the_binary_path_is_quoted_and_absolute ... ok
[INFO] [stdout] test claude::tests::oauth_account_without_email_is_not_logged_in ... ok
[INFO] [stdout] test cache::tests::resolve_reparses_when_the_file_changes_and_caches_otherwise ... ok
[INFO] [stdout] test claude::tests::absent_file_is_missing ... ok
[INFO] [stdout] test completion::tests::no_placeholder_survives ... ok
[INFO] [stdout] test cache::tests::ttl_path_accepts_a_stale_entry ... ok
[INFO] [stdout] test cache::tests::corrupt_cache_file_is_treated_as_empty ... ok
[INFO] [stdout] test completion::tests::zsh_descriptions_escape_structural_characters ... ok
[INFO] [stdout] test profile::tests::colliding_explicit_names_are_disambiguated_by_id ... ok
[INFO] [stdout] test config::tests::clearing_a_profile_name_drops_the_table ... ok
[INFO] [stdout] test completion::tests::hidden_commands_stay_hidden ... ok
[INFO] [stdout] test profile::tests::colliding_local_parts_fall_back_to_full_emails ... ok
[INFO] [stdout] test claude::tests::unexpected_field_types_do_not_panic ... ok
[INFO] [stdout] test paths::tests::explicit_config_dir_holds_its_own_claude_json ... ok
[INFO] [stdout] test paths::tests::tildify_collapses_home ... ok
[INFO] [stdout] test profile::tests::auto_ids_skip_taken_ones ... ok
[INFO] [stdout] test config::tests::editing_preserves_comments ... ok
[INFO] [stdout] test profile::tests::discovery_finds_both_layouts_and_prefers_managed ... ok
[INFO] [stdout] test config::tests::enum_values_are_validated ... ok
[INFO] [stdout] test profile::tests::the_default_entry_is_always_called_default ... ok
[INFO] [stdout] test profile::tests::explicit_names_win ... ok
[INFO] [stdout] test rules::tests::a_file_beats_a_config_rule ... ok
[INFO] [stdout] test completion::tests::profile_candidates_are_wired_up_for_every_shell ... ok
[INFO] [stdout] test profile::tests::lookup_precedence_and_ambiguity ... ok
[INFO] [stdout] test config::tests::unknown_key_suggests_a_near_miss ... ok
[INFO] [stdout] test profile::tests::name_comes_from_the_email_local_part ... ok
[INFO] [stdout] test profile::tests::id_validation ... ok
[INFO] [stdout] test shell::tests::default_unsets_rather_than_pinning_a_path ... ok
[INFO] [stdout] test shell::tests::fish_quoting ... ok
[INFO] [stdout] test shell::tests::init_substitutes_every_placeholder ... ok
[INFO] [stdout] test shell::tests::init_without_a_default_profile_emits_no_env_block ... ok
[INFO] [stdout] test profile::tests::name_source_id_disables_email_naming ... ok
[INFO] [stdout] test profile::tests::slugging ... ok
[INFO] [stdout] test shell::tests::newlines_are_refused_everywhere ... ok
[INFO] [stdout] test shell::tests::posix_quoting ... ok
[INFO] [stdout] test rules::tests::an_empty_file_stops_the_search_rather_than_inheriting ... ok
[INFO] [stdout] test rules::tests::parses_the_first_meaningful_line ... ok
[INFO] [stdout] test update::tests::version_comparison ... ok
[INFO] [stdout] test rules::tests::approval_is_tied_to_the_exact_content ... ok
[INFO] [stdout] test shell::tests::switch_payloads_are_exact ... ok
[INFO] [stdout] test config::tests::missing_file_yields_defaults ... ok
[INFO] [stdout] test config::tests::set_and_reload_round_trips ... ok
[INFO] [stdout] test paths::tests::default_profile_claude_json_lives_next_to_the_dir ... ok
[INFO] [stdout] test profile::tests::a_profile_without_an_account_keeps_its_id ... ok
[INFO] [stdout] test completion::tests::every_subcommand_in_the_cli_reaches_the_script ... ok
[INFO] [stdout] test rules::tests::the_nearest_file_wins ... ok
[INFO] [stdout] test shell::tests::activation_lines ... ok
[INFO] [stdout] test shell::tests::the_hook_records_what_it_displaced_and_puts_it_back ... ok
[INFO] [stdout] test profile::tests::identical_accounts_fall_back_to_ids ... ok
[INFO] [stdout] test rules::tests::config_rules_match_by_longest_prefix ... ok
[INFO] [stderr]      Running tests/cli.rs (/opt/rustwide/target/release/build/ccswitch/8b711709f81dc992/out/cli-8b711709f81dc992)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 53 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 44 tests
[INFO] [stdout] test an_ambiguous_name_is_reported_rather_than_guessed ... ok
[INFO] [stdout] test config_list_marks_defaults ... ok
[INFO] [stdout] test completion_backend_lists_profiles_with_descriptions ... ok
[INFO] [stdout] test an_unknown_profile_prints_nothing_on_stdout ... ok
[INFO] [stdout] test config_rejects_unknown_keys_with_a_suggestion ... ok
[INFO] [stdout] test config_get_set_unset_round_trip ... ok
[INFO] [stdout] test a_manual_switch_pins_the_shell_until_ccswitch_auto ... ok
[INFO] [stdout] test current_reflects_the_environment ... ok
[INFO] [stdout] test a_rule_naming_a_missing_profile_is_reported_not_applied ... ok
[INFO] [stdout] test an_unnamed_profile_adopts_the_email_user_name_after_login ... ok
[INFO] [stdout] test editing_an_approved_rule_file_revokes_approval ... ok
[INFO] [stdout] test fish_switches_and_restores_on_cd ... ok
[INFO] [stdout] test fish_round_trip_actually_switches_the_environment ... ok
[INFO] [stdout] test fish_completion_offers_profiles_and_settings ... ok
[INFO] [stdout] test fish_prints_rule_list_instead_of_running_it ... ok
[INFO] [stdout] test completion_scripts_are_syntactically_valid ... ok
[INFO] [stdout] test list_json_is_machine_readable ... ok
[INFO] [stdout] test init_embeds_the_binary_path_and_the_default_profile ... ok
[INFO] [stdout] test prompt_falls_back_to_the_config_dir ... ok
[INFO] [stdout] test new_creates_a_directory_and_records_the_chosen_name ... ok
[INFO] [stdout] test prompt_uses_the_exported_name_without_touching_the_disk ... ok
[INFO] [stdout] test completion_backend_knows_setting_values ... ok
[INFO] [stdout] test an_unapproved_rule_file_is_not_obeyed ... ok
[INFO] [stdout] test subcommands_win_over_same_named_profiles ... ok
[INFO] [stdout] test only_marked_output_is_meant_to_be_evaluated ... ok
[INFO] [stdout] test profiles_can_be_found_by_id_name_email_and_prefix ... ok
[INFO] [stdout] test remove_refuses_to_guess_without_a_terminal ... ok
[INFO] [stdout] test switch_emits_exactly_the_expected_bash_code ... ok
[INFO] [stdout] test remove_deletes_the_directory_and_forgets_the_name ... ok
[INFO] [stdout] test list_shows_the_default_entry_and_every_email ... ok
[INFO] [stdout] test the_hook_does_nothing_without_a_rule ... ok
[INFO] [stdout] test without_shell_integration_it_warns_instead_of_lying ... ok
[INFO] [stdout] test rename_changes_only_the_display_name ... ok
[INFO] [stdout] test bash_round_trip_actually_switches_the_environment ... ok
[INFO] [stdout] test the_nearest_rule_file_wins_and_leaving_restores ... ok
[INFO] [stdout] test every_subcommand_accepts_the_global_shell_flag ... ok
[INFO] [stdout] test bash_completion_offers_profiles_and_settings ... ok
[INFO] [stdout] test switching_to_default_unsets_the_variables ... ok
[INFO] [stdout] test local_writes_an_approved_rule_file ... ok
[INFO] [stdout] test the_default_profile_cannot_be_removed_or_renamed ... ok
[INFO] [stdout] test init_scripts_are_syntactically_valid ... ok
[INFO] [stdout] test config_rules_cover_whole_trees_without_any_file ... ok
[INFO] [stdout] test legacy_profiles_work_and_can_be_migrated ... ok
[INFO] [stdout] test the_directory_hook_is_installed_only_when_enabled ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff"`
[INFO] running `"docker" "rm" "-f" "de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff"`
[INFO] [stdout] de09a7ddbcb811378713f817ce00b51f5b79c6035ea4b01853c60996f941fcff
