[INFO] cloning repository https://github.com/hausdorff/k9s [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hausdorff/k9s" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhausdorff%2Fk9s", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhausdorff%2Fk9s'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e6ed79d01c60f971ceb365c39c52f24d0a867f2 [INFO] checking hausdorff/k9s against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhausdorff%2Fk9s" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hausdorff/k9s on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hausdorff/k9s [INFO] finished tweaking git repo https://github.com/hausdorff/k9s [INFO] tweaked toml for git repo https://github.com/hausdorff/k9s written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hausdorff/k9s 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded try_opt v0.1.1 [INFO] [stderr] Downloaded tokio v0.1.13 [INFO] [stderr] Downloaded tokio-executor v0.1.5 [INFO] [stderr] Downloaded tokio-uds v0.2.4 [INFO] [stderr] Downloaded tokio-io v0.1.10 [INFO] [stderr] Downloaded bytes v0.4.11 [INFO] [stderr] Downloaded want v0.0.6 [INFO] [stderr] Downloaded redox_syscall v0.1.44 [INFO] [stderr] Downloaded time v0.1.41 [INFO] [stderr] Downloaded http v0.1.14 [INFO] [stderr] Downloaded string v0.1.2 [INFO] [stderr] Downloaded h2 v0.1.14 [INFO] [stderr] Downloaded im v12.2.0 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded mio v0.6.16 [INFO] [stderr] Downloaded httparse v1.3.3 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.0 [INFO] [stderr] Downloaded rand_pcg v0.1.1 [INFO] [stderr] Downloaded rand_xorshift v0.1.0 [INFO] [stderr] Downloaded tokio-udp v0.1.3 [INFO] [stderr] Downloaded tokio-codec v0.1.1 [INFO] [stderr] Downloaded crossbeam-utils v0.6.3 [INFO] [stderr] Downloaded smallvec v0.6.7 [INFO] [stderr] Downloaded hyper v0.12.19 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded tokio-current-thread v0.1.4 [INFO] [stderr] Downloaded tokio-tcp v0.1.2 [INFO] [stderr] Downloaded rand_chacha v0.1.0 [INFO] [stderr] Downloaded rand v0.6.1 [INFO] [stderr] Downloaded tokio-timer v0.2.8 [INFO] [stderr] Downloaded num_cpus v1.9.0 [INFO] [stderr] Downloaded slab v0.4.1 [INFO] [stderr] Downloaded pretty_env_logger v0.2.5 [INFO] [stderr] Downloaded tokio-fs v0.1.4 [INFO] [stderr] Downloaded tokio-threadpool v0.1.9 [INFO] [stderr] Downloaded futures v0.1.25 [INFO] [stderr] Downloaded tokio-reactor v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5ae8f0401e0bdcfbfbf71c1bf831c655bacd1af7d00c7e1ed851c7d1c6463ba [INFO] running `Command { std: "docker" "start" "-a" "b5ae8f0401e0bdcfbfbf71c1bf831c655bacd1af7d00c7e1ed851c7d1c6463ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5ae8f0401e0bdcfbfbf71c1bf831c655bacd1af7d00c7e1ed851c7d1c6463ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ae8f0401e0bdcfbfbf71c1bf831c655bacd1af7d00c7e1ed851c7d1c6463ba", kill_on_drop: false }` [INFO] [stdout] b5ae8f0401e0bdcfbfbf71c1bf831c655bacd1af7d00c7e1ed851c7d1c6463ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3df24edd91ff842ebf903d07e54b54742eb3537ee729bbbaf16dd3b29858ada8 [INFO] running `Command { std: "docker" "start" "-a" "3df24edd91ff842ebf903d07e54b54742eb3537ee729bbbaf16dd3b29858ada8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking crossbeam-epoch v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Checking tokio-reactor v0.1.7 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking tokio-threadpool v0.1.9 [INFO] [stderr] Checking http v0.1.14 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking tokio-current-thread v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.4 [INFO] [stderr] Checking tokio-timer v0.2.8 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling im v12.2.0 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking string v0.1.2 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking tokio v0.1.13 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking try_opt v0.1.1 [INFO] [stderr] Checking h2 v0.1.14 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking pretty_env_logger v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Checking hyper v0.12.19 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking api_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/types/interfaces.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures; [INFO] [stdout] | ^^^^^^^ the item `futures` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | conn: &'a (interfaces::MasterConnection + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | conn: &'a (dyn interfaces::MasterConnection + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | docker: &'a (interfaces::PodProvider + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | docker: &'a (dyn interfaces::PodProvider + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/types/interfaces.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures; [INFO] [stdout] | ^^^^^^^ the item `futures` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | conn: &'a (interfaces::MasterConnection + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | conn: &'a (dyn interfaces::MasterConnection + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | docker: &'a (interfaces::PodProvider + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | docker: &'a (dyn interfaces::PodProvider + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | conn: &'a interfaces::MasterConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | conn: &'a dyn interfaces::MasterConnection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | docker: &'a interfaces::PodProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | docker: &'a dyn interfaces::PodProvider, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | conn: &'a interfaces::MasterConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | conn: &'a dyn interfaces::MasterConnection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | docker: &'a interfaces::PodProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | docker: &'a dyn interfaces::PodProvider, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/main.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pod` [INFO] [stdout] --> src/main.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn register_pod(&self, pod: core::v1::Pod) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/main.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | fn deregister_pod<'b>(&self, namespace: &'b str, name: &'b str) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | fn deregister_pod<'b>(&self, namespace: &'b str, name: &'b str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pod` [INFO] [stdout] --> src/main.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | fn fetch(&self, pod: core::v1::Pod) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pod` [INFO] [stdout] --> src/main.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | fn run(&self, pod: core::v1::Pod) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/main.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | fn kill<'a>(&self, namespace: &'a str, name: &'a str) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | fn kill<'a>(&self, namespace: &'a str, name: &'a str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/main.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | fn update_node<'a>(&self, node: &'a interfaces::Node) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pod` [INFO] [stdout] --> src/main.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | fn update_pod<'a>(&self, pod: &'a core::v1::Pod) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KubeletEvents` is never constructed [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct KubeletEvents; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create` and `delete` are never used [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> LocalKubelet<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn create(&self, pod: core::v1::Pod) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_id` is never used [INFO] [stdout] --> src/pod_util.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_id<'a>(pod: &'a v1::Pod) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `api_version` and `kind` are never used [INFO] [stdout] --> src/types/api.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Resource { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 5 | fn api_version(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | fn kind(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/types/api.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pod { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `running`, `terminated`, and `waiting` are never read [INFO] [stdout] --> src/types/api.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ContainerState { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 37 | pub running: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub terminated: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub waiting: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `startedAt` is never read [INFO] [stdout] --> src/types/api.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ContainerStateRunning { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 44 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateRunning` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ContainerStateTerminated { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 49 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub exitCode: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub finishedAt: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | pub signal: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateTerminated` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `reason` are never read [INFO] [stdout] --> src/types/api.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ContainerStateWaiting { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 60 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateWaiting` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ContainerStatus { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 66 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | pub image: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | pub imageID: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | pub lastState: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | pub ready: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | pub restartCount: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 73 | pub state: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lastProbeTime`, `lastTransitionTime`, `message`, `reason`, and `status` are never read [INFO] [stdout] --> src/types/api.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct PodCondition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 78 | pub condition_type: String, [INFO] [stdout] 79 | pub lastProbeTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 80 | pub lastTransitionTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 82 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PodCondition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct PodStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 88 | pub conditions: Option>, [INFO] [stdout] 89 | pub containerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub hostIP: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub initContainerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub nominatedNodeName: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub phase: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | pub podIP: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | pub qosClass: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 97 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | pub startTime: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PodStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `details`, `message`, `metadata`, `reason`, and `status` are never read [INFO] [stdout] --> src/types/api.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Status { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 114 | pub apiVersion: String, [INFO] [stdout] 115 | pub code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | pub details: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | pub kind: String, [INFO] [stdout] 118 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | pub metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/types/api.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct Initializer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 135 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initializer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending` and `result` are never read [INFO] [stdout] --> src/types/api.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Initializers { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 140 | pub pending: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initializers` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resourceVersion` and `selfLink` are never read [INFO] [stdout] --> src/types/api.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct ListMeta { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 146 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListMeta` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct ObjectMeta { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 152 | pub annotations: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | pub clusterName: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 154 | pub creationTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 155 | pub deletionGracePeriodSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | pub deletionTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | pub finalizers: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 158 | pub generateName: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 159 | pub generation: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 160 | pub initializers: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 161 | pub labels: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 162 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 163 | pub namespace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 164 | pub ownerReferences: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 167 | pub uid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectMeta` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `apiVersion`, `blockOwnerDeletion`, `controller`, `kind`, `name`, and `uid` are never read [INFO] [stdout] --> src/types/api.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct OwnerReference { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 172 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 173 | pub blockOwnerDeletion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | pub controller: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 175 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 176 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | pub uid: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OwnerReference` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field`, `message`, and `reason` are never read [INFO] [stdout] --> src/types/api.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct StatusCause { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 182 | pub field: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 183 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 184 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCause` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `causes`, `group`, `kind`, `name`, `retryAfterSeconds`, and `uid` are never read [INFO] [stdout] --> src/types/api.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct StatusDetails { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 189 | pub causes: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 190 | pub group: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 191 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 192 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 193 | pub retryAfterSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 194 | pub uid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusDetails` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_node` and `update_pod` are never used [INFO] [stdout] --> src/types/interfaces.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait MasterConnection { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 24 | fn update_node<'a>(&self, node: &'a Node); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | fn update_pod<'a>(&self, pod: &'a api::core::v1::Pod); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch`, `run`, and `kill` are never used [INFO] [stdout] --> src/types/interfaces.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait PodProvider { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 38 | fn fetch(&self, pod: api::core::v1::Pod); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | fn run(&self, pod: api::core::v1::Pod); [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | fn kill<'a>(&self, namespace: &'a str, name: &'a str); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `register_pod`, and `deregister_pod` are never used [INFO] [stdout] --> src/types/interfaces.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Kubelet { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 44 | fn run(&self) -> futures::Empty<(), ()>; [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | fn register_pod(&self, pod: api::core::v1::Pod); // TODO: Return result. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | fn deregister_pod<'a>(&self, namespace: &'a str, name: &'a str); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StateManager` is never used [INFO] [stdout] --> src/types/interfaces.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | trait StateManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Scheduler` is never used [INFO] [stdout] --> src/types/interfaces.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | trait Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockPodProvider` is never constructed [INFO] [stdout] --> src/main.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | struct MockPodProvider {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockMasterConnection` is never constructed [INFO] [stdout] --> src/main.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | struct MockMasterConnection {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `started_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `container_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exitCode` should have a snake case name [INFO] [stdout] --> src/types/api.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | pub exitCode: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exit_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `finishedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub finishedAt: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `finished_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `started_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `container_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `imageID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | pub imageID: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `image_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastState` should have a snake case name [INFO] [stdout] --> src/types/api.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | pub lastState: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `last_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `restartCount` should have a snake case name [INFO] [stdout] --> src/types/api.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub restartCount: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `restart_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastProbeTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub lastProbeTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_probe_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastTransitionTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | pub lastTransitionTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_transition_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerStatuses` should have a snake case name [INFO] [stdout] --> src/types/api.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub containerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `container_statuses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hostIP` should have a snake case name [INFO] [stdout] --> src/types/api.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub hostIP: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `host_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `initContainerStatuses` should have a snake case name [INFO] [stdout] --> src/types/api.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub initContainerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `init_container_statuses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nominatedNodeName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub nominatedNodeName: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nominated_node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `podIP` should have a snake case name [INFO] [stdout] --> src/types/api.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | pub podIP: Option, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pod_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `qosClass` should have a snake case name [INFO] [stdout] --> src/types/api.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | pub qosClass: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `qos_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | pub startTime: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `resourceVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `resource_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `selfLink` should have a snake case name [INFO] [stdout] --> src/types/api.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `self_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `clusterName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | pub clusterName: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `cluster_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `creationTimestamp` should have a snake case name [INFO] [stdout] --> src/types/api.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | pub creationTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deletionGracePeriodSeconds` should have a snake case name [INFO] [stdout] --> src/types/api.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | pub deletionGracePeriodSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deletion_grace_period_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deletionTimestamp` should have a snake case name [INFO] [stdout] --> src/types/api.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | pub deletionTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deletion_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `generateName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | pub generateName: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ownerReferences` should have a snake case name [INFO] [stdout] --> src/types/api.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | pub ownerReferences: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_references` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `resourceVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `resource_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `selfLink` should have a snake case name [INFO] [stdout] --> src/types/api.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `self_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockOwnerDeletion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | pub blockOwnerDeletion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_owner_deletion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `retryAfterSeconds` should have a snake case name [INFO] [stdout] --> src/types/api.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | pub retryAfterSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `retry_after_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/main.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pod` [INFO] [stdout] --> src/main.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn register_pod(&self, pod: core::v1::Pod) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/main.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | fn deregister_pod<'b>(&self, namespace: &'b str, name: &'b str) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | fn deregister_pod<'b>(&self, namespace: &'b str, name: &'b str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KubeletEvents` is never constructed [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct KubeletEvents; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create` and `delete` are never used [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> LocalKubelet<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn create(&self, pod: core::v1::Pod) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_id` is never used [INFO] [stdout] --> src/pod_util.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_id<'a>(pod: &'a v1::Pod) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `api_version` and `kind` are never used [INFO] [stdout] --> src/types/api.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Resource { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 5 | fn api_version(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | fn kind(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/types/api.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pod { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `running`, `terminated`, and `waiting` are never read [INFO] [stdout] --> src/types/api.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ContainerState { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 37 | pub running: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub terminated: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub waiting: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `startedAt` is never read [INFO] [stdout] --> src/types/api.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ContainerStateRunning { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 44 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateRunning` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ContainerStateTerminated { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 49 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub exitCode: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub finishedAt: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | pub signal: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateTerminated` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `reason` are never read [INFO] [stdout] --> src/types/api.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ContainerStateWaiting { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 60 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateWaiting` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ContainerStatus { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 66 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | pub image: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | pub imageID: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | pub lastState: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | pub ready: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | pub restartCount: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 73 | pub state: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lastProbeTime`, `lastTransitionTime`, `message`, `reason`, and `status` are never read [INFO] [stdout] --> src/types/api.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct PodCondition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 78 | pub condition_type: String, [INFO] [stdout] 79 | pub lastProbeTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 80 | pub lastTransitionTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 82 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PodCondition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct PodStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 88 | pub conditions: Option>, [INFO] [stdout] 89 | pub containerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub hostIP: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub initContainerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub nominatedNodeName: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub phase: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | pub podIP: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | pub qosClass: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 97 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | pub startTime: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PodStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `details`, `message`, `metadata`, `reason`, and `status` are never read [INFO] [stdout] --> src/types/api.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Status { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 114 | pub apiVersion: String, [INFO] [stdout] 115 | pub code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | pub details: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | pub kind: String, [INFO] [stdout] 118 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | pub metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/types/api.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct Initializer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 135 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initializer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending` and `result` are never read [INFO] [stdout] --> src/types/api.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Initializers { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 140 | pub pending: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initializers` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resourceVersion` and `selfLink` are never read [INFO] [stdout] --> src/types/api.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct ListMeta { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 146 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListMeta` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct ObjectMeta { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 152 | pub annotations: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | pub clusterName: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 154 | pub creationTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 155 | pub deletionGracePeriodSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | pub deletionTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | pub finalizers: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 158 | pub generateName: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 159 | pub generation: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 160 | pub initializers: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 161 | pub labels: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 162 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 163 | pub namespace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 164 | pub ownerReferences: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 167 | pub uid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectMeta` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `apiVersion`, `blockOwnerDeletion`, `controller`, `kind`, `name`, and `uid` are never read [INFO] [stdout] --> src/types/api.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct OwnerReference { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 172 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 173 | pub blockOwnerDeletion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | pub controller: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 175 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 176 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | pub uid: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OwnerReference` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field`, `message`, and `reason` are never read [INFO] [stdout] --> src/types/api.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct StatusCause { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 182 | pub field: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 183 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 184 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCause` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `causes`, `group`, `kind`, `name`, `retryAfterSeconds`, and `uid` are never read [INFO] [stdout] --> src/types/api.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct StatusDetails { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 189 | pub causes: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 190 | pub group: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 191 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 192 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 193 | pub retryAfterSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 194 | pub uid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusDetails` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_node` and `update_pod` are never used [INFO] [stdout] --> src/types/interfaces.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait MasterConnection { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 24 | fn update_node<'a>(&self, node: &'a Node); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | fn update_pod<'a>(&self, pod: &'a api::core::v1::Pod); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch`, `run`, and `kill` are never used [INFO] [stdout] --> src/types/interfaces.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait PodProvider { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 38 | fn fetch(&self, pod: api::core::v1::Pod); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | fn run(&self, pod: api::core::v1::Pod); [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | fn kill<'a>(&self, namespace: &'a str, name: &'a str); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `register_pod`, and `deregister_pod` are never used [INFO] [stdout] --> src/types/interfaces.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Kubelet { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 44 | fn run(&self) -> futures::Empty<(), ()>; [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | fn register_pod(&self, pod: api::core::v1::Pod); // TODO: Return result. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | fn deregister_pod<'a>(&self, namespace: &'a str, name: &'a str); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StateManager` is never used [INFO] [stdout] --> src/types/interfaces.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | trait StateManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Scheduler` is never used [INFO] [stdout] --> src/types/interfaces.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | trait Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `started_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `container_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exitCode` should have a snake case name [INFO] [stdout] --> src/types/api.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | pub exitCode: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exit_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `finishedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub finishedAt: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `finished_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `started_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `container_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `imageID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | pub imageID: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `image_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastState` should have a snake case name [INFO] [stdout] --> src/types/api.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | pub lastState: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `last_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `restartCount` should have a snake case name [INFO] [stdout] --> src/types/api.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub restartCount: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `restart_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastProbeTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub lastProbeTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_probe_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastTransitionTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | pub lastTransitionTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_transition_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerStatuses` should have a snake case name [INFO] [stdout] --> src/types/api.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub containerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `container_statuses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hostIP` should have a snake case name [INFO] [stdout] --> src/types/api.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub hostIP: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `host_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `initContainerStatuses` should have a snake case name [INFO] [stdout] --> src/types/api.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub initContainerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `init_container_statuses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nominatedNodeName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub nominatedNodeName: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nominated_node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `podIP` should have a snake case name [INFO] [stdout] --> src/types/api.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | pub podIP: Option, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pod_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `qosClass` should have a snake case name [INFO] [stdout] --> src/types/api.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | pub qosClass: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `qos_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | pub startTime: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `resourceVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `resource_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `selfLink` should have a snake case name [INFO] [stdout] --> src/types/api.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `self_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `clusterName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | pub clusterName: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `cluster_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `creationTimestamp` should have a snake case name [INFO] [stdout] --> src/types/api.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | pub creationTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deletionGracePeriodSeconds` should have a snake case name [INFO] [stdout] --> src/types/api.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | pub deletionGracePeriodSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deletion_grace_period_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deletionTimestamp` should have a snake case name [INFO] [stdout] --> src/types/api.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | pub deletionTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deletion_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `generateName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | pub generateName: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ownerReferences` should have a snake case name [INFO] [stdout] --> src/types/api.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | pub ownerReferences: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_references` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `resourceVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `resource_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `selfLink` should have a snake case name [INFO] [stdout] --> src/types/api.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `self_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockOwnerDeletion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | pub blockOwnerDeletion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_owner_deletion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `retryAfterSeconds` should have a snake case name [INFO] [stdout] --> src/types/api.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | pub retryAfterSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `retry_after_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.03s [INFO] running `Command { std: "docker" "inspect" "3df24edd91ff842ebf903d07e54b54742eb3537ee729bbbaf16dd3b29858ada8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3df24edd91ff842ebf903d07e54b54742eb3537ee729bbbaf16dd3b29858ada8", kill_on_drop: false }` [INFO] [stdout] 3df24edd91ff842ebf903d07e54b54742eb3537ee729bbbaf16dd3b29858ada8 [INFO] checking hausdorff/k9s against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhausdorff%2Fk9s" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hausdorff/k9s on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hausdorff/k9s [INFO] finished tweaking git repo https://github.com/hausdorff/k9s [INFO] tweaked toml for git repo https://github.com/hausdorff/k9s written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hausdorff/k9s 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a58bc9555644dff221eced8395ea655483a8de857fab2d00af0b27334abe47bf [INFO] running `Command { std: "docker" "start" "-a" "a58bc9555644dff221eced8395ea655483a8de857fab2d00af0b27334abe47bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a58bc9555644dff221eced8395ea655483a8de857fab2d00af0b27334abe47bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a58bc9555644dff221eced8395ea655483a8de857fab2d00af0b27334abe47bf", kill_on_drop: false }` [INFO] [stdout] a58bc9555644dff221eced8395ea655483a8de857fab2d00af0b27334abe47bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a2deea7c87e2e74415a05b8912c562dd216333f414036f0b5c69f3cf43b2cd1 [INFO] running `Command { std: "docker" "start" "-a" "2a2deea7c87e2e74415a05b8912c562dd216333f414036f0b5c69f3cf43b2cd1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.3 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking crossbeam-epoch v0.7.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking tokio-reactor v0.1.7 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking tokio-threadpool v0.1.9 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.4 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking http v0.1.14 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking tokio-current-thread v0.1.4 [INFO] [stderr] Checking tokio-timer v0.2.8 [INFO] [stderr] Compiling im v12.2.0 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking string v0.1.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking tokio v0.1.13 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking try_opt v0.1.1 [INFO] [stderr] Checking h2 v0.1.14 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking pretty_env_logger v0.2.5 [INFO] [stderr] Checking hyper v0.12.19 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking api_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/types/interfaces.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures; [INFO] [stdout] | ^^^^^^^ the item `futures` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | conn: &'a (interfaces::MasterConnection + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | conn: &'a (dyn interfaces::MasterConnection + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | docker: &'a (interfaces::PodProvider + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | docker: &'a (dyn interfaces::PodProvider + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | conn: &'a interfaces::MasterConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | conn: &'a dyn interfaces::MasterConnection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | docker: &'a interfaces::PodProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | docker: &'a dyn interfaces::PodProvider, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/types/interfaces.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures; [INFO] [stdout] | ^^^^^^^ the item `futures` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | conn: &'a (interfaces::MasterConnection + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | conn: &'a (dyn interfaces::MasterConnection + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | docker: &'a (interfaces::PodProvider + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | docker: &'a (dyn interfaces::PodProvider + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | conn: &'a interfaces::MasterConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | conn: &'a dyn interfaces::MasterConnection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | docker: &'a interfaces::PodProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | docker: &'a dyn interfaces::PodProvider, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/main.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pod` [INFO] [stdout] --> src/main.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn register_pod(&self, pod: core::v1::Pod) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/main.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | fn deregister_pod<'b>(&self, namespace: &'b str, name: &'b str) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | fn deregister_pod<'b>(&self, namespace: &'b str, name: &'b str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pod` [INFO] [stdout] --> src/main.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | fn fetch(&self, pod: core::v1::Pod) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pod` [INFO] [stdout] --> src/main.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | fn run(&self, pod: core::v1::Pod) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/main.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | fn kill<'a>(&self, namespace: &'a str, name: &'a str) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | fn kill<'a>(&self, namespace: &'a str, name: &'a str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/main.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | fn update_node<'a>(&self, node: &'a interfaces::Node) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pod` [INFO] [stdout] --> src/main.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | fn update_pod<'a>(&self, pod: &'a core::v1::Pod) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KubeletEvents` is never constructed [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct KubeletEvents; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create` and `delete` are never used [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> LocalKubelet<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn create(&self, pod: core::v1::Pod) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_id` is never used [INFO] [stdout] --> src/pod_util.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_id<'a>(pod: &'a v1::Pod) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `api_version` and `kind` are never used [INFO] [stdout] --> src/types/api.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Resource { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 5 | fn api_version(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | fn kind(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/types/api.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pod { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `running`, `terminated`, and `waiting` are never read [INFO] [stdout] --> src/types/api.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ContainerState { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 37 | pub running: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub terminated: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub waiting: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `startedAt` is never read [INFO] [stdout] --> src/types/api.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ContainerStateRunning { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 44 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateRunning` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ContainerStateTerminated { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 49 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub exitCode: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub finishedAt: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | pub signal: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateTerminated` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `reason` are never read [INFO] [stdout] --> src/types/api.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ContainerStateWaiting { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 60 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateWaiting` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ContainerStatus { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 66 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | pub image: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | pub imageID: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | pub lastState: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | pub ready: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | pub restartCount: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 73 | pub state: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lastProbeTime`, `lastTransitionTime`, `message`, `reason`, and `status` are never read [INFO] [stdout] --> src/types/api.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct PodCondition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 78 | pub condition_type: String, [INFO] [stdout] 79 | pub lastProbeTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 80 | pub lastTransitionTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 82 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PodCondition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct PodStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 88 | pub conditions: Option>, [INFO] [stdout] 89 | pub containerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub hostIP: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub initContainerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub nominatedNodeName: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub phase: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | pub podIP: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | pub qosClass: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 97 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | pub startTime: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PodStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `details`, `message`, `metadata`, `reason`, and `status` are never read [INFO] [stdout] --> src/types/api.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Status { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 114 | pub apiVersion: String, [INFO] [stdout] 115 | pub code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | pub details: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | pub kind: String, [INFO] [stdout] 118 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | pub metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/types/api.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct Initializer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 135 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initializer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending` and `result` are never read [INFO] [stdout] --> src/types/api.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Initializers { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 140 | pub pending: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initializers` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resourceVersion` and `selfLink` are never read [INFO] [stdout] --> src/types/api.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct ListMeta { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 146 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListMeta` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct ObjectMeta { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 152 | pub annotations: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | pub clusterName: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 154 | pub creationTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 155 | pub deletionGracePeriodSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | pub deletionTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | pub finalizers: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 158 | pub generateName: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 159 | pub generation: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 160 | pub initializers: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 161 | pub labels: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 162 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 163 | pub namespace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 164 | pub ownerReferences: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 167 | pub uid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectMeta` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `apiVersion`, `blockOwnerDeletion`, `controller`, `kind`, `name`, and `uid` are never read [INFO] [stdout] --> src/types/api.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct OwnerReference { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 172 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 173 | pub blockOwnerDeletion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | pub controller: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 175 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 176 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | pub uid: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OwnerReference` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field`, `message`, and `reason` are never read [INFO] [stdout] --> src/types/api.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct StatusCause { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 182 | pub field: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 183 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 184 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCause` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `causes`, `group`, `kind`, `name`, `retryAfterSeconds`, and `uid` are never read [INFO] [stdout] --> src/types/api.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct StatusDetails { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 189 | pub causes: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 190 | pub group: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 191 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 192 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 193 | pub retryAfterSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 194 | pub uid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusDetails` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_node` and `update_pod` are never used [INFO] [stdout] --> src/types/interfaces.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait MasterConnection { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 24 | fn update_node<'a>(&self, node: &'a Node); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | fn update_pod<'a>(&self, pod: &'a api::core::v1::Pod); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch`, `run`, and `kill` are never used [INFO] [stdout] --> src/types/interfaces.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait PodProvider { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 38 | fn fetch(&self, pod: api::core::v1::Pod); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | fn run(&self, pod: api::core::v1::Pod); [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | fn kill<'a>(&self, namespace: &'a str, name: &'a str); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `register_pod`, and `deregister_pod` are never used [INFO] [stdout] --> src/types/interfaces.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Kubelet { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 44 | fn run(&self) -> futures::Empty<(), ()>; [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | fn register_pod(&self, pod: api::core::v1::Pod); // TODO: Return result. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | fn deregister_pod<'a>(&self, namespace: &'a str, name: &'a str); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StateManager` is never used [INFO] [stdout] --> src/types/interfaces.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | trait StateManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Scheduler` is never used [INFO] [stdout] --> src/types/interfaces.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | trait Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockPodProvider` is never constructed [INFO] [stdout] --> src/main.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | struct MockPodProvider {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockMasterConnection` is never constructed [INFO] [stdout] --> src/main.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | struct MockMasterConnection {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `started_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `container_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exitCode` should have a snake case name [INFO] [stdout] --> src/types/api.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | pub exitCode: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exit_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `finishedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub finishedAt: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `finished_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `started_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `container_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `imageID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | pub imageID: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `image_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastState` should have a snake case name [INFO] [stdout] --> src/types/api.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | pub lastState: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `last_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `restartCount` should have a snake case name [INFO] [stdout] --> src/types/api.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub restartCount: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `restart_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastProbeTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub lastProbeTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_probe_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastTransitionTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | pub lastTransitionTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_transition_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerStatuses` should have a snake case name [INFO] [stdout] --> src/types/api.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub containerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `container_statuses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hostIP` should have a snake case name [INFO] [stdout] --> src/types/api.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub hostIP: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `host_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `initContainerStatuses` should have a snake case name [INFO] [stdout] --> src/types/api.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub initContainerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `init_container_statuses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nominatedNodeName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub nominatedNodeName: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nominated_node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `podIP` should have a snake case name [INFO] [stdout] --> src/types/api.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | pub podIP: Option, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pod_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `qosClass` should have a snake case name [INFO] [stdout] --> src/types/api.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | pub qosClass: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `qos_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | pub startTime: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `resourceVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `resource_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `selfLink` should have a snake case name [INFO] [stdout] --> src/types/api.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `self_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `clusterName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | pub clusterName: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `cluster_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `creationTimestamp` should have a snake case name [INFO] [stdout] --> src/types/api.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | pub creationTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deletionGracePeriodSeconds` should have a snake case name [INFO] [stdout] --> src/types/api.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | pub deletionGracePeriodSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deletion_grace_period_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deletionTimestamp` should have a snake case name [INFO] [stdout] --> src/types/api.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | pub deletionTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deletion_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `generateName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | pub generateName: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ownerReferences` should have a snake case name [INFO] [stdout] --> src/types/api.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | pub ownerReferences: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_references` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `resourceVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `resource_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `selfLink` should have a snake case name [INFO] [stdout] --> src/types/api.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `self_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockOwnerDeletion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | pub blockOwnerDeletion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_owner_deletion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `retryAfterSeconds` should have a snake case name [INFO] [stdout] --> src/types/api.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | pub retryAfterSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `retry_after_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/main.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pod` [INFO] [stdout] --> src/main.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn register_pod(&self, pod: core::v1::Pod) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/main.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | fn deregister_pod<'b>(&self, namespace: &'b str, name: &'b str) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | fn deregister_pod<'b>(&self, namespace: &'b str, name: &'b str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KubeletEvents` is never constructed [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct KubeletEvents; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create` and `delete` are never used [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> LocalKubelet<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn create(&self, pod: core::v1::Pod) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn delete<'b>(&self, namespace: &'b str, name: &'b str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_id` is never used [INFO] [stdout] --> src/pod_util.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_id<'a>(pod: &'a v1::Pod) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `api_version` and `kind` are never used [INFO] [stdout] --> src/types/api.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Resource { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 5 | fn api_version(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | fn kind(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/types/api.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pod { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `running`, `terminated`, and `waiting` are never read [INFO] [stdout] --> src/types/api.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ContainerState { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 37 | pub running: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub terminated: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub waiting: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `startedAt` is never read [INFO] [stdout] --> src/types/api.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ContainerStateRunning { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 44 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateRunning` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ContainerStateTerminated { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 49 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub exitCode: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub finishedAt: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | pub signal: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateTerminated` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `reason` are never read [INFO] [stdout] --> src/types/api.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ContainerStateWaiting { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 60 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStateWaiting` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ContainerStatus { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 66 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | pub image: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | pub imageID: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | pub lastState: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | pub ready: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | pub restartCount: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 73 | pub state: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContainerStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lastProbeTime`, `lastTransitionTime`, `message`, `reason`, and `status` are never read [INFO] [stdout] --> src/types/api.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct PodCondition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 78 | pub condition_type: String, [INFO] [stdout] 79 | pub lastProbeTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 80 | pub lastTransitionTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 82 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PodCondition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct PodStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 88 | pub conditions: Option>, [INFO] [stdout] 89 | pub containerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub hostIP: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub initContainerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub nominatedNodeName: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub phase: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | pub podIP: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | pub qosClass: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 97 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | pub startTime: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PodStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `details`, `message`, `metadata`, `reason`, and `status` are never read [INFO] [stdout] --> src/types/api.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Status { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 114 | pub apiVersion: String, [INFO] [stdout] 115 | pub code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | pub details: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | pub kind: String, [INFO] [stdout] 118 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | pub metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/types/api.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct Initializer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 135 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initializer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending` and `result` are never read [INFO] [stdout] --> src/types/api.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Initializers { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 140 | pub pending: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initializers` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resourceVersion` and `selfLink` are never read [INFO] [stdout] --> src/types/api.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct ListMeta { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 146 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListMeta` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/api.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct ObjectMeta { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 152 | pub annotations: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | pub clusterName: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 154 | pub creationTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 155 | pub deletionGracePeriodSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | pub deletionTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | pub finalizers: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 158 | pub generateName: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 159 | pub generation: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 160 | pub initializers: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 161 | pub labels: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 162 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 163 | pub namespace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 164 | pub ownerReferences: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 167 | pub uid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectMeta` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `apiVersion`, `blockOwnerDeletion`, `controller`, `kind`, `name`, and `uid` are never read [INFO] [stdout] --> src/types/api.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct OwnerReference { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 172 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 173 | pub blockOwnerDeletion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | pub controller: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 175 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 176 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | pub uid: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OwnerReference` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field`, `message`, and `reason` are never read [INFO] [stdout] --> src/types/api.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct StatusCause { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 182 | pub field: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 183 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 184 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCause` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `causes`, `group`, `kind`, `name`, `retryAfterSeconds`, and `uid` are never read [INFO] [stdout] --> src/types/api.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct StatusDetails { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 189 | pub causes: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 190 | pub group: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 191 | pub kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 192 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 193 | pub retryAfterSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 194 | pub uid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusDetails` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_node` and `update_pod` are never used [INFO] [stdout] --> src/types/interfaces.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait MasterConnection { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 24 | fn update_node<'a>(&self, node: &'a Node); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | fn update_pod<'a>(&self, pod: &'a api::core::v1::Pod); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch`, `run`, and `kill` are never used [INFO] [stdout] --> src/types/interfaces.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait PodProvider { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 38 | fn fetch(&self, pod: api::core::v1::Pod); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | fn run(&self, pod: api::core::v1::Pod); [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | fn kill<'a>(&self, namespace: &'a str, name: &'a str); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `register_pod`, and `deregister_pod` are never used [INFO] [stdout] --> src/types/interfaces.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Kubelet { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 44 | fn run(&self) -> futures::Empty<(), ()>; [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | fn register_pod(&self, pod: api::core::v1::Pod); // TODO: Return result. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | fn deregister_pod<'a>(&self, namespace: &'a str, name: &'a str); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StateManager` is never used [INFO] [stdout] --> src/types/interfaces.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | trait StateManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Scheduler` is never used [INFO] [stdout] --> src/types/interfaces.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | trait Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `started_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `container_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exitCode` should have a snake case name [INFO] [stdout] --> src/types/api.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | pub exitCode: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exit_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `finishedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub finishedAt: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `finished_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startedAt` should have a snake case name [INFO] [stdout] --> src/types/api.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub startedAt: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `started_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | pub containerID: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `container_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `imageID` should have a snake case name [INFO] [stdout] --> src/types/api.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | pub imageID: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `image_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastState` should have a snake case name [INFO] [stdout] --> src/types/api.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | pub lastState: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `last_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `restartCount` should have a snake case name [INFO] [stdout] --> src/types/api.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub restartCount: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `restart_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastProbeTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub lastProbeTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_probe_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastTransitionTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | pub lastTransitionTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_transition_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `containerStatuses` should have a snake case name [INFO] [stdout] --> src/types/api.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub containerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `container_statuses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hostIP` should have a snake case name [INFO] [stdout] --> src/types/api.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub hostIP: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `host_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `initContainerStatuses` should have a snake case name [INFO] [stdout] --> src/types/api.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub initContainerStatuses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `init_container_statuses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nominatedNodeName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub nominatedNodeName: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nominated_node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `podIP` should have a snake case name [INFO] [stdout] --> src/types/api.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | pub podIP: Option, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pod_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `qosClass` should have a snake case name [INFO] [stdout] --> src/types/api.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | pub qosClass: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `qos_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startTime` should have a snake case name [INFO] [stdout] --> src/types/api.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | pub startTime: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `resourceVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `resource_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `selfLink` should have a snake case name [INFO] [stdout] --> src/types/api.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `self_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `clusterName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | pub clusterName: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `cluster_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `creationTimestamp` should have a snake case name [INFO] [stdout] --> src/types/api.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | pub creationTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deletionGracePeriodSeconds` should have a snake case name [INFO] [stdout] --> src/types/api.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | pub deletionGracePeriodSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deletion_grace_period_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `deletionTimestamp` should have a snake case name [INFO] [stdout] --> src/types/api.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | pub deletionTimestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `deletion_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `generateName` should have a snake case name [INFO] [stdout] --> src/types/api.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | pub generateName: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ownerReferences` should have a snake case name [INFO] [stdout] --> src/types/api.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | pub ownerReferences: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_references` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `resourceVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub resourceVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `resource_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `selfLink` should have a snake case name [INFO] [stdout] --> src/types/api.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | pub selfLink: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `self_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiVersion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub apiVersion: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `api_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blockOwnerDeletion` should have a snake case name [INFO] [stdout] --> src/types/api.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | pub blockOwnerDeletion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_owner_deletion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `retryAfterSeconds` should have a snake case name [INFO] [stdout] --> src/types/api.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | pub retryAfterSeconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `retry_after_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.68s [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a2deea7c87e2e74415a05b8912c562dd216333f414036f0b5c69f3cf43b2cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a2deea7c87e2e74415a05b8912c562dd216333f414036f0b5c69f3cf43b2cd1", kill_on_drop: false }` [INFO] [stdout] 2a2deea7c87e2e74415a05b8912c562dd216333f414036f0b5c69f3cf43b2cd1