Update Rust crate hyper to v1 - autoclosed #49
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / clippy
failed
Dec 20, 2023 in 1s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
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 125 in src/http_handler.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/http_handler.rs:125:5
|
125 | axum::Server::bind(s).serve(app.into_make_service()).await
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `hyper::Error`, found `hyper::error::Error`
|
= note: `hyper::error::Error` and `hyper::Error` have similar names, but are actually distinct types
note: `hyper::error::Error` is defined in crate `hyper`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/error.rs:14:1
|
14 | pub struct Error {
| ^^^^^^^^^^^^^^^^
note: `hyper::Error` is defined in crate `hyper`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.1.0/src/error.rs:31:1
|
31 | pub struct Error {
| ^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `hyper` are being used?
Loading