mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-22 11:03:16 +00:00
65 lines
2.5 KiB
Text
65 lines
2.5 KiB
Text
|
error: spawned process is never `wait()`ed on
|
||
|
--> tests/ui/zombie_processes.rs:14:21
|
||
|
|
|
||
|
LL | let mut x = Command::new("").spawn().unwrap();
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: consider calling `.wait()`
|
||
|
= note: not doing so might leave behind zombie processes
|
||
|
= note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
|
||
|
= note: `-D clippy::zombie-processes` implied by `-D warnings`
|
||
|
= help: to override `-D warnings` add `#[allow(clippy::zombie_processes)]`
|
||
|
|
||
|
error: spawned process is never `wait()`ed on
|
||
|
--> tests/ui/zombie_processes.rs:41:21
|
||
|
|
|
||
|
LL | let mut x = Command::new("").spawn().unwrap();
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: consider calling `.wait()`
|
||
|
= note: not doing so might leave behind zombie processes
|
||
|
= note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
|
||
|
|
||
|
error: spawned process is never `wait()`ed on
|
||
|
--> tests/ui/zombie_processes.rs:66:21
|
||
|
|
|
||
|
LL | let mut x = Command::new("").spawn().unwrap();
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: consider calling `.wait()`
|
||
|
= note: not doing so might leave behind zombie processes
|
||
|
= note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
|
||
|
|
||
|
error: spawned process is never `wait()`ed on
|
||
|
--> tests/ui/zombie_processes.rs:73:21
|
||
|
|
|
||
|
LL | let mut x = Command::new("").spawn().unwrap();
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: consider calling `.wait()`
|
||
|
= note: not doing so might leave behind zombie processes
|
||
|
= note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
|
||
|
|
||
|
error: spawned process is never `wait()`ed on
|
||
|
--> tests/ui/zombie_processes.rs:99:21
|
||
|
|
|
||
|
LL | let mut x = Command::new("").spawn().unwrap();
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: consider calling `.wait()`
|
||
|
= note: not doing so might leave behind zombie processes
|
||
|
= note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
|
||
|
|
||
|
error: spawned process is never `wait()`ed on
|
||
|
--> tests/ui/zombie_processes.rs:108:21
|
||
|
|
|
||
|
LL | let mut x = Command::new("").spawn().unwrap();
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: consider calling `.wait()`
|
||
|
= note: not doing so might leave behind zombie processes
|
||
|
= note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
|
||
|
|
||
|
error: aborting due to 6 previous errors
|
||
|
|