Skip to content

build(deps): Bump http-body from 0.4.6 to 1.0.0 #1634

build(deps): Bump http-body from 0.4.6 to 1.0.0

build(deps): Bump http-body from 0.4.6 to 1.0.0 #1634

Triggered via pull request February 22, 2024 10:13
Status Failure
Total duration 1m 9s
Artifacts

check-all.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
check-all: linkerd/http-box/src/body.rs#L54
error[E0407]: method `poll_data` is not a member of trait `Body` --> linkerd/http-box/src/body.rs:54:5 | 54 | / fn poll_data( 55 | | mut self: Pin<&mut Self>, 56 | | cx: &mut Context<'_>, 57 | | ) -> Poll<Option<Result<Self::Data, Self::Error>>> { 58 | | self.as_mut().inner.as_mut().poll_data(cx) 59 | | } | |_____^ not a member of trait `Body`
check-all: linkerd/http-box/src/body.rs#L62
error[E0407]: method `poll_trailers` is not a member of trait `Body` --> linkerd/http-box/src/body.rs:62:5 | 62 | / fn poll_trailers( 63 | | mut self: Pin<&mut Self>, 64 | | cx: &mut Context<'_>, 65 | | ) -> Poll<Result<Option<HeaderMap<HeaderValue>>, Self::Error>> { 66 | | self.as_mut().inner.as_mut().poll_trailers(cx) 67 | | } | |_____^ not a member of trait `Body`
check-all: linkerd/http-box/src/body.rs#L107
error[E0407]: method `poll_data` is not a member of trait `Body` --> linkerd/http-box/src/body.rs:107:5 | 107 | / fn poll_data( 108 | | self: Pin<&mut Self>, 109 | | cx: &mut Context<'_>, 110 | | ) -> Poll<Option<Result<Self::Data, Self::Error>>> { ... | 116 | | })) 117 | | } | |_____^ not a member of trait `Body`
check-all: linkerd/http-box/src/body.rs#L120
error[E0407]: method `poll_trailers` is not a member of trait `Body` --> linkerd/http-box/src/body.rs:120:5 | 120 | / fn poll_trailers( 121 | | self: Pin<&mut Self>, 122 | | cx: &mut Context<'_>, 123 | | ) -> Poll<Result<Option<HeaderMap<HeaderValue>>, Self::Error>> { 124 | | Poll::Ready(futures::ready!(self.project().0.poll_trailers(cx)).map_err(Into::into)) 125 | | } | |_____^ not a member of trait `Body`
check-all: linkerd/http-box/src/body.rs#L147
error[E0407]: method `poll_data` is not a member of trait `Body` --> linkerd/http-box/src/body.rs:147:5 | 147 | / fn poll_data( 148 | | self: Pin<&mut Self>, 149 | | _: &mut Context<'_>, 150 | | ) -> Poll<Option<Result<Self::Data, Self::Error>>> { 151 | | Poll::Ready(None) 152 | | } | |_____^ not a member of trait `Body`
check-all: linkerd/http-box/src/body.rs#L154
error[E0407]: method `poll_trailers` is not a member of trait `Body` --> linkerd/http-box/src/body.rs:154:5 | 154 | / fn poll_trailers( 155 | | self: Pin<&mut Self>, 156 | | _: &mut Context<'_>, 157 | | ) -> Poll<Result<Option<HeaderMap<HeaderValue>>, Self::Error>> { 158 | | Poll::Ready(Ok(None)) 159 | | } | |_____^ not a member of trait `Body`
check-all: linkerd/http-box/src/body.rs#L44
error[E0046]: not all trait items implemented, missing: `poll_frame` --> linkerd/http-box/src/body.rs:44:1 | 44 | impl Body for BoxBody { | ^^^^^^^^^^^^^^^^^^^^^ 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 Body>::Data>, <Self as Body>::Error>>> { todo!() }`
check-all: linkerd/http-box/src/body.rs#L93
error[E0046]: not all trait items implemented, missing: `poll_frame` --> linkerd/http-box/src/body.rs:93:1 | 93 | / impl<B> Body for Inner<B> 94 | | where 95 | | B: Body, 96 | | B::Data: Send + 'static, 97 | | B::Error: Into<Error>, | |__________________________^ 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 Body>::Data>, <Self as Body>::Error>>> { todo!() }`
check-all: linkerd/http-box/src/body.rs#L139
error[E0046]: not all trait items implemented, missing: `poll_frame` --> linkerd/http-box/src/body.rs:139:1 | 139 | impl Body for NoBody { | ^^^^^^^^^^^^^^^^^^^^ 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 Body>::Data>, <Self as Body>::Error>>> { todo!() }`
check-all: linkerd/http-box/src/body.rs#L58
error[E0599]: no method named `poll_data` found for struct `Pin<&mut (dyn Body<Data = Data, Error = Box<(dyn std::error::Error + std::marker::Send + Sync + 'static)>> + std::marker::Send + 'static)>` in the current scope --> linkerd/http-box/src/body.rs:58:38 | 58 | self.as_mut().inner.as_mut().poll_data(cx) | ^^^^^^^^^ method not found in `Pin<&mut dyn Body<Data = Data, Error = Box<dyn Error + Send + Sync>> + Send>`