[INFO] fetching crate kubernetes 0.2.0... [INFO] checking kubernetes-0.2.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate kubernetes 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate kubernetes 0.2.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kubernetes 0.2.0 [INFO] finished tweaking crates.io crate kubernetes 0.2.0 [INFO] tweaked toml for crates.io crate kubernetes 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07984885c930baf766286666465185b3f5112dbc2fa52fb25ee5caba2f474569 [INFO] running `Command { std: "docker" "start" "-a" "07984885c930baf766286666465185b3f5112dbc2fa52fb25ee5caba2f474569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07984885c930baf766286666465185b3f5112dbc2fa52fb25ee5caba2f474569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07984885c930baf766286666465185b3f5112dbc2fa52fb25ee5caba2f474569", kill_on_drop: false }` [INFO] [stdout] 07984885c930baf766286666465185b3f5112dbc2fa52fb25ee5caba2f474569 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48cef23f82ac1b06d0d94d0e22a43cced5f1e1a28872cc681a6060213d127973 [INFO] running `Command { std: "docker" "start" "-a" "48cef23f82ac1b06d0d94d0e22a43cced5f1e1a28872cc681a6060213d127973", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking maybe-uninit v2.0.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking pretty_env_logger v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking kubernetes v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/api/meta/v1.rs:299:42 [INFO] [stdout] | [INFO] [stdout] 299 | static INIT: Once = ::std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 299 | static INIT: Once = ::std::sync::Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/api/meta/v1.rs:299:42 [INFO] [stdout] | [INFO] [stdout] 299 | static INIT: Once = ::std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 299 | static INIT: Once = ::std::sync::Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a, T> IntoIterator for &'a List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a, T> IntoIterator for &'a dyn List { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, T> IntoIterator for &'a mut List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, T> IntoIterator for &'a mut dyn List { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a, T> IntoIterator for &'a List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a, T> IntoIterator for &'a dyn List { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, T> IntoIterator for &'a mut List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, T> IntoIterator for &'a mut dyn List { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api/intstr.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | impl PartialEq> for IntOrString { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | impl PartialEq> for IntOrString { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api/intstr.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | fn eq(&self, other: &AsRef) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn eq(&self, other: &dyn AsRef) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api/intstr.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | impl PartialEq> for IntOrString { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | impl PartialEq> for IntOrString { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api/intstr.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | fn eq(&self, other: &AsRef) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn eq(&self, other: &dyn AsRef) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Builder::build`: Use Self::{name, pkey, cert, build2} instead. [INFO] [stdout] --> src/client/mod.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | openssl::pkcs12::Pkcs12::builder().build(password, "kubeconfig", &pkey, &cert)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Builder::build`: Use Self::{name, pkey, cert, build2} instead. [INFO] [stdout] --> src/client/mod.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | openssl::pkcs12::Pkcs12::builder().build(password, "kubeconfig", &pkey, &cert)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `client` [INFO] [stdout] --> examples/client-watch.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | client [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | _____________`client` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 94 | | .watch_list(&pods, namespace, listopts) [INFO] [stdout] 95 | | .for_each(|event| { [INFO] [stdout] 96 | | match event.typ { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(()) [INFO] [stdout] 108 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `pods` [INFO] [stdout] --> examples/client-watch.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | / client [INFO] [stdout] 94 | | .watch_list(&pods, namespace, listopts) [INFO] [stdout] | | ----- `pods` is borrowed here [INFO] [stdout] 95 | | .for_each(|event| { [INFO] [stdout] 96 | | match event.typ { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(()) [INFO] [stdout] 108 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `client` does not live long enough [INFO] [stdout] --> examples/client-watch.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 73 | let client = Client::new()?; [INFO] [stdout] | ------ binding `client` declared here [INFO] [stdout] ... [INFO] [stdout] 78 | let work = client [INFO] [stdout] | -^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 79 | | .list(&pods, namespace, Default::default()) [INFO] [stdout] | |___________________________________________________- argument requires that `client` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `client` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `pods` does not live long enough [INFO] [stdout] --> examples/client-watch.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 75 | let pods = api::core::v1::GROUP_VERSION.with_resource("pods"); [INFO] [stdout] | ---- binding `pods` declared here [INFO] [stdout] ... [INFO] [stdout] 78 | let work = client [INFO] [stdout] | ________________- [INFO] [stdout] 79 | | .list(&pods, namespace, Default::default()) [INFO] [stdout] | |_______________^^^^^_______________________________- argument requires that `pods` is borrowed for `'static` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `pods` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `client` because it is borrowed [INFO] [stdout] --> examples/client-watch.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 73 | let client = Client::new()?; [INFO] [stdout] | ------ binding `client` declared here [INFO] [stdout] ... [INFO] [stdout] 78 | let work = client [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | ________________borrow of `client` occurs here [INFO] [stdout] | | [INFO] [stdout] 79 | | .list(&pods, namespace, Default::default()) [INFO] [stdout] | |___________________________________________________- argument requires that `client` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 83 | .and_then(move |podlist: PodList| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ move out of `client` occurs here [INFO] [stdout] ... [INFO] [stdout] 93 | client [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `pods` because it is borrowed [INFO] [stdout] --> examples/client-watch.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 75 | let pods = api::core::v1::GROUP_VERSION.with_resource("pods"); [INFO] [stdout] | ---- binding `pods` declared here [INFO] [stdout] ... [INFO] [stdout] 78 | let work = client [INFO] [stdout] | ________________- [INFO] [stdout] 79 | | .list(&pods, namespace, Default::default()) [INFO] [stdout] | |_______________-----_______________________________- argument requires that `pods` is borrowed for `'static` [INFO] [stdout] | | [INFO] [stdout] | borrow of `pods` occurs here [INFO] [stdout] ... [INFO] [stdout] 83 | .and_then(move |podlist: PodList| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ move out of `pods` occurs here [INFO] [stdout] ... [INFO] [stdout] 94 | .watch_list(&pods, namespace, listopts) [INFO] [stdout] | ---- move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0515, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kubernetes` (example "client-watch") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "48cef23f82ac1b06d0d94d0e22a43cced5f1e1a28872cc681a6060213d127973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48cef23f82ac1b06d0d94d0e22a43cced5f1e1a28872cc681a6060213d127973", kill_on_drop: false }` [INFO] [stdout] 48cef23f82ac1b06d0d94d0e22a43cced5f1e1a28872cc681a6060213d127973