[INFO] fetching crate cf-modkit-http 0.6.5...
[INFO] testing cf-modkit-http-0.6.5 against 1.98.0-beta.1 for beta-1.98-1
[INFO] extracting crate cf-modkit-http 0.6.5 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate cf-modkit-http 0.6.5
[INFO] finished tweaking crates.io crate cf-modkit-http 0.6.5
[INFO] tweaked toml for crates.io crate cf-modkit-http 0.6.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cf-modkit-http 0.6.5 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 crates.io crate cf-modkit-http 0.6.5 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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a
[INFO] running `Command { std: "docker" "start" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a", 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" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a" "/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" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a", 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" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling aws-lc-rs v1.16.2
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling rustls v0.23.38
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling compression-core v0.4.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling cc v1.2.60
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling chacha20 v0.10.0
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling uuid v1.23.0
[INFO] [stderr]    Compiling rand v0.10.1
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling aws-lc-sys v0.39.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling compression-codecs v0.4.37
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling async-compression v0.4.41
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling cf-modkit-http v0.6.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.30s
[INFO] running `Command { std: "docker" "inspect" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a", 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" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a" "/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 litemap v0.8.2
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling num-conv v0.2.1
[INFO] [stderr]    Compiling opentelemetry v0.31.0
[INFO] [stderr]    Compiling tabwriter v1.4.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling path-tree v0.8.3
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling stringmetrics v2.2.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling async-lock v3.4.2
[INFO] [stderr]    Compiling rand v0.9.4
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling async-object-pool v0.2.0
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling headers-core v0.3.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling headers v0.4.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling serde_regex v1.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling async-compression v0.4.41
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling opentelemetry_sdk v0.31.0
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling httpmock v0.8.3
[INFO] [stderr]    Compiling cf-modkit-http v0.6.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] running `Command { std: "docker" "inspect" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a", 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" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a" "/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.41s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/modkit_http-69b45a9a7604eb60)
[INFO] [stdout] 
[INFO] [stdout] running 160 tests
[INFO] [stdout] test builder::tests::test_builder_buffer_capacity ... ok
[INFO] [stdout] test builder::tests::test_builder_buffer_capacity_zero_clamped ... ok
[INFO] [stdout] test builder::tests::test_builder_max_body_size ... ok
[INFO] [stdout] test builder::tests::test_builder_default_uses_webpki_roots ... ok
[INFO] [stdout] test builder::tests::test_builder_build ... ok
[INFO] [stdout] test builder::tests::test_builder_buffer_capacity_zero_in_config_clamped ... ok
[INFO] [stdout] test builder::tests::test_builder_default ... ok
[INFO] [stdout] test builder::tests::test_builder_build_invalid_user_agent ... ok
[INFO] [stdout] test builder::tests::test_builder_build_with_deny_insecure_http ... ok
[INFO] [stdout] test builder::tests::test_builder_retry ... ok
[INFO] [stdout] test builder::tests::test_builder_otel ... ok
[INFO] [stdout] test builder::tests::test_builder_timeout ... ok
[INFO] [stdout] test builder::tests::test_builder_build_with_sse_config ... ok
[INFO] [stdout] test builder::tests::test_builder_user_agent ... ok
[INFO] [stdout] test builder::tests::test_builder_build_with_otel ... ok
[INFO] [stdout] test builder::tests::test_builder_transport_security ... ok
[INFO] [stdout] test builder::tests::test_builder_with_metrics_layer ... ok
[INFO] [stdout] test builder::tests::test_map_tower_error_preserves_service_closed ... ok
[INFO] [stdout] test builder::tests::test_map_tower_error_preserves_overloaded ... ok
[INFO] [stdout] test builder::tests::test_builder_with_config ... ok
[INFO] [stdout] test builder::tests::test_builder_with_auth_layer ... ok
[INFO] [stdout] test builder::tests::test_builder_webpki_roots_https_only ... ok
[INFO] [stdout] test builder::tests::test_cancellation_propagates_through_full_stack ... ok
[INFO] [stdout] test builder::tests::test_map_tower_error_preserves_timeout_attempt ... ok
[INFO] [stdout] test builder::tests::test_map_tower_error_wraps_unknown_as_transport ... ok
[INFO] [stdout] test builder::tests::test_builder_with_metrics_layer_second_call_replaces_first ... ok
[INFO] [stdout] test builder::tests::test_load_shedding_returns_overloaded_error ... ok
[INFO] [stdout] test client::tests::test_buffer_overflow_returns_overloaded ... ok
[INFO] [stdout] test client::tests::test_gzip_decompression_text ... ok
[INFO] [stdout] test client::tests::test_gzip_decompression_checked_bytes ... ok
[INFO] [stdout] test client::tests::test_gzip_decompression_body_size_limit ... ok
[INFO] [stdout] test client::tests::test_http_client_delete_returns_200 ... ok
[INFO] [stdout] test client::tests::test_checked_body_success ... ok
[INFO] [stdout] test client::tests::test_client_is_clone ... ok
[INFO] [stdout] test client::tests::test_body_size_limit ... ok
[INFO] [stdout] test client::tests::test_content_type_not_duplicated_with_form ... ok
[INFO] [stdout] test client::tests::test_accept_encoding_header_sent ... ok
[INFO] [stdout] test client::tests::test_http_client_is_send_sync ... ok
[INFO] [stdout] test client::tests::test_content_type_not_duplicated_with_json ... ok
[INFO] [stdout] test client::tests::test_custom_user_agent ... ok
[INFO] [stdout] test client::tests::test_error_response_with_large_body_returns_http_status ... ok
[INFO] [stdout] test client::tests::test_http_client_get ... ok
[INFO] [stdout] test client::tests::test_gzip_decompression_basic ... ok
[INFO] [stdout] test client::tests::test_gzip_decompression_json ... ok
[INFO] [stdout] test client::tests::test_http_client_options_returns_allow_header ... ok
[INFO] [stdout] test client::tests::test_http_client_delete ... ok
[INFO] [stdout] test client::tests::test_http_client_head_returns_headers_no_body ... ok
[INFO] [stdout] test client::tests::test_http_client_patch ... ok
[INFO] [stdout] test client::tests::test_http_client_patch_form ... ok
[INFO] [stdout] test client::tests::test_http_client_post_form ... ok
[INFO] [stdout] test client::tests::test_http_client_put_form ... ok
[INFO] [stdout] test client::tests::test_http_client_put ... ok
[INFO] [stdout] test client::tests::test_http_client_post ... ok
[INFO] [stdout] test client::tests::test_map_buffer_error_passes_through_http_error ... ok
[INFO] [stdout] test client::tests::test_map_buffer_error_returns_service_closed_for_unknown_error ... ok
[INFO] [stdout] test client::tests::test_json_body_parsing ... ok
[INFO] [stdout] test client::tests::test_request_builder_body_bytes ... ok
[INFO] [stdout] test client::tests::test_non_2xx_returns_http_status_error ... ok
[INFO] [stdout] test client::tests::test_request_builder_headers_vec ... ok
[INFO] [stdout] test client::tests::test_put_form_with_custom_headers ... ok
[INFO] [stdout] test client::tests::test_non_retryable_status_passes_through ... ok
[INFO] [stdout] test client::tests::test_patch_form_with_custom_headers ... ok
[INFO] [stdout] test client::tests::test_request_builder_body_string ... ok
[INFO] [stdout] test client::tests::test_response_text_method ... ok
[INFO] [stdout] test client::tests::test_request_builder_multiple_headers ... ok
[INFO] [stdout] test client::tests::test_no_retry_config_status_passes_through ... ok
[INFO] [stdout] test client::tests::test_large_body_no_deadlock ... ok
[INFO] [stdout] test client::tests::test_small_buffer_capacity_no_deadlock ... ok
[INFO] [stdout] test client::tests::test_request_builder_json_body ... ok
[INFO] [stdout] test client::tests::test_no_compression_passthrough ... ok
[INFO] [stdout] test client::tests::test_url_scheme_http_rejected_with_tls_only ... ok
[INFO] [stdout] test config::tests::test_http_client_config_defaults ... ok
[INFO] [stdout] test config::tests::test_http_client_config_for_testing ... ok
[INFO] [stdout] test config::tests::test_http_client_config_infra_default ... ok
[INFO] [stdout] test config::tests::test_http_client_config_minimal ... ok
[INFO] [stdout] test config::tests::test_http_client_config_sse ... ok
[INFO] [stdout] test client::tests::test_status_retry_extracts_retry_after_header ... ok
[INFO] [stdout] test config::tests::test_http_client_config_token_endpoint ... ok
[INFO] [stdout] test client::tests::test_url_scheme_invalid_rejected ... ok
[INFO] [stdout] test config::tests::test_rate_limit_config_conservative ... ok
[INFO] [stdout] test config::tests::test_rate_limit_config_defaults ... ok
[INFO] [stdout] test config::tests::test_retry_config_defaults ... ok
[INFO] [stdout] test config::tests::test_retry_config_aggressive ... ok
[INFO] [stdout] test client::tests::test_url_scheme_missing_rejected ... ok
[INFO] [stdout] test config::tests::test_retry_trigger_constants ... ok
[INFO] [stdout] test config::tests::test_retry_config_disabled ... ok
[INFO] [stdout] test config::tests::test_should_retry_always ... ok
[INFO] [stdout] test config::tests::test_should_retry_idempotent_only ... ok
[INFO] [stdout] test client::tests::test_url_scheme_http_allowed_with_allow_insecure ... ok
[INFO] [stdout] test config::tests::test_should_retry_not_configured ... ok
[INFO] [stdout] test config::tests::test_should_retry_with_idempotency_key ... ok
[INFO] [stdout] test error::tests::test_error_chain_traversal ... ok
[INFO] [stdout] test error::tests::test_tls_error_preserves_source ... ok
[INFO] [stdout] test layers::redirect::tests::test_allowed_host ... ok
[INFO] [stdout] test error::tests::test_transport_error_preserves_source ... ok
[INFO] [stdout] test layers::redirect::tests::test_is_not_https_downgrade ... ok
[INFO] [stdout] test layers::redirect::tests::test_is_https_downgrade ... ok
[INFO] [stdout] test layers::redirect::tests::test_is_same_origin_different_scheme ... ok
[INFO] [stdout] test layers::redirect::tests::test_is_same_origin_explicit_default_port ... ok
[INFO] [stdout] test layers::redirect::tests::test_is_same_origin_same ... ok
[INFO] [stdout] test layers::redirect::tests::test_policy_new ... ok
[INFO] [stdout] test config::tests::test_is_idempotent_method ... ok
[INFO] [stdout] test layers::redirect::tests::test_redirect_config_default ... ok
[INFO] [stdout] test config::tests::test_rate_limit_config_unlimited ... ok
[INFO] [stdout] test layers::redirect::tests::test_redirect_config_disabled ... ok
[INFO] [stdout] test layers::redirect::tests::test_redirect_config_for_testing ... ok
[INFO] [stdout] test layers::redirect::tests::test_should_strip_headers ... ok
[INFO] [stdout] test layers::redirect::tests::test_should_strip_headers_disabled ... ok
[INFO] [stdout] test layers::retry::tests::test_calculate_backoff_no_jitter ... ok
[INFO] [stdout] test client::tests::test_status_retry_get_500_retried ... ok
[INFO] [stdout] test client::tests::test_status_retry_ignores_retry_after_when_configured ... ok
[INFO] [stdout] test layers::retry::tests::test_calculate_backoff_with_huge_attempt ... ok
[INFO] [stdout] test layers::retry::tests::test_calculate_backoff_with_infinity_multiplier ... ok
[INFO] [stdout] test layers::retry::tests::test_calculate_backoff_with_jitter ... ok
[INFO] [stdout] test layers::retry::tests::test_calculate_backoff_with_nan_multiplier ... ok
[INFO] [stdout] test client::tests::test_url_scheme_https_always_allowed ... ok
[INFO] [stdout] test layers::retry::tests::test_calculate_backoff_with_negative_multiplier ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_does_not_retry_json_errors ... ok
[INFO] [stdout] test client::tests::test_token_endpoint_post_not_retried ... ok
[INFO] [stdout] test layers::redirect::tests::test_is_same_origin_different_host ... ok
[INFO] [stdout] test layers::redirect::tests::test_is_same_origin_different_port ... ok
[INFO] [stdout] test layers::redirect::tests::test_redirect_config_permissive ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_post_not_retried_on_transport_error ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_post_not_retried_on_5xx ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_non_retryable_status_passes_through ... ok
[INFO] [stdout] test client::tests::test_status_retry_post_500_not_retried ... ok
[INFO] [stdout] test client::tests::test_status_retry_exhausted_returns_ok_response ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_successful_request ... ok
[INFO] [stdout] test layers::user_agent::tests::test_user_agent_added ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_always_retries_429 ... ok
[INFO] [stdout] test layers::user_agent::tests::test_user_agent_layer_invalid_value ... ok
[INFO] [stdout] test otel::tests::test_get_traceparent_none ... ok
[INFO] [stdout] test otel::tests::test_get_traceparent_ok ... ok
[INFO] [stdout] test layers::user_agent::tests::test_user_agent_not_overwritten ... ok
[INFO] [stdout] test otel::tests::test_inject_current_span_noop ... ok
[INFO] [stdout] test otel::tests::test_parse_trace_id_invalid ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_uses_retry_after_header ... ok
[INFO] [stdout] test otel::tests::test_parse_trace_id_ok ... ok
[INFO] [stdout] test response::tests::test_parse_retry_after_http_date_in_future ... ok
[INFO] [stdout] test response::tests::test_parse_retry_after_http_date_in_past ... ok
[INFO] [stdout] test response::tests::test_parse_retry_after_invalid ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_ignores_retry_after_when_configured ... ok
[INFO] [stdout] test response::tests::test_parse_retry_after_missing ... ok
[INFO] [stdout] test response::tests::test_parse_retry_after_negative_seconds ... ok
[INFO] [stdout] test response::tests::test_parse_retry_after_seconds ... ok
[INFO] [stdout] test otel::tests::test_set_parent_from_headers_no_panic ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_attempt_header_added_on_retry ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_exhausted_returns_ok_with_status ... ok
[INFO] [stdout] test client::tests::test_status_retry_post_429_retried ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_post_with_idempotency_key_retried ... ok
[INFO] [stdout] test response::tests::test_parse_retry_after_seconds_with_whitespace ... ok
[INFO] [stdout] test response::tests::test_parse_retry_after_zero ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_retries_transport_errors ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_layer_get_retried_on_5xx ... ok
[INFO] [stdout] test client::tests::test_concurrent_requests_50 ... ok
[INFO] [stdout] test layers::retry::tests::test_retry_after_clamped_to_backoff_max ... ok
[INFO] [stdout] test tls::tests::test_native_roots_client_config ... ok
[INFO] [stdout] test builder::tests::test_http2_enabled_for_all_configurations ... ok
[INFO] [stdout] test tls::tests::test_native_roots_cached ... ok
[INFO] [stdout] test builder::tests::test_builder_native_roots ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 160 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests modkit_http
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stdout] test src/builder.rs - builder::HttpClientBuilder::redirect (line 213) ... ignored
[INFO] [stdout] test src/config.rs - config::HttpClientConfig::sse (line 705) ... ignored
[INFO] [stdout] test src/config.rs - config::HttpClientConfig::sse (line 717) ... ignored
[INFO] [stdout] test src/config.rs - config::RedirectConfig (line 350) ... ignored
[INFO] [stdout] test src/error.rs - error::InvalidUriKind (line 11) ... ignored
[INFO] [stdout] test src/layers/redirect.rs - layers::redirect::SecureRedirectPolicy (line 45) ... ignored
[INFO] [stdout] test src/lib.rs - (line 27) ... ignored
[INFO] [stdout] test src/request.rs - request::RequestBuilder (line 35) ... ignored
[INFO] [stdout] test src/request.rs - request::RequestBuilder (line 50) ... ignored
[INFO] [stdout] test src/request.rs - request::RequestBuilder::body_bytes (line 252) ... ignored
[INFO] [stdout] test src/request.rs - request::RequestBuilder::body_string (line 269) ... ignored
[INFO] [stdout] test src/request.rs - request::RequestBuilder::form (line 228) ... ignored
[INFO] [stdout] test src/request.rs - request::RequestBuilder::header (line 116) ... ignored
[INFO] [stdout] test src/request.rs - request::RequestBuilder::headers (line 150) ... ignored
[INFO] [stdout] test src/request.rs - request::RequestBuilder::json (line 197) ... ignored
[INFO] [stdout] test src/request.rs - request::RequestBuilder::send (line 341) ... ignored
[INFO] [stdout] test src/response.rs - response::HttpResponse::error_for_status (line 191) ... ignored
[INFO] [stdout] test src/response.rs - response::HttpResponse::into_body (line 299) ... ignored
[INFO] [stdout] test src/response.rs - response::HttpResponse::into_limited_body (line 342) ... ignored
[INFO] [stdout] test src/response.rs - response::HttpResponse::text (line 265) ... ignored
[INFO] [stdout] test src/response.rs - response::LimitedBody (line 66) ... ignored
[INFO] [stdout] test src/client.rs - client::HttpClient::get (line 110) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::HttpClient::put (line 166) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::HttpClient::get (line 95) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::HttpClient::post (line 134) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::HttpClient (line 41) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::HttpClient::delete (line 214) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::HttpClient::options (line 273) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::HttpClient::patch (line 190) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::HttpClient::head (line 243) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/client.rs - client::HttpClient::get (line 110) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | let resp = client.get("https://api.example.com/data").send().await?;
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]    --> src/client.rs:112:62
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_110_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 111 | // Simple GET
[INFO] [stdout] 112 | let resp = client.get("https://api.example.com/data").send().await?;
[INFO] [stdout]     |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::HttpClient::put (line 166) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 | let resp = client
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UpdateData` in this scope
[INFO] [stdout]    --> src/client.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |     .json(&UpdateData { value: 42 })?
[INFO] [stdout]     |            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:171:6
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_166_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 171 |     .await?;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::HttpClient::get (line 95) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `url`
[INFO] [stdout]   --> src/client.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 96 | use url::Url;
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `url`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | let resp = client
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:105:6
[INFO] [stdout]     |
[INFO] [stdout]  95 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_95_0() {
[INFO] [stdout]     |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 105 |     .await?;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::HttpClient::post (line 134) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | let resp = client
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope
[INFO] [stdout]    --> src/client.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 |     .json(&NewUser { name: "Alice" })?
[INFO] [stdout]     |            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | let resp = client
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:140:6
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_134_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 140 |     .await?;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:147:6
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_134_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 147 |     .await?;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::HttpClient (line 41) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `HttpClient` in this scope
[INFO] [stdout]   --> src/client.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 |     http: HttpClient,
[INFO] [stdout]    |           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Data` in this scope
[INFO] [stdout]   --> src/client.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |     async fn fetch(&self) -> Result<Data, HttpError> {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl<Data> MyService {
[INFO] [stdout]    |     ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HttpError` in this scope
[INFO] [stdout]   --> src/client.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 48 |     async fn fetch(&self) -> Result<Data, HttpError> {
[INFO] [stdout]    |                                           ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl<HttpError> MyService {
[INFO] [stdout]    |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::HttpClient::delete (line 214) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 | let resp = client
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:219:6
[INFO] [stdout]     |
[INFO] [stdout] 214 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_214_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 219 |     .await?;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::HttpClient::options (line 273) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:274:12
[INFO] [stdout]     |
[INFO] [stdout] 274 | let resp = client
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:277:6
[INFO] [stdout]     |
[INFO] [stdout] 273 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_273_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 277 |     .await?;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::HttpClient::patch (line 190) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 191 | let resp = client
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PatchData` in this scope
[INFO] [stdout]    --> src/client.rs:193:12
[INFO] [stdout]     |
[INFO] [stdout] 193 |     .json(&PatchData { field: "new_value" })?
[INFO] [stdout]     |            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:195:6
[INFO] [stdout]     |
[INFO] [stdout] 190 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_190_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 195 |     .await?;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::HttpClient::head (line 243) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:244:12
[INFO] [stdout]     |
[INFO] [stdout] 244 | let resp = client.head("https://api.example.com/big-blob").send().await?;
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:244:67
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_243_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 244 | let resp = client.head("https://api.example.com/big-blob").send().await?;
[INFO] [stdout]     |                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client.rs - client::HttpClient (line 41)
[INFO] [stdout]     src/client.rs - client::HttpClient::delete (line 214)
[INFO] [stdout]     src/client.rs - client::HttpClient::get (line 110)
[INFO] [stdout]     src/client.rs - client::HttpClient::get (line 95)
[INFO] [stdout]     src/client.rs - client::HttpClient::head (line 243)
[INFO] [stdout]     src/client.rs - client::HttpClient::options (line 273)
[INFO] [stdout]     src/client.rs - client::HttpClient::patch (line 190)
[INFO] [stdout]     src/client.rs - client::HttpClient::post (line 134)
[INFO] [stdout]     src/client.rs - client::HttpClient::put (line 166)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 21 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.56s; merged doctests compilation took 0.22s
[INFO] running `Command { std: "docker" "inspect" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a", kill_on_drop: false }`
[INFO] [stdout] ef2f96602ddd08b99c3d2e0282f10c6157405480988500b9cbb289baadf19e4a
