Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

fix(deps): update rust crate clap to v4

Sign in for the full log view
GitHub Actions / clippy failed Jul 17, 2023 in 0s

clippy

1 error, 2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 2
Note 0
Help 0

Versions

  • rustc 1.70.0 (90c541806 2023-05-31)
  • cargo 1.70.0 (ec8a8a0ca 2023-04-25)
  • clippy 0.1.70 (90c5418 2023-05-31)

Annotations

Check warning on line 174 in src/main.rs

See this annotation in the file changed.

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

See this annotation in the file changed.

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

Check failure on line 3 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `clap::ArgEnum`

error[E0432]: unresolved import `clap::ArgEnum`
 --> src/main.rs:3:12
  |
3 | use clap::{ArgEnum, Parser};
  |            ^^^^^^^ no `ArgEnum` in the root