[INFO] crate kubeclient 0.1.0 is already in cache
[INFO] extracting crate kubeclient 0.1.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/kubeclient/0.1.0
[INFO] extracting crate kubeclient 0.1.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/kubeclient/0.1.0
[INFO] validating manifest of kubeclient-0.1.0 on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of kubeclient-0.1.0 on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing kubeclient-0.1.0
[INFO] finished frobbing kubeclient-0.1.0
[INFO] frobbed toml for kubeclient-0.1.0 written to work/ex/beta-1.37-6/sources/1.36.0/reg/kubeclient/0.1.0/Cargo.toml
[INFO] started frobbing kubeclient-0.1.0
[INFO] finished frobbing kubeclient-0.1.0
[INFO] frobbed toml for kubeclient-0.1.0 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/kubeclient/0.1.0/Cargo.toml
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing kubeclient-0.1.0 against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/kubeclient/0.1.0:/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=warn" "-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" "+beta-2019-07-23" "build" "--frozen"`
[INFO] [stdout] 3fd1cc7b2ced8cd478f662f663a9fd566fd5ad993faa938acc95ff8d5bb68aeb
[INFO] running `"docker" "start" "-a" "3fd1cc7b2ced8cd478f662f663a9fd566fd5ad993faa938acc95ff8d5bb68aeb"`
[INFO] [stderr]    Compiling kubeclient v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead.
[INFO] [stderr]    --> src/config.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 180 |         env::home_dir()
[INFO] [stderr]     |         ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: #[warn(deprecated)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
[INFO] [stderr]   --> src/errors.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / error_chain! {
[INFO] [stderr] 4  | |     foreign_links {
[INFO] [stderr] 5  | |         Io(::std::io::Error);
[INFO] [stderr] 6  | |         Json(::serde_json::Error);
[INFO] [stderr] ...  |
[INFO] [stderr] 10 | |     }
[INFO] [stderr] 11 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.29s
[INFO] running `"docker" "inspect" "3fd1cc7b2ced8cd478f662f663a9fd566fd5ad993faa938acc95ff8d5bb68aeb"`
[INFO] running `"docker" "rm" "-f" "3fd1cc7b2ced8cd478f662f663a9fd566fd5ad993faa938acc95ff8d5bb68aeb"`
[INFO] [stdout] 3fd1cc7b2ced8cd478f662f663a9fd566fd5ad993faa938acc95ff8d5bb68aeb
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/kubeclient/0.1.0:/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=warn" "-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" "+beta-2019-07-23" "test" "--frozen" "--no-run"`
[INFO] [stdout] 43a539b15f01e62b82d10287145fa251bc5cc888b1fff4e0143fc0b5be59dbc7
[INFO] running `"docker" "start" "-a" "43a539b15f01e62b82d10287145fa251bc5cc888b1fff4e0143fc0b5be59dbc7"`
[INFO] [stderr]    Compiling kubeclient v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead.
[INFO] [stderr]    --> src/config.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 180 |         env::home_dir()
[INFO] [stderr]     |         ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: #[warn(deprecated)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
[INFO] [stderr]   --> src/errors.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / error_chain! {
[INFO] [stderr] 4  | |     foreign_links {
[INFO] [stderr] 5  | |         Io(::std::io::Error);
[INFO] [stderr] 6  | |         Json(::serde_json::Error);
[INFO] [stderr] ...  |
[INFO] [stderr] 10 | |     }
[INFO] [stderr] 11 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.31s
[INFO] running `"docker" "inspect" "43a539b15f01e62b82d10287145fa251bc5cc888b1fff4e0143fc0b5be59dbc7"`
[INFO] running `"docker" "rm" "-f" "43a539b15f01e62b82d10287145fa251bc5cc888b1fff4e0143fc0b5be59dbc7"`
[INFO] [stdout] 43a539b15f01e62b82d10287145fa251bc5cc888b1fff4e0143fc0b5be59dbc7
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/kubeclient/0.1.0:/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=warn" "-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" "+beta-2019-07-23" "test" "--frozen"`
[INFO] [stdout] 4e916bf62482c19c924a84a366225d4a5290cecf0ac6df4bec4e19943d074420
[INFO] running `"docker" "start" "-a" "4e916bf62482c19c924a84a366225d4a5290cecf0ac6df4bec4e19943d074420"`
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running /opt/crater/target/debug/deps/kubeclient-d39af8e7cd89ec8d
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests kubeclient
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::apply (line 185) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::load_conf (line 31) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::namespace (line 151) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::config_maps (line 46) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::deployments (line 61) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::healthy (line 166) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::create (line 232) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::network_policies (line 76) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::nodes (line 91) ... FAILED
[INFO] [stdout] test src/clients/resource_clients.rs - clients::resource_clients::ReadClient::exists (line 70) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::replace (line 209) ... FAILED
[INFO] [stdout] test src/clients/resource_clients.rs - clients::resource_clients::KubeClient<Deployment>::scale (line 45) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::pods (line 106) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::services (line 136) ... FAILED
[INFO] [stdout] test src/clients/mod.rs - clients::Kubernetes::secrets (line 121) ... FAILED
[INFO] [stdout] test src/clients/resource_clients.rs - clients::resource_clients::ListClient::list (line 140) ... FAILED
[INFO] [stdout] test src/clients/resource_clients.rs - clients::resource_clients::WriteClient::delete (line 121) ... FAILED
[INFO] [stdout] test src/clients/resource_clients.rs - clients::resource_clients::ReadClient::get (line 85) ... FAILED
[INFO] [stdout] test src/clients/resource_clients.rs - clients::resource_clients::WriteClient::create (line 105) ... FAILED
[INFO] [stdout] test src/lib.rs -  (line 13) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::apply (line 185) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:187:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:188:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let is_healthy = kube.apply("web-server/deployment.yaml")?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::load_conf (line 31) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:33:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::namespace (line 151) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:153:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:154:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |   let cluster_info = kube.namespace("kube-system")
[INFO] [stdout]   |  ____________________^
[INFO] [stdout] 7 | |     .secrets()
[INFO] [stdout] 8 | |     .get("clusterinfo")?;
[INFO] [stdout]   | |________________________^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::config_maps (line 46) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:48:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:49:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | if kube.config_maps().exists("my-config-map")? {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::deployments (line 61) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:63:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:64:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | if kube.deployments().exists("web-server")? {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::healthy (line 166) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:168:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:169:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let is_healthy = kube.healthy()?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::create (line 232) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:235:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:238:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | let response = kube.create(&secret)?;
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::network_policies (line 76) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:78:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:79:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | if kube.network_policies().exists("web-server")? {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::nodes (line 91) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:93:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:94:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | if kube.nodes().exists("node-123")? {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/resource_clients.rs - clients::resource_clients::ReadClient::exists (line 70) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:72:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:73:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | if kube.config_maps().exists("my-config-map")? {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::replace (line 209) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:211:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:212:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let is_healthy = kube.replace("web-server/deployment.yaml")?;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/resource_clients.rs - clients::resource_clients::KubeClient<Deployment>::scale (line 45) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:47:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:48:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | kube.deployments().scale("web-server", 7)?;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::pods (line 106) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:108:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:109:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | if kube.pods().exists("web-server-abcdefgh12345678")? {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::services (line 136) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:138:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:139:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | if kube.services().exists("web-server")? {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/mod.rs - clients::Kubernetes::secrets (line 121) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:123:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/mod.rs:124:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | if kube.secrets().exists("my-secret")? {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/resource_clients.rs - clients::resource_clients::ListClient::list (line 140) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:142:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `list` found for type `kubeclient::clients::KubeClient<kubeclient::resources::ConfigMap>` in the current scope
[INFO] [stdout]  --> src/clients/resource_clients.rs:143:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | let cfg_maps = kube.config_maps().list("my-config-map", None)?;
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the method `list` exists but the following trait bounds were not satisfied:
[INFO] [stdout]           `kubeclient::clients::KubeClient<kubeclient::resources::ConfigMap> : kubeclient::clients::ListClient`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:143:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | let cfg_maps = kube.config_maps().list("my-config-map", None)?;
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/resource_clients.rs - clients::resource_clients::WriteClient::delete (line 121) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:123:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:124:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | kube.config_maps().delete("my-config-map")?;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/resource_clients.rs - clients::resource_clients::ReadClient::get (line 85) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:87:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:88:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | let cfg_map = kube.config_maps().get("my-config-map")?;
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/resource_clients.rs - clients::resource_clients::WriteClient::create (line 105) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ConfigMap`
[INFO] [stdout]  --> src/clients/resource_clients.rs:108:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut cfg_map = ConfigMap::new("stage-config")?;
[INFO] [stdout]   |                   ^^^^^^^^^ use of undeclared type or module `ConfigMap`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:107:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:108:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut cfg_map = ConfigMap::new("stage-config")?;
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/clients/resource_clients.rs:111:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | let response = kube.config_maps().create(&cfg_map)?;
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs -  (line 13) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `}`
[INFO] [stdout]   --> src/lib.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let output = kube.secrets().get("my-secret")?
[INFO] [stdout]    |                                                  - expected one of `.`, `;`, `?`, or an operator here
[INFO] [stdout] 11 |     // ...
[INFO] [stdout] 12 |   }
[INFO] [stdout]    |   ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:16:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let kube = Kubernetes::load_conf("admin.conf")?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:18:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | if kube.healthy()? {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:19:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |   if !kube.secrets().exists("my-secret")? {
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 parameter but 0 parameters were supplied
[INFO] [stdout]   --> src/lib.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 14 |   for node in kube.nodes().list()? {
[INFO] [stdout]    |                            ^^^^ expected 1 parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]   --> src/lib.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |   for node in kube.nodes().list()? {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `metadata` of struct `kubeclient::resources::Node` is private
[INFO] [stdout]   --> src/lib.rs:25:32
[INFO] [stdout]    |
[INFO] [stdout] 15 |     println!("Found node: {}", node.metadata.name);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::option::Option<std::string::String>` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/lib.rs:25:32
[INFO] [stdout]    |
[INFO] [stdout] 15 |     println!("Found node: {}", node.metadata.name);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^ `std::option::Option<std::string::String>` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `std::option::Option<std::string::String>`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: required by `std::fmt::Display::fmt`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0616.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] [stdout] failures:
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::apply (line 185)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::config_maps (line 46)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::create (line 232)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::deployments (line 61)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::healthy (line 166)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::load_conf (line 31)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::namespace (line 151)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::network_policies (line 76)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::nodes (line 91)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::pods (line 106)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::replace (line 209)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::secrets (line 121)
[INFO] [stdout]     src/clients/mod.rs - clients::Kubernetes::services (line 136)
[INFO] [stdout]     src/clients/resource_clients.rs - clients::resource_clients::KubeClient<Deployment>::scale (line 45)
[INFO] [stdout]     src/clients/resource_clients.rs - clients::resource_clients::ListClient::list (line 140)
[INFO] [stdout]     src/clients/resource_clients.rs - clients::resource_clients::ReadClient::exists (line 70)
[INFO] [stdout]     src/clients/resource_clients.rs - clients::resource_clients::ReadClient::get (line 85)
[INFO] [stdout]     src/clients/resource_clients.rs - clients::resource_clients::WriteClient::create (line 105)
[INFO] [stdout]     src/clients/resource_clients.rs - clients::resource_clients::WriteClient::delete (line 121)
[INFO] [stdout]     src/lib.rs -  (line 13)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "4e916bf62482c19c924a84a366225d4a5290cecf0ac6df4bec4e19943d074420"`
[INFO] running `"docker" "rm" "-f" "4e916bf62482c19c924a84a366225d4a5290cecf0ac6df4bec4e19943d074420"`
[INFO] [stdout] 4e916bf62482c19c924a84a366225d4a5290cecf0ac6df4bec4e19943d074420
