[INFO] cloning repository https://github.com/adamcavendish/token-toxication [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamcavendish/token-toxication" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamcavendish%2Ftoken-toxication", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamcavendish%2Ftoken-toxication'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7ae74d5e9c07679edd04043de7ac93a53fbaef3 [INFO] testing adamcavendish/token-toxication against 1.98.0-beta.1 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamcavendish%2Ftoken-toxication" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/adamcavendish/token-toxication [INFO] finished tweaking git repo https://github.com/adamcavendish/token-toxication [INFO] tweaked toml for git repo https://github.com/adamcavendish/token-toxication written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adamcavendish/token-toxication on toolchain 1.98.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adamcavendish/token-toxication 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.98.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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c [INFO] running `Command { std: "docker" "start" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c", 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" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c", 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" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.12.0 [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Compiling cc v1.2.65 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.33 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling time-macros v0.2.31 [INFO] [stderr] Compiling rustls-pki-types v1.15.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling http v1.4.2 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling oid-registry v0.8.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling time v0.3.52 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustls v0.23.41 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling data-encoding v2.11.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling fs-err v3.3.1 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling rust-embed-utils v8.11.0 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling arc-swap v1.9.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling yasna v0.6.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Compiling rcgen v0.14.8 [INFO] [stderr] Compiling webpki-roots v1.0.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling asn1-rs-derive v0.6.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling asn1-rs v0.7.2 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling der-parser v10.0.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling x509-parser v0.18.1 [INFO] [stderr] Compiling x509-parser v0.17.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling h2 v0.4.15 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling utoipa-gen v5.5.0 [INFO] [stderr] Compiling axum-macros v0.5.1 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling coarsetime v0.1.37 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling instant-acme v0.8.5 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling rust-embed v8.11.0 [INFO] [stderr] Compiling rand v0.9.4 [INFO] [stderr] Compiling uuid v1.23.4 [INFO] [stderr] Compiling hyper v1.10.1 [INFO] [stderr] Compiling utoipa v5.5.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling aioduct v0.2.0 [INFO] [stderr] Compiling axum-server v0.8.0 [INFO] [stderr] Compiling axum v0.8.9 [INFO] [stderr] Compiling token-toxication-server v0.1.0 (/opt/rustwide/workdir/crates/token-toxication-server) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 25s [INFO] running `Command { std: "docker" "inspect" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c", 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" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rcgen v0.14.8 [INFO] [stderr] Compiling instant-acme v0.8.5 [INFO] [stderr] Compiling token-toxication-server v0.1.0 (/opt/rustwide/workdir/crates/token-toxication-server) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c", 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" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/token_toxication_server-41786bb6035b6fdb) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test acme::tests::http01_fallback_returns_not_found ... ok [INFO] [stdout] test acme::tests::challenge_store_returns_inserted_key_authorization ... ok [INFO] [stdout] test acme::tests::parses_dns_identifier_without_profile ... ok [INFO] [stdout] test acme::tests::parses_ip_identifier_for_shortlived_profile ... ok [INFO] [stdout] test acme::tests::rejects_url_identifier ... ok [INFO] [stdout] test acme::tests::renewal_for_shortlived_uses_half_lifetime ... ok [INFO] [stdout] test codex_subscription::tests::codex_endpoint_accepts_exact_or_base_url ... ok [INFO] [stdout] test codex_subscription::tests::extracts_account_id_from_jwt_claims ... ok [INFO] [stdout] test acme::tests::parses_certificate_validity_from_pem ... ok [INFO] [stdout] test config::tests::acme_http01_mode_allows_nonstandard_http_port_with_escape_hatch ... ok [INFO] [stdout] test config::tests::acme_http01_mode_rejects_nonstandard_http_port_by_default ... ok [INFO] [stdout] test codex_subscription::tests::parses_stored_token_cache ... ok [INFO] [stdout] test codex_subscription::tests::rejects_opencode_oauth_json ... ok [INFO] [stdout] test codex_subscription::tests::raw_value_is_treated_as_refresh_token ... ok [INFO] [stdout] test config::tests::acme_http01_mode_rejects_same_listener ... ok [INFO] [stdout] test config::tests::cert_files_mode_requires_cert_and_key_paths ... ok [INFO] [stdout] test config::tests::acme_http01_mode_requires_identifier_and_email ... ok [INFO] [stdout] test config::tests::off_mode_allows_empty_tls_config ... ok [INFO] [stdout] test db::tests::minimax_provider_aliases_default_to_anthropic_messages ... ok [INFO] [stdout] test db::tests::codex_subscription_aliases_default_to_responses ... ok [INFO] [stdout] test routes::tests::sanitize_upstream_url_removes_query ... ok [INFO] [stdout] test acme::tests::certificate_metadata_mismatch_triggers_reissue ... ok [INFO] [stdout] test routes::tests::strip_params_remove_only_top_level_keys_and_summarize_metadata ... ok [INFO] [stdout] test db::tests::openai_compatible_provider_aliases_default_to_chat ... ok [INFO] [stdout] test routing::tests::authorization_failure_blocks_account ... ok [INFO] [stdout] test routing::tests::generic_rate_limit_cools_route_for_one_minute ... ok [INFO] [stdout] test routing::tests::minimax_model_quota_cools_only_route_for_one_hour ... ok [INFO] [stdout] test db::tests::delete_api_key_reports_missing_rows ... ok [INFO] [stdout] test db::tests::primary_route_wins_and_rewrites_upstream_model ... ok [INFO] [stdout] test db::tests::backup_route_is_selected_after_primary_route_cools_down ... ok [INFO] [stdout] test db::tests::backup_route_is_selected_after_primary_is_blocked ... ok [INFO] [stdout] test db::tests::model_catalog_lists_enabled_routable_models_for_wire_api ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/token_toxication_server-f626018d5e271254) [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] [stderr] Doc-tests token_toxication_server [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" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c", kill_on_drop: false }` [INFO] [stdout] a090a6f2278af356642a09ebf345f127b7759914bbf90a01a7059888790f694c