Use Xephyr in automated tests #113
Annotations
5 errors
this loop never actually loops:
src/main.rs#L2933
error: this loop never actually loops
--> src/main.rs:2933:18
|
2933 | let ok = loop {
| __________________^
2934 | | unsafe {
2935 | | let Ok((xcon, _)) = Connection::connect(None) else {
2936 | | eprintln!("rwm: cannot get xcb connection");
... |
2975 | | break true;
2976 | | };
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
= note: `#[deny(clippy::never_loop)]` on by default
|
spawned process is never `wait()`ed on:
src/main.rs#L2923
error: spawned process is never `wait()`ed on
--> src/main.rs:2923:23
|
2923 | let mut cmd = Command::new("Xephyr").arg(":1").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
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes
= note: `-D clippy::zombie-processes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::zombie_processes)]`
|
macos-13 / nightly
Process completed with exit code 101.
|
ubuntu-latest / nightly
The job was canceled because "nightly_macos-13" failed.
|
ubuntu-latest / nightly
The operation was canceled.
|