[INFO] cloning repository https://github.com/deislabs/pilothouse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deislabs/pilothouse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeislabs%2Fpilothouse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeislabs%2Fpilothouse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d3c3d6264c82abeaa7ab3ac952cd1d246e9a6f0 [INFO] testing deislabs/pilothouse against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeislabs%2Fpilothouse" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/deislabs/pilothouse on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/deislabs/pilothouse [INFO] finished tweaking git repo https://github.com/deislabs/pilothouse [INFO] tweaked toml for git repo https://github.com/deislabs/pilothouse written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/deislabs/pilothouse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18a7a09161137167da95f86b1cc965ca2338af9e77771322834ed25acaff4c1f [INFO] running `Command { std: "docker" "start" "-a" "18a7a09161137167da95f86b1cc965ca2338af9e77771322834ed25acaff4c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18a7a09161137167da95f86b1cc965ca2338af9e77771322834ed25acaff4c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18a7a09161137167da95f86b1cc965ca2338af9e77771322834ed25acaff4c1f", kill_on_drop: false }` [INFO] [stdout] 18a7a09161137167da95f86b1cc965ca2338af9e77771322834ed25acaff4c1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d586641e831a9b85ae5e26c39660a07773c0212682552a8c32fa8f8527af0202 [INFO] running `Command { std: "docker" "start" "-a" "d586641e831a9b85ae5e26c39660a07773c0212682552a8c32fa8f8527af0202", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling k8s-openapi v0.6.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.3 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.19 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling publicsuffix v1.5.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.22 [INFO] [stderr] Compiling kube v0.17.0 [INFO] [stderr] Compiling pilothouse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/storage/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, debug, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | use log::{info, debug, error}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kube::client::Client` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::kube::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/storage/driver/mod.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | message: error.description().to_string() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/storage/driver/mod.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | message: error.description().to_string() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/storage/driver/mod.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | message: error.description().to_string() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Limit` [INFO] [stdout] --> src/storage/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Limit(usize) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_all` [INFO] [stdout] --> src/storage/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn list_all(&self) -> Result, DriverError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_uninstalled` [INFO] [stdout] --> src/storage/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn list_uninstalled(&self) -> Result, DriverError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_deployed` [INFO] [stdout] --> src/storage/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn list_deployed(&self) -> Result, DriverError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_all_deployed` [INFO] [stdout] --> src/storage/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn get_all_deployed(&self, release_name: &str) -> Result, DriverError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_deployed` [INFO] [stdout] --> src/storage/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn last_deployed(&self, release_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last` [INFO] [stdout] --> src/storage/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn last(&self, release_name: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EncodeError` [INFO] [stdout] --> src/storage/driver/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / EncodeError { [INFO] [stdout] 24 | | message: String, [INFO] [stdout] 25 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DriverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/storage/driver/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `KubeConfigLoader` [INFO] [stdout] --> src/kube/client.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct KubeConfigLoader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Client` [INFO] [stdout] --> src/kube/client.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kube/client.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(config_loader: Option<(ClientBuilder, KubeConfigLoader)>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `namespace` [INFO] [stdout] --> src/kube/client.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn namespace(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clientset` [INFO] [stdout] --> src/kube/client.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn clientset(&self) -> APIClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.33s [INFO] running `Command { std: "docker" "inspect" "d586641e831a9b85ae5e26c39660a07773c0212682552a8c32fa8f8527af0202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d586641e831a9b85ae5e26c39660a07773c0212682552a8c32fa8f8527af0202", kill_on_drop: false }` [INFO] [stdout] d586641e831a9b85ae5e26c39660a07773c0212682552a8c32fa8f8527af0202 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31f99b8002f847dcf299119ecad67a12fbc8f6ac731f04194ef2d9a4dfab62c0 [INFO] running `Command { std: "docker" "start" "-a" "31f99b8002f847dcf299119ecad67a12fbc8f6ac731f04194ef2d9a4dfab62c0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pilothouse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/storage/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, debug, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | use log::{info, debug, error}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kube::client::Client` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::kube::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/storage/driver/mod.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | message: error.description().to_string() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/storage/driver/mod.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | message: error.description().to_string() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/storage/driver/mod.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | message: error.description().to_string() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Limit` [INFO] [stdout] --> src/storage/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Limit(usize) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_all` [INFO] [stdout] --> src/storage/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn list_all(&self) -> Result, DriverError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_uninstalled` [INFO] [stdout] --> src/storage/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn list_uninstalled(&self) -> Result, DriverError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_deployed` [INFO] [stdout] --> src/storage/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn list_deployed(&self) -> Result, DriverError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_all_deployed` [INFO] [stdout] --> src/storage/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn get_all_deployed(&self, release_name: &str) -> Result, DriverError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_deployed` [INFO] [stdout] --> src/storage/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn last_deployed(&self, release_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last` [INFO] [stdout] --> src/storage/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn last(&self, release_name: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EncodeError` [INFO] [stdout] --> src/storage/driver/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / EncodeError { [INFO] [stdout] 24 | | message: String, [INFO] [stdout] 25 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DriverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/storage/driver/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `KubeConfigLoader` [INFO] [stdout] --> src/kube/client.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct KubeConfigLoader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Client` [INFO] [stdout] --> src/kube/client.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kube/client.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(config_loader: Option<(ClientBuilder, KubeConfigLoader)>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `namespace` [INFO] [stdout] --> src/kube/client.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn namespace(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clientset` [INFO] [stdout] --> src/kube/client.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn clientset(&self) -> APIClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "31f99b8002f847dcf299119ecad67a12fbc8f6ac731f04194ef2d9a4dfab62c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f99b8002f847dcf299119ecad67a12fbc8f6ac731f04194ef2d9a4dfab62c0", kill_on_drop: false }` [INFO] [stdout] 31f99b8002f847dcf299119ecad67a12fbc8f6ac731f04194ef2d9a4dfab62c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ded9dab7661b3b82440ce65946299bfcc0488a624117cfc58c1b71e173cf2d8c [INFO] running `Command { std: "docker" "start" "-a" "ded9dab7661b3b82440ce65946299bfcc0488a624117cfc58c1b71e173cf2d8c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/storage/mod.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | use log::{info, debug, error}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `debug`, `error`, `info` [INFO] [stderr] --> src/main.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 26 | use log::{info, debug, error}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::kube::client::Client` [INFO] [stderr] --> src/main.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use crate::kube::client::Client; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/storage/driver/mod.rs:60:28 [INFO] [stderr] | [INFO] [stderr] 60 | message: error.description().to_string() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/storage/driver/mod.rs:68:28 [INFO] [stderr] | [INFO] [stderr] 68 | message: error.description().to_string() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/storage/driver/mod.rs:76:28 [INFO] [stderr] | [INFO] [stderr] 76 | message: error.description().to_string() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Limit` [INFO] [stderr] --> src/storage/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Limit(usize) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `list_all` [INFO] [stderr] --> src/storage/mod.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn list_all(&self) -> Result, DriverError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `list_uninstalled` [INFO] [stderr] --> src/storage/mod.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn list_uninstalled(&self) -> Result, DriverError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `list_deployed` [INFO] [stderr] --> src/storage/mod.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn list_deployed(&self) -> Result, DriverError> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_all_deployed` [INFO] [stderr] --> src/storage/mod.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn get_all_deployed(&self, release_name: &str) -> Result, DriverError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `last_deployed` [INFO] [stderr] --> src/storage/mod.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn last_deployed(&self, release_name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `last` [INFO] [stderr] --> src/storage/mod.rs:130:12 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn last(&self, release_name: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `EncodeError` [INFO] [stderr] --> src/storage/driver/mod.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | / EncodeError { [INFO] [stderr] 24 | | message: String, [INFO] [stderr] 25 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DriverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/storage/driver/mod.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug, Fail)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `KubeConfigLoader` [INFO] [stderr] --> src/kube/client.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct KubeConfigLoader { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Client` [INFO] [stderr] --> src/kube/client.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Client { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/kube/client.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(config_loader: Option<(ClientBuilder, KubeConfigLoader)>) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `namespace` [INFO] [stderr] --> src/kube/client.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | fn namespace(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `clientset` [INFO] [stderr] --> src/kube/client.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | fn clientset(&self) -> APIClient { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pilothouse` (bin "pilothouse" test) generated 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pilothouse-cd4fffed23ae0027) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ded9dab7661b3b82440ce65946299bfcc0488a624117cfc58c1b71e173cf2d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ded9dab7661b3b82440ce65946299bfcc0488a624117cfc58c1b71e173cf2d8c", kill_on_drop: false }` [INFO] [stdout] ded9dab7661b3b82440ce65946299bfcc0488a624117cfc58c1b71e173cf2d8c