[INFO] cloning repository https://github.com/npv2k1/open-gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/npv2k1/open-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpv2k1%2Fopen-gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpv2k1%2Fopen-gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e96362f1a6039c0483ca5028433714aed71432a8 [INFO] testing npv2k1/open-gateway/e96362f1a6039c0483ca5028433714aed71432a8 against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpv2k1%2Fopen-gateway" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/npv2k1/open-gateway [INFO] finished tweaking git repo https://github.com/npv2k1/open-gateway [INFO] tweaked toml for git repo https://github.com/npv2k1/open-gateway written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/npv2k1/open-gateway on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/npv2k1/open-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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded instability v0.3.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0d38688e7644abe8aafba65e7fdbafe77ce5548493dd9631ada877660804bb4 [INFO] running `Command { std: "docker" "start" "-a" "c0d38688e7644abe8aafba65e7fdbafe77ce5548493dd9631ada877660804bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0d38688e7644abe8aafba65e7fdbafe77ce5548493dd9631ada877660804bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d38688e7644abe8aafba65e7fdbafe77ce5548493dd9631ada877660804bb4", kill_on_drop: false }` [INFO] [stdout] c0d38688e7644abe8aafba65e7fdbafe77ce5548493dd9631ada877660804bb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffe3f6d932ad524fb3ff73b3340b228806db1f97dc964c87cce1ee06622e03bb [INFO] running `Command { std: "docker" "start" "-a" "ffe3f6d932ad524fb3ff73b3340b228806db1f97dc964c87cce1ee06622e03bb", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling http v1.4.0 [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 tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling instability v0.3.10 [INFO] [stderr] Compiling zmij v1.0.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling notify v8.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling open-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "ffe3f6d932ad524fb3ff73b3340b228806db1f97dc964c87cce1ee06622e03bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe3f6d932ad524fb3ff73b3340b228806db1f97dc964c87cce1ee06622e03bb", kill_on_drop: false }` [INFO] [stdout] ffe3f6d932ad524fb3ff73b3340b228806db1f97dc964c87cce1ee06622e03bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9cd128b34d5e2c472d9d2a1aa77cbc87f9f553b0a56362a606649304db89465 [INFO] running `Command { std: "docker" "start" "-a" "a9cd128b34d5e2c472d9d2a1aa77cbc87f9f553b0a56362a606649304db89465", kill_on_drop: false }` [INFO] [stderr] Compiling open-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.22s [INFO] running `Command { std: "docker" "inspect" "a9cd128b34d5e2c472d9d2a1aa77cbc87f9f553b0a56362a606649304db89465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9cd128b34d5e2c472d9d2a1aa77cbc87f9f553b0a56362a606649304db89465", kill_on_drop: false }` [INFO] [stdout] a9cd128b34d5e2c472d9d2a1aa77cbc87f9f553b0a56362a606649304db89465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e11f22341d672d224082b3517c25012a7aa0858cd0580af517dba4133a369e59 [INFO] running `Command { std: "docker" "start" "-a" "e11f22341d672d224082b3517c25012a7aa0858cd0580af517dba4133a369e59", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/open_gateway-c20d5918a1a62a46) [INFO] [stdout] running 31 tests [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test api_key::tests::test_weighted ... ok [INFO] [stdout] test api_key::tests::test_random ... ok [INFO] [stdout] test api_key::tests::test_empty_pool ... ok [INFO] [stdout] test api_key::tests::test_round_robin ... ok [INFO] [stdout] test config::tests::test_master_access_token_defense_in_depth ... ok [INFO] [stdout] test config::tests::test_master_access_token_validation ... ok [INFO] [stdout] test health::tests::test_readiness ... ok [INFO] [stdout] test config::tests::test_master_access_token_default ... ok [INFO] [stdout] test health::tests::test_uptime_formatted ... ok [INFO] [stdout] test health::tests::test_liveness ... ok [INFO] [stdout] test config::tests::test_master_access_token_enabled_no_tokens_error ... ok [INFO] [stdout] test config::tests::test_master_access_token_disabled_allows_all ... ok [INFO] [stdout] test config::tests::test_master_access_token_parse ... ok [INFO] [stdout] test config::tests::test_server_with_all_routes ... ok [INFO] [stdout] test config::tests::test_invalid_pool_reference ... ok [INFO] [stdout] test metrics::tests::test_hash_api_key ... ok [INFO] [stdout] test metrics::tests::test_metrics_creation ... ok [INFO] [stdout] test metrics::tests::test_api_key_usage_counter ... ok [INFO] [stdout] test proxy::tests::test_method_filtering ... ok [INFO] [stdout] test proxy::tests::test_route_matching ... ok [INFO] [stdout] test proxy::tests::test_target_url_with_strip_prefix ... ok [INFO] [stdout] test proxy::tests::test_target_url_without_strip_prefix ... ok [INFO] [stdout] test metrics::tests::test_error_rate ... ok [INFO] [stdout] test proxy::tests::test_extract_host_from_url ... ok [INFO] [stdout] test metrics::tests::test_normalize_path ... ok [INFO] [stdout] test config::tests::test_parse_config ... ok [INFO] [stdout] test config::tests::test_invalid_server_route_reference ... ok [INFO] [stdout] test metrics::tests::test_record_request ... ok [INFO] [stdout] test proxy::tests::test_host_header_is_hop_by_hop ... ok [INFO] [stdout] test metrics::tests::test_prometheus_output ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/open_gateway-0c4e0ff84db38055) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests open_gateway [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e11f22341d672d224082b3517c25012a7aa0858cd0580af517dba4133a369e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11f22341d672d224082b3517c25012a7aa0858cd0580af517dba4133a369e59", kill_on_drop: false }` [INFO] [stdout] e11f22341d672d224082b3517c25012a7aa0858cd0580af517dba4133a369e59