Update hyper requirement from 0.14 to 1.1 #11
GitHub Actions / clippy
failed
Dec 18, 2023 in 1s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b 2023-12-04)
Annotations
Check failure on line 2 in examples/examples/hyper.rs
github-actions / clippy
unresolved imports `hyper::Body`, `hyper::Server`
error[E0432]: unresolved imports `hyper::Body`, `hyper::Server`
--> examples/examples/hyper.rs:2:13
|
2 | use hyper::{Body, Request, Response, Server};
| ^^^^ ^^^^^^ no `Server` in the root
| |
| no `Body` in the root
|
= help: consider importing this trait instead:
hyper::body::Body
help: a similar name exists in the module
|
2 | use hyper::{body, Request, Response, Server};
| ~~~~
help: a similar name exists in the module
|
2 | use hyper::{Body, Request, Response, server};
| ~~~~~~
Check failure on line 1 in examples/examples/hyper.rs
github-actions / clippy
unresolved import `hyper::service::make_service_fn`
error[E0432]: unresolved import `hyper::service::make_service_fn`
--> examples/examples/hyper.rs:1:22
|
1 | use hyper::service::{make_service_fn, service_fn};
| ^^^^^^^^^^^^^^^
| |
| no `make_service_fn` in `service`
| help: a similar name exists in the module: `service_fn`
Loading