add async io adaptor. #1523
Annotations
12 errors and 12 warnings
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncWrite` is not satisfied:
web/src/server.rs#L308
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncWrite` is not satisfied
--> web/src/server.rs:308:66
|
308 | self.builder = self.builder.bind_unix("xitca-web", path, service)?;
| --------- ^^^^^^^ the trait `tokio::io::AsyncWrite` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncWrite`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::send_stream::SendStream
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
tokio_util::io::inspect::InspectWriter<W, F>
and 24 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-6234567636853006891.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-17578338673926459138.txt'
= note: consider using `--verbose` to print the full type name to the console
|
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied:
web/src/server.rs#L308
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied
--> web/src/server.rs:308:66
|
308 | self.builder = self.builder.bind_unix("xitca-web", path, service)?;
| --------- ^^^^^^^ the trait `tokio::io::AsyncRead` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncRead`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::recv_stream::RecvStream
tokio_util::io::stream_reader::StreamReader<S, B>
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
and 25 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-6234567636853006891.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-17578338673926459138.txt'
= note: consider using `--verbose` to print the full type name to the console
|
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncWrite` is not satisfied:
web/src/server.rs#L199
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncWrite` is not satisfied
--> web/src/server.rs:199:67
|
199 | self.builder = self.builder.listen("xitca-web", listener, service);
| ------ ^^^^^^^ the trait `tokio::io::AsyncWrite` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncWrite`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::send_stream::SendStream
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
tokio_util::io::inspect::InspectWriter<W, F>
and 24 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-6234567636853006891.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-17578338673926459138.txt'
= note: consider using `--verbose` to print the full type name to the console
|
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied:
web/src/server.rs#L199
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied
--> web/src/server.rs:199:67
|
199 | self.builder = self.builder.listen("xitca-web", listener, service);
| ------ ^^^^^^^ the trait `tokio::io::AsyncRead` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncRead`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::recv_stream::RecvStream
tokio_util::io::stream_reader::StreamReader<S, B>
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
and 25 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-6234567636853006891.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-17578338673926459138.txt'
= note: consider using `--verbose` to print the full type name to the console
|
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncWrite` is not satisfied:
web/src/server.rs#L183
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncWrite` is not satisfied
--> web/src/server.rs:183:61
|
183 | self.builder = self.builder.bind("xitca-web", addr, service)?;
| ---- ^^^^^^^ the trait `tokio::io::AsyncWrite` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncWrite`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::send_stream::SendStream
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
tokio_util::io::inspect::InspectWriter<W, F>
and 24 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-6234567636853006891.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-17578338673926459138.txt'
= note: consider using `--verbose` to print the full type name to the console
|
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied:
web/src/server.rs#L183
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied
--> web/src/server.rs:183:61
|
183 | self.builder = self.builder.bind("xitca-web", addr, service)?;
| ---- ^^^^^^^ the trait `tokio::io::AsyncRead` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncRead`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::recv_stream::RecvStream
tokio_util::io::stream_reader::StreamReader<S, B>
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
and 25 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-6234567636853006891.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-efeb894c9ee020c3.long-type-17578338673926459138.txt'
= note: consider using `--verbose` to print the full type name to the console
|
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied:
web/src/server.rs#L308
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied
--> web/src/server.rs:308:66
|
308 | self.builder = self.builder.bind_unix("xitca-web", path, service)?;
| --------- ^^^^^^^ the trait `tokio::io::AsyncRead` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncRead`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::recv_stream::RecvStream
tokio_util::io::stream_reader::StreamReader<S, B>
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
and 25 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-9696a40db6bd9ba1.long-type-1811818584138796190.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-9696a40db6bd9ba1.long-type-15905372992818757535.txt'
= note: consider using `--verbose` to print the full type name to the console
|
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncWrite` is not satisfied:
web/src/server.rs#L199
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncWrite` is not satisfied
--> web/src/server.rs:199:67
|
199 | self.builder = self.builder.listen("xitca-web", listener, service);
| ------ ^^^^^^^ the trait `tokio::io::AsyncWrite` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncWrite`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::send_stream::SendStream
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
tokio_util::io::inspect::InspectWriter<W, F>
and 24 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-9696a40db6bd9ba1.long-type-1811818584138796190.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-9696a40db6bd9ba1.long-type-15905372992818757535.txt'
= note: consider using `--verbose` to print the full type name to the console
|
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied:
web/src/server.rs#L199
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied
--> web/src/server.rs:199:67
|
199 | self.builder = self.builder.listen("xitca-web", listener, service);
| ------ ^^^^^^^ the trait `tokio::io::AsyncRead` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncRead`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::recv_stream::RecvStream
tokio_util::io::stream_reader::StreamReader<S, B>
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
and 25 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-9696a40db6bd9ba1.long-type-1811818584138796190.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-9696a40db6bd9ba1.long-type-15905372992818757535.txt'
= note: consider using `--verbose` to print the full type name to the console
|
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncWrite` is not satisfied:
web/src/server.rs#L183
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncWrite` is not satisfied
--> web/src/server.rs:183:61
|
183 | self.builder = self.builder.bind("xitca-web", addr, service)?;
| ---- ^^^^^^^ the trait `tokio::io::AsyncWrite` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncWrite`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::send_stream::SendStream
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
tokio_util::io::inspect::InspectWriter<W, F>
and 24 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-9696a40db6bd9ba1.long-type-1811818584138796190.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-9696a40db6bd9ba1.long-type-15905372992818757535.txt'
= note: consider using `--verbose` to print the full type name to the console
|
the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied:
web/src/server.rs#L183
error[E0277]: the trait bound `xitca_io::net::tcp::TcpStream: tokio::io::AsyncRead` is not satisfied
--> web/src/server.rs:183:61
|
183 | self.builder = self.builder.bind("xitca-web", addr, service)?;
| ---- ^^^^^^^ the trait `tokio::io::AsyncRead` is not implemented for `xitca_io::net::tcp::TcpStream`, which is required by `xitca_service::pipeline::PipelineT<std::sync::Arc<S>, xitca_http::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>: xitca_server::server::service::IntoServiceObj<_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `tokio::io::AsyncRead`:
xitca_http::tls::native_tls::TlsStream<Io>
xitca_io::io::PollIoAdapter<T>
std::boxed::Box<T>
tokio::fs::File
quinn::recv_stream::RecvStream
tokio_util::io::stream_reader::StreamReader<S, B>
tokio_util::either::Either<L, R>
tokio_util::io::sink_writer::SinkWriter<S>
and 25 others
= note: required for `HttpService<Stream, <S as Service>::Response, RequestBody, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>` to implement `xitca_service::Service<xitca_io::net::Stream>`
= note: required for `PipelineT<Arc<S>, HttpServiceBuilder<Http, Stream, ..., HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>, ...>` to implement `xitca_server::server::service::IntoServiceObj<xitca_io::net::Stream>`
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`
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-9696a40db6bd9ba1.long-type-1811818584138796190.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the full name for the type has been written to '/home/runner/work/xitca-web/xitca-web/target/debug/deps/xitca_web-9696a40db6bd9ba1.long-type-15905372992818757535.txt'
= note: consider using `--verbose` to print the full type name to the console
|
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/
|