Skip to content

hyper/http 1.0 bumps #1098

hyper/http 1.0 bumps

hyper/http 1.0 bumps #1098

Triggered via pull request January 26, 2024 02:12
Status Failure
Total duration 34s
Artifacts

lint.yml

on: pull_request
Matrix: cargo deny
Fit to window
Zoom out
Zoom in

Annotations

57 errors and 7 warnings
failed to resolve: use of undeclared crate or module `oauth`: kube-client/src/client/auth/mod.rs#L366
error[E0433]: failed to resolve: use of undeclared crate or module `oauth` --> kube-client/src/client/auth/mod.rs:366:14 | 366 | GcpOauth(oauth::Gcp), | ^^^^^ use of undeclared crate or module `oauth`
failed to resolve: use of undeclared crate or module `oidc`: kube-client/src/client/auth/mod.rs#L360
error[E0433]: failed to resolve: use of undeclared crate or module `oidc` --> kube-client/src/client/auth/mod.rs:360:10 | 360 | Oidc(oidc::Oidc), | ^^^^ use of undeclared crate or module `oidc`
failed to resolve: use of undeclared crate or module `oidc`: kube-client/src/client/auth/mod.rs#L179
error[E0433]: failed to resolve: use of undeclared crate or module `oidc` --> kube-client/src/client/auth/mod.rs:179:20 | 179 | Oidc(Arc<Mutex<oidc::Oidc>>), | ^^^^ use of undeclared crate or module `oidc`
failed to resolve: use of undeclared crate or module `oauth`: kube-client/src/client/auth/mod.rs#L177
error[E0433]: failed to resolve: use of undeclared crate or module `oauth` --> kube-client/src/client/auth/mod.rs:177:24 | 177 | GcpOauth(Arc<Mutex<oauth::Gcp>>), | ^^^^^ use of undeclared crate or module `oauth`
failed to resolve: use of undeclared crate or module `oidc_errors`: kube-client/src/client/auth/mod.rs#L100
error[E0433]: failed to resolve: use of undeclared crate or module `oidc_errors` --> kube-client/src/client/auth/mod.rs:100:20 | 100 | Oidc(#[source] oidc_errors::Error), | ^^^^^^^^^^^ use of undeclared crate or module `oidc_errors`
type annotations needed: kube-client/src/client/mod.rs#L121
error[E0282]: type annotations needed --> kube-client/src/client/mod.rs:121:50 | 121 | let service = MapResponseBodyLayer::new(|x| x.into_stream()) | ^ - type must be known at this point | help: consider giving this closure parameter an explicit type | 121 | let service = MapResponseBodyLayer::new(|x: /* Type */| x.into_stream()) | ++++++++++++
mismatched types: kube-client/src/client/config_ext.rs#L222
error[E0308]: mismatched types --> kube-client/src/client/config_ext.rs:222:9 | 219 | fn rustls_https_connector(&self) -> Result<HttpsConnector<HttpConnector>> { | ------------------------------------- expected `std::result::Result<hyper_tls::HttpsConnector<hyper_util::client::legacy::connect::HttpConnector>, error::Error>` because of return type ... 222 | self.rustls_https_connector_with_connector(connector) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HttpsConnector<HttpConnector>`, found a different `HttpsConnector<HttpConnector>` | = note: `HttpsConnector<HttpConnector>` and `HttpsConnector<HttpConnector>` have similar names, but are actually distinct types note: `HttpsConnector<HttpConnector>` is defined in crate `hyper_rustls` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-rustls-0.26.0/src/connector.rs:23:1 | 23 | pub struct HttpsConnector<T> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `HttpsConnector<HttpConnector>` is defined in crate `hyper_tls` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-tls-0.6.0/src/client.rs:19:1 | 19 | pub struct HttpsConnector<T> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the size for values of type `dyn http_body::Body` cannot be known at compilation time: kube-client/src/client/builder.rs#L200
error[E0277]: the size for values of type `dyn http_body::Body` cannot be known at compilation time --> kube-client/src/client/builder.rs:200:51 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `dyn http_body::Body` = note: all function arguments must have a statically known size = help: unsized fn params are gated as an unstable feature
`dyn http_body::Body` cannot be unpinned: kube-client/src/client/builder.rs#L200
error[E0277]: `dyn http_body::Body` cannot be unpinned --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ within `__Origin<'_, dyn Body, fn(<dyn Body as Body>::Error) -> Box<...> {<... as From<...>>::from}>`, the trait `std::marker::Unpin` is not implemented for `dyn http_body::Body` | = note: the full trait has been written to '/home/runner/work/kube/kube/target/debug/deps/kube_client-eb04f9075def37d2.long-type-11314335993730067483.txt' = note: consider using the `pin!` macro consider using `Box::pin` if you need to access the pinned value outside of the current scope note: required because it appears within the type `__Origin<'_, dyn Body, fn(<dyn Body as Body>::Error) -> Box<...> {<... as From<...>>::from}>` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-body-util-0.1.0/src/combinators/map_err.rs:10:1 | 10 | / pin_project! { 11 | | /// Body returned by the [`map_err`] combinator. 12 | | /// 13 | | /// [`map_err`]: crate::BodyExt::map_err ... | 19 | | } 20 | | } | |_^ = note: required for `MapErr<dyn Body, fn(<dyn Body as Body>::Error) -> Box<dyn Error + Send + Sync> {<... as From<...>>::from}>` to implement `std::marker::Unpin` = note: the full type name has been written to '/home/runner/work/kube/kube/target/debug/deps/kube_client-eb04f9075def37d2.long-type-16304708850998271238.txt' = note: required for the cast from `Box<MapErr<dyn Body, fn(<dyn Body as Body>::Error) -> Box<...> {<... as From<...>>::from}>>` to `Box<dyn Body<Data = Bytes, Error = Box<dyn Error + Send + Sync>> + Send + Unpin>` = note: the full name for the type has been written to '/home/runner/work/kube/kube/target/debug/deps/kube_client-eb04f9075def37d2.long-type-17556216417281443265.txt' = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
`dyn http_body::Body` cannot be sent between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `dyn http_body::Body` cannot be sent between threads safely --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn http_body::Body` cannot be sent between threads safely | = note: the full trait has been written to '/home/runner/work/kube/kube/target/debug/deps/kube_client-eb04f9075def37d2.long-type-16304708850998271238.txt' = help: within `MapErr<dyn Body, fn(<dyn Body as Body>::Error) -> Box<dyn Error + Send + Sync> {<... as From<...>>::from}>`, the trait `std::marker::Send` is not implemented for `dyn http_body::Body` note: required because it appears within the type `MapErr<dyn Body, fn(<dyn Body as Body>::Error) -> Box<dyn Error + Send + Sync> {<... as From<...>>::from}>` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-body-util-0.1.0/src/combinators/map_err.rs:15:16 | 15 | pub struct MapErr<B, F> { | ^^^^^^ = note: required for the cast from `Box<MapErr<dyn Body, fn(<dyn Body as Body>::Error) -> Box<...> {<... as From<...>>::from}>>` to `Box<dyn Body<Data = Bytes, Error = Box<dyn Error + Send + Sync>> + Send + Unpin>` = note: the full name for the type has been written to '/home/runner/work/kube/kube/target/debug/deps/kube_client-eb04f9075def37d2.long-type-17556216417281443265.txt'
type mismatch resolving `<MapErr<dyn Body, fn(<dyn Body as Body>::Error) -> Box<dyn Error + Send + Sync> {<Box<dyn Error + Send + Sync> as From<<dyn Body as Body>::Error>>::from}> as Body>::Data == Bytes`: kube-client/src/client/builder.rs#L200
error[E0271]: type mismatch resolving `<MapErr<dyn Body, fn(<dyn Body as Body>::Error) -> Box<dyn Error + Send + Sync> {<Box<dyn Error + Send + Sync> as From<<dyn Body as Body>::Error>>::from}> as Body>::Data == Bytes` --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bytes`, found associated type | = note: expected struct `bytes::Bytes` found associated type `<dyn http_body::Body as http_body::Body>::Data` = help: consider constraining the associated type `<dyn http_body::Body as http_body::Body>::Data` to `bytes::Bytes` = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html = note: required for the cast from `Box<MapErr<dyn Body, fn(<dyn Body as Body>::Error) -> Box<...> {<... as From<...>>::from}>>` to `Box<dyn Body<Data = Bytes, Error = Box<dyn Error + Send + Sync>> + Send + Unpin>` = note: the full name for the type has been written to '/home/runner/work/kube/kube/target/debug/deps/kube_client-eb04f9075def37d2.long-type-17556216417281443265.txt'
the size for values of type `dyn http_body::Body` cannot be known at compilation time: kube-client/src/client/builder.rs#L200
error[E0277]: the size for values of type `dyn http_body::Body` cannot be known at compilation time --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `dyn http_body::Body` note: required by a bound in `http_body_util::combinators::MapErr` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-body-util-0.1.0/src/combinators/map_err.rs:15:23 | 15 | pub struct MapErr<B, F> { | ^ required by this bound in `MapErr`
`<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely | = help: the trait `std::marker::Sync` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
`<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely | = help: the trait `std::marker::Send` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
the trait bound `<dyn http_body::Body as http_body::Body>::Error: std::error::Error` is not satisfied: kube-client/src/client/builder.rs#L200
error[E0277]: the trait bound `<dyn http_body::Body as http_body::Body>::Error: std::error::Error` is not satisfied --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` | = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
the size for values of type `dyn http_body::Body` cannot be known at compilation time: kube-client/src/client/builder.rs#L200
error[E0277]: the size for values of type `dyn http_body::Body` cannot be known at compilation time --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `dyn http_body::Body` note: required by a bound in `http_body_util::combinators::MapErr` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-body-util-0.1.0/src/combinators/map_err.rs:15:23 | 15 | pub struct MapErr<B, F> { | ^ required by this bound in `MapErr`
`<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^ `<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely | = help: the trait `std::marker::Sync` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
`<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^ `<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely | = help: the trait `std::marker::Send` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
the trait bound `<dyn http_body::Body as http_body::Body>::Error: std::error::Error` is not satisfied: kube-client/src/client/builder.rs#L200
error[E0277]: the trait bound `<dyn http_body::Body as http_body::Body>::Error: std::error::Error` is not satisfied --> kube-client/src/client/builder.rs:200:17 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^ the trait `std::error::Error` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` | = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
the size for values of type `dyn http_body::Body` cannot be known at compilation time: kube-client/src/client/builder.rs#L200
error[E0277]: the size for values of type `dyn http_body::Body` cannot be known at compilation time --> kube-client/src/client/builder.rs:200:26 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `dyn http_body::Body` note: required by a bound in `http_body_util::combinators::MapErr` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-body-util-0.1.0/src/combinators/map_err.rs:15:23 | 15 | pub struct MapErr<B, F> { | ^ required by this bound in `MapErr`
`<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely --> kube-client/src/client/builder.rs:200:26 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely | = help: the trait `std::marker::Sync` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
`<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely --> kube-client/src/client/builder.rs:200:26 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely | = help: the trait `std::marker::Send` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
the trait bound `<dyn http_body::Body as http_body::Body>::Error: std::error::Error` is not satisfied: kube-client/src/client/builder.rs#L200
error[E0277]: the trait bound `<dyn http_body::Body as http_body::Body>::Error: std::error::Error` is not satisfied --> kube-client/src/client/builder.rs:200:26 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` | = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
`<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely --> kube-client/src/client/builder.rs:200:57 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^ `<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely | = help: the trait `std::marker::Sync` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` = help: the trait `std::convert::From<std::string::String>` is implemented for `std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>` = help: for that trait implementation, expected `std::string::String`, found `<dyn http_body::Body as http_body::Body>::Error` = note: required for `std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
`<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely --> kube-client/src/client/builder.rs:200:57 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^ `<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely | = help: the trait `std::marker::Send` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` = help: the trait `std::convert::From<std::string::String>` is implemented for `std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>` = help: for that trait implementation, expected `std::string::String`, found `<dyn http_body::Body as http_body::Body>::Error` = note: required for `std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
the trait bound `<dyn http_body::Body as http_body::Body>::Error: std::error::Error` is not satisfied: kube-client/src/client/builder.rs#L200
error[E0277]: the trait bound `<dyn http_body::Body as http_body::Body>::Error: std::error::Error` is not satisfied --> kube-client/src/client/builder.rs:200:57 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^ the trait `std::error::Error` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` | = help: the trait `std::convert::From<std::string::String>` is implemented for `std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>` = help: for that trait implementation, expected `std::string::String`, found `<dyn http_body::Body as http_body::Body>::Error` = note: required for `std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
`<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely --> kube-client/src/client/builder.rs:200:26 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^ `<dyn http_body::Body as http_body::Body>::Error` cannot be shared between threads safely | = help: the trait `std::marker::Sync` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
`<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely: kube-client/src/client/builder.rs#L200
error[E0277]: `<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely --> kube-client/src/client/builder.rs:200:26 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^ `<dyn http_body::Body as http_body::Body>::Error` cannot be sent between threads safely | = help: the trait `std::marker::Send` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
the trait bound `<dyn http_body::Body as http_body::Body>::Error: std::error::Error` is not satisfied: kube-client/src/client/builder.rs#L200
error[E0277]: the trait bound `<dyn http_body::Body as http_body::Body>::Error: std::error::Error` is not satisfied --> kube-client/src/client/builder.rs:200:26 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `<dyn http_body::Body as http_body::Body>::Error` | = help: the following other types implement trait `std::convert::From<T>`: <std::boxed::Box<indexmap::map::slice::Slice<K, V>> as std::convert::From<&indexmap::map::slice::Slice<K, V>>> <std::boxed::Box<indexmap::set::slice::Slice<T>> as std::convert::From<&indexmap::set::slice::Slice<T>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::borrow::Cow<'_, std::ffi::OsStr>>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<std::ffi::OsString>> <std::boxed::Box<std::ffi::OsStr> as std::convert::From<&std::ffi::OsStr>> <std::boxed::Box<std::path::Path> as std::convert::From<std::borrow::Cow<'_, std::path::Path>>> <std::boxed::Box<std::path::Path> as std::convert::From<std::path::PathBuf>> <std::boxed::Box<std::path::Path> as std::convert::From<&std::path::Path>> and 21 others = note: required for `std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>` to implement `std::convert::From<<dyn http_body::Body as http_body::Body>::Error>`
the size for values of type `dyn http_body::Body` cannot be known at compilation time: kube-client/src/client/builder.rs#L199
error[E0277]: the size for values of type `dyn http_body::Body` cannot be known at compilation time --> kube-client/src/client/builder.rs:199:40 | 199 | MapResponseBodyLayer::new(|body| { | ^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `dyn http_body::Body` = note: all function arguments must have a statically known size = help: unsized fn params are gated as an unstable feature
the size for values of type `dyn http_body::Body` cannot be known at compilation time: kube-client/src/client/builder.rs#L200
error[E0277]: the size for values of type `dyn http_body::Body` cannot be known at compilation time --> kube-client/src/client/builder.rs:200:26 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `dyn http_body::Body` note: required by a bound in `http_body_util::BodyExt::map_err` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-body-util-0.1.0/src/lib.rs:59:15 | 57 | fn map_err<F, E>(self, f: F) -> MapErr<Self, F> | ------- required by a bound in this associated function 58 | where 59 | Self: Sized, | ^^^^^ required by this bound in `BodyExt::map_err`
trait objects must include the `dyn` keyword: kube-client/src/client/builder.rs#L200
error[E0782]: trait objects must include the `dyn` keyword --> kube-client/src/client/builder.rs:200:26 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^ | help: add `dyn` keyword before this trait | 200 | Box::new(<dyn http_body::Body>::map_err(body, BoxError::from)) as Box<DynBody> | ++++ +
the value of the associated types `Error` and `Data` in `http_body::Body` must be specified: kube-client/src/client/builder.rs#L200
error[E0191]: the value of the associated types `Error` and `Data` in `http_body::Body` must be specified --> kube-client/src/client/builder.rs:200:26 | 200 | Box::new(http_body::Body::map_err(body, BoxError::from)) as Box<DynBody> | ^^^^^^^^^^^^^^^ help: specify the associated types: `http_body::Body<Data = Type, Error = Type>`
no function or associated item named `builder` found for struct `hyper::client::conn::http1::Builder` in the current scope: kube-client/src/client/builder.rs#L133
error[E0599]: no function or associated item named `builder` found for struct `hyper::client::conn::http1::Builder` in the current scope --> kube-client/src/client/builder.rs:133:23 | 133 | HyperBuilder::builder().build(connector) | ^^^^^^^ function or associated item not found in `Builder` | note: if you're trying to build a new `hyper::client::conn::http1::Builder`, consider using `hyper::client::conn::http1::Builder::new` which returns `hyper::client::conn::http1::Builder` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.1.0/src/client/conn/http1.rs:303:5 | 303 | pub fn new() -> Builder { | ^^^^^^^^^^^^^^^^^^^^^^^
the trait bound `<H as tower::Service<http::Uri>>::Response: hyper::rt::Write` is not satisfied: kube-client/src/client/builder.rs#L126
error[E0277]: the trait bound `<H as tower::Service<http::Uri>>::Response: hyper::rt::Write` is not satisfied --> kube-client/src/client/builder.rs:126:29 | 126 | let mut connector = TimeoutConnector::new(connector); | ^^^^^^^^^^^^^^^^^^^^^ the trait `hyper::rt::Write` is not implemented for `<H as tower::Service<http::Uri>>::Response` | = note: required for `hyper_rustls::HttpsConnector<H>` to implement `tower::Service<http::Uri>` help: consider further restricting the associated type | 105 | H::Error: 'static + Send + Sync + std::error::Error, <H as tower::Service<http::Uri>>::Response: hyper::rt::Write | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the trait bound `<H as tower::Service<http::Uri>>::Response: hyper::rt::Read` is not satisfied: kube-client/src/client/builder.rs#L126
error[E0277]: the trait bound `<H as tower::Service<http::Uri>>::Response: hyper::rt::Read` is not satisfied --> kube-client/src/client/builder.rs:126:29 | 126 | let mut connector = TimeoutConnector::new(connector); | ^^^^^^^^^^^^^^^^^^^^^ the trait `hyper::rt::Read` is not implemented for `<H as tower::Service<http::Uri>>::Response` | = note: required for `hyper_rustls::HttpsConnector<H>` to implement `tower::Service<http::Uri>` help: consider further restricting the associated type | 105 | H::Error: 'static + Send + Sync + std::error::Error, <H as tower::Service<http::Uri>>::Response: hyper::rt::Read | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the trait bound `<H as tower::Service<http::Uri>>::Response: hyper_util::client::legacy::connect::Connection` is not satisfied: kube-client/src/client/builder.rs#L126
error[E0277]: the trait bound `<H as tower::Service<http::Uri>>::Response: hyper_util::client::legacy::connect::Connection` is not satisfied --> kube-client/src/client/builder.rs:126:29 | 126 | let mut connector = TimeoutConnector::new(connector); | ^^^^^^^^^^^^^^^^^^^^^ the trait `hyper_util::client::legacy::connect::Connection` is not implemented for `<H as tower::Service<http::Uri>>::Response` | = note: required for `hyper_rustls::HttpsConnector<H>` to implement `tower::Service<http::Uri>` help: consider further restricting the associated type | 105 | H::Error: 'static + Send + Sync + std::error::Error, <H as tower::Service<http::Uri>>::Response: hyper_util::client::legacy::connect::Connection | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the trait bound `tokio::net::TcpStream: hyper::rt::Write` is not satisfied: kube-client/src/client/builder.rs#L94
error[E0277]: the trait bound `tokio::net::TcpStream: hyper::rt::Write` is not satisfied --> kube-client/src/client/builder.rs:94:30 | 94 | make_generic_builder(connector, config) | -------------------- ^^^^^^^^^ the trait `hyper::rt::Write` is not implemented for `tokio::net::TcpStream` | | | required by a bound introduced by this call | = help: the following other types implement trait `hyper::rt::Write`: hyper_tls::MaybeHttpsStream<T> hyper_rustls::MaybeHttpsStream<T> hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutWriter<W> std::boxed::Box<T> hyper_timeout::stream::TimeoutStream<S> hyper::upgrade::Upgraded hyper_util::rt::TokioIo<T> and 2 others = note: required for `hyper_util::rt::TokioIo<tokio::net::TcpStream>` to implement `tokio::io::AsyncWrite` note: required by a bound in `client::builder::make_generic_builder` --> kube-client/src/client/builder.rs:103:40 | 100 | fn make_generic_builder<H>(connector: H, config: Config) -> Result<ClientBuilder<GenericService>, Error> | -------------------- required by a bound in this function ... 103 | H::Response: 'static + AsyncRead + AsyncWrite + Send + Unpin, | ^^^^^^^^^^ required by this bound in `make_generic_builder`
the trait bound `tokio::net::TcpStream: hyper::rt::Read` is not satisfied: kube-client/src/client/builder.rs#L94
error[E0277]: the trait bound `tokio::net::TcpStream: hyper::rt::Read` is not satisfied --> kube-client/src/client/builder.rs:94:30 | 94 | make_generic_builder(connector, config) | -------------------- ^^^^^^^^^ the trait `hyper::rt::Read` is not implemented for `tokio::net::TcpStream` | | | required by a bound introduced by this call | = help: the following other types implement trait `hyper::rt::Read`: hyper_tls::MaybeHttpsStream<T> hyper_rustls::MaybeHttpsStream<T> hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutWriter<W> std::boxed::Box<T> hyper_timeout::stream::TimeoutStream<S> hyper::upgrade::Upgraded hyper_util::rt::TokioIo<T> and 2 others = note: required for `hyper_util::rt::TokioIo<tokio::net::TcpStream>` to implement `tokio::io::AsyncRead` note: required by a bound in `client::builder::make_generic_builder` --> kube-client/src/client/builder.rs:103:28 | 100 | fn make_generic_builder<H>(connector: H, config: Config) -> Result<ClientBuilder<GenericService>, Error> | -------------------- required by a bound in this function ... 103 | H::Response: 'static + AsyncRead + AsyncWrite + Send + Unpin, | ^^^^^^^^^ required by this bound in `make_generic_builder`
the trait bound `tokio::net::TcpStream: hyper::rt::Write` is not satisfied: kube-client/src/client/builder.rs#L91
error[E0277]: the trait bound `tokio::net::TcpStream: hyper::rt::Write` is not satisfied --> kube-client/src/client/builder.rs:91:41 | 91 | return make_generic_builder(connector, config); | -------------------- ^^^^^^^^^ the trait `hyper::rt::Write` is not implemented for `tokio::net::TcpStream` | | | required by a bound introduced by this call | = help: the following other types implement trait `hyper::rt::Write`: hyper_tls::MaybeHttpsStream<T> hyper_rustls::MaybeHttpsStream<T> hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutWriter<W> std::boxed::Box<T> hyper_timeout::stream::TimeoutStream<S> hyper::upgrade::Upgraded hyper_util::rt::TokioIo<T> and 2 others = note: required for `hyper_util::rt::TokioIo<tokio::net::TcpStream>` to implement `tokio::io::AsyncWrite` note: required by a bound in `client::builder::make_generic_builder` --> kube-client/src/client/builder.rs:103:40 | 100 | fn make_generic_builder<H>(connector: H, config: Config) -> Result<ClientBuilder<GenericService>, Error> | -------------------- required by a bound in this function ... 103 | H::Response: 'static + AsyncRead + AsyncWrite + Send + Unpin, | ^^^^^^^^^^ required by this bound in `make_generic_builder`
the trait bound `tokio::net::TcpStream: hyper::rt::Read` is not satisfied: kube-client/src/client/builder.rs#L91
error[E0277]: the trait bound `tokio::net::TcpStream: hyper::rt::Read` is not satisfied --> kube-client/src/client/builder.rs:91:41 | 91 | return make_generic_builder(connector, config); | -------------------- ^^^^^^^^^ the trait `hyper::rt::Read` is not implemented for `tokio::net::TcpStream` | | | required by a bound introduced by this call | = help: the following other types implement trait `hyper::rt::Read`: hyper_tls::MaybeHttpsStream<T> hyper_rustls::MaybeHttpsStream<T> hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutWriter<W> std::boxed::Box<T> hyper_timeout::stream::TimeoutStream<S> hyper::upgrade::Upgraded hyper_util::rt::TokioIo<T> and 2 others = note: required for `hyper_util::rt::TokioIo<tokio::net::TcpStream>` to implement `tokio::io::AsyncRead` note: required by a bound in `client::builder::make_generic_builder` --> kube-client/src/client/builder.rs:103:28 | 100 | fn make_generic_builder<H>(connector: H, config: Config) -> Result<ClientBuilder<GenericService>, Error> | -------------------- required by a bound in this function ... 103 | H::Response: 'static + AsyncRead + AsyncWrite + Send + Unpin, | ^^^^^^^^^ required by this bound in `make_generic_builder`
the trait bound `Svc: tower::Service<http::Request<bytes::Bytes>>` is not satisfied: kube-client/src/client/builder.rs#L69
error[E0277]: the trait bound `Svc: tower::Service<http::Request<bytes::Bytes>>` is not satisfied --> kube-client/src/client/builder.rs:69:21 | 69 | Client::new(self.service, self.default_ns) | ----------- ^^^^^^^^^^^^ the trait `tower::Service<http::Request<bytes::Bytes>>` is not implemented for `Svc` | | | required by a bound introduced by this call | note: required by a bound in `client::Client::new` --> kube-client/src/client/mod.rs:113:12 | 111 | pub fn new<S, /*B,*/ T>(service: S, default_namespace: T) -> Self | --- required by a bound in this associated function 112 | where 113 | S: Service<Request<Bytes>, Response = Response<UnsyncBoxBody<Bytes, BoxError>>> + Send + 'static, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::new` help: consider restricting type parameter `Svc` | 33 | impl<Svc: tower::Service<http::Request<bytes::Bytes>>> ClientBuilder<Svc> { | +++++++++++++++++++++++++++++++++++++++++++++
no method named `poll_data` found for struct `std::pin::Pin<&mut B>` in the current scope: kube-client/src/client/body.rs#L30
error[E0599]: no method named `poll_data` found for struct `std::pin::Pin<&mut B>` in the current scope --> kube-client/src/client/body.rs:30:29 | 30 | self.project().body.poll_data(cx) | ^^^^^^^^^ method not found in `Pin<&mut B>`
the size for values of type `str` cannot be known at compilation time: kube-client/src/client/mod.rs#L353
error[E0277]: the size for values of type `str` cannot be known at compilation time --> kube-client/src/client/mod.rs:353:17 | 353 | Err(LinesCodecError::MaxLineLengthExceeded) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` note: required by a bound in `std::prelude::v1::Err` --> /rustc/5bd5d214effd494f4bafb29b3a7a2f6c2070ca5c/library/core/src/result.rs:511:5
the size for values of type `str` cannot be known at compilation time: kube-client/src/client/mod.rs#L336
error[E0277]: the size for values of type `str` cannot be known at compilation time --> kube-client/src/client/mod.rs:336:17 | 336 | Err(LinesCodecError::Io(e)) => match e.kind() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` note: required by a bound in `std::prelude::v1::Err` --> /rustc/5bd5d214effd494f4bafb29b3a7a2f6c2070ca5c/library/core/src/result.rs:511:5
the size for values of type `str` cannot be known at compilation time: kube-client/src/client/mod.rs#L319
error[E0277]: the size for values of type `str` cannot be known at compilation time --> kube-client/src/client/mod.rs:319:17 | 319 | Ok(line) => match serde_json::from_str::<WatchEvent<T>>(&line) { | ^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` note: required by a bound in `std::prelude::v1::Ok` --> /rustc/5bd5d214effd494f4bafb29b3a7a2f6c2070ca5c/library/core/src/result.rs:506:5
the size for values of type `str` cannot be known at compilation time: kube-client/src/client/mod.rs#L319
error[E0277]: the size for values of type `str` cannot be known at compilation time --> kube-client/src/client/mod.rs:319:20 | 319 | Ok(line) => match serde_json::from_str::<WatchEvent<T>>(&line) { | ^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature
the method `filter_map` exists for struct `FramedRead<StreamReader<MapErr<UnsyncBoxBody<Bytes, Box<dyn Error + Send + Sync>>, ...>, ...>, ...>`, but its trait bounds were not satisfied: kube-client/src/client/mod.rs#L317
error[E0599]: the method `filter_map` exists for struct `FramedRead<StreamReader<MapErr<UnsyncBoxBody<Bytes, Box<dyn Error + Send + Sync>>, ...>, ...>, ...>`, but its trait bounds were not satisfied --> kube-client/src/client/mod.rs:317:19 | 317 | Ok(frames.filter_map(|res| async { | -------^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-util-0.7.10/src/codec/framed_read.rs:14:1 | 14 | / pin_project! { 15 | | /// A [`Stream`] of messages decoded from an [`AsyncRead`]. 16 | | /// 17 | | /// [`Stream`]: futures_core::Stream ... | 22 | | } 23 | | } | | - | | | | | doesn't satisfy `_: Iterator` | |_doesn't satisfy `_: StreamExt` | doesn't satisfy `_: Stream` | = note: the full type name has been written to '/home/runner/work/kube/kube/target/debug/deps/kube_client-eb04f9075def37d2.long-type-1719654698270127729.txt' = note: the following trait bounds were not satisfied: `tokio_util::codec::FramedRead<tokio_util::io::StreamReader<http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>, _>, tokio_util::codec::LinesCodec>: futures::Stream` which is required by `tokio_util::codec::FramedRead<tokio_util::io::StreamReader<http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>, _>, tokio_util::codec::LinesCodec>: futures::StreamExt` `&tokio_util::codec::FramedRead<tokio_util::io::StreamReader<http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>, _>, tokio_util::codec::LinesCodec>: futures::Stream` which is required by `&tokio_util::codec::FramedRead<tokio_util::io::StreamReader<http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>, _>, tokio_util::codec::LinesCodec>: futures::StreamExt` `&mut tokio_util::codec::FramedRead<tokio_util::io::StreamReader<http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>, _>, tokio_util::codec::LinesCodec>: futures::Stream` which is required by `&mut tokio_util::codec::FramedRead<tokio_util::io::StreamReader<http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>, _>, tokio_util::codec::LinesCodec>: futures::StreamExt` `tokio_util::codec::FramedRead<tokio_util::io::StreamReader<http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>, _>, tokio_util::codec::LinesCodec>: std::iter::Iterator` which is required by `&mut tokio_util::codec::FramedRead<tokio_util::io::StreamReader<http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>, _>, tokio_util::codec::LinesCodec>: std::iter::Iterator`
the trait bound `http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>: futures::Stream` is not satisfied: kube-client/src/client/mod.rs#L302
error[E0277]: the trait bound `http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>: futures::Stream` is not satisfied --> kube-client/src/client/mod.rs:302:13 | 301 | let frames = FramedRead::new( | --------------- required by a bound introduced by this call 302 | / StreamReader::new(res.into_body().map_err(|e| { 303 | | // Client timeout. This will be ignored. 304 | | if e.is_timeout() { 305 | | return std::io::Error::new(std::io::ErrorKind::TimedOut, e); ... | 312 | | std::io::Error::new(std::io::ErrorKind::Other, e) 313 | | })), | |_______________^ the trait `futures::Stream` is not implemented for `MapErr<UnsyncBoxBody<Bytes, Box<dyn Error + Send + Sync>>, {closure@mod.rs:302:55}>` | = help: the following other types implement trait `futures::Stream`: futures::futures_channel::mpsc::Receiver<T> futures::futures_channel::mpsc::UnboundedReceiver<T> tokio_util::sync::PollSemaphore std::boxed::Box<S> tokio_tungstenite::WebSocketStream<T> http_body_util::StreamBody<S> http_body_util::BodyStream<B> tokio_util::either::Either<L, R> and 91 others = note: required for `StreamReader<MapErr<UnsyncBoxBody<Bytes, Box<dyn Error + Send + Sync>>, {closure@mod.rs:302:55}>, _>` to implement `tokio::io::AsyncRead` = note: the full type name has been written to '/home/runner/work/kube/kube/target/debug/deps/kube_client-eb04f9075def37d2.long-type-10611284403086503815.txt' note: required by a bound in `tokio_util::codec::FramedRead::<T, D>::new` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-util-0.7.10/src/codec/framed_read.rs:29:8 | 29 | T: AsyncRead, | ^^^^^^^^^ required by this bound in `FramedRead::<T, D>::new` ... 33 | pub fn new(inner: T, decoder: D) -> FramedRead<T, D> { | --- required by a bound in this associated function
the trait bound `http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>: futures::Stream` is not satisfied: kube-client/src/client/mod.rs#L302
error[E0277]: the trait bound `http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:302:55: 302:58}>: futures::Stream` is not satisfied --> kube-client/src/client/mod.rs:302:31 | 302 | StreamReader::new(res.into_body().map_err(|e| { | _____________-----------------_^ | | | | | required by a bound introduced by this call 303 | | // Client timeout. This will be ignored. 304 | | if e.is_timeout() { 305 | | return std::io::Error::new(std::io::ErrorKind::TimedOut, e); ... | 312 | | std::io::Error::new(std::io::ErrorKind::Other, e) 313 | | })), | |______________^ the trait `futures::Stream` is not implemented for `MapErr<UnsyncBoxBody<Bytes, Box<dyn Error + Send + Sync>>, {closure@mod.rs:302:55}>` | = help: the following other types implement trait `futures::Stream`: futures::futures_channel::mpsc::Receiver<T> futures::futures_channel::mpsc::UnboundedReceiver<T> tokio_util::sync::PollSemaphore std::boxed::Box<S> tokio_tungstenite::WebSocketStream<T> http_body_util::StreamBody<S> http_body_util::BodyStream<B> tokio_util::either::Either<L, R> and 91 others note: required by a bound in `tokio_util::io::StreamReader::<S, B>::new` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-util-0.7.10/src/io/stream_reader.rs:165:8 | 165 | S: Stream<Item = Result<B, E>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StreamReader::<S, B>::new` ... 178 | pub fn new(stream: S) -> Self { | --- required by a bound in this associated function
no method named `is_timeout` found for struct `std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>` in the current scope: kube-client/src/client/mod.rs#L304
error[E0599]: no method named `is_timeout` found for struct `std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>` in the current scope --> kube-client/src/client/mod.rs:304:22 | 304 | if e.is_timeout() { | ^^^^^^^^^^ method not found in `Box<dyn Error + Send + Sync>`
the method `into_async_read` exists for struct `MapErr<UnsyncBoxBody<Bytes, Box<dyn Error + Send + Sync>>, {closure@mod.rs:262:22}>`, but its trait bounds were not satisfied: kube-client/src/client/mod.rs#L263
error[E0599]: the method `into_async_read` exists for struct `MapErr<UnsyncBoxBody<Bytes, Box<dyn Error + Send + Sync>>, {closure@mod.rs:262:22}>`, but its trait bounds were not satisfied --> kube-client/src/client/mod.rs:263:17 | 263 | Ok(body.into_async_read()) | ^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-body-util-0.1.0/src/combinators/map_err.rs:10:1 | 10 | / pin_project! { 11 | | /// Body returned by the [`map_err`] combinator. 12 | | /// 13 | | /// [`map_err`]: crate::BodyExt::map_err ... | 19 | | } 20 | | } | | - | | | | |_doesn't satisfy `_: TryStreamExt` | doesn't satisfy `_: TryStream` | = note: the full type name has been written to '/home/runner/work/kube/kube/target/debug/deps/kube_client-eb04f9075def37d2.long-type-8339735360093538163.txt' = note: the following trait bounds were not satisfied: `http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:262:22: 262:25}>: futures::TryStream` which is required by `http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:262:22: 262:25}>: futures::TryStreamExt` `&http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:262:22: 262:25}>: futures::TryStream` which is required by `&http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:262:22: 262:25}>: futures::TryStreamExt` `&mut http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:262:22: 262:25}>: futures::TryStream` which is required by `&mut http_body_util::combinators::MapErr<http_body_util::combinators::UnsyncBoxBody<bytes::Bytes, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>, {closure@kube-client/src/client/mod.rs:262:22: 262:25}>: futures::TryStreamExt`
cannot find type `OAuthError` in this scope: kube-client/src/client/auth/mod.rs#L94
error[E0412]: cannot find type `OAuthError` in this scope --> kube-client/src/client/auth/mod.rs:94:21 | 94 | OAuth(#[source] OAuthError), | ^^^^^^^^^^ not found in this scope
failed to resolve: use of undeclared crate or module `oauth`: kube-client/src/client/auth/mod.rs#L469
error[E0433]: failed to resolve: use of undeclared crate or module `oauth` --> kube-client/src/client/auth/mod.rs:469:13 | 469 | oauth::Gcp::default_credentials_with_scopes(provider.config.get("scopes")) | ^^^^^ use of undeclared crate or module `oauth`
failed to resolve: use of undeclared crate or module `oidc`: kube-client/src/client/auth/mod.rs#L387
error[E0433]: failed to resolve: use of undeclared crate or module `oidc` --> kube-client/src/client/auth/mod.rs:387:5 | 387 | oidc::Oidc::from_config(&provider.config) | ^^^^ use of undeclared crate or module `oidc` | help: there is an enum variant `crate::client::AuthError::Oidc` and 3 others; try using the variant's enum | 387 | crate::client::AuthError(&provider.config) | ~~~~~~~~~~~~~~~~~~~~~~~~ 387 | crate::client::auth::ProviderToken(&provider.config) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 387 | crate::client::auth::RefreshableToken(&provider.config) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unresolved import `auth::oidc_errors`: kube-client/src/client/mod.rs#L59
error[E0432]: unresolved import `auth::oidc_errors` --> kube-client/src/client/mod.rs:59:9 | 59 | pub use auth::oidc_errors; | ^^^^^^^^^^^^^^^^^ no `oidc_errors` in `client::auth`
unresolved import `auth::OAuthError`: kube-client/src/client/mod.rs#L55
error[E0432]: unresolved import `auth::OAuthError` --> kube-client/src/client/mod.rs:55:9 | 55 | pub use auth::OAuthError; | ^^^^^^^^^^^^^^^^ no `OAuthError` in `client::auth`
rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1.0.7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1.0.7. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unused imports: `Scope`, `verbs`: kube-client/src/discovery/apigroup.rs#L4
warning: unused imports: `Scope`, `verbs` --> kube-client/src/discovery/apigroup.rs:4:32 | 4 | pub use kube_core::discovery::{verbs, ApiCapabilities, ApiResource, Scope}; | ^^^^^ ^^^^^ | = note: `#[warn(unused_imports)]` on by default