deps: Update kube to v0.87.1 #395
Annotations
11 errors
|
examples/tests/lease.rs#L336
error[E0308]: mismatched types
--> examples/tests/lease.rs:336:28
|
336 | LeaseManager::init(self.api.clone(), &self.name)
| ------------------ ^^^^^^^^^^^^^^^^ expected `Api<Lease>`, found a different `Api<Lease>`
| |
| arguments to this function are incorrect
|
= note: `Api<Lease>` and `Api<Lease>` have similar names, but are actually distinct types
note: `Api<Lease>` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.85.0/src/api/mod.rs:54:1
|
54 | pub struct Api<K> {
| ^^^^^^^^^^^^^^^^^
note: `Api<Lease>` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.87.1/src/api/mod.rs:54:1
|
54 | pub struct Api<K> {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `kube_client` are being used?
note: associated function defined here
--> /__w/kubert/kubert/kubert/src/lease.rs:136:18
|
136 | pub async fn init(api: Api, name: impl ToString) -> Result<Self, Error> {
| ^^^^
|
examples/tests/lease.rs#L336
error[E0308]: mismatched types
--> examples/tests/lease.rs:336:28
|
336 | LeaseManager::init(self.api.clone(), &self.name)
| ------------------ ^^^^^^^^^^^^^^^^ expected `Api<Lease>`, found a different `Api<Lease>`
| |
| arguments to this function are incorrect
|
= note: `Api<Lease>` and `Api<Lease>` have similar names, but are actually distinct types
note: `Api<Lease>` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.85.0/src/api/mod.rs:54:1
|
54 | pub struct Api<K> {
| ^^^^^^^^^^^^^^^^^
note: `Api<Lease>` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.87.1/src/api/mod.rs:54:1
|
54 | pub struct Api<K> {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `kube_client` are being used?
note: associated function defined here
--> /__w/kubert/kubert/kubert/src/lease.rs:136:18
|
136 | pub async fn init(api: Api, name: impl ToString) -> Result<Self, Error> {
| ^^^^
|
examples/watch_pods.rs#L84
error[E0277]: the trait bound `k8s_openapi::api::core::v1::Pod: k8s_openapi::_resource::Metadata` is not satisfied
--> examples/watch_pods.rs:84:24
|
84 | let pods = runtime.watch_all::<Pod>(watcher_config);
| ^^^^^^^^^ the trait `k8s_openapi::_resource::Metadata` is not implemented for `k8s_openapi::api::core::v1::Pod`
|
= help: the following other types implement trait `k8s_openapi::_resource::Metadata`:
k8s_openapi::v1_28::list::List<T>
k8s_openapi::v1_28::api::admissionregistration::v1::mutating_webhook_configuration::MutatingWebhookConfiguration
k8s_openapi::v1_28::api::admissionregistration::v1::validating_webhook_configuration::ValidatingWebhookConfiguration
k8s_openapi::v1_28::api::admissionregistration::v1alpha1::validating_admission_policy::ValidatingAdmissionPolicy
k8s_openapi::v1_28::api::admissionregistration::v1alpha1::validating_admission_policy_binding::ValidatingAdmissionPolicyBinding
k8s_openapi::v1_28::api::admissionregistration::v1beta1::validating_admission_policy::ValidatingAdmissionPolicy
k8s_openapi::v1_28::api::admissionregistration::v1beta1::validating_admission_policy_binding::ValidatingAdmissionPolicyBinding
k8s_openapi::v1_28::api::apiserverinternal::v1alpha1::storage_version::StorageVersion
and 70 others
= note: required for `k8s_openapi::api::core::v1::Pod` to implement `kubert::client::Resource`
|
examples/lease.rs#L98
error[E0308]: mismatched types
--> examples/lease.rs:98:37
|
98 | let api = kube::Api::namespaced(rt.client(), &namespace);
| --------------------- ^^^^^^^^^^^ expected `kube::Client`, found `kubert::client::Client`
| |
| arguments to this function are incorrect
|
= note: `kubert::client::Client` and `kube::Client` have similar names, but are actually distinct types
note: `kubert::client::Client` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.87.1/src/client/mod.rs:65:1
|
65 | pub struct Client {
| ^^^^^^^^^^^^^^^^^
note: `kube::Client` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.85.0/src/client/mod.rs:65:1
|
65 | pub struct Client {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `kube_client` are being used?
note: associated function defined here
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.85.0/src/api/mod.rs:175:12
|
175 | pub fn namespaced(client: Client, ns: &str) -> Self
| ^^^^^^^^^^
|
examples/lease.rs#L98
error[E0308]: mismatched types
--> examples/lease.rs:98:37
|
98 | let api = kube::Api::namespaced(rt.client(), &namespace);
| --------------------- ^^^^^^^^^^^ expected `kube::Client`, found `kubert::client::Client`
| |
| arguments to this function are incorrect
|
= note: `kubert::client::Client` and `kube::Client` have similar names, but are actually distinct types
note: `kubert::client::Client` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.87.1/src/client/mod.rs:65:1
|
65 | pub struct Client {
| ^^^^^^^^^^^^^^^^^
note: `kube::Client` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.85.0/src/client/mod.rs:65:1
|
65 | pub struct Client {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `kube_client` are being used?
note: associated function defined here
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.85.0/src/api/mod.rs:175:12
|
175 | pub fn namespaced(client: Client, ns: &str) -> Self
| ^^^^^^^^^^
|
examples/lease.rs#L114
error[E0277]: `?` couldn't convert the error to `kubert::lease::Error`
--> examples/lease.rs:114:23
|
114 | .await?;
| ^ the trait `std::convert::From<kube::Error>` is not implemented for `kubert::lease::Error`
|
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
= help: the trait `std::convert::From<kubert::client::Error>` is implemented for `kubert::lease::Error`
= note: required for `std::result::Result<{integer}, kubert::lease::Error>` to implement `std::ops::FromResidual<std::result::Result<std::convert::Infallible, kube::Error>>`
|
examples/lease.rs#L120
error[E0308]: mismatched types
--> examples/lease.rs:120:52
|
120 | let lease = kubert::LeaseManager::init(api, name)
| -------------------------- ^^^ expected `Api<Lease>`, found a different `Api<Lease>`
| |
| arguments to this function are incorrect
|
= note: `Api<Lease>` and `Api<Lease>` have similar names, but are actually distinct types
note: `Api<Lease>` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.85.0/src/api/mod.rs:54:1
|
54 | pub struct Api<K> {
| ^^^^^^^^^^^^^^^^^
note: `Api<Lease>` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.87.1/src/api/mod.rs:54:1
|
54 | pub struct Api<K> {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `kube_client` are being used?
note: associated function defined here
--> /__w/kubert/kubert/kubert/src/lease.rs:136:18
|
136 | pub async fn init(api: Api, name: impl ToString) -> Result<Self, Error> {
| ^^^^
|
examples/lease.rs#L120
error[E0308]: mismatched types
--> examples/lease.rs:120:52
|
120 | let lease = kubert::LeaseManager::init(api, name)
| -------------------------- ^^^ expected `Api<Lease>`, found a different `Api<Lease>`
| |
| arguments to this function are incorrect
|
= note: `Api<Lease>` and `Api<Lease>` have similar names, but are actually distinct types
note: `Api<Lease>` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.85.0/src/api/mod.rs:54:1
|
54 | pub struct Api<K> {
| ^^^^^^^^^^^^^^^^^
note: `Api<Lease>` is defined in crate `kube_client`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-client-0.87.1/src/api/mod.rs:54:1
|
54 | pub struct Api<K> {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `kube_client` are being used?
note: associated function defined here
--> /__w/kubert/kubert/kubert/src/lease.rs:136:18
|
136 | pub async fn init(api: Api, name: impl ToString) -> Result<Self, Error> {
| ^^^^
|
examples/watch_pods.rs#L84
error[E0308]: mismatched types
--> examples/watch_pods.rs:84:41
|
84 | let pods = runtime.watch_all::<Pod>(watcher_config);
| ---------------- ^^^^^^^^^^^^^^ expected `kube_runtime::watcher::Config`, found `kube::kube_runtime::watcher::Config`
| |
| arguments to this method are incorrect
|
= note: `kube::kube_runtime::watcher::Config` and `kube_runtime::watcher::Config` have similar names, but are actually distinct types
note: `kube::kube_runtime::watcher::Config` is defined in crate `kube_runtime`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.85.0/src/watcher.rs:197:1
|
197 | pub struct Config {
| ^^^^^^^^^^^^^^^^^
note: `kube_runtime::watcher::Config` is defined in crate `kube_runtime`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.1/src/watcher.rs:221:1
|
221 | pub struct Config {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `kube_runtime` are being used?
note: method defined here
--> /__w/kubert/kubert/kubert/src/runtime.rs:307:12
|
307 | pub fn watch_all<T>(
| ^^^^^^^^^
|
examples/watch_pods.rs#L84
error[E0308]: mismatched types
--> examples/watch_pods.rs:84:41
|
84 | let pods = runtime.watch_all::<Pod>(watcher_config);
| ---------------- ^^^^^^^^^^^^^^ expected `kube_runtime::watcher::Config`, found `kube::kube_runtime::watcher::Config`
| |
| arguments to this method are incorrect
|
= note: `kube::kube_runtime::watcher::Config` and `kube_runtime::watcher::Config` have similar names, but are actually distinct types
note: `kube::kube_runtime::watcher::Config` is defined in crate `kube_runtime`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.85.0/src/watcher.rs:197:1
|
197 | pub struct Config {
| ^^^^^^^^^^^^^^^^^
note: `kube_runtime::watcher::Config` is defined in crate `kube_runtime`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.1/src/watcher.rs:221:1
|
221 | pub struct Config {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `kube_runtime` are being used?
note: method defined here
--> /__w/kubert/kubert/kubert/src/runtime.rs:307:12
|
307 | pub fn watch_all<T>(
| ^^^^^^^^^
|
The logs for this run have expired and are no longer available.
Loading