[INFO] fetching crate claude-usage 0.2.3...
[INFO] testing claude-usage-0.2.3 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate claude-usage 0.2.3 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate claude-usage 0.2.3
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate claude-usage 0.2.3
[INFO] tweaked toml for crates.io crate claude-usage 0.2.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate claude-usage 0.2.3 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate claude-usage 0.2.3 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21
[INFO] running `"docker" "start" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21"`
[INFO] running `"docker" "inspect" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21"`
[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" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21"`
[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" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zmij v1.0.16
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling napi-build v2.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling cc v1.2.54
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling claude-usage v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling webpki-roots v1.0.5
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 21s
[INFO] running `"docker" "inspect" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21"`
[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" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling claude-usage v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 16.23s
[INFO] running `"docker" "inspect" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21"`
[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" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/claude-usage/8adba05a8288393e/out/claude_usage-8adba05a8288393e)
[INFO] [stdout] 
[INFO] [stdout] running 32 tests
[INFO] [stdout] test client::tests::test_api_url_is_correct ... ok
[INFO] [stdout] test client::tests::test_fetch_usage_raw_integration ... ignored, requires real API credentials
[INFO] [stdout] test credentials::linux::tests::test_get_token_linux_integration ... ignored, requires real credentials file
[INFO] [stdout] test credentials::linux::tests::test_expired_token_in_file ... ok
[INFO] [stdout] test credentials::linux::tests::test_credentials_path_format ... ok
[INFO] [stdout] test credentials::linux::tests::test_read_valid_credentials_file ... ok
[INFO] [stdout] test credentials::linux::tests::test_get_credentials_path_no_home ... ok
[INFO] [stdout] test credentials::linux::tests::test_invalid_json_in_file ... ok
[INFO] [stdout] test credentials::linux::tests::test_get_credentials_path_uses_home ... ok
[INFO] [stdout] test credentials::tests::test_env_var_behavior ... ok
[INFO] [stdout] test credentials::tests::test_parse_missing_access_token ... ok
[INFO] [stdout] test credentials::tests::test_parse_no_expires_at_is_valid ... ok
[INFO] [stdout] test tests::test_get_usage_integration ... ignored, requires real credentials
[INFO] [stdout] test types::tests::test_is_on_pace_when_ahead ... ok
[INFO] [stdout] test types::tests::test_is_on_pace_when_behind ... ok
[INFO] [stdout] test types::tests::test_parse_full_response ... ok
[INFO] [stdout] test credentials::tests::test_parse_invalid_json ... ok
[INFO] [stdout] test client::tests::test_beta_header_is_correct ... ok
[INFO] [stdout] test credentials::tests::test_parse_valid_credentials ... ok
[INFO] [stdout] test credentials::tests::test_parse_expired_token ... ok
[INFO] [stdout] test types::tests::test_extra_usage_with_amounts ... ok
[INFO] [stdout] test types::tests::test_parse_null_resets_at ... ok
[INFO] [stdout] test types::tests::test_five_hour_on_pace ... ok
[INFO] [stdout] test types::tests::test_parse_minimal_response ... ok
[INFO] [stdout] test types::tests::test_serialize_round_trip ... ok
[INFO] [stdout] test credentials::tests::test_parse_missing_claude_ai_oauth ... ok
[INFO] [stdout] test credentials::linux::tests::test_missing_credentials_file ... ok
[INFO] [stdout] test types::tests::test_seven_day_on_pace ... ok
[INFO] [stdout] test types::tests::test_time_elapsed_percent_at_start ... ok
[INFO] [stdout] test types::tests::test_time_elapsed_percent_no_reset ... ok
[INFO] [stdout] test types::tests::test_time_elapsed_percent_at_half ... ok
[INFO] [stdout] test client::tests::test_fetch_with_invalid_token ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- client::tests::test_fetch_with_invalid_token stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'client::tests::test_fetch_with_invalid_token' (1729) panicked at src/client.rs:117:9:
[INFO] [stdout] assertion failed: matches!(result, Err(ApiError::Unauthorized))
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6192ae2ace51 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x6192ae2c2fda - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x6192ae2b1bbc - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x6192ae286d16 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x6192ae2a3f59 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x6192ae2374b0 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x6192ae2a4282 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x6192ae286df4 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x6192ae27ee49 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x6192ae287ddd - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x6192ae2c3d3c - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x6192ae2c3d02 - core[5c14b8d5a259cc4e]::panicking::panic
[INFO] [stdout]   12:     0x6192ae03868c - <claude_usage[388e0c64af33b374]::client::tests::test_fetch_with_invalid_token::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x6192ae22a31b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   14:     0x6192ae237ad5 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   15:     0x6192ae230f24 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x6192ae23aa62 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x6192ae2abfdf - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x7799a3e4bdfa - <unknown>
[INFO] [stdout]   19:     0x7799a3edf3d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     client::tests::test_fetch_with_invalid_token
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 28 passed; 1 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `"docker" "inspect" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21"`
[INFO] running `"docker" "rm" "-f" "8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21"`
[INFO] [stdout] 8835e5b0a1ecb1cb7540db07258a78eea9c36071653c13de50dc44afc4905d21
