fix: build-rust pipeline #2
validate_pr_title.yml
on: pull_request_target
Validate PR title
2s
Annotations
1 error
unresolved imports `hyper::service::make_service_fn`, `hyper::Body`, `hyper::Server`:
components/util/src/metrics/mod.rs#L17
error[E0432]: unresolved imports `hyper::service::make_service_fn`, `hyper::Body`, `hyper::Server`
--> components/util/src/metrics/mod.rs:17:15
|
17 | service::{make_service_fn, service_fn},
| ^^^^^^^^^^^^^^^ no `make_service_fn` in `service`
18 | Body, Method, Request, Response, Server, StatusCode,
| ^^^^ no `Body` in the root ^^^^^^ no `Server` in the root
|
= help: consider importing this trait instead:
hyper::body::Body
help: a similar name exists in the module
|
17 | service::{service_fn, service_fn},
| ~~~~~~~~~~
help: a similar name exists in the module
|
18 | body, Method, Request, Response, Server, StatusCode,
| ~~~~
help: a similar name exists in the module
|
18 | Body, Method, Request, Response, server, StatusCode,
| ~~~~~~
|