chore(deps): upgrade to hyper 1.x #1232
pr.yml
on: pull_request
Annotations
47 errors
rust-crates (linkerd-http-retry):
linkerd/http/retry/src/peek_trailers.rs#L141
error[E0407]: method `poll_data` is not a member of trait `Body`
--> linkerd/http/retry/src/peek_trailers.rs:141:5
|
141 | / fn poll_data(
142 | | self: Pin<&mut Self>,
143 | | cx: &mut Context<'_>,
144 | | ) -> Poll<Option<Result<Self::Data, Self::Error>>> {
... |
150 | | Pin::new(&mut this.inner).poll_data(cx)
151 | | }
| |_____^ not a member of trait `Body`
|
rust-crates (linkerd-http-retry):
linkerd/http/retry/src/peek_trailers.rs#L153
error[E0407]: method `poll_trailers` is not a member of trait `Body`
--> linkerd/http/retry/src/peek_trailers.rs:153:5
|
153 | / fn poll_trailers(
154 | | self: Pin<&mut Self>,
155 | | cx: &mut Context<'_>,
156 | | ) -> Poll<Result<Option<http::HeaderMap>, Self::Error>> {
... |
162 | | Pin::new(&mut this.inner).poll_trailers(cx)
163 | | }
| |_____^ not a member of trait `Body`
|
rust-crates (linkerd-http-retry):
linkerd/http/retry/src/replay.rs#L163
error[E0407]: method `poll_data` is not a member of trait `Body`
--> linkerd/http/retry/src/replay.rs:163:5
|
163 | / fn poll_data(
164 | | self: Pin<&mut Self>,
165 | | cx: &mut Context<'_>,
166 | | ) -> Poll<Option<Result<Self::Data, Self::Error>>> {
... |
248 | | Poll::Ready(Some(Ok(Data::Initial(chunk))))
249 | | }
| |_____^ not a member of trait `Body`
|
rust-crates (linkerd-http-retry):
linkerd/http/retry/src/replay.rs#L251
error[E0407]: method `poll_trailers` is not a member of trait `Body`
--> linkerd/http/retry/src/replay.rs:251:5
|
251 | / fn poll_trailers(
252 | | self: Pin<&mut Self>,
253 | | cx: &mut Context<'_>,
254 | | ) -> Poll<Result<Option<HeaderMap>, Self::Error>> {
... |
283 | | Poll::Ready(Ok(None))
284 | | }
| |_____^ not a member of trait `Body`
|
rust-crates (linkerd-http-retry):
linkerd/http/retry/src/peek_trailers.rs#L141
error[E0407]: method `poll_data` is not a member of trait `Body`
--> linkerd/http/retry/src/peek_trailers.rs:141:5
|
141 | / fn poll_data(
142 | | self: Pin<&mut Self>,
143 | | cx: &mut Context<'_>,
144 | | ) -> Poll<Option<Result<Self::Data, Self::Error>>> {
... |
150 | | Pin::new(&mut this.inner).poll_data(cx)
151 | | }
| |_____^ not a member of trait `Body`
|
rust-crates (linkerd-http-retry):
linkerd/http/retry/src/peek_trailers.rs#L153
error[E0407]: method `poll_trailers` is not a member of trait `Body`
--> linkerd/http/retry/src/peek_trailers.rs:153:5
|
153 | / fn poll_trailers(
154 | | self: Pin<&mut Self>,
155 | | cx: &mut Context<'_>,
156 | | ) -> Poll<Result<Option<http::HeaderMap>, Self::Error>> {
... |
162 | | Pin::new(&mut this.inner).poll_trailers(cx)
163 | | }
| |_____^ not a member of trait `Body`
|
rust-crates (linkerd-http-retry):
linkerd/http/retry/src/replay.rs#L163
error[E0407]: method `poll_data` is not a member of trait `Body`
--> linkerd/http/retry/src/replay.rs:163:5
|
163 | / fn poll_data(
164 | | self: Pin<&mut Self>,
165 | | cx: &mut Context<'_>,
166 | | ) -> Poll<Option<Result<Self::Data, Self::Error>>> {
... |
248 | | Poll::Ready(Some(Ok(Data::Initial(chunk))))
249 | | }
| |_____^ not a member of trait `Body`
|
rust-crates (linkerd-http-retry):
linkerd/http/retry/src/replay.rs#L251
error[E0407]: method `poll_trailers` is not a member of trait `Body`
--> linkerd/http/retry/src/replay.rs:251:5
|
251 | / fn poll_trailers(
252 | | self: Pin<&mut Self>,
253 | | cx: &mut Context<'_>,
254 | | ) -> Poll<Result<Option<HeaderMap>, Self::Error>> {
... |
283 | | Poll::Ready(Ok(None))
284 | | }
| |_____^ not a member of trait `Body`
|
rust-crates (linkerd-http-retry):
linkerd/http/retry/src/replay.rs#L835
error[E0433]: failed to resolve: could not find `Body` in `hyper`
--> linkerd/http/retry/src/replay.rs:835:37
|
835 | let (mut tx, body) = hyper::Body::channel();
| ^^^^ could not find `Body` in `hyper`
|
help: consider importing one of these traits
|
502 + use crate::replay::Body;
|
502 + use http_body::Body;
|
502 + use hyper::body::Body;
|
help: if you import `Body`, refer to it directly
|
835 - let (mut tx, body) = hyper::Body::channel();
835 + let (mut tx, body) = Body::channel();
|
|
rust-crates (linkerd-http-retry):
linkerd/http/retry/src/replay.rs#L868
error[E0433]: failed to resolve: could not find `Body` in `hyper`
--> linkerd/http/retry/src/replay.rs:868:37
|
868 | let (mut tx, body) = hyper::Body::channel();
| ^^^^ could not find `Body` in `hyper`
|
help: consider importing one of these traits
|
502 + use crate::replay::Body;
|
502 + use http_body::Body;
|
502 + use hyper::body::Body;
|
help: if you import `Body`, refer to it directly
|
868 - let (mut tx, body) = hyper::Body::channel();
868 + let (mut tx, body) = Body::channel();
|
|
rust-crates (linkerd-http-metrics)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-http-metrics)
The operation was canceled.
|
rust-crates (linkerd-metrics)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-metrics)
The operation was canceled.
|
rust-crates (hyper-balance)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (hyper-balance)
The operation was canceled.
|
rust-crates (linkerd-proxy-tap)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-proxy-tap):
linkerd/proxy/http/src/orig_proto.rs#L214
error[E0407]: method `poll_data` is not a member of trait `Body`
--> linkerd/proxy/http/src/orig_proto.rs:214:5
|
214 | / fn poll_data(
215 | | self: Pin<&mut Self>,
216 | | cx: &mut Context<'_>,
217 | | ) -> Poll<Option<Result<Self::Data, Self::Error>>> {
... |
221 | | .map_err(downgrade_h2_error)
222 | | }
| |_____^ not a member of trait `Body`
|
rust-crates (linkerd-proxy-tap):
linkerd/proxy/http/src/orig_proto.rs#L224
error[E0407]: method `poll_trailers` is not a member of trait `Body`
--> linkerd/proxy/http/src/orig_proto.rs:224:5
|
224 | / fn poll_trailers(
225 | | self: Pin<&mut Self>,
226 | | cx: &mut Context<'_>,
227 | | ) -> Poll<Result<Option<http::HeaderMap>, Self::Error>> {
... |
231 | | .map_err(downgrade_h2_error)
232 | | }
| |_____^ not a member of trait `Body`
|
rust-crates (linkerd-proxy-tap):
linkerd/proxy/http/src/h1.rs#L36
error[E0412]: cannot find type `Client` in crate `hyper`
--> linkerd/proxy/http/src/h1.rs:36:34
|
36 | absolute_form: Option<hyper::Client<HyperConnect<C, T>, B>>,
| ^^^^^^ not found in `hyper`
|
help: consider importing this enum
|
1 + use crate::client::Client;
|
help: if you import `Client`, refer to it directly
|
36 - absolute_form: Option<hyper::Client<HyperConnect<C, T>, B>>,
36 + absolute_form: Option<Client<HyperConnect<C, T>, B>>,
|
|
rust-crates (linkerd-proxy-tap):
linkerd/proxy/http/src/h1.rs#L37
error[E0412]: cannot find type `Client` in crate `hyper`
--> linkerd/proxy/http/src/h1.rs:37:32
|
37 | origin_form: Option<hyper::Client<HyperConnect<C, T>, B>>,
| ^^^^^^ not found in `hyper`
|
help: consider importing this enum
|
1 + use crate::client::Client;
|
help: if you import `Client`, refer to it directly
|
37 - origin_form: Option<hyper::Client<HyperConnect<C, T>, B>>,
37 + origin_form: Option<Client<HyperConnect<C, T>, B>>,
|
|
rust-crates (linkerd-proxy-tap):
linkerd/proxy/http/src/h1.rs#L97
error[E0433]: failed to resolve: could not find `Client` in `hyper`
--> linkerd/proxy/http/src/h1.rs:97:20
|
97 | hyper::Client::builder()
| ^^^^^^ could not find `Client` in `hyper`
|
help: consider importing one of these items
|
1 + use crate::client::Client;
|
1 + use crate::h1::Client;
|
help: if you import `Client`, refer to it directly
|
97 - hyper::Client::builder()
97 + Client::builder()
|
|
rust-crates (linkerd-proxy-tap):
linkerd/proxy/http/src/h1.rs#L123
error[E0433]: failed to resolve: could not find `Client` in `hyper`
--> linkerd/proxy/http/src/h1.rs:123:28
|
123 | hyper::Client::builder()
| ^^^^^^ could not find `Client` in `hyper`
|
help: consider importing one of these items
|
1 + use crate::client::Client;
|
1 + use crate::h1::Client;
|
help: if you import `Client`, refer to it directly
|
123 - hyper::Client::builder()
123 + Client::builder()
|
|
rust-crates (linkerd-proxy-tap):
linkerd/proxy/http/src/h2.rs#L150
error[E0412]: cannot find type `Body` in crate `hyper`
--> linkerd/proxy/http/src/h2.rs:150:43
|
150 | type Response = http::Response<hyper::Body>;
| ^^^^ not found in `hyper`
|
help: consider importing one of these items
|
1 + use crate::Body;
|
1 + use crate::balance::Body;
|
1 + use http_body::Body;
|
1 + use hyper::body::Body;
|
help: if you import `Body`, refer to it directly
|
150 - type Response = http::Response<hyper::Body>;
150 + type Response = http::Response<Body>;
|
|
rust-crates (linkerd-proxy-tap):
linkerd/proxy/http/src/orig_proto.rs#L201
error[E0046]: not all trait items implemented, missing: `poll_frame`
--> linkerd/proxy/http/src/orig_proto.rs:201:1
|
201 | / impl<B> Body for UpgradeResponseBody<B>
202 | | where
203 | | B: Body + Unpin,
204 | | B::Error: std::error::Error + Send + Sync + 'static,
| |________________________________________________________^ missing `poll_frame` in implementation
|
= help: implement the missing item: `fn poll_frame(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Option<Result<Frame<<Self as http_body::Body>::Data>, <Self as http_body::Body>::Error>>> { todo!() }`
|
rust-crates (linkerd-proxy-tap):
linkerd/proxy/http/src/client.rs#L90
error[E0282]: type annotations needed
--> linkerd/proxy/http/src/client.rs:90:56
|
90 | Params::Http1(params) => Client::Http1(h1::Client::new(connect, target, params)),
| ^^^^^^^^^^^^^^^ cannot infer type of the type parameter `B` declared on the struct `Client`
|
help: consider specifying the generic arguments
|
90 | Params::Http1(params) => Client::Http1(h1::Client::<C, T, B>::new(connect, target, params)),
| +++++++++++
|
rust-crates (linkerd-proxy-tap):
linkerd/proxy/http/src/h2.rs#L126
error[E0277]: the trait bound `<C as MakeConnection<(linkerd_http_version::Version, T)>>::Connection: hyper::rt::Read` is not satisfied
--> linkerd/proxy/http/src/h2.rs:126:32
|
126 | .handshake(io)
| --------- ^^ the trait `hyper::rt::Read` is not implemented for `<C as MakeConnection<(linkerd_http_version::Version, T)>>::Connection`
| |
| required by a bound introduced by this call
|
note: required by a bound in `hyper::client::conn::http2::Builder::<Ex>::handshake`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.5.2/src/client/conn/http2.rs:478:12
|
473 | pub fn handshake<T, B>(
| --------- required by a bound in this associated function
...
478 | T: Read + Write + Unpin,
| ^^^^ required by this bound in `Builder::<Ex>::handshake`
help: consider further restricting the associated type
|
71 | fn call(&mut self, target: T) -> Self::Future where <C as MakeConnection<(linkerd_http_version::Version, T)>>::Connection: hyper::rt::Read {
| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
rust-crates (linkerd-http-upgrade)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-http-upgrade)
The operation was canceled.
|
rust-crates (linkerd-app-integration)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-app-integration)
The operation was canceled.
|
rust-crates (linkerd-proxy-http)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-proxy-http)
The operation was canceled.
|
rust-crates (linkerd-app-outbound)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-app-outbound)
The operation was canceled.
|
rust-crates (linkerd-http-executor)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-http-executor)
A task was canceled.
|
rust-crates (linkerd-app-admin)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-app-admin)
The operation was canceled.
|
rust-crates (linkerd-app-inbound)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-app-inbound)
The operation was canceled.
|
rust-crates (linkerd-app-core)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-app-core)
The operation was canceled.
|
rust-crates (linkerd-app-test)
The job was canceled because "linkerd-http-retry" failed.
|
rust-crates (linkerd-app-test)
The operation was canceled.
|
linkerd-install
Process completed with exit code 1.
|
ship-it
Process completed with exit code 1.
|