hyper/http 1.0 bumps #2972
Annotations
12 errors and 10 warnings
cannot find type `ServerName` in module `rustls::client`:
kube-client/src/client/tls.rs#L112
error[E0412]: cannot find type `ServerName` in module `rustls::client`
--> kube-client/src/client/tls.rs:112:44
|
112 | _server_name: &rustls::client::ServerName,
| ^^^^^^^^^^ not found in `rustls::client`
|
help: consider importing one of these items
|
3 + use crate::client::tls::rustls_tls::rustls::pki_types::ServerName;
|
3 + use rustls::pki_types::ServerName;
|
help: if you import `ServerName`, refer to it directly
|
112 - _server_name: &rustls::client::ServerName,
112 + _server_name: &ServerName,
|
|
cannot find function `to_bytes` in module `body`:
kube-client/src/client/auth/oidc.rs#L419
error[E0425]: cannot find function `to_bytes` in module `body`
--> kube-client/src/client/auth/oidc.rs:419:26
|
419 | let body = body::to_bytes(response.into_body()).await?;
| ^^^^^^^^ not found in `body`
|
cannot find function `to_bytes` in module `body`:
kube-client/src/client/auth/oidc.rs#L331
error[E0425]: cannot find function `to_bytes` in module `body`
--> kube-client/src/client/auth/oidc.rs:331:30
|
331 | let body = body::to_bytes(response.into_body()).await?;
| ^^^^^^^^ not found in `body`
|
failed to resolve: could not find `Client` in `hyper`:
kube-client/src/client/auth/oidc.rs#L307
error[E0433]: failed to resolve: could not find `Client` in `hyper`
--> kube-client/src/client/auth/oidc.rs:307:35
|
307 | let https_client = hyper::Client::builder().build(https);
| ^^^^^^ could not find `Client` in `hyper`
|
help: consider importing one of these items
|
1 + use crate::Client;
|
1 + use hyper_util::client::legacy::Client;
|
help: if you import `Client`, refer to it directly
|
307 - let https_client = hyper::Client::builder().build(https);
307 + let https_client = Client::builder().build(https);
|
|
cannot find function `to_bytes` in module `hyper::body`:
kube-client/src/client/auth/oauth.rs#L131
error[E0425]: cannot find function `to_bytes` in module `hyper::body`
--> kube-client/src/client/auth/oauth.rs:131:42
|
131 | let bytes = hyper::body::to_bytes(body).await.map_err(Error::ConcatBuffers)?;
| ^^^^^^^^ not found in `hyper::body`
|
failed to resolve: could not find `Body` in `hyper`:
kube-client/src/client/auth/oauth.rs#L126
error[E0433]: failed to resolve: could not find `Body` in `hyper`
--> kube-client/src/client/auth/oauth.rs:126:49
|
126 | .request(request.map(hyper::Body::from))
| ^^^^ could not find `Body` in `hyper`
|
help: consider importing one of these items
|
1 + use crate::client::Body;
|
1 + use http_body::Body;
|
1 + use hyper::body::Body;
|
help: if you import `Body`, refer to it directly
|
126 - .request(request.map(hyper::Body::from))
126 + .request(request.map(Body::from))
|
|
cannot find type `Body` in crate `hyper`:
kube-client/src/client/auth/oauth.rs#L123
error[E0412]: cannot find type `Body` in crate `hyper`
--> kube-client/src/client/auth/oauth.rs:123:73
|
123 | let client = hyper::Client::builder().build::<_, hyper::Body>(https);
| ^^^^ not found in `hyper`
|
help: consider importing one of these items
|
1 + use crate::client::Body;
|
1 + use http_body::Body;
|
1 + use hyper::body::Body;
|
help: if you import `Body`, refer to it directly
|
123 - let client = hyper::Client::builder().build::<_, hyper::Body>(https);
123 + let client = hyper::Client::builder().build::<_, Body>(https);
|
|
failed to resolve: could not find `Client` in `hyper`:
kube-client/src/client/auth/oauth.rs#L123
error[E0433]: failed to resolve: could not find `Client` in `hyper`
--> kube-client/src/client/auth/oauth.rs:123:37
|
123 | let client = hyper::Client::builder().build::<_, hyper::Body>(https);
| ^^^^^^ could not find `Client` in `hyper`
|
help: consider importing one of these items
|
1 + use crate::Client;
|
1 + use hyper_util::client::legacy::Client;
|
help: if you import `Client`, refer to it directly
|
123 - let client = hyper::Client::builder().build::<_, hyper::Body>(https);
123 + let client = Client::builder().build::<_, hyper::Body>(https);
|
|
unresolved import `hyper::Body`:
kube-client/src/client/upgrade.rs#L2
error[E0432]: unresolved import `hyper::Body`
--> kube-client/src/client/upgrade.rs:2:5
|
2 | use hyper::Body;
| ^^^^^^^^^^^ no `Body` in the root
|
help: a similar name exists in the module
|
2 | use hyper::body;
| ~~~~
help: consider importing one of these items instead
|
2 | use crate::client::Body;
| ~~~~~~~~~~~~~~~~~~~
2 | use http_body::Body;
| ~~~~~~~~~~~~~~~
2 | use hyper::body::Body;
| ~~~~~~~~~~~~~~~~~
|
unresolved imports `rustls::client::HandshakeSignatureValid`, `rustls::client::ServerCertVerified`, `rustls::client::ServerCertVerifier`, `rustls::Certificate`, `rustls::PrivateKey`:
kube-client/src/client/tls.rs#L6
error[E0432]: unresolved imports `rustls::client::HandshakeSignatureValid`, `rustls::client::ServerCertVerified`, `rustls::client::ServerCertVerifier`, `rustls::Certificate`, `rustls::PrivateKey`
--> kube-client/src/client/tls.rs:6:18
|
6 | client::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier},
| ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `ServerCertVerifier` in `client`
| | |
| | no `ServerCertVerified` in `client`
| no `HandshakeSignatureValid` in `client`
7 | Certificate, ClientConfig, DigitallySignedStruct, PrivateKey,
| ^^^^^^^^^^^ no `Certificate` in the root ^^^^^^^^^^ no `PrivateKey` in the root
|
= help: consider importing one of these items instead:
crate::client::tls::rustls_tls::rustls::client::danger::HandshakeSignatureValid
rustls::client::danger::HandshakeSignatureValid
= help: consider importing one of these items instead:
crate::client::tls::rustls_tls::rustls::client::danger::ServerCertVerified
rustls::client::danger::ServerCertVerified
= help: consider importing one of these items instead:
crate::client::tls::rustls_tls::rustls::client::danger::ServerCertVerifier
rustls::client::danger::ServerCertVerifier
= help: consider importing one of these items instead:
crate::client::auth::Auth::Certificate
crate::client::tls::rustls_tls::rustls::HandshakeType::Certificate
crate::client::tls::rustls_tls::rustls::internal::msgs::handshake::HandshakePayload::Certificate
rustls::HandshakeType::Certificate
rustls::internal::msgs::handshake::HandshakePayload::Certificate
|
unresolved imports `hyper::client::HttpConnector`, `hyper::Client`:
kube-client/src/client/auth/oidc.rs#L9
error[E0432]: unresolved imports `hyper::client::HttpConnector`, `hyper::Client`
--> kube-client/src/client/auth/oidc.rs:9:19
|
9 | use hyper::{body, client::HttpConnector, http::Uri, Client, Request};
| ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^
| | |
| | no `Client` in the root
| | help: a similar name exists in the module (notice the capitalization): `client`
| no `HttpConnector` in `client`
|
= help: consider importing this struct instead:
hyper_util::client::legacy::connect::HttpConnector
= help: consider importing one of these items instead:
crate::Client
crate::client::ws::protocol::Role::Client
hyper_util::client::legacy::Client
rustls::Connection::Client
rustls::Side::Client
rustls::quic::Connection::Client
|
clippy_nightly
Clippy had exited with the 101 exit code
|
unused import: `kube_core::response::Status`:
kube-client/src/client/builder.rs#L11
warning: unused import: `kube_core::response::Status`
--> kube-client/src/client/builder.rs:11:9
|
11 | pub use kube_core::response::Status;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `hyper_tls::HttpsConnector`:
kube-client/src/client/builder.rs#L9
warning: unused import: `hyper_tls::HttpsConnector`
--> kube-client/src/client/builder.rs:9:5
|
9 | use hyper_tls::HttpsConnector;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Connection`:
kube-client/src/client/builder.rs#L6
warning: unused import: `Connection`
--> kube-client/src/client/builder.rs:6:52
|
6 | client::conn::http1::{Builder as HyperBuilder, Connection},
| ^^^^^^^^^^
|
unused imports: `StreamBody`, `combinators::BoxBody`:
kube-client/src/client/builder.rs#L3
warning: unused imports: `StreamBody`, `combinators::BoxBody`
--> kube-client/src/client/builder.rs:3:22
|
3 | use http_body_util::{combinators::BoxBody, BodyExt, StreamBody};
| ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^
|
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
|
clippy_nightly
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy_nightly
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/
|
clippy_nightly
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/
|
clippy_nightly
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/
|
clippy_nightly
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/
|