[INFO] cloning repository https://github.com/shenshouer/pingora-gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shenshouer/pingora-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenshouer%2Fpingora-gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenshouer%2Fpingora-gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb1037f5100081ecea6c00c3f0008cf134a38f6f [INFO] testing shenshouer/pingora-gateway against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenshouer%2Fpingora-gateway" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shenshouer/pingora-gateway [INFO] finished tweaking git repo https://github.com/shenshouer/pingora-gateway [INFO] tweaked toml for git repo https://github.com/shenshouer/pingora-gateway written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shenshouer/pingora-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/shenshouer/pingora-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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pingora-error v0.4.0 [INFO] [stderr] Downloaded fluent-uri v0.1.4 [INFO] [stderr] Downloaded jsonpath-rust v0.5.1 [INFO] [stderr] Downloaded pingora-cache v0.4.0 [INFO] [stderr] Downloaded pingora-runtime v0.4.0 [INFO] [stderr] Downloaded kube-runtime v0.96.0 [INFO] [stderr] Downloaded kube v0.96.0 [INFO] [stderr] Downloaded pingora-proxy v0.4.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.4 [INFO] [stderr] Downloaded pingora-ketama v0.4.0 [INFO] [stderr] Downloaded thrift_codec v0.1.1 [INFO] [stderr] Downloaded delegate v0.13.1 [INFO] [stderr] Downloaded pingora-core v0.4.0 [INFO] [stderr] Downloaded rust_decimal v1.36.0 [INFO] [stderr] Downloaded jsonptr v0.4.7 [INFO] [stderr] Downloaded kube-core v0.96.0 [INFO] [stderr] Downloaded pingora-timeout v0.4.0 [INFO] [stderr] Downloaded pingora-load-balancing v0.4.0 [INFO] [stderr] Downloaded rustracing_jaeger v0.7.0 [INFO] [stderr] Downloaded sfv v0.9.4 [INFO] [stderr] Downloaded pingora-pool v0.4.0 [INFO] [stderr] Downloaded kube-derive v0.96.0 [INFO] [stderr] Downloaded wildcard v0.3.0 [INFO] [stderr] Downloaded unicase v2.8.0 [INFO] [stderr] Downloaded cmake v0.1.52 [INFO] [stderr] Downloaded pingora-lru v0.4.0 [INFO] [stderr] Downloaded trackable v0.2.24 [INFO] [stderr] Downloaded thiserror v2.0.4 [INFO] [stderr] Downloaded pingora-header-serde v0.4.0 [INFO] [stderr] Downloaded pingora v0.4.0 [INFO] [stderr] Downloaded rustracing v0.5.1 [INFO] [stderr] Downloaded json-patch v2.0.0 [INFO] [stderr] Downloaded pingora-http v0.4.0 [INFO] [stderr] Downloaded tokio-openssl v0.6.5 [INFO] [stderr] Downloaded kube-client v0.96.0 [INFO] [stderr] Downloaded pingora-openssl v0.4.0 [INFO] [stderr] Downloaded libz-ng-sys v1.1.20 [INFO] [stderr] Downloaded gateway-api v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] af88e719d2eed76b5975ffbd766abe65f510119dc53749952b648f114287680a [INFO] running `Command { std: "docker" "start" "-a" "af88e719d2eed76b5975ffbd766abe65f510119dc53749952b648f114287680a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af88e719d2eed76b5975ffbd766abe65f510119dc53749952b648f114287680a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af88e719d2eed76b5975ffbd766abe65f510119dc53749952b648f114287680a", kill_on_drop: false }` [INFO] [stdout] af88e719d2eed76b5975ffbd766abe65f510119dc53749952b648f114287680a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 94a1db1494483251367c372ddc39a0f1973f9aaeee02f5780f340e8a6ce1a0e1 [INFO] running `Command { std: "docker" "start" "-a" "94a1db1494483251367c372ddc39a0f1973f9aaeee02f5780f340e8a6ce1a0e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling pingora-error v0.4.0 [INFO] [stderr] Compiling k8s-openapi v0.23.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling pingora-http v0.4.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling sfv v0.9.4 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling daemonize v0.5.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling thiserror v2.0.4 [INFO] [stderr] Compiling pingora-ketama v0.4.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libz-ng-sys v1.1.20 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling trackable v1.3.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling trackable v0.2.24 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling rustracing v0.5.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling thrift_codec v0.1.1 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling rustracing_jaeger v0.7.0 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling pingora-lru v0.4.0 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pingora-header-serde v0.4.0 [INFO] [stderr] Compiling kube-derive v0.96.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling thiserror-impl v2.0.4 [INFO] [stderr] Compiling delegate v0.13.1 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling pingora-timeout v0.4.0 [INFO] [stderr] Compiling pingora-runtime v0.4.0 [INFO] [stderr] Compiling pingora-pool v0.4.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling wildcard v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling jsonptr v0.4.7 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling jsonpath-rust v0.5.1 [INFO] [stderr] Compiling json-patch v2.0.0 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling kube-core v0.96.0 [INFO] [stderr] Compiling kube-client v0.96.0 [INFO] [stderr] Compiling kube-runtime v0.96.0 [INFO] [stderr] Compiling kube v0.96.0 [INFO] [stderr] Compiling gateway-api v0.14.0 [INFO] [stderr] Compiling pingora-openssl v0.4.0 [INFO] [stderr] Compiling pingora-core v0.4.0 [INFO] [stderr] Compiling pingora-cache v0.4.0 [INFO] [stderr] Compiling pingora-load-balancing v0.4.0 [INFO] [stderr] Compiling pingora-proxy v0.4.0 [INFO] [stderr] Compiling pingora v0.4.0 [INFO] [stderr] Compiling pingora-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cluster_ip` [INFO] [stdout] --> src/pingora/app/backend_refs.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let cluster_ip = svc.spec.as_ref()?.cluster_ip.clone()?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_route` [INFO] [stdout] --> src/pingora/app/http.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let http_route = self.matche_http_route(headers)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HTTPRouteRulesBackends` is never constructed [INFO] [stdout] --> src/pingora/app/backend_refs.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HTTPRouteRulesBackends { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_pingora_backends` is never used [INFO] [stdout] --> src/pingora/app/backend_refs.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl HTTPRouteRulesBackends { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 18 | fn to_pingora_backends(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoPingoraBackend` is never used [INFO] [stdout] --> src/pingora/app/backend_refs.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait IntoPingoraBackend { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 11s [INFO] running `Command { std: "docker" "inspect" "94a1db1494483251367c372ddc39a0f1973f9aaeee02f5780f340e8a6ce1a0e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94a1db1494483251367c372ddc39a0f1973f9aaeee02f5780f340e8a6ce1a0e1", kill_on_drop: false }` [INFO] [stdout] 94a1db1494483251367c372ddc39a0f1973f9aaeee02f5780f340e8a6ce1a0e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8640d9b8df0520fd77d727e391ea9673bfac11642e6de2b6f16786a904a22f4f [INFO] running `Command { std: "docker" "start" "-a" "8640d9b8df0520fd77d727e391ea9673bfac11642e6de2b6f16786a904a22f4f", kill_on_drop: false }` [INFO] [stderr] Compiling pingora-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cluster_ip` [INFO] [stdout] --> src/pingora/app/backend_refs.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let cluster_ip = svc.spec.as_ref()?.cluster_ip.clone()?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_route` [INFO] [stdout] --> src/pingora/app/http.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let http_route = self.matche_http_route(headers)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HTTPRouteRulesBackends` is never constructed [INFO] [stdout] --> src/pingora/app/backend_refs.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HTTPRouteRulesBackends { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_pingora_backends` is never used [INFO] [stdout] --> src/pingora/app/backend_refs.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl HTTPRouteRulesBackends { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 18 | fn to_pingora_backends(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoPingoraBackend` is never used [INFO] [stdout] --> src/pingora/app/backend_refs.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait IntoPingoraBackend { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.57s [INFO] running `Command { std: "docker" "inspect" "8640d9b8df0520fd77d727e391ea9673bfac11642e6de2b6f16786a904a22f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8640d9b8df0520fd77d727e391ea9673bfac11642e6de2b6f16786a904a22f4f", kill_on_drop: false }` [INFO] [stdout] 8640d9b8df0520fd77d727e391ea9673bfac11642e6de2b6f16786a904a22f4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e6b9bd6c3e9dc68e98f26e19e0df3b9feeb036c410616fb4faf735b842291ac6 [INFO] running `Command { std: "docker" "start" "-a" "e6b9bd6c3e9dc68e98f26e19e0df3b9feeb036c410616fb4faf735b842291ac6", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cluster_ip` [INFO] [stderr] --> src/pingora/app/backend_refs.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let cluster_ip = svc.spec.as_ref()?.cluster_ip.clone()?; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster_ip` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `http_route` [INFO] [stderr] --> src/pingora/app/http.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | let http_route = self.matche_http_route(headers)?; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_route` [INFO] [stderr] [INFO] [stderr] warning: struct `HTTPRouteRulesBackends` is never constructed [INFO] [stderr] --> src/pingora/app/backend_refs.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct HTTPRouteRulesBackends { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `to_pingora_backends` is never used [INFO] [stderr] --> src/pingora/app/backend_refs.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 17 | impl HTTPRouteRulesBackends { [INFO] [stderr] | --------------------------- method in this implementation [INFO] [stderr] 18 | fn to_pingora_backends(&self) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `IntoPingoraBackend` is never used [INFO] [stderr] --> src/pingora/app/backend_refs.rs:21:7 [INFO] [stderr] | [INFO] [stderr] 21 | trait IntoPingoraBackend { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pingora-gateway` (bin "pingora-gateway" test) generated 5 warnings (run `cargo fix --bin "pingora-gateway" -p pingora-gateway --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pingora_gateway-ffe9b9b8234b28c1) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test config::tests::test_config ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- config::tests::test_config stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'config::tests::test_config' (25) panicked at src/config.rs:81:56: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Message("missing field `name`", Some(Pos { marker: Marker { index: 8, line: 2, col: 7 }, path: "." })) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5adf43c11f1a - std[69d51b4813ba037]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5adf43c11f1a - std[69d51b4813ba037]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5adf43c11f1a - std[69d51b4813ba037]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5adf43c11f1a - <::print::DisplayBacktrace as core[51d4adbef590f61]::fmt::Display>::fmt [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5adf43c270fa - ::fmt [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5adf43c270fa - core[51d4adbef590f61]::fmt::write [INFO] [stdout] 6: 0x5adf43c16852 - std[69d51b4813ba037]::io::default_write_fmt::> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5adf43c16852 - as std[69d51b4813ba037]::io::Write>::write_fmt [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5adf43bf112f - ::print [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5adf43bf112f - std[69d51b4813ba037]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5adf43c0a4d9 - std[69d51b4813ba037]::panicking::default_hook [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5adf43b5b05c - core[51d4adbef590f61]::ops::function::Fn<(&'a std[69d51b4813ba037]::panic::PanicHookInfo<'b>,), Output = ()> + core[51d4adbef590f61]::marker::Sync + core[51d4adbef590f61]::marker::Send> as core[51d4adbef590f61]::ops::function::Fn<(&std[69d51b4813ba037]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5adf43b5b05c - test[8fe65b9e05bf4c74]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5adf43c0a692 - core[51d4adbef590f61]::ops::function::Fn<(&'a std[69d51b4813ba037]::panic::PanicHookInfo<'b>,), Output = ()> + core[51d4adbef590f61]::marker::Sync + core[51d4adbef590f61]::marker::Send> as core[51d4adbef590f61]::ops::function::Fn<(&std[69d51b4813ba037]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x5adf43c0a692 - std[69d51b4813ba037]::panicking::panic_with_hook [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5adf43bf11e8 - std[69d51b4813ba037]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5adf43be8b59 - std[69d51b4813ba037]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5adf43bf1efd - __rustc[cb16bc19fc993bd7]::rust_begin_unwind [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5adf43c279ac - core[51d4adbef590f61]::panicking::panic_fmt [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5adf43c27722 - core[51d4adbef590f61]::result::unwrap_failed [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x5adf43b41002 - >::unwrap [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5adf43b41002 - pingora_gateway[94d5fab8576d9d96]::config::tests::test_config [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:81:56 [INFO] [stdout] 22: 0x5adf43b40f57 - pingora_gateway[94d5fab8576d9d96]::config::tests::test_config::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:56:21 [INFO] [stdout] 23: 0x5adf43b418f6 - >::call_once [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5adf43b4f13b - core[51d4adbef590f61]::result::Result<(), alloc[18203fec9a0cd4ec]::string::String> as core[51d4adbef590f61]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5adf43b4f13b - test[8fe65b9e05bf4c74]::__rust_begin_short_backtrace::, fn() -> core[51d4adbef590f61]::result::Result<(), alloc[18203fec9a0cd4ec]::string::String>> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5adf43b5bb2b - test[8fe65b9e05bf4c74]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5adf43b5bb2b - as core[51d4adbef590f61]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5adf43b5bb2b - std[69d51b4813ba037]::panicking::catch_unwind::do_call::, core[51d4adbef590f61]::result::Result<(), alloc[18203fec9a0cd4ec]::string::String>> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5adf43b5bb2b - std[69d51b4813ba037]::panicking::catch_unwind::, core[51d4adbef590f61]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5adf43b5bb2b - std[69d51b4813ba037]::panic::catch_unwind::, core[51d4adbef590f61]::result::Result<(), alloc[18203fec9a0cd4ec]::string::String>> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5adf43b5bb2b - test[8fe65b9e05bf4c74]::run_test_in_process [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5adf43b5bb2b - test[8fe65b9e05bf4c74]::run_test::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5adf43b57244 - test[8fe65b9e05bf4c74]::run_test::{closure#1} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5adf43b57244 - std[69d51b4813ba037]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5adf43b5e732 - std[69d51b4813ba037]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5adf43b5e732 - ::{closure#1}::{closure#0}> as core[51d4adbef590f61]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5adf43b5e732 - std[69d51b4813ba037]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5adf43b5e732 - std[69d51b4813ba037]::panicking::catch_unwind::<(), core[51d4adbef590f61]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5adf43b5e732 - std[69d51b4813ba037]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5adf43b5e732 - std[69d51b4813ba037]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5adf43b5e732 - ::{closure#1} as core[51d4adbef590f61]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5adf43c1182f - + core[51d4adbef590f61]::marker::Send> as core[51d4adbef590f61]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x5adf43c1182f - ::new::thread_start [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x75b908b53aa4 - [INFO] [stdout] 45: 0x75b908be0a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] config::tests::test_config [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin pingora-gateway` [INFO] running `Command { std: "docker" "inspect" "e6b9bd6c3e9dc68e98f26e19e0df3b9feeb036c410616fb4faf735b842291ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6b9bd6c3e9dc68e98f26e19e0df3b9feeb036c410616fb4faf735b842291ac6", kill_on_drop: false }` [INFO] [stdout] e6b9bd6c3e9dc68e98f26e19e0df3b9feeb036c410616fb4faf735b842291ac6