[INFO] cloning repository https://github.com/joelewaldo/rust-codex-auth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joelewaldo/rust-codex-auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelewaldo%2Frust-codex-auth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelewaldo%2Frust-codex-auth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b08d4d2ac3f06191c285a8b62de93d7aefa9e07b
[INFO] testing joelewaldo/rust-codex-auth against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelewaldo%2Frust-codex-auth" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joelewaldo/rust-codex-auth
[INFO] finished tweaking git repo https://github.com/joelewaldo/rust-codex-auth
[INFO] tweaked toml for git repo https://github.com/joelewaldo/rust-codex-auth written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joelewaldo/rust-codex-auth on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joelewaldo/rust-codex-auth already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa
[INFO] running `Command { std: "docker" "start" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa", kill_on_drop: false }`
[INFO] running `Command { std: "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" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa", kill_on_drop: false }`
[INFO] running `Command { std: "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" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling utf8-zero v0.8.1
[INFO] [stderr]    Compiling ureq-proto v0.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling ureq v3.3.0
[INFO] [stderr]    Compiling codex-auth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 36s
[INFO] running `Command { std: "docker" "inspect" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa", kill_on_drop: false }`
[INFO] running `Command { std: "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" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling codex-auth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 14.04s
[INFO] running `Command { std: "docker" "inspect" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa", kill_on_drop: false }`
[INFO] running `Command { std: "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" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/codex_auth-58f647ebccc7e6cd)
[INFO] [stdout] 
[INFO] [stdout] running 34 tests
[INFO] [stdout] test auth::tests::rejects_api_key_auth ... ok
[INFO] [stdout] test auth::tests::parses_standard_chatgpt_auth ... ok
[INFO] [stdout] test auth::tests::rejects_mismatched_account_ids ... ok
[INFO] [stdout] test auth::tests::uses_default_organization_when_account_id_is_missing ... ok
[INFO] [stdout] test cli::rows::tests::active_local_usage_takes_precedence_over_remote_refresh ... ok
[INFO] [stdout] test cli::rows::tests::cached_only_rows_do_not_fetch_remote_usage ... ok
[INFO] [stdout] test cli::commands::tests::local_usage_updates_only_after_active_account_activation ... ok
[INFO] [stdout] test cli::rows::tests::refresh_display_replaces_stale_cached_usage ... ok
[INFO] [stdout] test cli::commands::tests::removing_active_account_promotes_first_remaining_snapshot ... ok
[INFO] [stdout] test cli::rows::tests::rows_use_remote_usage_data ... ok
[INFO] [stdout] test cli::rows::tests::local_usage_from_previous_activation_does_not_block_remote_refresh ... ok
[INFO] [stdout] test cli::commands::tests::removing_last_active_account_deletes_live_auth ... ok
[INFO] [stdout] test cli::rows::tests::rows_surface_usage_errors ... ok
[INFO] [stdout] test cli::rows::tests::same_minute_failed_refresh_is_reused ... ok
[INFO] [stdout] test cli::rows::tests::same_minute_usage_is_fresh ... ok
[INFO] [stdout] test cli::select::tests::duplicate_emails_get_disambiguated_labels ... ok
[INFO] [stdout] test storage::tests::falls_back_to_home_when_codex_home_is_absent ... ok
[INFO] [stdout] test cli::select::tests::rejects_ambiguous_email_selectors ... ok
[INFO] [stdout] test storage::tests::resolves_codex_home_in_expected_order ... ok
[INFO] [stdout] test storage::tests::detects_active_account_from_live_auth ... ok
[INFO] [stdout] test cli::select::tests::resolves_rows_and_exact_email_selectors ... ok
[INFO] [stdout] test storage::tests::falls_back_to_userprofile_when_home_is_absent ... ok
[INFO] [stdout] test storage::tests::saves_and_loads_snapshot_without_registry ... ok
[INFO] [stdout] test storage::tests::sync_active_account_clears_active_state_without_live_auth ... ok
[INFO] [stdout] test cli::rows::tests::successful_refresh_updates_timestamp_even_when_usage_is_unchanged ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/codex_auth-a904c166f7ec2af8)
[INFO] [stderr]    Doc-tests codex_auth
[INFO] [stdout] test usage::format::tests::formats_relative_reset_times ... ok
[INFO] [stdout] test storage::tests::sync_active_account_creates_and_refreshes_managed_snapshot ... ok
[INFO] [stdout] test usage::tests::rejects_payload_without_usage_windows ... ok
[INFO] [stdout] test storage::tests::activating_snapshot_replaces_live_auth ... ok
[INFO] [stdout] test usage::local::tests::latest_local_usage_reads_newest_rollout ... ok
[INFO] [stdout] test usage::local::tests::parses_rollout_event_timestamp ... ok
[INFO] [stdout] test usage::local::tests::parses_latest_rollout_usage ... ok
[INFO] [stdout] test usage::local::tests::latest_local_usage_reuses_unchanged_cached_rollout ... ok
[INFO] [stdout] test usage::tests::parses_usage_windows ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[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] [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] running `Command { std: "docker" "inspect" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa", kill_on_drop: false }`
[INFO] [stdout] 6f24aa6f407f9e678c46c8997a2aa80e35da055e2870e3c7c990f22a1fe764fa
