chore(deps): upgrade to hyper 1.x #1276
Annotations
10 errors
Run just check-crate linkerd-proxy-http:
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`
|
Run just check-crate linkerd-proxy-http:
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`
|
Run just check-crate linkerd-proxy-http:
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>>,
|
|
Run just check-crate linkerd-proxy-http:
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>>,
|
|
Run just check-crate linkerd-proxy-http:
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()
|
|
Run just check-crate linkerd-proxy-http:
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()
|
|
Run just check-crate linkerd-proxy-http:
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>;
|
|
Run just check-crate linkerd-proxy-http:
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`
|
Run just check-crate linkerd-proxy-http:
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`
|
Run just check-crate linkerd-proxy-http:
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>>,
|
|
Loading