chore(deps): upgrade to hyper 1.x #1798
Annotations
3 errors
Run just arch=amd64 libc=gnu profile=release build:
linkerd/metrics/src/serve.rs#L44
error[E0433]: failed to resolve: could not find `Body` in `hyper`
--> linkerd/metrics/src/serve.rs:44:43
|
44 | .body(BoxBody::new(hyper::Body::from(writer.finish()?)))
| ^^^^ could not find `Body` in `hyper`
|
help: consider importing one of these traits
|
1 + use http_body::Body;
|
1 + use hyper::body::Body;
|
help: if you import `Body`, refer to it directly
|
44 - .body(BoxBody::new(hyper::Body::from(writer.finish()?)))
44 + .body(BoxBody::new(Body::from(writer.finish()?)))
|
|
Run just arch=amd64 libc=gnu profile=release build:
linkerd/metrics/src/serve.rs#L51
error[E0433]: failed to resolve: could not find `Body` in `hyper`
--> linkerd/metrics/src/serve.rs:51:43
|
51 | .body(BoxBody::new(hyper::Body::from(writer)))
| ^^^^ could not find `Body` in `hyper`
|
help: consider importing one of these traits
|
1 + use http_body::Body;
|
1 + use hyper::body::Body;
|
help: if you import `Body`, refer to it directly
|
51 - .body(BoxBody::new(hyper::Body::from(writer)))
51 + .body(BoxBody::new(Body::from(writer)))
|
|
Run just arch=amd64 libc=gnu profile=release build
Process completed with exit code 1.
|
Loading