log: update to env_logger 0.10 to fix GHSA-g98v-hv3f-hcfr (#2740) #4800
GitHub Actions / clippy
failed
Oct 12, 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.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
Annotations
Check failure on line 92 in examples/examples/hyper-echo.rs
github-actions / clippy
unused import: `tracing_log::env_logger::BuilderExt`
error: unused import: `tracing_log::env_logger::BuilderExt`
--> examples/examples/hyper-echo.rs:92:9
|
92 | use tracing_log::env_logger::BuilderExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
Check failure on line 101 in examples/examples/hyper-echo.rs
github-actions / clippy
no method named `emit_traces` found for mutable reference `&mut env_logger::Builder` in the current scope
error[E0599]: no method named `emit_traces` found for mutable reference `&mut env_logger::Builder` in the current scope
--> examples/examples/hyper-echo.rs:101:10
|
98 | / builder
99 | | .filter(Some("hyper_echo"), log::LevelFilter::Off)
100 | | .filter(Some("hyper"), log::LevelFilter::Trace)
101 | | .emit_traces() // from `tracing_log::env_logger::BuilderExt`
| | -^^^^^^^^^^^ method not found in `&mut Builder`
| |_________|
|
Loading