Skip to content

Merge pull request #20 from segersniels/dependabot/github_actions/dot… #62

Merge pull request #20 from segersniels/dependabot/github_actions/dot…

Merge pull request #20 from segersniels/dependabot/github_actions/dot… #62

GitHub Actions / clippy succeeded Dec 20, 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.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check warning on line 43 in src/utils/exec.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

spawned process is never `wait()`ed on

warning: spawned process is never `wait()`ed on
  --> src/utils/exec.rs:37:5
   |
37 | /     Command::new(docker::get_docker_binary_path())
38 | |         .args(args)
39 | |         .stdin(Stdio::null())
40 | |         .stdout(Stdio::null())
41 | |         .stderr(Stdio::null())
42 | |         .spawn()
43 | |         .expect("failed to spawn command");
   | |                                          ^- help: try: `.wait()`
   | |__________________________________________|
   |
   |
   = note: not doing so might leave behind zombie processes
   = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes
   = note: `#[warn(clippy::zombie_processes)]` on by default

Check warning on line 166 in src/utils/command.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement

warning: unneeded `return` statement
   --> src/utils/command.rs:166:5
    |
166 |     return choice;
    |     ^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
    = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
    |
166 -     return choice;
166 +     choice
    |