Skip to content

Use Xephyr in automated tests #111

Use Xephyr in automated tests

Use Xephyr in automated tests #111

Triggered via pull request December 5, 2024 18:40
Status Failure
Total duration 51s
Artifacts

check.yml

on: pull_request
nightly / fmt
15s
nightly / fmt
nightly / doc
29s
nightly / doc
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
this loop never actually loops: src/main.rs#L2929
error: this loop never actually loops --> src/main.rs:2929:18 | 2929 | let ok = loop { | __________________^ 2930 | | unsafe { 2931 | | DPY = xlib::XOpenDisplay(c":1.0".as_ptr()); 2932 | | if DPY.is_null() { ... | 2986 | | break true; 2987 | | }; | |_________^ | = 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#L2922
error: spawned process is never `wait()`ed on --> src/main.rs:2922:23 | 2922 | 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)]`
nightly / clippy
Clippy had exited with the 101 exit code
nightly / fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
nightly / doc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
nightly / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636