[INFO] updating cached repository ereslibre/kubeception [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ereslibre/kubeception [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ereslibre/kubeception" "work/ex/clippy-test-run/sources/stable/gh/ereslibre/kubeception"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/ereslibre/kubeception'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ereslibre/kubeception" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ereslibre/kubeception"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ereslibre/kubeception'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fbb6dd2e58fe59b81be34e35f79c83f574e316a1 [INFO] sha for GitHub repo ereslibre/kubeception: fbb6dd2e58fe59b81be34e35f79c83f574e316a1 [INFO] validating manifest of ereslibre/kubeception on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of ereslibre/kubeception on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing ereslibre/kubeception [INFO] finished frobbing ereslibre/kubeception [INFO] frobbed toml for ereslibre/kubeception written to work/ex/clippy-test-run/sources/stable/gh/ereslibre/kubeception/Cargo.toml [INFO] started frobbing ereslibre/kubeception [INFO] finished frobbing ereslibre/kubeception [INFO] frobbed toml for ereslibre/kubeception written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ereslibre/kubeception/Cargo.toml [INFO] crate ereslibre/kubeception has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting ereslibre/kubeception against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/ereslibre/kubeception:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] bc16f49365ee1555a06cdea5b7431d81ad53dbc261f35b97ff91d38511e6018b [INFO] running `"docker" "start" "-a" "bc16f49365ee1555a06cdea5b7431d81ad53dbc261f35b97ff91d38511e6018b"` [INFO] [stderr] Checking filetime v0.1.15 [INFO] [stderr] Checking encoding_rs v0.7.2 [INFO] [stderr] Compiling libdbus-sys v0.1.3 [INFO] [stderr] Compiling openssl v0.10.10 [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Checking chrono v0.4.4 [INFO] [stderr] Checking libflate v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.5.2 [INFO] [stderr] Checking handlebars v1.0.0-beta.4 [INFO] [stderr] Checking gzip-header v0.1.2 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking tiny_http v0.5.9 [INFO] [stderr] Checking tokio-fs v0.1.2 [INFO] [stderr] Checking dbus v0.6.2 [INFO] [stderr] Checking multipart v0.13.6 [INFO] [stderr] Checking rouille v2.1.0 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking tokio-tls v0.1.4 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking hyper-tls v0.1.3 [INFO] [stderr] Checking reqwest v0.8.6 [INFO] [stderr] Checking kubeception v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/pki.rs:120:25 [INFO] [stderr] | [INFO] [stderr] 120 | CaCertificate { config: config } [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `config` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/pki.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | extra_ips: extra_ips, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `extra_ips` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/pki.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | key: key, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/pki.rs:177:13 [INFO] [stderr] | [INFO] [stderr] 177 | ca: ca, [INFO] [stderr] | ^^^^^^ help: replace it with: `ca` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/etcd.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | phase: phase, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `phase` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/etcd.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | config: config, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/k8s.rs:202:13 [INFO] [stderr] | [INFO] [stderr] 202 | phase: phase, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `phase` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/k8s.rs:203:13 [INFO] [stderr] | [INFO] [stderr] 203 | config: config, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/kubectl.rs:32:19 [INFO] [stderr] | [INFO] [stderr] 32 | Kubectl { k8s: k8s } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `k8s` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/pki.rs:120:25 [INFO] [stderr] | [INFO] [stderr] 120 | CaCertificate { config: config } [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `config` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/pki.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | extra_ips: extra_ips, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `extra_ips` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/pki.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | key: key, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/pki.rs:177:13 [INFO] [stderr] | [INFO] [stderr] 177 | ca: ca, [INFO] [stderr] | ^^^^^^ help: replace it with: `ca` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/etcd.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | phase: phase, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `phase` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/etcd.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | config: config, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/k8s.rs:202:13 [INFO] [stderr] | [INFO] [stderr] 202 | phase: phase, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `phase` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/k8s.rs:203:13 [INFO] [stderr] | [INFO] [stderr] 203 | config: config, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/kubectl.rs:32:19 [INFO] [stderr] | [INFO] [stderr] 32 | Kubectl { k8s: k8s } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `k8s` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/etcd.rs:1:35 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ETCD_BOOTSTRAP_CONFIG: &'static str = r#"ETCD_NAME=default [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [(&'static str, &'static str)] = [INFO] [stderr] | -^^^^^^^------------------------------- help: consider removing `'static`: `&[(&'static str, &'static str)]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:1:38 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [(&'static str, &'static str)] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:1:52 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [(&'static str, &'static str)] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | const KUBE_APISERVER_MANIFEST: &'static str = r#"apiVersion: v1 [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:62:42 [INFO] [stderr] | [INFO] [stderr] 62 | const KUBE_CONTROLLER_MANAGER_MANIFEST: &'static str = r#"apiVersion: v1 [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:102:33 [INFO] [stderr] | [INFO] [stderr] 102 | const KUBE_SCHEDULER_MANIFEST: &'static str = r#"apiVersion: v1 [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:127:24 [INFO] [stderr] | [INFO] [stderr] 127 | pub const KUBECONFIG: &'static str = r#"apiVersion: v1 [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/kubelet.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | pub const KUBELET_CONFIG: &'static str = r#"KUBELET_ADDRESS="--address=127.0.0.1" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:1:37 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | const FLANNEL_CFG: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:66:38 [INFO] [stderr] | [INFO] [stderr] 66 | const FLANNEL_CLUSTER_ROLE_BINDING: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:81:30 [INFO] [stderr] | [INFO] [stderr] 81 | const FLANNEL_CLUSTER_ROLE: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:108:20 [INFO] [stderr] | [INFO] [stderr] 108 | const FLANNEL_SA: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | const FLANNEL: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:202:31 [INFO] [stderr] | [INFO] [stderr] 202 | const KUBE_APISERVER_SECRET: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:219:24 [INFO] [stderr] | [INFO] [stderr] 219 | const KUBE_APISERVER: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:301:20 [INFO] [stderr] | [INFO] [stderr] 301 | const KUBECONFIG: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:326:31 [INFO] [stderr] | [INFO] [stderr] 326 | const KUBECONFIG_IN_CLUSTER: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:351:44 [INFO] [stderr] | [INFO] [stderr] 351 | const KUBE_CONTROLLER_MANAGER_DISRUPTION: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:365:46 [INFO] [stderr] | [INFO] [stderr] 365 | const KUBE_CONTROLLER_MANAGER_ROLE_BINDING: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:380:40 [INFO] [stderr] | [INFO] [stderr] 380 | const KUBE_CONTROLLER_MANAGER_SECRET: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:393:49 [INFO] [stderr] | [INFO] [stderr] 393 | const KUBE_CONTROLLER_MANAGER_SERVICE_ACCOUNT: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:401:33 [INFO] [stderr] | [INFO] [stderr] 401 | const KUBE_CONTROLLER_MANAGER: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:488:29 [INFO] [stderr] | [INFO] [stderr] 488 | const KUBE_DNS_DEPLOYMENT: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:644:22 [INFO] [stderr] | [INFO] [stderr] 644 | const KUBE_DNS_SVC: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:667:33 [INFO] [stderr] | [INFO] [stderr] 667 | const KUBE_PROXY_ROLE_BINDING: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:682:23 [INFO] [stderr] | [INFO] [stderr] 682 | const KUBE_PROXY_SA: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:690:20 [INFO] [stderr] | [INFO] [stderr] 690 | const KUBE_PROXY: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:760:35 [INFO] [stderr] | [INFO] [stderr] 760 | const KUBE_SCHEDULER_DISRUPTION: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:774:24 [INFO] [stderr] | [INFO] [stderr] 774 | const KUBE_SCHEDULER: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:835:39 [INFO] [stderr] | [INFO] [stderr] 835 | const KUBE_SYSTEM_RBAC_ROLE_BINDING: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubelet.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | pub const KUBELET_CONFIG: &'static str = r#"KUBELET_ADDRESS="--address=127.0.0.1" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubeception.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [&'static str] = &[KUBECEPTION_SA, KUBECEPTION, KUBECEPTION_SVC]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubeception.rs:1:37 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [&'static str] = &[KUBECEPTION_SA, KUBECEPTION, KUBECEPTION_SVC]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubeception.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | const KUBECEPTION_SA: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubeception.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | const KUBECEPTION: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubeception.rs:80:25 [INFO] [stderr] | [INFO] [stderr] 80 | const KUBECEPTION_SVC: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/etcd.rs:1:35 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ETCD_BOOTSTRAP_CONFIG: &'static str = r#"ETCD_NAME=default [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [(&'static str, &'static str)] = [INFO] [stderr] | -^^^^^^^------------------------------- help: consider removing `'static`: `&[(&'static str, &'static str)]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:1:38 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [(&'static str, &'static str)] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:1:52 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [(&'static str, &'static str)] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | const KUBE_APISERVER_MANIFEST: &'static str = r#"apiVersion: v1 [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:62:42 [INFO] [stderr] | [INFO] [stderr] 62 | const KUBE_CONTROLLER_MANAGER_MANIFEST: &'static str = r#"apiVersion: v1 [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:102:33 [INFO] [stderr] | [INFO] [stderr] 102 | const KUBE_SCHEDULER_MANIFEST: &'static str = r#"apiVersion: v1 [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/k8s.rs:127:24 [INFO] [stderr] | [INFO] [stderr] 127 | pub const KUBECONFIG: &'static str = r#"apiVersion: v1 [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/bootstrap/kubelet.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | pub const KUBELET_CONFIG: &'static str = r#"KUBELET_ADDRESS="--address=127.0.0.1" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:1:37 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | const FLANNEL_CFG: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:66:38 [INFO] [stderr] | [INFO] [stderr] 66 | const FLANNEL_CLUSTER_ROLE_BINDING: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:81:30 [INFO] [stderr] | [INFO] [stderr] 81 | const FLANNEL_CLUSTER_ROLE: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:108:20 [INFO] [stderr] | [INFO] [stderr] 108 | const FLANNEL_SA: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | const FLANNEL: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:202:31 [INFO] [stderr] | [INFO] [stderr] 202 | const KUBE_APISERVER_SECRET: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:219:24 [INFO] [stderr] | [INFO] [stderr] 219 | const KUBE_APISERVER: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:301:20 [INFO] [stderr] | [INFO] [stderr] 301 | const KUBECONFIG: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:326:31 [INFO] [stderr] | [INFO] [stderr] 326 | const KUBECONFIG_IN_CLUSTER: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:351:44 [INFO] [stderr] | [INFO] [stderr] 351 | const KUBE_CONTROLLER_MANAGER_DISRUPTION: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:365:46 [INFO] [stderr] | [INFO] [stderr] 365 | const KUBE_CONTROLLER_MANAGER_ROLE_BINDING: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:380:40 [INFO] [stderr] | [INFO] [stderr] 380 | const KUBE_CONTROLLER_MANAGER_SECRET: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:393:49 [INFO] [stderr] | [INFO] [stderr] 393 | const KUBE_CONTROLLER_MANAGER_SERVICE_ACCOUNT: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:401:33 [INFO] [stderr] | [INFO] [stderr] 401 | const KUBE_CONTROLLER_MANAGER: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:488:29 [INFO] [stderr] | [INFO] [stderr] 488 | const KUBE_DNS_DEPLOYMENT: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:644:22 [INFO] [stderr] | [INFO] [stderr] 644 | const KUBE_DNS_SVC: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:667:33 [INFO] [stderr] | [INFO] [stderr] 667 | const KUBE_PROXY_ROLE_BINDING: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:682:23 [INFO] [stderr] | [INFO] [stderr] 682 | const KUBE_PROXY_SA: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:690:20 [INFO] [stderr] | [INFO] [stderr] 690 | const KUBE_PROXY: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:760:35 [INFO] [stderr] | [INFO] [stderr] 760 | const KUBE_SCHEDULER_DISRUPTION: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:774:24 [INFO] [stderr] | [INFO] [stderr] 774 | const KUBE_SCHEDULER: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/k8s.rs:835:39 [INFO] [stderr] | [INFO] [stderr] 835 | const KUBE_SYSTEM_RBAC_ROLE_BINDING: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubelet.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | pub const KUBELET_CONFIG: &'static str = r#"KUBELET_ADDRESS="--address=127.0.0.1" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubeception.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [&'static str] = &[KUBECEPTION_SA, KUBECEPTION, KUBECEPTION_SVC]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubeception.rs:1:37 [INFO] [stderr] | [INFO] [stderr] 1 | pub const ALL_MANIFESTS: &'static [&'static str] = &[KUBECEPTION_SA, KUBECEPTION, KUBECEPTION_SVC]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubeception.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | const KUBECEPTION_SA: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubeception.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | const KUBECEPTION: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/resources/control_plane/kubeception.rs:80:25 [INFO] [stderr] | [INFO] [stderr] 80 | const KUBECEPTION_SVC: &'static str = r#" [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/pki.rs:197:12 [INFO] [stderr] | [INFO] [stderr] 197 | o: &String, [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/pki.rs:198:13 [INFO] [stderr] | [INFO] [stderr] 198 | cn: &String, [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/pki.rs:199:20 [INFO] [stderr] | [INFO] [stderr] 199 | extra_ips: &Vec, [INFO] [stderr] | ^^^^^^^^^^^^ help: change this to: `&[String]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/pki.rs:197:12 [INFO] [stderr] | [INFO] [stderr] 197 | o: &String, [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/pki.rs:198:13 [INFO] [stderr] | [INFO] [stderr] 198 | cn: &String, [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/pki.rs:199:20 [INFO] [stderr] | [INFO] [stderr] 199 | extra_ips: &Vec, [INFO] [stderr] | ^^^^^^^^^^^^ help: change this to: `&[String]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/k8s.rs:132:39 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn join(config: &Config, url: &String) { [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/k8s.rs:152:42 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn fetch_join_config(&self, url: &String) -> Result { [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/k8s.rs:132:39 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn join(config: &Config, url: &String) { [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/k8s.rs:152:42 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn fetch_join_config(&self, url: &String) -> Result { [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.71s [INFO] running `"docker" "inspect" "bc16f49365ee1555a06cdea5b7431d81ad53dbc261f35b97ff91d38511e6018b"` [INFO] running `"docker" "rm" "-f" "bc16f49365ee1555a06cdea5b7431d81ad53dbc261f35b97ff91d38511e6018b"` [INFO] [stdout] bc16f49365ee1555a06cdea5b7431d81ad53dbc261f35b97ff91d38511e6018b