[INFO] cloning repository https://github.com/builtDifferentCoder/rust-api-gateway
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/builtDifferentCoder/rust-api-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbuiltDifferentCoder%2Frust-api-gateway", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbuiltDifferentCoder%2Frust-api-gateway'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4b6377d0c6420936f94be84f559a9381e0280e9c
[INFO] testing builtDifferentCoder/rust-api-gateway against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbuiltDifferentCoder%2Frust-api-gateway" "/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/builtDifferentCoder/rust-api-gateway
[INFO] finished tweaking git repo https://github.com/builtDifferentCoder/rust-api-gateway
[INFO] tweaked toml for git repo https://github.com/builtDifferentCoder/rust-api-gateway written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/builtDifferentCoder/rust-api-gateway on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/builtDifferentCoder/rust-api-gateway 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8041baecab3ed4ce31c409e7ef882d161b5375ebedf3400d647c5d1d1f846f2e
[INFO] running `Command { std: "docker" "start" "-a" "8041baecab3ed4ce31c409e7ef882d161b5375ebedf3400d647c5d1d1f846f2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8041baecab3ed4ce31c409e7ef882d161b5375ebedf3400d647c5d1d1f846f2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8041baecab3ed4ce31c409e7ef882d161b5375ebedf3400d647c5d1d1f846f2e", kill_on_drop: false }`
[INFO] [stdout] 8041baecab3ed4ce31c409e7ef882d161b5375ebedf3400d647c5d1d1f846f2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17bd979657db6559b043766ae1126029bc118fd388b5d671942abf59ecc6d1ee
[INFO] running `Command { std: "docker" "start" "-a" "17bd979657db6559b043766ae1126029bc118fd388b5d671942abf59ecc6d1ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling simple_asn1 v0.6.4
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling rust-api-gateway v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "17bd979657db6559b043766ae1126029bc118fd388b5d671942abf59ecc6d1ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17bd979657db6559b043766ae1126029bc118fd388b5d671942abf59ecc6d1ee", kill_on_drop: false }`
[INFO] [stdout] 17bd979657db6559b043766ae1126029bc118fd388b5d671942abf59ecc6d1ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 367d31856fa2066d02543bc74eb0e2f428370f0b43203fca7c73178eb11dc579
[INFO] running `Command { std: "docker" "start" "-a" "367d31856fa2066d02543bc74eb0e2f428370f0b43203fca7c73178eb11dc579", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-api-gateway v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.40s
[INFO] running `Command { std: "docker" "inspect" "367d31856fa2066d02543bc74eb0e2f428370f0b43203fca7c73178eb11dc579", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "367d31856fa2066d02543bc74eb0e2f428370f0b43203fca7c73178eb11dc579", kill_on_drop: false }`
[INFO] [stdout] 367d31856fa2066d02543bc74eb0e2f428370f0b43203fca7c73178eb11dc579
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c3fd4c225b0e4c983c270b4211e9aed0b1947a328c8a75d71822c8ae5ccdf87d
[INFO] running `Command { std: "docker" "start" "-a" "c3fd4c225b0e4c983c270b4211e9aed0b1947a328c8a75d71822c8ae5ccdf87d", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_api_gateway-f9fe2b179904e3cc)
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test health::checker::tests::test_health_check_config_with_timeout ... ok
[INFO] [stdout] test middleware::auth::tests::test_extract_bearer_token ... ok
[INFO] [stdout] test middleware::auth::tests::test_invalid_token_rejected ... ok
[INFO] [stdout] test middleware::auth::tests::test_missing_bearer_prefix ... ok
[INFO] [stdout] test middleware::rate_limiter::tests::test_rate_limiter_allows_requests_within_limit ... ok
[INFO] [stdout] test middleware::rate_limiter::tests::test_token_bucket_creation ... ok
[INFO] [stdout] test middleware::rate_limiter::tests::test_rate_limiter_config ... ok
[INFO] [stdout] test health::registry::tests::test_get_healthy_upstreams ... ok
[INFO] [stdout] test observability::metrics::tests::test_metrics_initialization ... ok
[INFO] [stdout] test health::registry::tests::test_mark_unhealthy ... ok
[INFO] [stdout] test middleware::rate_limiter::tests::test_rate_limiter_different_ips ... ok
[INFO] [stdout] test observability::metrics::tests::test_record_request ... ok
[INFO] [stdout] test health::checker::tests::test_health_checker_creation ... ok
[INFO] [stdout] test middleware::rate_limiter::tests::test_token_consumption ... ok
[INFO] [stdout] test health::checker::tests::test_health_check_config ... ok
[INFO] [stdout] test middleware::rate_limiter::tests::test_token_consumption_exceeds_available ... ok
[INFO] [stdout] test observability::metrics::tests::test_encode_metrics ... ok
[INFO] [stdout] test health::registry::tests::test_register_upstream ... ok
[INFO] [stdout] test health::registry::tests::test_mark_healthy ... ok
[INFO] [stdout] test observability::tracing_config::tests::test_tracing_initialization ... ok
[INFO] [stdout] test middleware::auth::tests::test_generate_and_validate_token ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api_gateway-71f07125e71b88cb)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_api_gateway
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/middleware/auth.rs - middleware::auth::generate_test_token (line 105) ... ignored
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.63s; merged doctests compilation took 0.61s
[INFO] running `Command { std: "docker" "inspect" "c3fd4c225b0e4c983c270b4211e9aed0b1947a328c8a75d71822c8ae5ccdf87d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3fd4c225b0e4c983c270b4211e9aed0b1947a328c8a75d71822c8ae5ccdf87d", kill_on_drop: false }`
[INFO] [stdout] c3fd4c225b0e4c983c270b4211e9aed0b1947a328c8a75d71822c8ae5ccdf87d
