[INFO] cloning repository https://github.com/CloudCruiser/cluster-gen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CloudCruiser/cluster-gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloudCruiser%2Fcluster-gen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloudCruiser%2Fcluster-gen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be60f211d1950bf81ba09f760f80b926b6a6111b [INFO] checking CloudCruiser/cluster-gen against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloudCruiser%2Fcluster-gen" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CloudCruiser/cluster-gen [INFO] finished tweaking git repo https://github.com/CloudCruiser/cluster-gen [INFO] tweaked toml for git repo https://github.com/CloudCruiser/cluster-gen written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CloudCruiser/cluster-gen on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CloudCruiser/cluster-gen 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 021aacde715b6fed8ad31f4118321e2e885aab9c64064022875441e869a72e17 [INFO] running `Command { std: "docker" "start" "-a" "021aacde715b6fed8ad31f4118321e2e885aab9c64064022875441e869a72e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "021aacde715b6fed8ad31f4118321e2e885aab9c64064022875441e869a72e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "021aacde715b6fed8ad31f4118321e2e885aab9c64064022875441e869a72e17", kill_on_drop: false }` [INFO] [stdout] 021aacde715b6fed8ad31f4118321e2e885aab9c64064022875441e869a72e17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed02439e6ee0be740f8eec25756ad90fedb109d97d8b381e2eb6a7ba76be3276 [INFO] running `Command { std: "docker" "start" "-a" "ed02439e6ee0be740f8eec25756ad90fedb109d97d8b381e2eb6a7ba76be3276", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling deranged v0.5.6 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling sysinfo v0.24.7 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Checking rustix v1.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Checking clap_builder v4.5.59 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking marked-yaml v0.2.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking subprocess v0.2.15 [INFO] [stderr] Checking gethostname v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Compiling vergen v7.3.1 [INFO] [stderr] Checking netrc v0.4.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling pest_consume_macros v1.1.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling merge_derive v0.1.0 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking merge v0.1.0 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enum-iterator-derive v1.5.0 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking pest_consume v1.1.3 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking enquote v1.1.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking prometheus-parser v0.4.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking dockerfile-parser v0.8.0 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking clap v4.5.59 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking git-url-parse v0.4.6 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Compiling cluster-gen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stdout] --> src/label.rs:633:24 [INFO] [stdout] | [INFO] [stdout] 633 | let path = dir.into_path().join("test.yaml"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stdout] --> src/label.rs:654:24 [INFO] [stdout] | [INFO] [stdout] 654 | let path = dir.into_path().join("cron.yaml"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scan.rs:1102:13 [INFO] [stdout] | [INFO] [stdout] 1102 | let mut usage = usages [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let mut step = match self.steps.get_mut(&step_index) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(mut step) = self.steps.get_mut(&self.max) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync.rs:488:25 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(mut step) = self.steps.get_mut(&self.last_index) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scan.rs:1102:13 [INFO] [stdout] | [INFO] [stdout] 1102 | let mut usage = usages [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let mut step = match self.steps.get_mut(&step_index) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(mut step) = self.steps.get_mut(&self.max) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync.rs:488:25 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(mut step) = self.steps.get_mut(&self.last_index) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/label.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | Typed(&'a str), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 149 - Typed(&'a str), [INFO] [stdout] 149 + Typed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants` is never used [INFO] [stdout] --> src/lint/formatter/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Formatter { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 51 | pub fn variants() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/lint/lintables/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/lint/lintables/kubernetes/resource.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct KubeConfigResource { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | pub raw: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KubeConfigResource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrometheusResource` is never constructed [INFO] [stdout] --> src/lint/lintables/prometheus/resource.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PrometheusResource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `record` and `for_duration` are never read [INFO] [stdout] --> src/lint/lintables/prometheus/resource.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Rule { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | pub record: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub for_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `interval` are never read [INFO] [stdout] --> src/lint/lintables/prometheus/resource.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Group { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 38 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub interval: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_replicas` and `min_replicas` are never read [INFO] [stdout] --> src/lint/linters/missing_resource.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct HPASpec { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 24 | pub max_replicas: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | pub min_replicas: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HPASpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selector` is never read [INFO] [stdout] --> src/lint/linters/workloads.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct DaemonSetSpec { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 48 | pub template: Template, [INFO] [stdout] 49 | pub selector: Selector, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DaemonSetSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selector` is never read [INFO] [stdout] --> src/lint/linters/workloads.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct ReplicaSetSpec { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 54 | pub template: Template, [INFO] [stdout] 55 | pub selector: Selector, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReplicaSetSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `replicas` and `selector` are never read [INFO] [stdout] --> src/lint/linters/workloads.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct StatefulSetSpec { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 78 | #[serde(default = "default_deployment_replicas")] [INFO] [stdout] 79 | pub replicas: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | pub template: Template, [INFO] [stdout] 81 | pub selector: Selector, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatefulSetSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `image` are never read [INFO] [stdout] --> src/lint/linters/workloads.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct ContainerSpec { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 125 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 126 | pub image: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_skew` is never read [INFO] [stdout] --> src/lint/linters/workloads.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct TopologySpreadConstraints { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 156 | pub max_skew: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopologySpreadConstraints` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants` is never used [INFO] [stdout] --> src/scan.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ScanOutputFormat { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 79 | pub fn variants() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnicodeFormatter` is never constructed [INFO] [stdout] --> src/table.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct UnicodeFormatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnicodeBoldFormatter` is never constructed [INFO] [stdout] --> src/table.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | pub struct UnicodeBoldFormatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/label.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | fn get_list_type(document: &Value) -> Option { [INFO] [stdout] | ^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | fn get_list_type(document: &Value) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lint/formatter/util.rs:28:58 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn group_lints<'a>(lints: &'a [&'a Lint]) -> HashMap { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn group_lints<'a>(lints: &'a [&'a Lint]) -> HashMap, GroupedLint<'a>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scan.rs:272:20 [INFO] [stdout] | [INFO] [stdout] 272 | fn format_path(&self) -> Column { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | fn format_path(&self) -> Column<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scan.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | fn format_line(&self) -> Column { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 281 | fn format_line(&self) -> Column<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scan.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | fn format_context(&self) -> Column { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 291 | fn format_context(&self) -> Column<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scan.rs:1098:23 [INFO] [stdout] | [INFO] [stdout] 1098 | fn summarize(results: &[ScanResult]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1098 | fn summarize(results: &[ScanResult]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync.rs:774:31 [INFO] [stdout] | [INFO] [stdout] 774 | fn find_layer_tar(archive: &mut Archive) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 774 | fn find_layer_tar(archive: &mut Archive) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | fn wrap_all(&self, widths: &[usize]) -> Vec>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 223 | fn wrap_all(&self, widths: &[usize]) -> Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:484:28 [INFO] [stdout] | [INFO] [stdout] 484 | pub fn display_default(&self) -> TableDisplay { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 484 | pub fn display_default(&self) -> TableDisplay<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn display(&self, f: impl BoxFormatter + 'static) -> TableDisplay { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 518 | pub fn display(&self, f: impl BoxFormatter + 'static) -> TableDisplay<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn ellipse(s: &str, length: usize) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 198 | pub fn ellipse(s: &str, length: usize) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/label.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | Typed(&'a str), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 149 - Typed(&'a str), [INFO] [stdout] 149 + Typed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants` is never used [INFO] [stdout] --> src/lint/formatter/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Formatter { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 51 | pub fn variants() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/lint/lintables/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/lint/lintables/kubernetes/resource.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct KubeConfigResource { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | pub raw: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KubeConfigResource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrometheusResource` is never constructed [INFO] [stdout] --> src/lint/lintables/prometheus/resource.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PrometheusResource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `record` and `for_duration` are never read [INFO] [stdout] --> src/lint/lintables/prometheus/resource.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Rule { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | pub record: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub for_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `interval` are never read [INFO] [stdout] --> src/lint/lintables/prometheus/resource.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Group { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 38 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub interval: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_replicas` and `min_replicas` are never read [INFO] [stdout] --> src/lint/linters/missing_resource.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct HPASpec { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 24 | pub max_replicas: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | pub min_replicas: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HPASpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selector` is never read [INFO] [stdout] --> src/lint/linters/workloads.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct DaemonSetSpec { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 48 | pub template: Template, [INFO] [stdout] 49 | pub selector: Selector, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DaemonSetSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selector` is never read [INFO] [stdout] --> src/lint/linters/workloads.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct ReplicaSetSpec { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 54 | pub template: Template, [INFO] [stdout] 55 | pub selector: Selector, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReplicaSetSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `replicas` and `selector` are never read [INFO] [stdout] --> src/lint/linters/workloads.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct StatefulSetSpec { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 78 | #[serde(default = "default_deployment_replicas")] [INFO] [stdout] 79 | pub replicas: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | pub template: Template, [INFO] [stdout] 81 | pub selector: Selector, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatefulSetSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `image` are never read [INFO] [stdout] --> src/lint/linters/workloads.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct ContainerSpec { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 125 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 126 | pub image: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_skew` is never read [INFO] [stdout] --> src/lint/linters/workloads.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct TopologySpreadConstraints { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 156 | pub max_skew: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopologySpreadConstraints` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants` is never used [INFO] [stdout] --> src/scan.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ScanOutputFormat { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 79 | pub fn variants() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnicodeFormatter` is never constructed [INFO] [stdout] --> src/table.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct UnicodeFormatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnicodeBoldFormatter` is never constructed [INFO] [stdout] --> src/table.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | pub struct UnicodeBoldFormatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/label.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | fn get_list_type(document: &Value) -> Option { [INFO] [stdout] | ^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | fn get_list_type(document: &Value) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lint/formatter/util.rs:28:58 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn group_lints<'a>(lints: &'a [&'a Lint]) -> HashMap { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn group_lints<'a>(lints: &'a [&'a Lint]) -> HashMap, GroupedLint<'a>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scan.rs:272:20 [INFO] [stdout] | [INFO] [stdout] 272 | fn format_path(&self) -> Column { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | fn format_path(&self) -> Column<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scan.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | fn format_line(&self) -> Column { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 281 | fn format_line(&self) -> Column<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scan.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | fn format_context(&self) -> Column { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 291 | fn format_context(&self) -> Column<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scan.rs:1098:23 [INFO] [stdout] | [INFO] [stdout] 1098 | fn summarize(results: &[ScanResult]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1098 | fn summarize(results: &[ScanResult]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync.rs:774:31 [INFO] [stdout] | [INFO] [stdout] 774 | fn find_layer_tar(archive: &mut Archive) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 774 | fn find_layer_tar(archive: &mut Archive) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | fn wrap_all(&self, widths: &[usize]) -> Vec>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 223 | fn wrap_all(&self, widths: &[usize]) -> Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:484:28 [INFO] [stdout] | [INFO] [stdout] 484 | pub fn display_default(&self) -> TableDisplay { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 484 | pub fn display_default(&self) -> TableDisplay<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/table.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn display(&self, f: impl BoxFormatter + 'static) -> TableDisplay { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 518 | pub fn display(&self, f: impl BoxFormatter + 'static) -> TableDisplay<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn ellipse(s: &str, length: usize) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 198 | pub fn ellipse(s: &str, length: usize) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "ed02439e6ee0be740f8eec25756ad90fedb109d97d8b381e2eb6a7ba76be3276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed02439e6ee0be740f8eec25756ad90fedb109d97d8b381e2eb6a7ba76be3276", kill_on_drop: false }` [INFO] [stdout] ed02439e6ee0be740f8eec25756ad90fedb109d97d8b381e2eb6a7ba76be3276