[INFO] cloning repository https://github.com/haze518/harvester_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haze518/harvester_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze518%2Fharvester_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze518%2Fharvester_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45bb309af20a82cff611230e9c976df36052c770 [INFO] checking haze518/harvester_rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze518%2Fharvester_rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haze518/harvester_rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/haze518/harvester_rs [INFO] finished tweaking git repo https://github.com/haze518/harvester_rs [INFO] tweaked toml for git repo https://github.com/haze518/harvester_rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/haze518/harvester_rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.81 [INFO] [stderr] Downloaded serde v1.0.182 [INFO] [stderr] Downloaded serde_derive v1.0.182 [INFO] [stderr] Downloaded curl-sys v0.4.65+curl-8.2.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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13d125f6122636bffbf6c258eea8d7c6ec5503cd7722ca4c8744f39c3950fc63 [INFO] running `Command { std: "docker" "start" "-a" "13d125f6122636bffbf6c258eea8d7c6ec5503cd7722ca4c8744f39c3950fc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13d125f6122636bffbf6c258eea8d7c6ec5503cd7722ca4c8744f39c3950fc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13d125f6122636bffbf6c258eea8d7c6ec5503cd7722ca4c8744f39c3950fc63", kill_on_drop: false }` [INFO] [stdout] 13d125f6122636bffbf6c258eea8d7c6ec5503cd7722ca4c8744f39c3950fc63 [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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d427efd69ec769f41049c37d7632558f3936e191a0217bf3918d406c7c22ebbd [INFO] running `Command { std: "docker" "start" "-a" "d427efd69ec769f41049c37d7632558f3936e191a0217bf3918d406c7c22ebbd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.182 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.182 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling cc v1.0.81 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling curl-sys v0.4.65+curl-8.2.1 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking ssh2 v0.9.4 [INFO] [stderr] Checking harvester v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/session_manager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/session_manager.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ssh_utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/ssh_utils.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/ptaf_node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/ptaf_node.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/ptaf_node.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/ptaf_node.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> src/ptaf_node.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/ptaf_node.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml::Deserializer` [INFO] [stdout] --> src/k8s_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_yaml::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alphabet` and `self` [INFO] [stdout] --> src/k8s_manager.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use base64::{Engine as _, alphabet, engine::{self, general_purpose}}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/k8s_manager.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/loki_worker.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/loki_worker.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/loki_worker.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/session_manager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/loki_worker.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/loki_worker.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/config.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, sync::Arc}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/config.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ssh_utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/config.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/ptaf_node.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/ptaf_node.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml::Deserializer` [INFO] [stdout] --> src/k8s_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_yaml::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alphabet` and `self` [INFO] [stdout] --> src/k8s_manager.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use base64::{Engine as _, alphabet, engine::{self, general_purpose}}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/loki_worker.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/loki_worker.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/loki_worker.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/loki_worker.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/loki_worker.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/config.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, sync::Arc}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/config.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dead_pods` [INFO] [stdout] --> src/loki_worker.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let dead_pods = loki_pods [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dead_pods` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dead_pods` [INFO] [stdout] --> src/loki_worker.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let dead_pods = loki_pods [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dead_pods` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copy_to_local` is never used [INFO] [stdout] --> src/ssh_utils.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SSHConnection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn copy_to_local( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_dir_exists` is never used [INFO] [stdout] --> src/ssh_utils.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn ensure_dir_exists(dir_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, and `config` are never read [INFO] [stdout] --> src/ptaf_node.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PTAFNode { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | port: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | config: config::SharedConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/k8s_manager.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct ClusterData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | cluster: Cluster, [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClusterData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copy_to_local` is never used [INFO] [stdout] --> src/ssh_utils.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SSHConnection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn copy_to_local( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_dir_exists` is never used [INFO] [stdout] --> src/ssh_utils.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn ensure_dir_exists(dir_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `name` are never read [INFO] [stdout] --> src/k8s_manager.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct ContextData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | context: Context, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextData` 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 `host`, `port`, and `config` are never read [INFO] [stdout] --> src/ptaf_node.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PTAFNode { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | port: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | config: config::SharedConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cluster` and `user` are never read [INFO] [stdout] --> src/k8s_manager.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 30 | cluster: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` 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 `name` is never read [INFO] [stdout] --> src/k8s_manager.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct ClusterData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | cluster: Cluster, [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClusterData` 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 `context` and `name` are never read [INFO] [stdout] --> src/k8s_manager.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct ContextData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | context: Context, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextData` 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 `name` is never read [INFO] [stdout] --> src/k8s_manager.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct UserData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 36 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserData` 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 `cluster` and `user` are never read [INFO] [stdout] --> src/k8s_manager.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 30 | cluster: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` 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 `contexts` is never read [INFO] [stdout] --> src/k8s_manager.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct KubeConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 50 | clusters: Vec, [INFO] [stdout] 51 | contexts: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KubeConfig` 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 `name` is never read [INFO] [stdout] --> src/k8s_manager.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct UserData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 36 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserData` 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 `namespace` is never read [INFO] [stdout] --> src/k8s_manager.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 63 | pub name: String, [INFO] [stdout] 64 | pub namespace: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` 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 `contexts` is never read [INFO] [stdout] --> src/k8s_manager.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct KubeConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 50 | clusters: Vec, [INFO] [stdout] 51 | contexts: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KubeConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_instance` is never used [INFO] [stdout] --> src/loki_worker.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> LokiQueryBuilder<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | fn add_instance(&mut self, pod_name: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `namespace` is never read [INFO] [stdout] --> src/k8s_manager.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 63 | pub name: String, [INFO] [stdout] 64 | pub namespace: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_svc_names` is never used [INFO] [stdout] --> src/config.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Labels { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 16 | pub fn get_svc_names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> src/config.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 28 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` 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 `items` is never read [INFO] [stdout] --> src/config.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Unit { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 33 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_svc_names` is never used [INFO] [stdout] --> src/config.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Artifacts { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_svc_names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/config.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct SshConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 89 | pub addr: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SshConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `since`, `time_zone`, and `tenant_id` are never read [INFO] [stdout] --> src/config.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LokiConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | pub since: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | pub time_zone: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 110 | pub tenant_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LokiConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_instance` is never used [INFO] [stdout] --> src/loki_worker.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> LokiQueryBuilder<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | fn add_instance(&mut self, pod_name: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_svc_names` is never used [INFO] [stdout] --> src/config.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Labels { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 16 | pub fn get_svc_names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> src/config.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 28 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` 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 `items` is never read [INFO] [stdout] --> src/config.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Unit { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 33 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_svc_names` is never used [INFO] [stdout] --> src/config.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Artifacts { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_svc_names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/config.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct SshConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 89 | pub addr: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SshConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `since`, `time_zone`, and `tenant_id` are never read [INFO] [stdout] --> src/config.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LokiConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | pub since: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | pub time_zone: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 110 | pub tenant_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LokiConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.45s [INFO] running `Command { std: "docker" "inspect" "d427efd69ec769f41049c37d7632558f3936e191a0217bf3918d406c7c22ebbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d427efd69ec769f41049c37d7632558f3936e191a0217bf3918d406c7c22ebbd", kill_on_drop: false }` [INFO] [stdout] d427efd69ec769f41049c37d7632558f3936e191a0217bf3918d406c7c22ebbd