Skip to content

chore(deps): update gcr.io/distroless/cc docker digest to d62747f #1989

chore(deps): update gcr.io/distroless/cc docker digest to d62747f

chore(deps): update gcr.io/distroless/cc docker digest to d62747f #1989

GitHub Actions / clippy succeeded Mar 11, 2024 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check warning on line 94 in src/dns.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

accessing first element with `records.get(0)`

warning: accessing first element with `records.get(0)`
  --> src/dns.rs:94:17
   |
94 |         let r = records.get(0).unwrap();
   |                 ^^^^^^^^^^^^^^ help: try: `records.first()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
   = note: `#[warn(clippy::get_first)]` on by default

Check warning on line 21 in src/api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `MutexGuard` is held across an `await` point

warning: this `MutexGuard` is held across an `await` point
  --> src/api.rs:21:21
   |
21 |     let data = &mut data.unwrap();
   |                     ^^^^^^^^^^^^^
   |
   = help: consider using an async-aware `Mutex` type or ensuring the `MutexGuard` is dropped before calling await
note: these are all the `await` points this lock is held through
  --> src/api.rs:24:86
   |
24 |     let subdomain = subdomain::add(&data.api_client, &params.subdomain, &params.url).await;
   |                                                                                      ^^^^^
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
   = note: `#[warn(clippy::await_holding_lock)]` on by default