Skip to content

Bump log from 0.4.21 to 0.4.22 #2941

Bump log from 0.4.21 to 0.4.22

Bump log from 0.4.21 to 0.4.22 #2941

GitHub Actions / clippy failed Jul 9, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
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 failure on line 206 in northstar-runtime/src/runtime/fork/init/builder.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `if` has identical blocks

error: this `if` has identical blocks
   --> northstar-runtime/src/runtime/fork/init/builder.rs:199:31
    |
199 |           if options.is_empty() {
    |  _______________________________^
200 | |             log::debug!(
201 | |                 "Adding {} on {} with flags {}",
202 | |                 host.display(),
...   |
205 | |             );
206 | |         } else {
    | |_________^
    |
note: same as this
   --> northstar-runtime/src/runtime/fork/init/builder.rs:206:16
    |
206 |           } else {
    |  ________________^
207 | |             log::debug!(
208 | |                 "Adding {} on {} with flags {}",
209 | |                 host.display(),
...   |
212 | |             );
213 | |         }
    | |_________^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else
note: the lint level is defined here
   --> northstar-runtime/src/lib.rs:5:5
    |
5   |     clippy::all,
    |     ^^^^^^^^^^^
    = note: `#[deny(clippy::if_same_then_else)]` implied by `#[deny(clippy::all)]`