[INFO] cloning repository https://github.com/margbug01/amp-proxy-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/margbug01/amp-proxy-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmargbug01%2Famp-proxy-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmargbug01%2Famp-proxy-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c5741d78b02c07cd1aeb8c82d97dd1e86c2cc5e9
[INFO] testing margbug01/amp-proxy-rs against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmargbug01%2Famp-proxy-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/margbug01/amp-proxy-rs
[INFO] finished tweaking git repo https://github.com/margbug01/amp-proxy-rs
[INFO] tweaked toml for git repo https://github.com/margbug01/amp-proxy-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/margbug01/amp-proxy-rs on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/margbug01/amp-proxy-rs 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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.118
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.118
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.118
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.68
[INFO] [stderr]   Downloaded lexical-core v1.0.6
[INFO] [stderr]   Downloaded js-sys v0.3.95
[INFO] [stderr]   Downloaded halfbrown v0.2.5
[INFO] [stderr]   Downloaded value-trait v0.8.1
[INFO] [stderr]   Downloaded lexical-parse-integer v1.0.6
[INFO] [stderr]   Downloaded lexical-write-integer v1.0.6
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.118
[INFO] [stderr]   Downloaded lexical-write-float v1.0.6
[INFO] [stderr]   Downloaded arc-swap v1.9.1
[INFO] [stderr]   Downloaded lexical-util v1.0.7
[INFO] [stderr]   Downloaded simd-json v0.13.11
[INFO] [stderr]   Downloaded lexical-parse-float v1.0.6
[INFO] [stderr]   Downloaded rustls v0.23.39
[INFO] [stderr]   Downloaded web-sys v0.3.95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f
[INFO] running `Command { std: "docker" "start" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f", 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" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f", 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" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling rustls v0.23.39
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling arc-swap v1.9.1
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling amp-proxy v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s
[INFO] running `Command { std: "docker" "inspect" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f", 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" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling lexical-util v1.0.7
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling lexical-write-integer v1.0.6
[INFO] [stderr]    Compiling lexical-parse-integer v1.0.6
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling lexical-parse-float v1.0.6
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling lexical-write-float v1.0.6
[INFO] [stderr]    Compiling float-cmp v0.9.0
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling lexical-core v1.0.6
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling rayon v1.12.0
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling halfbrown v0.2.5
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling value-trait v0.8.1
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling simd-json v0.13.11
[INFO] [stderr]    Compiling amp-proxy v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 27s
[INFO] running `Command { std: "docker" "inspect" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f", 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" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/amp_proxy-221bfab518431525)
[INFO] [stdout] 
[INFO] [stdout] running 182 tests
[INFO] [stdout] test access_log::tests::json_content_type_detection ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::extracts_model_from_gemini_path ... ok
[INFO] [stdout] test access_log::tests::peek_handles_empty_body_without_panic ... ok
[INFO] [stdout] test access_log::tests::peek_extracts_model_and_stream_fields ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::is_google_native_path_basics ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::gemini_default_mode_falls_through_to_ampcode ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::gemini_translate_now_handles_streamgenerate ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::duplicate_model_fails_over_to_second_provider ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::gemini_translate_mode_routes_to_custom ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::force_mapping_routes_via_mapping_even_if_orig_exists ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::known_model_routes_to_custom_provider ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::mapping_kicks_in_when_force_disabled ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::model_mapping_can_target_provider_alias ... ok
[INFO] [stdout] test amp::gemini_bridge::tests::ensure_stream_field_overwrites_existing ... ok
[INFO] [stdout] test amp::gemini_bridge::tests::ensure_stream_field_sets_true ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::no_model_falls_back_to_ampcode ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::unknown_model_falls_back_to_ampcode ... ok
[INFO] [stdout] test amp::gemini_bridge::tests::status_demotes_informational ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::thinking_suffix_preserved_on_mapping ... ok
[INFO] [stdout] test amp::model_mapping::tests::empty_rules_are_skipped ... ok
[INFO] [stdout] test amp::gemini_bridge::tests::strip_reasoning_removes_fields ... ok
[INFO] [stdout] test amp::model_mapping::tests::exact_match_case_insensitive ... ok
[INFO] [stdout] test amp::gemini_bridge::tests::translate_request_calls_real_translator ... ok
[INFO] [stdout] test amp::model_mapping::tests::no_match_returns_none ... ok
[INFO] [stdout] test amp::model_mapping::tests::invalid_regex_returns_err ... ok
[INFO] [stdout] test amp::prefixed_body::tests::empty_prefix_passes_through_tail_only ... ok
[INFO] [stdout] test amp::prefixed_body::tests::empty_tail_yields_only_prefix ... ok
[INFO] [stdout] test amp::proxy::tests::applies_overrides_and_upgrades_stream ... ok
[INFO] [stdout] test amp::prefixed_body::tests::prefixed_body_yields_prefix_then_tail ... ok
[INFO] [stdout] test amp::proxy::tests::no_upgrade_when_already_streaming ... ok
[INFO] [stdout] test amp::proxy::tests::provider_alias_rewrites_model ... ok
[INFO] [stdout] test amp::proxy::tests::sanitize_headers_strips_auth_and_betas ... ok
[INFO] [stdout] test amp::proxy::tests::streaming_variant_pipes_body ... ok
[INFO] [stdout] test amp::response_rewriter::tests::filter_beta_features_removes_target ... ok
[INFO] [stdout] test amp::response_rewriter::tests::injects_empty_signature ... ok
[INFO] [stdout] test amp::response_rewriter::tests::rewrites_model_field ... ok
[INFO] [stdout] test amp::response_rewriter::tests::sanitize_drops_unsigned_thinking ... ok
[INFO] [stdout] test amp::proxy::tests::streaming_variant_caps_body_size ... ok
[INFO] [stdout] test amp::response_rewriter::tests::sanitize_strips_signature_from_tool_use ... ok
[INFO] [stdout] test amp::response_rewriter::tests::sse_chunk_rewrites_data_lines ... ok
[INFO] [stdout] test amp::routes::tests::can_stream_blocks_messages_post ... ok
[INFO] [stdout] test amp::routes::tests::can_stream_blocks_model_mapping ... ok
[INFO] [stdout] test amp::routes::tests::can_stream_blocks_responses_translate ... ok
[INFO] [stdout] test amp::routes::tests::peek_prefix_finds_model_in_first_chunk ... ok
[INFO] [stdout] test amp::model_mapping::tests::regex_match ... ok
[INFO] [stdout] test amp::routes::tests::provider_alias_routes_as_alias_but_rewrites_to_upstream_model ... ok
[INFO] [stdout] test amp::routes::tests::rewrite_model_passes_through_invalid_json ... ok
[INFO] [stdout] test amp::routes::tests::split_prefix_caps_at_limit_and_preserves_tail ... ok
[INFO] [stdout] test amp::routes::tests::split_prefix_returns_full_body_when_under_limit ... ok
[INFO] [stdout] test amp::secret::tests::encode_known_vector ... ok
[INFO] [stdout] test amp::routes::tests::rewrite_model_in_body_replaces_field ... ok
[INFO] [stdout] test amp::secret::tests::generated_key_is_non_empty_and_correct_length ... ok
[INFO] [stdout] test amp::secret::tests::generated_keys_are_url_safe ... ok
[INFO] [stdout] test amp::model_mapping::tests::exact_priority_over_regex ... ok
[INFO] [stdout] test amp::secret::tests::generated_keys_are_unique ... ok
[INFO] [stdout] test auth::tests::contains_round_trip ... ok
[INFO] [stdout] test auth::tests::set_keys_replaces ... ok
[INFO] [stdout] test amp::model_mapping::tests::regex_case_insensitive ... ok
[INFO] [stdout] test body_capture::tests::append_headers_redacts_sensitive_values ... ok
[INFO] [stdout] test body_capture::tests::sanitize_replaces_path_separators_and_reserved ... ok
[INFO] [stdout] test body_capture::tests::should_skip_by_content_length_only_when_explicitly_over_limit ... ok
[INFO] [stdout] test body_capture::tests::request_content_length_over_limit_skips_capture_and_preserves_body ... ok
[INFO] [stdout] test body_capture::tests::skips_when_path_substring_does_not_match ... ok
[INFO] [stdout] test bodylimit::tests::read_all_bytes_over_limit ... ok
[INFO] [stdout] test bodylimit::tests::read_all_bytes_under_limit ... ok
[INFO] [stdout] test bodylimit::tests::read_all_exact_limit ... ok
[INFO] [stdout] test bodylimit::tests::read_all_over_limit ... ok
[INFO] [stdout] test amp::model_mapping::tests::regex_rules_evaluated_in_order ... ok
[INFO] [stdout] test bodylimit::tests::read_all_under_limit ... ok
[INFO] [stdout] test bodylimit::tests::read_prefix_reports_fits ... ok
[INFO] [stdout] test bodylimit::tests::read_prefix_reports_overflow ... ok
[INFO] [stdout] test capture_pretty::tests::parses_json_body_as_json ... ok
[INFO] [stdout] test capture_pretty::tests::parses_non_json_body_as_string ... ok
[INFO] [stdout] test body_capture::tests::writes_a_file_when_path_matches ... ok
[INFO] [stdout] test capture_pretty::tests::writes_output_file ... ok
[INFO] [stdout] test config::tests::allows_duplicate_provider_models ... ok
[INFO] [stdout] test auth::tests::concurrent_reads_and_swaps_dont_block ... ok
[INFO] [stdout] test config::tests::parses_minimal_config ... ok
[INFO] [stdout] test config::tests::accepts_provider_with_only_model_aliases ... ok
[INFO] [stdout] test config::tests::rejects_bad_gemini_route_mode ... ok
[INFO] [stdout] test config::tests::rejects_empty_api_keys ... ok
[INFO] [stdout] test config::tests::rejects_empty_model_alias ... ok
[INFO] [stdout] test config::tests::rejects_duplicate_provider_names ... ok
[INFO] [stdout] test config::tests::restrict_management_defaults_true ... ok
[INFO] [stdout] test customproxy::extract_leaf::tests::already_leaf ... ok
[INFO] [stdout] test customproxy::extract_leaf::tests::anthropic_messages ... ok
[INFO] [stdout] test customproxy::extract_leaf::tests::bare_v1_prefix ... ok
[INFO] [stdout] test customproxy::extract_leaf::tests::bare_v1beta_prefix ... ok
[INFO] [stdout] test customproxy::extract_leaf::tests::empty_input ... ok
[INFO] [stdout] test customproxy::extract_leaf::tests::google_v1beta1 ... ok
[INFO] [stdout] test customproxy::extract_leaf::tests::google_v1beta_with_action_suffix ... ok
[INFO] [stdout] test customproxy::extract_leaf::tests::provider_prefix_and_v1 ... ok
[INFO] [stdout] test access_log::tests::peek_skips_oversized_body_but_rebuilds_it_intact ... ok
[INFO] [stdout] test customproxy::gemini_stream_translator::tests::function_call_translates_to_function_call_part ... ok
[INFO] [stdout] test customproxy::extract_leaf::tests::provider_prefix_no_trailing_segment ... ok
[INFO] [stdout] test customproxy::gemini_translator::tests::normalize_schema_preserves_enum_case ... ok
[INFO] [stdout] test customproxy::gemini_translator::tests::bare_text_request_translates ... ok
[INFO] [stdout] test customproxy::gemini_stream_translator::tests::unknown_event_does_not_break_stream ... ok
[INFO] [stdout] test customproxy::gemini_translator::tests::request_with_tools_and_thinking_suffix ... ok
[INFO] [stdout] test customproxy::gemini_translator::tests::response_with_function_call_translates_back ... ok
[INFO] [stdout] test customproxy::gemini_stream_translator::tests::text_delta_translates_to_gemini_chunk ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_request_basic_with_system ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_request_adds_missing_tool_result_immediately_after_tool_use ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::streaming_text_delta_produces_gemini_chunk ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_request_converts_unmatched_tool_result_after_tool_use_to_text ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_request_empty_input_adds_default_user_message ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_request_converts_orphan_tool_result_to_text ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_request_preserves_user_message_input_text ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_request_groups_assistant_text_and_parallel_tool_uses ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_request_system_only_adds_fallback_user_message ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_request_keeps_tool_results_immediately_after_tool_use ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_request_with_tool_calls ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_response_basic_text ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_response_with_tool_use ... ok
[INFO] [stdout] test customproxy::responses_stream_translator::tests::maps_usage_from_final_chunk ... ok
[INFO] [stdout] test customproxy::responses_stream_translator::tests::single_text_chunk_emits_correct_event_order ... ok
[INFO] [stdout] test customproxy::responses_stream_translator::tests::function_call_chunks_translate ... ok
[INFO] [stdout] test customproxy::responses_translator::tests::basic_field_mapping_max_output_tokens_to_max_tokens ... ok
[INFO] [stdout] test customproxy::responses_translator::tests::chat_completion_passes_through_error_shape ... ok
[INFO] [stdout] test amp::fallback_handlers::tests::extract_model_prefers_body_over_path ... ok
[INFO] [stdout] test customproxy::gemini_translator::tests::request_with_function_call_pairs_call_ids ... ok
[INFO] [stdout] test customproxy::responses_translator::tests::responses_only_fields_dropped_and_ctx_carries_prompt_cache_key ... ok
[INFO] [stdout] test customproxy::responses_translator::tests::tool_translation_unwraps_to_chat_shape ... ok
[INFO] [stdout] test customproxy::responses_translator::tests::chat_completion_translates_back_to_responses ... ok
[INFO] [stdout] test customproxy::retry_transport::tests::non_transient_does_not_retry ... ok
[INFO] [stdout] test customproxy::retry_transport::tests::max_retries_fail ... ok
[INFO] [stdout] test customproxy::responses_translator::tests::function_call_output_becomes_role_tool_message ... ok
[INFO] [stdout] test customproxy::responses_translator::tests::function_calls_without_prior_assistant_text_emit_null_content ... ok
[INFO] [stdout] test customproxy::sse_messages_collapser::tests::error_event_aborts ... ok
[INFO] [stdout] test customproxy::sse_messages_collapser::tests::multiple_text_deltas_concatenate ... ok
[INFO] [stdout] test customproxy::retry_transport::tests::success_first_try ... ok
[INFO] [stdout] test customproxy::retry_transport::tests::retry_once_then_success ... ok
[INFO] [stdout] test customproxy::sse_messages_collapser::tests::empty_content ... ok
[INFO] [stdout] test customproxy::sse_messages_collapser::tests::no_message_start_rejected ... ok
[INFO] [stdout] test customproxy::sse_messages_collapser::tests::tool_use ... ok
[INFO] [stdout] test customproxy::sse_messages_collapser::tests::simple_text ... ok
[INFO] [stdout] test customproxy::sse_rewriter::tests::non_data_lines_pass_through ... ok
[INFO] [stdout] test customproxy::tests::alias_lookup_preserves_thinking_suffix_when_upstream_is_unsuffixed ... ok
[INFO] [stdout] test customproxy::sse_rewriter::tests::idempotent_on_non_empty_output ... ok
[INFO] [stdout] test customproxy::tests::aliases_register_for_lookup_and_rewrite_to_upstream ... ok
[INFO] [stdout] test customproxy::sse_rewriter::tests::multiple_items_in_order ... ok
[INFO] [stdout] test customproxy::tests::global_returns_same_instance ... ok
[INFO] [stdout] test customproxy::tests::configure_and_lookup_case_insensitive ... ok
[INFO] [stdout] test customproxy::tests::duplicate_model_can_fail_over_to_second_after_first_unhealthy ... ok
[INFO] [stdout] test customproxy::tests::model_ids_sorted ... ok
[INFO] [stdout] test customproxy::sse_rewriter::tests::patches_empty_output_array ... ok
[INFO] [stdout] test customproxy::tests::model_lookup_key_normalizes ... ok
[INFO] [stdout] test customproxy::tests::record_success_recovers_primary ... ok
[INFO] [stdout] test customproxy::tests::rejects_duplicate_provider_name ... ok
[INFO] [stdout] test customproxy::tests::rejects_invalid_provider ... ok
[INFO] [stdout] test customproxy::tests::strip_thinking_suffix_basic ... ok
[INFO] [stdout] test customproxy::tests::thinking_suffix_fallback ... ok
[INFO] [stdout] test init::tests::render_then_parse_round_trips ... ok
[INFO] [stdout] test init::tests::render_then_validate_passes ... ok
[INFO] [stdout] test proxy::tests::forward_streams_request_body_in_chunks ... ok
[INFO] [stdout] test init::tests::yaml_string_escapes_quotes ... ok
[INFO] [stdout] test proxy::tests::sanitize_request_headers_strips_hop_by_hop_headers ... ok
[INFO] [stdout] test proxy::tests::sanitize_request_headers_injects_upstream_bearer ... ok
[INFO] [stdout] test proxy::tests::sanitize_request_headers_strips_local_auth_headers ... ok
[INFO] [stdout] test proxy::tests::sanitize_request_headers_without_upstream_key_has_no_authorization ... ok
[INFO] [stdout] test metrics::tests::render_prometheus_exports_counters_and_histogram ... ok
[INFO] [stdout] test thinking::tests::bare_model_no_suffix ... ok
[INFO] [stdout] test thinking::tests::budget_tokens_suffix ... ok
[INFO] [stdout] test proxy::tests::forward_rejects_oversize_body ... ok
[INFO] [stdout] test thinking::tests::empty_suffix_has_suffix_true_no_classification ... ok
[INFO] [stdout] test thinking::tests::high_effort_suffix ... ok
[INFO] [stdout] test server::tests::admin_status_requires_auth_and_returns_json ... ok
[INFO] [stdout] test server::tests::metrics_endpoint_is_unauthenticated_and_skipped_by_metrics_middleware ... ok
[INFO] [stdout] test thinking::tests::low_medium_xhigh_effort ... ok
[INFO] [stdout] test thinking::tests::unknown_string_suffix_has_suffix_but_no_effort ... ok
[INFO] [stdout] test thinking::tests::parens_but_not_a_suffix ... ok
[INFO] [stdout] test thinking::tests::whitespace_inside_suffix_is_trimmed ... ok
[INFO] [stdout] test util::tests::extracts_name_with_subpath ... ok
[INFO] [stdout] test util::tests::extracts_name_without_subpath ... ok
[INFO] [stdout] test util::tests::name_with_dashes_and_dots ... ok
[INFO] [stdout] test util::tests::returns_empty_for_non_provider_path ... ok
[INFO] [stdout] test util::tests::returns_empty_when_name_missing ... ok
[INFO] [stdout] test util::tests::extracts_name_with_trailing_slash ... ok
[INFO] [stdout] test body_capture::tests::append_body_truncates_above_cap ... ok
[INFO] [stdout] test customproxy::messages_translator::tests::translate_response_rejects_non_message ... ok
[INFO] [stdout] test init::tests::run_writes_file_and_refuses_overwrite ... ok
[INFO] [stdout] test amp::routes::tests::peek_prefix_falls_back_to_full_buffer_when_model_at_end ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- amp::routes::tests::peek_prefix_falls_back_to_full_buffer_when_model_at_end stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'amp::routes::tests::peek_prefix_falls_back_to_full_buffer_when_model_at_end' (2439) panicked at src/amp/routes.rs:735:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: AmpCredits
[INFO] [stdout]  right: CustomProvider
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5b13e14a2538 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5b13e14a2538 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::trace_unsynchronized::<std[10d71ac2c42b111e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5b13e14a2538 - std[10d71ac2c42b111e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5b13e14a2538 - <<std[10d71ac2c42b111e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8fb95b77d25ab6c8]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5b13e14bacca - <core[8fb95b77d25ab6c8]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5b13e14bacca - core[8fb95b77d25ab6c8]::fmt::write
[INFO] [stdout]    6:     0x5b13e14a7be2 - std[10d71ac2c42b111e]::io::default_write_fmt::<alloc[a7ee25936407c584]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x5b13e14a7be2 - <alloc[a7ee25936407c584]::vec::Vec<u8> as std[10d71ac2c42b111e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x5b13e147e4a6 - <std[10d71ac2c42b111e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5b13e147e4a6 - std[10d71ac2c42b111e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5b13e1499669 - std[10d71ac2c42b111e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5b13e0bb3ffc - <alloc[a7ee25936407c584]::boxed::Box<dyn for<'a, 'b> core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9
[INFO] [stdout]   12:     0x5b13e0bb3ffc - test[213991da798b1c03]::test_main_inner::<test[213991da798b1c03]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5b13e14998e2 - <alloc[a7ee25936407c584]::boxed::Box<dyn for<'a, 'b> core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9
[INFO] [stdout]   14:     0x5b13e14998e2 - std[10d71ac2c42b111e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5b13e147e562 - std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5b13e1472dd9 - std[10d71ac2c42b111e]::sys::backtrace::__rust_end_short_backtrace::<std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5b13e147f63d - __rustc[3be9ba60078d4c86]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5b13e14bb53c - core[8fb95b77d25ab6c8]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5b13e14bb3c3 - core[8fb95b77d25ab6c8]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x5b13e08dd1ba - core[8fb95b77d25ab6c8]::panicking::assert_failed::<amp_proxy[28e5db1d0db2480b]::amp::fallback_handlers::AmpRouteType, amp_proxy[28e5db1d0db2480b]::amp::fallback_handlers::AmpRouteType>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5b13e08fb15f - amp_proxy[28e5db1d0db2480b]::amp::routes::tests::peek_prefix_falls_back_to_full_buffer_when_model_at_end::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/amp/routes.rs:735:9
[INFO] [stdout]   22:     0x5b13e0a1c3a2 - <core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>> as core[8fb95b77d25ab6c8]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/future/future.rs:133:9
[INFO] [stdout]   23:     0x5b13e0a1c47d - <core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>> as core[8fb95b77d25ab6c8]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/future/future.rs:133:9
[INFO] [stdout]   24:     0x5b13e0af7f2d - <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/scheduler/current_thread/mod.rs:778:70
[INFO] [stdout]   25:     0x5b13e0af7bfb - tokio[f5527fec6ff7e5db]::task::coop::with_budget::<core[8fb95b77d25ab6c8]::task::poll::Poll<()>, <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/task/coop/mod.rs:167:5
[INFO] [stdout]   26:     0x5b13e0af7bfb - tokio[f5527fec6ff7e5db]::task::coop::budget::<core[8fb95b77d25ab6c8]::task::poll::Poll<()>, <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/task/coop/mod.rs:133:5
[INFO] [stdout]   27:     0x5b13e0af7bfb - <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/scheduler/current_thread/mod.rs:778:25
[INFO] [stdout]   28:     0x5b13e0ae4730 - <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::Context>::enter::<core[8fb95b77d25ab6c8]::task::poll::Poll<()>, <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/scheduler/current_thread/mod.rs:451:19
[INFO] [stdout]   29:     0x5b13e0af5a1d - <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/scheduler/current_thread/mod.rs:777:44
[INFO] [stdout]   30:     0x5b13e0af40e4 - <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}, core[8fb95b77d25ab6c8]::option::Option<()>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/scheduler/current_thread/mod.rs:865:68
[INFO] [stdout]   31:     0x5b13e089037b - <tokio[f5527fec6ff7e5db]::runtime::context::scoped::Scoped<tokio[f5527fec6ff7e5db]::runtime::scheduler::Context>>::set::<<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}, core[8fb95b77d25ab6c8]::option::Option<()>>::{closure#0}, (alloc[a7ee25936407c584]::boxed::Box<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::Core>, core[8fb95b77d25ab6c8]::option::Option<()>)>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   32:     0x5b13e0a984e9 - tokio[f5527fec6ff7e5db]::runtime::context::set_scheduler::<(alloc[a7ee25936407c584]::boxed::Box<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::Core>, core[8fb95b77d25ab6c8]::option::Option<()>), <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}, core[8fb95b77d25ab6c8]::option::Option<()>>::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/context.rs:181:38
[INFO] [stdout]   33:     0x5b13e0963122 - <std[10d71ac2c42b111e]::thread::local::LocalKey<tokio[f5527fec6ff7e5db]::runtime::context::Context>>::try_with::<tokio[f5527fec6ff7e5db]::runtime::context::set_scheduler<(alloc[a7ee25936407c584]::boxed::Box<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::Core>, core[8fb95b77d25ab6c8]::option::Option<()>), <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}, core[8fb95b77d25ab6c8]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[a7ee25936407c584]::boxed::Box<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::Core>, core[8fb95b77d25ab6c8]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/local.rs:462:12
[INFO] [stdout]   34:     0x5b13e09627ee - <std[10d71ac2c42b111e]::thread::local::LocalKey<tokio[f5527fec6ff7e5db]::runtime::context::Context>>::with::<tokio[f5527fec6ff7e5db]::runtime::context::set_scheduler<(alloc[a7ee25936407c584]::boxed::Box<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::Core>, core[8fb95b77d25ab6c8]::option::Option<()>), <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}, core[8fb95b77d25ab6c8]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[a7ee25936407c584]::boxed::Box<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::Core>, core[8fb95b77d25ab6c8]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/local.rs:426:20
[INFO] [stdout]   35:     0x5b13e0a951cd - tokio[f5527fec6ff7e5db]::runtime::context::set_scheduler::<(alloc[a7ee25936407c584]::boxed::Box<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::Core>, core[8fb95b77d25ab6c8]::option::Option<()>), <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}, core[8fb95b77d25ab6c8]::option::Option<()>>::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/context.rs:181:17
[INFO] [stdout]   36:     0x5b13e0ae94f0 - <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}, core[8fb95b77d25ab6c8]::option::Option<()>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/scheduler/current_thread/mod.rs:865:27
[INFO] [stdout]   37:     0x5b13e0ae9d06 - <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/scheduler/current_thread/mod.rs:765:24
[INFO] [stdout]   38:     0x5b13e0af2dc0 - <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/scheduler/current_thread/mod.rs:205:33
[INFO] [stdout]   39:     0x5b13e0ac5b23 - tokio[f5527fec6ff7e5db]::runtime::context::runtime::enter_runtime::<<tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   40:     0x5b13e0ae39a1 - <tokio[f5527fec6ff7e5db]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/scheduler/current_thread/mod.rs:193:9
[INFO] [stdout]   41:     0x5b13e09f1584 - <tokio[f5527fec6ff7e5db]::runtime::runtime::Runtime>::block_on_inner::<core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/runtime.rs:371:52
[INFO] [stdout]   42:     0x5b13e09f18ef - <tokio[f5527fec6ff7e5db]::runtime::runtime::Runtime>::block_on::<core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/runtime.rs:345:18
[INFO] [stdout]   43:     0x5b13e0902d51 - amp_proxy[28e5db1d0db2480b]::amp::routes::tests::peek_prefix_falls_back_to_full_buffer_when_model_at_end
[INFO] [stdout]                                at /opt/rustwide/workdir/src/amp/routes.rs:736:60
[INFO] [stdout]   44:     0x5b13e08f7e97 - amp_proxy[28e5db1d0db2480b]::amp::routes::tests::peek_prefix_falls_back_to_full_buffer_when_model_at_end::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/amp/routes.rs:691:71
[INFO] [stdout]   45:     0x5b13e0927516 - <amp_proxy[28e5db1d0db2480b]::amp::routes::tests::peek_prefix_falls_back_to_full_buffer_when_model_at_end::{closure#0} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5b13e0ba70db - <fn() -> core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   47:     0x5b13e0ba70db - test[213991da798b1c03]::__rust_begin_short_backtrace::<core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>, fn() -> core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:724:18
[INFO] [stdout]   48:     0x5b13e0bb4955 - test[213991da798b1c03]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:74
[INFO] [stdout]   49:     0x5b13e0bb4955 - <core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   50:     0x5b13e0bb4955 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}>, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   51:     0x5b13e0bb4955 - std[10d71ac2c42b111e]::panicking::catch_unwind::<core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>, core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   52:     0x5b13e0bb4955 - std[10d71ac2c42b111e]::panic::catch_unwind::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}>, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14
[INFO] [stdout]   53:     0x5b13e0bb4955 - test[213991da798b1c03]::run_test_in_process
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:27
[INFO] [stdout]   54:     0x5b13e0bb4955 - test[213991da798b1c03]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:668:43
[INFO] [stdout]   55:     0x5b13e0bae264 - test[213991da798b1c03]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:698:41
[INFO] [stdout]   56:     0x5b13e0bae264 - std[10d71ac2c42b111e]::sys::backtrace::__rust_begin_short_backtrace::<test[213991da798b1c03]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   57:     0x5b13e0bb79d2 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   58:     0x5b13e0bb79d2 - <core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   59:     0x5b13e0bb79d2 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   60:     0x5b13e0bb79d2 - std[10d71ac2c42b111e]::panicking::catch_unwind::<(), core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   61:     0x5b13e0bb79d2 - std[10d71ac2c42b111e]::panic::catch_unwind::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14
[INFO] [stdout]   62:     0x5b13e0bb79d2 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   63:     0x5b13e0bb79d2 - <std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   64:     0x5b13e14a178f - <alloc[a7ee25936407c584]::boxed::Box<dyn core[8fb95b77d25ab6c8]::ops::function::FnOnce<(), Output = ()> + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2275:9
[INFO] [stdout]   65:     0x5b13e14a178f - <std[10d71ac2c42b111e]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   66:     0x7f70a8aaaaa4 - <unknown>
[INFO] [stdout]   67:     0x7f70a8b37a64 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     amp::routes::tests::peek_prefix_falls_back_to_full_buffer_when_model_at_end
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 181 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f", kill_on_drop: false }`
[INFO] [stdout] 1bfdaefc7f83a20fb9727f04eb66be193b9b0fcc94f94f6eda682c069d30a06f
