[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/eb1037f5100081ecea6c00c3f0008cf134a38f6f against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [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 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v2.0.4 [INFO] [stderr] Downloaded thiserror-impl v2.0.4 [INFO] [stderr] Downloaded wildcard v0.3.0 [INFO] [stderr] Downloaded pingora-timeout v0.4.0 [INFO] [stderr] Downloaded pingora-error v0.4.0 [INFO] [stderr] Downloaded kube v0.96.0 [INFO] [stderr] Downloaded kube-core v0.96.0 [INFO] [stderr] Downloaded fluent-uri v0.1.4 [INFO] [stderr] Downloaded jsonptr v0.4.7 [INFO] [stderr] Downloaded json-patch v2.0.0 [INFO] [stderr] Downloaded kube-derive v0.96.0 [INFO] [stderr] Downloaded kube-runtime v0.96.0 [INFO] [stderr] Downloaded kube-client v0.96.0 [INFO] [stderr] Downloaded pingora-header-serde v0.4.0 [INFO] [stderr] Downloaded pingora-pool v0.4.0 [INFO] [stderr] Downloaded pingora-runtime v0.4.0 [INFO] [stderr] Downloaded security-framework v3.0.1 [INFO] [stderr] Downloaded k8s-openapi v0.23.0 [INFO] [stderr] Downloaded pingora-load-balancing v0.4.0 [INFO] [stderr] Downloaded pingora-openssl v0.4.0 [INFO] [stderr] Downloaded pingora-cache v0.4.0 [INFO] [stderr] Downloaded pingora-ketama v0.4.0 [INFO] [stderr] Downloaded pingora-proxy v0.4.0 [INFO] [stderr] Downloaded pingora v0.4.0 [INFO] [stderr] Downloaded pingora-lru v0.4.0 [INFO] [stderr] Downloaded pingora-http v0.4.0 [INFO] [stderr] Downloaded pingora-core v0.4.0 [INFO] [stderr] Downloaded gateway-api v0.14.0 [INFO] [stderr] Downloaded libz-ng-sys v1.1.20 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87b85085f763db0baed79c5ce0fba58a3fec3b74c3d2116d13df093db8579a8f [INFO] running `Command { std: "docker" "start" "-a" "87b85085f763db0baed79c5ce0fba58a3fec3b74c3d2116d13df093db8579a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87b85085f763db0baed79c5ce0fba58a3fec3b74c3d2116d13df093db8579a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b85085f763db0baed79c5ce0fba58a3fec3b74c3d2116d13df093db8579a8f", kill_on_drop: false }` [INFO] [stdout] 87b85085f763db0baed79c5ce0fba58a3fec3b74c3d2116d13df093db8579a8f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68341676d632d40226b1248778299074b9bd8a50986d3afbacb2b0303f7e3dc0 [INFO] running `Command { std: "docker" "start" "-a" "68341676d632d40226b1248778299074b9bd8a50986d3afbacb2b0303f7e3dc0", 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 once_cell v1.20.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http-body v1.0.1 [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 zstd-safe v7.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libz-ng-sys v1.1.20 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling pingora-error v0.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling k8s-openapi v0.23.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling trackable v1.3.0 [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 tokio v1.41.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling jsonptr v0.4.7 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling pingora-timeout v0.4.0 [INFO] [stderr] Compiling trackable v0.2.24 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling pingora-http v0.4.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling sfv v0.9.4 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling pingora-pool v0.4.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling json-patch v2.0.0 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling pingora-runtime v0.4.0 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling daemonize v0.5.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling rustracing v0.5.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling jsonpath-rust v0.5.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling thrift_codec v0.1.1 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling rustracing_jaeger v0.7.0 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling pingora-header-serde v0.4.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling pingora-lru v0.4.0 [INFO] [stderr] Compiling thiserror v2.0.4 [INFO] [stderr] Compiling thiserror-impl v2.0.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pingora-ketama v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling delegate v0.13.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling wildcard v0.3.0 [INFO] [stderr] Compiling kube-derive v0.96.0 [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 9m 15s [INFO] running `Command { std: "docker" "inspect" "68341676d632d40226b1248778299074b9bd8a50986d3afbacb2b0303f7e3dc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68341676d632d40226b1248778299074b9bd8a50986d3afbacb2b0303f7e3dc0", kill_on_drop: false }` [INFO] [stdout] 68341676d632d40226b1248778299074b9bd8a50986d3afbacb2b0303f7e3dc0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5db37f8d625868f86191135184946c80b966e76a7e50f3d46d87a3d20af6d94c [INFO] running `Command { std: "docker" "start" "-a" "5db37f8d625868f86191135184946c80b966e76a7e50f3d46d87a3d20af6d94c", 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 13.73s [INFO] running `Command { std: "docker" "inspect" "5db37f8d625868f86191135184946c80b966e76a7e50f3d46d87a3d20af6d94c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db37f8d625868f86191135184946c80b966e76a7e50f3d46d87a3d20af6d94c", kill_on_drop: false }` [INFO] [stdout] 5db37f8d625868f86191135184946c80b966e76a7e50f3d46d87a3d20af6d94c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8aed25bf4b2c3b4c700cfc89586dcac90e71c32e33ef62de739fbb14b1deec6 [INFO] running `Command { std: "docker" "start" "-a" "f8aed25bf4b2c3b4c700cfc89586dcac90e71c32e33ef62de739fbb14b1deec6", 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 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pingora_gateway-ffd57d8fd333c967) [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' (16) 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: 0x5de877cdb402 - std::backtrace_rs::backtrace::libunwind::trace::hf3086ff3c8ddfec7 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5de877cdb402 - std::backtrace_rs::backtrace::trace_unsynchronized::h6caf11542219ebc3 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5de877cdb402 - std::sys::backtrace::_print_fmt::hfd9f352edf0ef63b [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5de877cdb402 - ::fmt::h746cb25d4c2f20bf [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5de877cebccf - core::fmt::rt::Argument::fmt::h7e560d1a4260d0bd [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5de877cebccf - core::fmt::write::h51c104753c8435b2 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5de877ca8a53 - std::io::default_write_fmt::h7681766be9629d2f [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5de877ca8a53 - std::io::Write::write_fmt::h41771a141bf0adb2 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5de877cb4a72 - std::sys::backtrace::BacktraceLock::print::heee726a1c5b4a2c3 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5de877cb94cf - std::panicking::default_hook::{{closure}}::h938489fbb79d30ee [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5de877cb9361 - std::panicking::default_hook::hf7e155db98319366 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5de877c231fe - as core::ops::function::Fn>::call::h8041688d09537997 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5de877c231fe - test::test_main_with_exit_callback::{{closure}}::hc8a7ea1f38432726 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5de877cb9b6e - as core::ops::function::Fn>::call::h688488cd0fff9b17 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5de877cb9b6e - std::panicking::panic_with_hook::h78bb7329978b77c8 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5de877cb993a - std::panicking::panic_handler::{{closure}}::h306ab6080b8e304c [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5de877cb4bb9 - std::sys::backtrace::__rust_end_short_backtrace::hab10906eec9c5584 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5de877c9cf1d - __rustc[31cdaa5515be9d95]::rust_begin_unwind [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5de877cf54d0 - core::panicking::panic_fmt::h8cb2938d8e2b0e7b [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5de877cf4b46 - core::result::unwrap_failed::h781900d7f82db671 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x5de877bea502 - core::result::Result::unwrap::h8b2ad508a481b2f9 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x5de877bea502 - pingora_gateway::config::tests::test_config::h363b1c5d9a140d23 [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:81:56 [INFO] [stdout] 22: 0x5de877bea6f7 - pingora_gateway::config::tests::test_config::{{closure}}::hb5bd733400916c6a [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:56:21 [INFO] [stdout] 23: 0x5de877bf0176 - core::ops::function::FnOnce::call_once::hc9fafb2284d242d5 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5de877c22fbb - core::ops::function::FnOnce::call_once::ha1081c2f5558e6c0 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5de877c22fbb - test::__rust_begin_short_backtrace::h42034e8abb013a4c [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5de877c38ac5 - test::run_test_in_process::{{closure}}::hf6d2134f58bf7650 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5de877c38ac5 - as core::ops::function::FnOnce<()>>::call_once::hecbf148a08d929b4 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5de877c38ac5 - std::panicking::catch_unwind::do_call::hdd8f84f296c52439 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5de877c38ac5 - std::panicking::catch_unwind::h3fd77bcad74bf69c [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5de877c38ac5 - std::panic::catch_unwind::h512ad17f65705767 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5de877c38ac5 - test::run_test_in_process::h2b79c7cc828fafad [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5de877c38ac5 - test::run_test::{{closure}}::hc287323e9e7aa380 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5de877c0f494 - test::run_test::{{closure}}::h26852bc3095664f0 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5de877c0f494 - std::sys::backtrace::__rust_begin_short_backtrace::he88c7ba58706034f [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5de877c12cca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff63832735ca5300 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5de877c12cca - as core::ops::function::FnOnce<()>>::call_once::h5618784f23b8bacb [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5de877c12cca - std::panicking::catch_unwind::do_call::hd103d0697f7d2f72 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5de877c12cca - std::panicking::catch_unwind::h947b18413ee60fc2 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5de877c12cca - std::panic::catch_unwind::h51f47dbca8916fbf [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5de877c12cca - std::thread::Builder::spawn_unchecked_::{{closure}}::h92bd4fc7ba1a8896 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5de877c12cca - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1edf6ba5edb7a202 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5de877caee2f - as core::ops::function::FnOnce>::call_once::h6765fcdde4c5daa4 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5de877caee2f - std::sys::pal::unix::thread::Thread::new::thread_start::h448c4dadc391362b [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x7558aa064aa4 - [INFO] [stdout] 45: 0x7558aa0f1a34 - 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.52s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin pingora-gateway` [INFO] running `Command { std: "docker" "inspect" "f8aed25bf4b2c3b4c700cfc89586dcac90e71c32e33ef62de739fbb14b1deec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8aed25bf4b2c3b4c700cfc89586dcac90e71c32e33ef62de739fbb14b1deec6", kill_on_drop: false }` [INFO] [stdout] f8aed25bf4b2c3b4c700cfc89586dcac90e71c32e33ef62de739fbb14b1deec6