Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hyper requirement from 0.14 to 1.1 #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Update hyper requirement from 0.14 to 1.1

3fef91f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Update hyper requirement from 0.14 to 1.1 #11

Update hyper requirement from 0.14 to 1.1
3fef91f
Select commit
Loading
Failed to load commit list.
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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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`