refactor: migrate web server to axum (lite) #371
GitHub Actions / clippy
failed
May 26, 2024 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.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check failure on line 103 in src/main.rs
github-actions / clippy
no method named `unwrap` found for struct `tracing::instrument::Instrumented` in the current scope
error[E0599]: no method named `unwrap` found for struct `tracing::instrument::Instrumented` in the current scope
--> src/main.rs:103:14
|
100 | // app.handle(req)
101 | || .await
| ||__________________- method `unwrap` is available on `std::result::Result<axum::http::Response<axum::body::Body>, axum::Error>`
102 | | .instrument(tracing::info_span!("@", %path))
103 | | .unwrap()
| | -^^^^^^ method not found in `Instrumented<Result<Response<Body>, Error>>`
| |______________|
|
Loading