This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
chore(deps): update envoyproxy/envoy docker tag to v1.31 #766
GitHub Actions / clippy
succeeded
Jul 19, 2024 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0 (129f3b996 2024-06-10)
- cargo 1.79.0 (ffa9cf99a 2024-06-03)
- clippy 0.1.79 (129f3b9 2024-06-10)
Annotations
Check warning on line 150 in src/main.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> src/main.rs:150:36
|
150 | base64::encode(&format!("{}:{}", username, password)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("{}:{}", username, password)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
Check warning on line 174 in src/main.rs
github-actions / clippy
use of deprecated function `base64::decode`: Use Engine::decode
warning: use of deprecated function `base64::decode`: Use Engine::decode
--> src/main.rs:174:31
|
174 | let payload = base64::decode(auth_header.replace("Basic ", "")).map_err(|e| {
| ^^^^^^
Check warning on line 150 in src/main.rs
github-actions / clippy
use of deprecated function `base64::encode`: Use Engine::encode
warning: use of deprecated function `base64::encode`: Use Engine::encode
--> src/main.rs:150:29
|
150 | base64::encode(&format!("{}:{}", username, password)),
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Loading