[INFO] cloning repository https://github.com/dlozina/pod-metrics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dlozina/pod-metrics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlozina%2Fpod-metrics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlozina%2Fpod-metrics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 65cc563cfa172ac5962c1932c50827d4f45d80ad [INFO] building dlozina/pod-metrics against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlozina%2Fpod-metrics" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dlozina/pod-metrics [INFO] finished tweaking git repo https://github.com/dlozina/pod-metrics [INFO] tweaked toml for git repo https://github.com/dlozina/pod-metrics written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dlozina/pod-metrics on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dlozina/pod-metrics 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.9 [INFO] [stderr] Downloaded libloading v0.8.6 [INFO] [stderr] Downloaded async-broadcast v0.7.2 [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded quanta v0.12.5 [INFO] [stderr] Downloaded metrics-util v0.18.0 [INFO] [stderr] Downloaded thiserror v2.0.9 [INFO] [stderr] Downloaded raw-cpuid v11.2.0 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [INFO] [stderr] Downloaded config v0.13.4 [INFO] [stderr] Downloaded aws-lc-rs v1.12.0 [INFO] [stderr] Downloaded ron v0.7.1 [INFO] [stderr] Downloaded serde_json v1.0.134 [INFO] [stderr] Downloaded sketches-ddsketch v0.3.0 [INFO] [stderr] Downloaded metrics v0.24.1 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.16.0 [INFO] [stderr] Downloaded syn v2.0.94 [INFO] [stderr] Downloaded aws-lc-sys v0.24.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8b734c610fa8ac6e24078a3e379c754b881f2e9230f42d00394c8ca35b5c915 [INFO] running `Command { std: "docker" "start" "-a" "d8b734c610fa8ac6e24078a3e379c754b881f2e9230f42d00394c8ca35b5c915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8b734c610fa8ac6e24078a3e379c754b881f2e9230f42d00394c8ca35b5c915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b734c610fa8ac6e24078a3e379c754b881f2e9230f42d00394c8ca35b5c915", kill_on_drop: false }` [INFO] [stdout] d8b734c610fa8ac6e24078a3e379c754b881f2e9230f42d00394c8ca35b5c915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34b577f00a12ddf562218ba402dcbdaf747069816e740dcb9a96313e47378ab2 [INFO] running `Command { std: "docker" "start" "-a" "34b577f00a12ddf562218ba402dcbdaf747069816e740dcb9a96313e47378ab2", 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.169 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling aws-lc-rs v1.12.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling k8s-openapi v0.24.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling raw-cpuid v11.2.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling quanta v0.12.5 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling aws-lc-sys v0.24.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling kube-derive v0.98.0 [INFO] [stderr] Compiling metrics v0.24.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling metrics-util v0.18.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling jsonptr v0.6.3 [INFO] [stderr] Compiling jsonpath-rust v0.7.5 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling json-patch v3.0.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.16.0 [INFO] [stderr] Compiling kube-core v0.98.0 [INFO] [stderr] Compiling kube-client v0.98.0 [INFO] [stderr] Compiling kube-runtime v0.98.0 [INFO] [stderr] Compiling kube v0.98.0 [INFO] [stderr] Compiling pod_metrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/kubernetes/errors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MetricsError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | TimeoutError(Duration), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | RateLimitError(Duration), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | PodNotFound(String, String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | MetricsNotAvailable(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | InvalidMetricFormat(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | MetricsServerError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | AuthorizationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | NetworkError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | InternalError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetricsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_retriable`, `retry_delay`, and `should_alert` are never used [INFO] [stdout] --> src/kubernetes/errors.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl MetricsError { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 41 | pub fn is_retriable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn retry_delay(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn should_alert(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_error` is never used [INFO] [stdout] --> src/kubernetes/errors.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn parse_error(value: impl Into) -> MetricsError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timeout_error` is never used [INFO] [stdout] --> src/kubernetes/errors.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn timeout_error(duration: Duration) -> MetricsError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rate_limit_error` is never used [INFO] [stdout] --> src/kubernetes/errors.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn rate_limit_error(retry_after: Duration) -> MetricsError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pod_not_found` is never used [INFO] [stdout] --> src/kubernetes/errors.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn pod_not_found(pod_name: impl Into, namespace: impl Into) -> MetricsError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MetricsResultExt` is never used [INFO] [stdout] --> src/kubernetes/errors.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | pub trait MetricsResultExt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_volume_metrics` is never used [INFO] [stdout] --> src/metrics/collector.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn get_volume_metrics(_pod: &Pod, _volume_name: &str) -> (Option, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 47s [INFO] running `Command { std: "docker" "inspect" "34b577f00a12ddf562218ba402dcbdaf747069816e740dcb9a96313e47378ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34b577f00a12ddf562218ba402dcbdaf747069816e740dcb9a96313e47378ab2", kill_on_drop: false }` [INFO] [stdout] 34b577f00a12ddf562218ba402dcbdaf747069816e740dcb9a96313e47378ab2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84f11c11c177887335593fd516d7b351e2bdcf59d2f5110a91eecd77bb379033 [INFO] running `Command { std: "docker" "start" "-a" "84f11c11c177887335593fd516d7b351e2bdcf59d2f5110a91eecd77bb379033", kill_on_drop: false }` [INFO] [stderr] Compiling pod_metrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/kubernetes/errors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MetricsError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | TimeoutError(Duration), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | RateLimitError(Duration), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | PodNotFound(String, String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | MetricsNotAvailable(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | InvalidMetricFormat(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | MetricsServerError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | AuthorizationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | NetworkError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | InternalError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetricsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_retriable`, `retry_delay`, and `should_alert` are never used [INFO] [stdout] --> src/kubernetes/errors.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl MetricsError { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 41 | pub fn is_retriable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn retry_delay(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn should_alert(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_error` is never used [INFO] [stdout] --> src/kubernetes/errors.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn parse_error(value: impl Into) -> MetricsError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timeout_error` is never used [INFO] [stdout] --> src/kubernetes/errors.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn timeout_error(duration: Duration) -> MetricsError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rate_limit_error` is never used [INFO] [stdout] --> src/kubernetes/errors.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn rate_limit_error(retry_after: Duration) -> MetricsError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pod_not_found` is never used [INFO] [stdout] --> src/kubernetes/errors.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn pod_not_found(pod_name: impl Into, namespace: impl Into) -> MetricsError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MetricsResultExt` is never used [INFO] [stdout] --> src/kubernetes/errors.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | pub trait MetricsResultExt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_volume_metrics` is never used [INFO] [stdout] --> src/metrics/collector.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn get_volume_metrics(_pod: &Pod, _volume_name: &str) -> (Option, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.39s [INFO] running `Command { std: "docker" "inspect" "84f11c11c177887335593fd516d7b351e2bdcf59d2f5110a91eecd77bb379033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f11c11c177887335593fd516d7b351e2bdcf59d2f5110a91eecd77bb379033", kill_on_drop: false }` [INFO] [stdout] 84f11c11c177887335593fd516d7b351e2bdcf59d2f5110a91eecd77bb379033