Skip to content

deps: Update kube to v0.87.1 #395

deps: Update kube to v0.87.1

deps: Update kube to v0.87.1 #395

Triggered via pull request December 3, 2023 16:18
Status Failure
Total duration 3m 25s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

features.yml

on: pull_request
Matrix: all-check
Matrix: feature-check
Fit to window
Zoom out
Zoom in

Annotations

53 errors
feature-check (admin): 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> { | ^^^^
feature-check (admin): 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> { | ^^^^
feature-check (admin): 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`
feature-check (admin): 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>( | ^^^^^^^^^
feature-check (admin): 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>( | ^^^^^^^^^
feature-check (admin): 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 | ^^^^^^^^^^
feature-check (admin): 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 | ^^^^^^^^^^
feature-check (admin): examples/watch_pods.rs#L96
error[E0308]: mismatched types --> examples/watch_pods.rs:96:21 | 95 | match ev { | -- this expression has type `kube_runtime::watcher::Event<k8s_openapi::api::core::v1::Pod>` 96 | Event::Restarted(pods) => { | ^^^^^^^^^^^^^^^^^^^^^^ expected `Event<Pod>`, found `Event<_>` | = note: `Event<_>` and `Event<Pod>` have similar names, but are actually distinct types note: `Event<_>` is defined in crate `kube_runtime` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.85.0/src/watcher.rs:41:1 | 41 | pub enum Event<K> { | ^^^^^^^^^^^^^^^^^ note: `Event<Pod>` is defined in crate `kube_runtime` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.1/src/watcher.rs:41:1 | 41 | pub enum Event<K> { | ^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `kube_runtime` are being used?
feature-check (admin): examples/watch_pods.rs#L95
error[E0308]: mismatched types --> examples/watch_pods.rs:96:21 | 95 | match ev { | -- this expression has type `kube_runtime::watcher::Event<k8s_openapi::api::core::v1::Pod>` 96 | Event::Restarted(pods) => { | ^^^^^^^^^^^^^^^^^^^^^^ expected `Event<Pod>`, found `Event<_>` | = note: `Event<_>` and `Event<Pod>` have similar names, but are actually distinct types note: `Event<_>` is defined in crate `kube_runtime` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.85.0/src/watcher.rs:41:1 | 41 | pub enum Event<K> { | ^^^^^^^^^^^^^^^^^ note: `Event<Pod>` is defined in crate `kube_runtime` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.1/src/watcher.rs:41:1 | 41 | pub enum Event<K> { | ^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `kube_runtime` are being used?
feature-check (admin): examples/watch_pods.rs#L118
error[E0308]: mismatched types --> examples/watch_pods.rs:118:21 | 95 | match ev { | -- this expression has type `kube_runtime::watcher::Event<k8s_openapi::api::core::v1::Pod>` ... 118 | Event::Applied(pod) => { | ^^^^^^^^^^^^^^^^^^^ expected `Event<Pod>`, found `Event<_>` | = note: `Event<_>` and `Event<Pod>` have similar names, but are actually distinct types note: `Event<_>` is defined in crate `kube_runtime` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.85.0/src/watcher.rs:41:1 | 41 | pub enum Event<K> { | ^^^^^^^^^^^^^^^^^ note: `Event<Pod>` is defined in crate `kube_runtime` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.1/src/watcher.rs:41:1 | 41 | pub enum Event<K> { | ^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `kube_runtime` are being used?
feature-check (metrics)
The job was canceled because "admin" failed.
feature-check (server openssl-tls)
The job was canceled because "admin" failed.
feature-check (shutdown)
The job was canceled because "admin" failed.
feature-check (runtime)
The job was canceled because "admin" failed.
feature-check (requeue)
The job was canceled because "admin" failed.
feature-check (server rustls-tls)
The job was canceled because "admin" failed.
feature-check (server)
The job was canceled because "admin" failed.
feature-check (server openssl-tls rustls-tls)
The job was canceled because "admin" failed.
feature-check (errors)
The job was canceled because "admin" failed.
feature-check (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> { | ^^^^
feature-check (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> { | ^^^^
feature-check (errors): 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`
feature-check (errors): 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 | ^^^^^^^^^^
feature-check (errors): 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 | ^^^^^^^^^^
feature-check (errors): 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>>`
feature-check (errors): 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> { | ^^^^
feature-check (errors): 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> { | ^^^^
feature-check (errors): 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>( | ^^^^^^^^^
feature-check (errors): 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>( | ^^^^^^^^^
feature-check (log)
The job was canceled because "admin" failed.
feature-check (log)
The operation was canceled.
feature-check (client rustls-tls)
The job was canceled because "admin" failed.
feature-check (client rustls-tls)
The operation was canceled.
feature-check (initialized)
The job was canceled because "admin" failed.
feature-check (initialized)
The operation was canceled.
feature-check (admin,metrics)
The job was canceled because "admin" failed.
feature-check (admin,metrics)
The operation was canceled.
feature-check (lease)
The job was canceled because "admin" failed.
feature-check (lease)
The operation was canceled.
feature-check (client)
The job was canceled because "admin" failed.
feature-check (client)
The operation was canceled.
feature-check (index)
The job was canceled because "admin" failed.
feature-check (index)
The operation was canceled.
all-check (1.73): 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` --> /home/runner/.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` --> /home/runner/.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 --> /home/runner/work/kubert/kubert/kubert/src/lease.rs:136:18 | 136 | pub async fn init(api: Api, name: impl ToString) -> Result<Self, Error> { | ^^^^
all-check (1.73): 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` --> /home/runner/.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` --> /home/runner/.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 --> /home/runner/work/kubert/kubert/kubert/src/lease.rs:136:18 | 136 | pub async fn init(api: Api, name: impl ToString) -> Result<Self, Error> { | ^^^^
all-check (1.73): 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`
all-check (1.73): 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` --> /home/runner/.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` --> /home/runner/.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 --> /home/runner/.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 | ^^^^^^^^^^
all-check (1.73): 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` --> /home/runner/.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` --> /home/runner/.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 --> /home/runner/.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 | ^^^^^^^^^^
all-check (1.73): 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>>`
all-check (1.73): 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` --> /home/runner/.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` --> /home/runner/.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 --> /home/runner/work/kubert/kubert/kubert/src/lease.rs:136:18 | 136 | pub async fn init(api: Api, name: impl ToString) -> Result<Self, Error> { | ^^^^
all-check (1.73): 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` --> /home/runner/.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` --> /home/runner/.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 --> /home/runner/work/kubert/kubert/kubert/src/lease.rs:136:18 | 136 | pub async fn init(api: Api, name: impl ToString) -> Result<Self, Error> { | ^^^^
all-check (1.73): 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` --> /home/runner/.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` --> /home/runner/.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 --> /home/runner/work/kubert/kubert/kubert/src/runtime.rs:307:12 | 307 | pub fn watch_all<T>( | ^^^^^^^^^
all-check (1.73): 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` --> /home/runner/.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` --> /home/runner/.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 --> /home/runner/work/kubert/kubert/kubert/src/runtime.rs:307:12 | 307 | pub fn watch_all<T>( | ^^^^^^^^^