Skip to content

chore(deps): upgrade to hyper 1.x #2055

chore(deps): upgrade to hyper 1.x

chore(deps): upgrade to hyper 1.x #2055

Triggered via pull request February 26, 2025 15:37
Status Failure
Total duration 2m 31s
Artifacts

release.yml

on: pull_request
Matrix: package
publish
8s
publish
release-ok
0s
release-ok
Fit to window
Zoom out
Zoom in

Annotations

12 errors
package (amd64, gnu): linkerd/app/src/spire.rs#L70
error[E0277]: the trait bound `tokio::net::UnixStream: hyper::rt::io::Read` is not satisfied --> linkerd/app/src/spire.rs:70:41 | 70 | .connect_with_connector(tower::util::service_fn(move |_: Uri| { | __________________----------------------_^ | | | | | required by a bound introduced by this call 71 | | UnixStream::connect(stripped_path.clone()) 72 | | })) | |__________________^ the trait `hyper::rt::io::Read` is not implemented for `tokio::net::UnixStream` | = help: the following other types implement trait `hyper::rt::io::Read`: &mut T Box<T> Pin<P> hyper::upgrade::Upgraded hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutStream<S> hyper_timeout::stream::TimeoutWriter<W> hyper_util::rt::tokio::TokioIo<T> linkerd_app_outbound::http::linkerd_http_upgrade::glue::Connection<C> note: required by a bound in `tonic::transport::Endpoint::connect_with_connector` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.12.3/src/transport/channel/endpoint.rs:367:22 | 364 | pub async fn connect_with_connector<C>(&self, connector: C) -> Result<Channel, Error> | ---------------------- required by a bound in this associated function ... 367 | C::Response: rt::Read + rt::Write + Send + Unpin, | ^^^^^^^^ required by this bound in `Endpoint::connect_with_connector`
package (amd64, gnu): linkerd/app/src/spire.rs#L70
error[E0277]: the trait bound `tokio::net::UnixStream: hyper::rt::io::Read` is not satisfied --> linkerd/app/src/spire.rs:70:41 | 70 | .connect_with_connector(tower::util::service_fn(move |_: Uri| { | __________________----------------------_^ | | | | | required by a bound introduced by this call 71 | | UnixStream::connect(stripped_path.clone()) 72 | | })) | |__________________^ the trait `hyper::rt::io::Read` is not implemented for `tokio::net::UnixStream` | = help: the following other types implement trait `hyper::rt::io::Read`: &mut T Box<T> Pin<P> hyper::upgrade::Upgraded hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutStream<S> hyper_timeout::stream::TimeoutWriter<W> hyper_util::rt::tokio::TokioIo<T> linkerd_app_outbound::http::linkerd_http_upgrade::glue::Connection<C> note: required by a bound in `tonic::transport::Endpoint::connect_with_connector` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.12.3/src/transport/channel/endpoint.rs:367:22 | 364 | pub async fn connect_with_connector<C>(&self, connector: C) -> Result<Channel, Error> | ---------------------- required by a bound in this associated function ... 367 | C::Response: rt::Read + rt::Write + Send + Unpin, | ^^^^^^^^ required by this bound in `Endpoint::connect_with_connector`
package (amd64, gnu): linkerd/app/src/spire.rs#L70
error[E0277]: the trait bound `tokio::net::UnixStream: hyper::rt::io::Write` is not satisfied --> linkerd/app/src/spire.rs:70:41 | 70 | .connect_with_connector(tower::util::service_fn(move |_: Uri| { | __________________----------------------_^ | | | | | required by a bound introduced by this call 71 | | UnixStream::connect(stripped_path.clone()) 72 | | })) | |__________________^ the trait `hyper::rt::io::Write` is not implemented for `tokio::net::UnixStream` | = help: the following other types implement trait `hyper::rt::io::Write`: &mut T Box<T> Pin<P> hyper::upgrade::Upgraded hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutStream<S> hyper_timeout::stream::TimeoutWriter<W> hyper_util::rt::tokio::TokioIo<T> linkerd_app_outbound::http::linkerd_http_upgrade::glue::Connection<C> note: required by a bound in `tonic::transport::Endpoint::connect_with_connector` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.12.3/src/transport/channel/endpoint.rs:367:33 | 364 | pub async fn connect_with_connector<C>(&self, connector: C) -> Result<Channel, Error> | ---------------------- required by a bound in this associated function ... 367 | C::Response: rt::Read + rt::Write + Send + Unpin, | ^^^^^^^^^ required by this bound in `Endpoint::connect_with_connector`
package (amd64, gnu): linkerd/app/src/spire.rs#L70
error[E0277]: the trait bound `tokio::net::UnixStream: hyper::rt::io::Write` is not satisfied --> linkerd/app/src/spire.rs:70:41 | 70 | .connect_with_connector(tower::util::service_fn(move |_: Uri| { | __________________----------------------_^ | | | | | required by a bound introduced by this call 71 | | UnixStream::connect(stripped_path.clone()) 72 | | })) | |__________________^ the trait `hyper::rt::io::Write` is not implemented for `tokio::net::UnixStream` | = help: the following other types implement trait `hyper::rt::io::Write`: &mut T Box<T> Pin<P> hyper::upgrade::Upgraded hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutStream<S> hyper_timeout::stream::TimeoutWriter<W> hyper_util::rt::tokio::TokioIo<T> linkerd_app_outbound::http::linkerd_http_upgrade::glue::Connection<C> note: required by a bound in `tonic::transport::Endpoint::connect_with_connector` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.12.3/src/transport/channel/endpoint.rs:367:33 | 364 | pub async fn connect_with_connector<C>(&self, connector: C) -> Result<Channel, Error> | ---------------------- required by a bound in this associated function ... 367 | C::Response: rt::Read + rt::Write + Send + Unpin, | ^^^^^^^^^ required by this bound in `Endpoint::connect_with_connector`
package (amd64, gnu): linkerd/app/src/spire.rs#L69
error[E0277]: the trait bound `tokio::net::UnixStream: hyper::rt::io::Read` is not satisfied --> linkerd/app/src/spire.rs:69:24 | 69 | let chan = Endpoint::try_from(TONIC_DEFAULT_URI)? | ________________________^ 70 | | .connect_with_connector(tower::util::service_fn(move |_: Uri| { 71 | | UnixStream::connect(stripped_path.clone()) 72 | | })) | |___________________^ the trait `hyper::rt::io::Read` is not implemented for `tokio::net::UnixStream` | = help: the following other types implement trait `hyper::rt::io::Read`: &mut T Box<T> Pin<P> hyper::upgrade::Upgraded hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutStream<S> hyper_timeout::stream::TimeoutWriter<W> hyper_util::rt::tokio::TokioIo<T> linkerd_app_outbound::http::linkerd_http_upgrade::glue::Connection<C> note: required by a bound in `tonic::transport::Endpoint::connect_with_connector` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.12.3/src/transport/channel/endpoint.rs:367:22 | 364 | pub async fn connect_with_connector<C>(&self, connector: C) -> Result<Channel, Error> | ---------------------- required by a bound in this associated function ... 367 | C::Response: rt::Read + rt::Write + Send + Unpin, | ^^^^^^^^ required by this bound in `Endpoint::connect_with_connector`
package (amd64, gnu): linkerd/app/src/spire.rs#L69
error[E0277]: the trait bound `tokio::net::UnixStream: hyper::rt::io::Write` is not satisfied --> linkerd/app/src/spire.rs:69:24 | 69 | let chan = Endpoint::try_from(TONIC_DEFAULT_URI)? | ________________________^ 70 | | .connect_with_connector(tower::util::service_fn(move |_: Uri| { 71 | | UnixStream::connect(stripped_path.clone()) 72 | | })) | |___________________^ the trait `hyper::rt::io::Write` is not implemented for `tokio::net::UnixStream` | = help: the following other types implement trait `hyper::rt::io::Write`: &mut T Box<T> Pin<P> hyper::upgrade::Upgraded hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutStream<S> hyper_timeout::stream::TimeoutWriter<W> hyper_util::rt::tokio::TokioIo<T> linkerd_app_outbound::http::linkerd_http_upgrade::glue::Connection<C> note: required by a bound in `tonic::transport::Endpoint::connect_with_connector` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.12.3/src/transport/channel/endpoint.rs:367:33 | 364 | pub async fn connect_with_connector<C>(&self, connector: C) -> Result<Channel, Error> | ---------------------- required by a bound in this associated function ... 367 | C::Response: rt::Read + rt::Write + Send + Unpin, | ^^^^^^^^^ required by this bound in `Endpoint::connect_with_connector`
package (amd64, gnu): linkerd/app/src/spire.rs#L73
error[E0277]: the trait bound `tokio::net::UnixStream: hyper::rt::io::Read` is not satisfied --> linkerd/app/src/spire.rs:73:18 | 73 | .await?; | ^^^^^ the trait `hyper::rt::io::Read` is not implemented for `tokio::net::UnixStream` | = help: the following other types implement trait `hyper::rt::io::Read`: &mut T Box<T> Pin<P> hyper::upgrade::Upgraded hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutStream<S> hyper_timeout::stream::TimeoutWriter<W> hyper_util::rt::tokio::TokioIo<T> linkerd_app_outbound::http::linkerd_http_upgrade::glue::Connection<C> note: required by a bound in `tonic::transport::Endpoint::connect_with_connector` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.12.3/src/transport/channel/endpoint.rs:367:22 | 364 | pub async fn connect_with_connector<C>(&self, connector: C) -> Result<Channel, Error> | ---------------------- required by a bound in this associated function ... 367 | C::Response: rt::Read + rt::Write + Send + Unpin, | ^^^^^^^^ required by this bound in `Endpoint::connect_with_connector`
package (amd64, gnu): linkerd/app/src/spire.rs#L73
error[E0277]: the trait bound `tokio::net::UnixStream: hyper::rt::io::Write` is not satisfied --> linkerd/app/src/spire.rs:73:18 | 73 | .await?; | ^^^^^ the trait `hyper::rt::io::Write` is not implemented for `tokio::net::UnixStream` | = help: the following other types implement trait `hyper::rt::io::Write`: &mut T Box<T> Pin<P> hyper::upgrade::Upgraded hyper_timeout::stream::TimeoutReader<R> hyper_timeout::stream::TimeoutStream<S> hyper_timeout::stream::TimeoutWriter<W> hyper_util::rt::tokio::TokioIo<T> linkerd_app_outbound::http::linkerd_http_upgrade::glue::Connection<C> note: required by a bound in `tonic::transport::Endpoint::connect_with_connector` --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.12.3/src/transport/channel/endpoint.rs:367:33 | 364 | pub async fn connect_with_connector<C>(&self, connector: C) -> Result<Channel, Error> | ---------------------- required by a bound in this associated function ... 367 | C::Response: rt::Read + rt::Write + Send + Unpin, | ^^^^^^^^^ required by this bound in `Endpoint::connect_with_connector`
package (amd64, gnu): linkerd/app/src/trace_collector.rs#L95
error[E0277]: the trait bound `hyper::body::incoming::Incoming: std::default::Default` is not satisfied --> linkerd/app/src/trace_collector.rs:95:25 | 90 | CollectorProtocol::OpenCensus => oc_collector::create_collector( | ------------------------------ required by a bound introduced by this call ... 95 | svc, | ^^^ the trait `std::default::Default` is not implemented for `hyper::body::incoming::Incoming`, which is required by `linkerd_app_core::linkerd_http_metrics::requests::ResponseBody<PendingUntilFirstDataBody<tower::load::peak_ewma::Handle, hyper::body::incoming::Incoming>, linkerd_app_core::classify::Eos>: std::default::Default` | = help: the trait `std::default::Default` is implemented for `linkerd_app_core::linkerd_http_metrics::requests::ResponseBody<B, C>` = note: required for `PendingUntilFirstDataBody<tower::load::peak_ewma::Handle, hyper::body::incoming::Incoming>` to implement `std::default::Default` = note: 1 redundant requirement hidden = note: required for `ResponseBody<PendingUntilFirstDataBody<Handle, Incoming>, Eos>` to implement `std::default::Default` note: required by a bound in `oc_collector::create_collector` --> linkerd/app/src/trace_collector/oc_collector.rs:24:22 | 12 | pub(super) fn create_collector<S>( | ---------------- required by a bound in this function ... 24 | S::ResponseBody: Default + Body<Data = tonic::codegen::Bytes> + Send + 'static, | ^^^^^^^ required by this bound in `create_collector` = note: the full name for the type has been written to '/__w/linkerd2-proxy/linkerd2-proxy/target/x86_64-unknown-linux-gnu/release/deps/linkerd_app-58cc7a8fb80d821e.long-type-15928320150489607369.txt' = note: consider using `--verbose` to print the full type name to the console
package (amd64, gnu): linkerd/app/src/trace_collector.rs#L90
error[E0277]: the trait bound `hyper::body::incoming::Incoming: std::default::Default` is not satisfied --> linkerd/app/src/trace_collector.rs:95:25 | 90 | CollectorProtocol::OpenCensus => oc_collector::create_collector( | ------------------------------ required by a bound introduced by this call ... 95 | svc, | ^^^ the trait `std::default::Default` is not implemented for `hyper::body::incoming::Incoming`, which is required by `linkerd_app_core::linkerd_http_metrics::requests::ResponseBody<PendingUntilFirstDataBody<tower::load::peak_ewma::Handle, hyper::body::incoming::Incoming>, linkerd_app_core::classify::Eos>: std::default::Default` | = help: the trait `std::default::Default` is implemented for `linkerd_app_core::linkerd_http_metrics::requests::ResponseBody<B, C>` = note: required for `PendingUntilFirstDataBody<tower::load::peak_ewma::Handle, hyper::body::incoming::Incoming>` to implement `std::default::Default` = note: 1 redundant requirement hidden = note: required for `ResponseBody<PendingUntilFirstDataBody<Handle, Incoming>, Eos>` to implement `std::default::Default` note: required by a bound in `oc_collector::create_collector` --> linkerd/app/src/trace_collector/oc_collector.rs:24:22 | 12 | pub(super) fn create_collector<S>( | ---------------- required by a bound in this function ... 24 | S::ResponseBody: Default + Body<Data = tonic::codegen::Bytes> + Send + 'static, | ^^^^^^^ required by this bound in `create_collector` = note: the full name for the type has been written to '/__w/linkerd2-proxy/linkerd2-proxy/target/x86_64-unknown-linux-gnu/release/deps/linkerd_app-58cc7a8fb80d821e.long-type-15928320150489607369.txt' = note: consider using `--verbose` to print the full type name to the console
publish
Process completed with exit code 1.
release-ok
Process completed with exit code 1.