[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] testing dlozina/pod-metrics against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlozina%2Fpod-metrics" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dlozina/pod-metrics on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v2.0.9 [INFO] [stderr] Downloaded cmake v0.1.52 [INFO] [stderr] Downloaded thiserror v2.0.9 [INFO] [stderr] Downloaded kube-derive v0.98.0 [INFO] [stderr] Downloaded json-patch v3.0.1 [INFO] [stderr] Downloaded hostname v0.4.0 [INFO] [stderr] Downloaded jsonpath-rust v0.7.5 [INFO] [stderr] Downloaded jsonptr v0.6.3 [INFO] [stderr] Downloaded kube-core v0.98.0 [INFO] [stderr] Downloaded config v0.13.4 [INFO] [stderr] Downloaded raw-cpuid v11.2.0 [INFO] [stderr] Downloaded kube-client v0.98.0 [INFO] [stderr] Downloaded serde_json v1.0.134 [INFO] [stderr] Downloaded kube-runtime v0.98.0 [INFO] [stderr] Downloaded security-framework v3.1.0 [INFO] [stderr] Downloaded aws-lc-rs v1.12.0 [INFO] [stderr] Downloaded metrics-util v0.18.0 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.16.0 [INFO] [stderr] Downloaded hyper-http-proxy v1.0.0 [INFO] [stderr] Downloaded syn v2.0.94 [INFO] [stderr] Downloaded kube v0.98.0 [INFO] [stderr] Downloaded security-framework-sys v2.13.0 [INFO] [stderr] Downloaded rustls v0.23.20 [INFO] [stderr] Downloaded k8s-openapi v0.24.0 [INFO] [stderr] Downloaded aws-lc-sys v0.24.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 742ce4938abb8f1a7654d17adb5f357bdf3aabb9c396a931bd2be54064d8c97d [INFO] running `Command { std: "docker" "start" "-a" "742ce4938abb8f1a7654d17adb5f357bdf3aabb9c396a931bd2be54064d8c97d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "742ce4938abb8f1a7654d17adb5f357bdf3aabb9c396a931bd2be54064d8c97d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "742ce4938abb8f1a7654d17adb5f357bdf3aabb9c396a931bd2be54064d8c97d", kill_on_drop: false }` [INFO] [stdout] 742ce4938abb8f1a7654d17adb5f357bdf3aabb9c396a931bd2be54064d8c97d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5ba1921c9e2cb3c4ee0834b170f309b789e7063f9990527b73b4c325b46368e [INFO] running `Command { std: "docker" "start" "-a" "e5ba1921c9e2cb3c4ee0834b170f309b789e7063f9990527b73b4c325b46368e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling aws-lc-rs v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling rustls v0.23.20 [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 ahash v0.7.8 [INFO] [stderr] Compiling k8s-openapi v0.24.0 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling raw-cpuid v11.2.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [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 socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling overload v0.1.1 [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 matchers v0.1.0 [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 regex-automata v0.4.9 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quanta v0.12.5 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling aws-lc-sys v0.24.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.4.0 [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 pin-project-internal v1.1.7 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling kube-derive v0.98.0 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pest 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 rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling metrics v0.24.1 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling metrics-util v0.18.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling pest_derive v2.7.15 [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 json5 v0.4.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ron v0.7.1 [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 hyper v1.5.2 [INFO] [stderr] Compiling json-patch v3.0.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [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)]` 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 7m 38s [INFO] running `Command { std: "docker" "inspect" "e5ba1921c9e2cb3c4ee0834b170f309b789e7063f9990527b73b4c325b46368e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ba1921c9e2cb3c4ee0834b170f309b789e7063f9990527b73b4c325b46368e", kill_on_drop: false }` [INFO] [stdout] e5ba1921c9e2cb3c4ee0834b170f309b789e7063f9990527b73b4c325b46368e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5570b23fa6ee071597ba7dbdc8fb97bb8c818a4b94410dd1ec31b0833c64197 [INFO] running `Command { std: "docker" "start" "-a" "b5570b23fa6ee071597ba7dbdc8fb97bb8c818a4b94410dd1ec31b0833c64197", 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)]` 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 2.90s [INFO] running `Command { std: "docker" "inspect" "b5570b23fa6ee071597ba7dbdc8fb97bb8c818a4b94410dd1ec31b0833c64197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5570b23fa6ee071597ba7dbdc8fb97bb8c818a4b94410dd1ec31b0833c64197", kill_on_drop: false }` [INFO] [stdout] b5570b23fa6ee071597ba7dbdc8fb97bb8c818a4b94410dd1ec31b0833c64197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5c237d82b592fd08f8377a1408d11bce8f30c3907e233b47ba107b2d3ef09e6 [INFO] running `Command { std: "docker" "start" "-a" "f5c237d82b592fd08f8377a1408d11bce8f30c3907e233b47ba107b2d3ef09e6", kill_on_drop: false }` [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/kubernetes/errors.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum MetricsError { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 13 | TimeoutError(Duration), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | RateLimitError(Duration), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | PodNotFound(String, String), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | MetricsNotAvailable(String, String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | InvalidMetricFormat(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | MetricsServerError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | AuthorizationError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | NetworkError(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | InternalError(String), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MetricsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `is_retriable`, `retry_delay`, and `should_alert` are never used [INFO] [stderr] --> src/kubernetes/errors.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 40 | impl MetricsError { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] 41 | pub fn is_retriable(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn retry_delay(&self) -> Duration { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn should_alert(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_error` is never used [INFO] [stderr] --> src/kubernetes/errors.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn parse_error(value: impl Into) -> MetricsError { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `timeout_error` is never used [INFO] [stderr] --> src/kubernetes/errors.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn timeout_error(duration: Duration) -> MetricsError { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rate_limit_error` is never used [INFO] [stderr] --> src/kubernetes/errors.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn rate_limit_error(retry_after: Duration) -> MetricsError { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pod_not_found` is never used [INFO] [stderr] --> src/kubernetes/errors.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn pod_not_found(pod_name: impl Into, namespace: impl Into) -> MetricsError { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `MetricsResultExt` is never used [INFO] [stderr] --> src/kubernetes/errors.rs:89:11 [INFO] [stderr] | [INFO] [stderr] 89 | pub trait MetricsResultExt { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_volume_metrics` is never used [INFO] [stderr] --> src/metrics/collector.rs:158:4 [INFO] [stderr] | [INFO] [stderr] 158 | fn get_volume_metrics(_pod: &Pod, _volume_name: &str) -> (Option, Option) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pod_metrics` (bin "pod_metrics" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pod_metrics-58cb1db3d599f545) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test metrics::parsers::tests::test_invalid_cpu ... ok [INFO] [stdout] test metrics::parsers::tests::test_invalid_memory ... ok [INFO] [stdout] test metrics::parsers::tests::test_parse_cpu_millicores ... ok [INFO] [stdout] test metrics::parsers::tests::test_parse_cpu_nanocores ... ok [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test metrics::parsers::tests::test_parse_memory_gi ... ok [INFO] [stdout] test metrics::parsers::tests::test_parse_memory_mi ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f5c237d82b592fd08f8377a1408d11bce8f30c3907e233b47ba107b2d3ef09e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5c237d82b592fd08f8377a1408d11bce8f30c3907e233b47ba107b2d3ef09e6", kill_on_drop: false }` [INFO] [stdout] f5c237d82b592fd08f8377a1408d11bce8f30c3907e233b47ba107b2d3ef09e6