Skip to content

logger refactor.

logger refactor. #1463

Triggered via pull request February 9, 2024 09:50
Status Failure
Total duration 56s
Artifacts

clippy-fmt.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 12 warnings
the trait bound `HttpServiceError<<<S as xitca_service::Service>::Response as xitca_service::Service<xitca_http::Request<xitca_http::http::RequestExt<xitca_http::RequestBody>>>>::Error, BE>: std::error::Error` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L323
error[E0277]: the trait bound `HttpServiceError<<<S as xitca_service::Service>::Response as xitca_service::Service<xitca_http::Request<xitca_http::http::RequestExt<xitca_http::RequestBody>>>>::Error, BE>: std::error::Error` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:323:66 | 323 | self.builder = self.builder.bind_unix("xitca-web", path, service)?; | --------- ^^^^^^^ the trait `std::error::Error` is not implemented for `HttpServiceError<<<S as Service>::Response as Service<Request<RequestExt<RequestBody>>>>::Error, BE>`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::bind_unix` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:209:12 | 205 | pub fn bind_unix<N, P, F, St>(self, name: N, path: P, service: F) -> io::Result<Self> | --------- required by a bound in this associated function ... 209 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::bind_unix`
the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<HeaderMap>` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L323
error[E0277]: the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<HeaderMap>` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:323:66 | 323 | self.builder = self.builder.bind_unix("xitca-web", path, service)?; | --------- ^^^^^^^ the trait `xitca_http::http::BorrowReq<HeaderMap>` is not implemented for `xitca_io::net::Stream`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `xitca_http::http::BorrowReq<T>`: <WebContext<'_, C, B> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<xitca_http::http::RequestExt<B>> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<HeaderMap>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Method>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Uri>> <xitca_http::util::middleware::context::Context<'_, Req, C> as xitca_http::http::BorrowReq<T>> = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::bind_unix` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:209:12 | 205 | pub fn bind_unix<N, P, F, St>(self, name: N, path: P, service: F) -> io::Result<Self> | --------- required by a bound in this associated function ... 209 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::bind_unix`
the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Uri>` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L323
error[E0277]: the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Uri>` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:323:66 | 323 | self.builder = self.builder.bind_unix("xitca-web", path, service)?; | --------- ^^^^^^^ the trait `xitca_http::http::BorrowReq<xitca_http::http::Uri>` is not implemented for `xitca_io::net::Stream`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `xitca_http::http::BorrowReq<T>`: <WebContext<'_, C, B> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<xitca_http::http::RequestExt<B>> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<HeaderMap>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Method>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Uri>> <xitca_http::util::middleware::context::Context<'_, Req, C> as xitca_http::http::BorrowReq<T>> = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::bind_unix` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:209:12 | 205 | pub fn bind_unix<N, P, F, St>(self, name: N, path: P, service: F) -> io::Result<Self> | --------- required by a bound in this associated function ... 209 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::bind_unix`
the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Method>` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L323
error[E0277]: the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Method>` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:323:66 | 323 | self.builder = self.builder.bind_unix("xitca-web", path, service)?; | --------- ^^^^^^^ the trait `xitca_http::http::BorrowReq<xitca_http::http::Method>` is not implemented for `xitca_io::net::Stream`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `xitca_http::http::BorrowReq<T>`: <WebContext<'_, C, B> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<xitca_http::http::RequestExt<B>> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<HeaderMap>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Method>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Uri>> <xitca_http::util::middleware::context::Context<'_, Req, C> as xitca_http::http::BorrowReq<T>> = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::bind_unix` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:209:12 | 205 | pub fn bind_unix<N, P, F, St>(self, name: N, path: P, service: F) -> io::Result<Self> | --------- required by a bound in this associated function ... 209 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::bind_unix`
the trait bound `HttpServiceError<<<S as xitca_service::Service>::Response as xitca_service::Service<xitca_http::Request<xitca_http::http::RequestExt<xitca_http::RequestBody>>>>::Error, BE>: std::error::Error` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L208
error[E0277]: the trait bound `HttpServiceError<<<S as xitca_service::Service>::Response as xitca_service::Service<xitca_http::Request<xitca_http::http::RequestExt<xitca_http::RequestBody>>>>::Error, BE>: std::error::Error` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:208:67 | 208 | self.builder = self.builder.listen("xitca-web", listener, service); | ------ ^^^^^^^ the trait `std::error::Error` is not implemented for `HttpServiceError<<<S as Service>::Response as Service<Request<RequestExt<RequestBody>>>>::Error, BE>`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::listen` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:137:12 | 134 | pub fn listen<N, F, St>(self, name: N, listener: net::TcpListener, service: F) -> Self | ------ required by a bound in this associated function ... 137 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::listen`
the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<HeaderMap>` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L208
error[E0277]: the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<HeaderMap>` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:208:67 | 208 | self.builder = self.builder.listen("xitca-web", listener, service); | ------ ^^^^^^^ the trait `xitca_http::http::BorrowReq<HeaderMap>` is not implemented for `xitca_io::net::Stream`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `xitca_http::http::BorrowReq<T>`: <WebContext<'_, C, B> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<xitca_http::http::RequestExt<B>> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<HeaderMap>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Method>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Uri>> <xitca_http::util::middleware::context::Context<'_, Req, C> as xitca_http::http::BorrowReq<T>> = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::listen` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:137:12 | 134 | pub fn listen<N, F, St>(self, name: N, listener: net::TcpListener, service: F) -> Self | ------ required by a bound in this associated function ... 137 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::listen`
the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Uri>` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L208
error[E0277]: the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Uri>` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:208:67 | 208 | self.builder = self.builder.listen("xitca-web", listener, service); | ------ ^^^^^^^ the trait `xitca_http::http::BorrowReq<xitca_http::http::Uri>` is not implemented for `xitca_io::net::Stream`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `xitca_http::http::BorrowReq<T>`: <WebContext<'_, C, B> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<xitca_http::http::RequestExt<B>> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<HeaderMap>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Method>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Uri>> <xitca_http::util::middleware::context::Context<'_, Req, C> as xitca_http::http::BorrowReq<T>> = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::listen` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:137:12 | 134 | pub fn listen<N, F, St>(self, name: N, listener: net::TcpListener, service: F) -> Self | ------ required by a bound in this associated function ... 137 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::listen`
the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Method>` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L208
error[E0277]: the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Method>` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:208:67 | 208 | self.builder = self.builder.listen("xitca-web", listener, service); | ------ ^^^^^^^ the trait `xitca_http::http::BorrowReq<xitca_http::http::Method>` is not implemented for `xitca_io::net::Stream`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `xitca_http::http::BorrowReq<T>`: <WebContext<'_, C, B> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<xitca_http::http::RequestExt<B>> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<HeaderMap>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Method>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Uri>> <xitca_http::util::middleware::context::Context<'_, Req, C> as xitca_http::http::BorrowReq<T>> = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::listen` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:137:12 | 134 | pub fn listen<N, F, St>(self, name: N, listener: net::TcpListener, service: F) -> Self | ------ required by a bound in this associated function ... 137 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::listen`
the trait bound `HttpServiceError<<<S as xitca_service::Service>::Response as xitca_service::Service<xitca_http::Request<xitca_http::http::RequestExt<xitca_http::RequestBody>>>>::Error, BE>: std::error::Error` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L188
error[E0277]: the trait bound `HttpServiceError<<<S as xitca_service::Service>::Response as xitca_service::Service<xitca_http::Request<xitca_http::http::RequestExt<xitca_http::RequestBody>>>>::Error, BE>: std::error::Error` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:188:61 | 188 | self.builder = self.builder.bind("xitca-web", addr, service)?; | ---- ^^^^^^^ the trait `std::error::Error` is not implemented for `HttpServiceError<<<S as Service>::Response as Service<Request<RequestExt<RequestBody>>>>::Error, BE>`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::bind` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:175:12 | 171 | pub fn bind<N, A, F, St>(self, name: N, addr: A, service: F) -> io::Result<Self> | ---- required by a bound in this associated function ... 175 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::bind`
the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<HeaderMap>` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L188
error[E0277]: the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<HeaderMap>` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:188:61 | 188 | self.builder = self.builder.bind("xitca-web", addr, service)?; | ---- ^^^^^^^ the trait `xitca_http::http::BorrowReq<HeaderMap>` is not implemented for `xitca_io::net::Stream`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `xitca_http::http::BorrowReq<T>`: <WebContext<'_, C, B> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<xitca_http::http::RequestExt<B>> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<HeaderMap>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Method>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Uri>> <xitca_http::util::middleware::context::Context<'_, Req, C> as xitca_http::http::BorrowReq<T>> = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::bind` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:175:12 | 171 | pub fn bind<N, A, F, St>(self, name: N, addr: A, service: F) -> io::Result<Self> | ---- required by a bound in this associated function ... 175 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::bind`
the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Uri>` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L188
error[E0277]: the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Uri>` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:188:61 | 188 | self.builder = self.builder.bind("xitca-web", addr, service)?; | ---- ^^^^^^^ the trait `xitca_http::http::BorrowReq<xitca_http::http::Uri>` is not implemented for `xitca_io::net::Stream`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `xitca_http::http::BorrowReq<T>`: <WebContext<'_, C, B> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<xitca_http::http::RequestExt<B>> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<HeaderMap>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Method>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Uri>> <xitca_http::util::middleware::context::Context<'_, Req, C> as xitca_http::http::BorrowReq<T>> = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::bind` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:175:12 | 171 | pub fn bind<N, A, F, St>(self, name: N, addr: A, service: F) -> io::Result<Self> | ---- required by a bound in this associated function ... 175 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::bind`
the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Method>` is not satisfied: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs#L188
error[E0277]: the trait bound `xitca_io::net::Stream: xitca_http::http::BorrowReq<xitca_http::http::Method>` is not satisfied --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xitca-web-0.2.2/src/server.rs:188:61 | 188 | self.builder = self.builder.bind("xitca-web", addr, service)?; | ---- ^^^^^^^ the trait `xitca_http::http::BorrowReq<xitca_http::http::Method>` is not implemented for `xitca_io::net::Stream`, which is required by `PipelineT<PipelineT<Arc<S>, HttpServiceBuilder<xitca_http::builder::marker::Http, xitca_io::net::Stream, xitca_http::tls::NoOpTlsAcceptorBuilder, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, xitca_service::pipeline::marker::BuildEnclosed>, Logger, xitca_service::pipeline::marker::BuildEnclosed>: xitca_server::server::service::IntoServiceObj<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `xitca_http::http::BorrowReq<T>`: <WebContext<'_, C, B> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<xitca_http::http::RequestExt<B>> as xitca_http::http::BorrowReq<T>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<HeaderMap>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Method>> <xitca_http::Request<Ext> as xitca_http::http::BorrowReq<xitca_http::http::Uri>> <xitca_http::util::middleware::context::Context<'_, Req, C> as xitca_http::http::BorrowReq<T>> = note: required for `LoggerService<HttpService<Stream, ..., ..., ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>>` to implement `xitca_service::Service<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-17284215119524360245.txt' = note: required for `PipelineT<PipelineT<Arc<S>, ..., ...>, ..., ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>` = note: the full type name has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-433aeb35abf43fd2.long-type-14714767430763518290.txt' note: required by a bound in `xitca_server::Builder::bind` --> /home/runner/work/xitca-web/xitca-web/server/src/builder.rs:175:12 | 171 | pub fn bind<N, A, F, St>(self, name: N, addr: A, service: F) -> io::Result<Self> | ---- required by a bound in this associated function ... 175 | F: IntoServiceObj<St>, | ^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::bind`
clippy
Clippy had exited with the 101 exit code
fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/