Skip to content

Gate some commonly unused traits behind a feature #1343

Gate some commonly unused traits behind a feature

Gate some commonly unused traits behind a feature #1343

Triggered via pull request October 7, 2023 02:36
Status Failure
Total duration 18m 49s
Artifacts

CI.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

5 errors
clippy-rustfmt
Process completed with exit code 101.
non-amd64-test
Process completed with exit code 101.
non-linux-unix-test
Process completed with exit code 101.
windows-stable
Process completed with exit code 1.
clippy: x11rb-protocol/src/packet_reader.rs#L135
[clippy] reported by reviewdog 🐶 <pre><code>error: this loop never actually loops --> x11rb-protocol/src/packet_reader.rs:135:9 | 135 | / for mut packet in packets { 136 | | let original_packet = packet.clone(); 137 | | 138 | | loop { ... | 148 | | } 149 | | } | |_________^ | = 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 help: if you need the first element of the iterator, try writing | 135 | if let Some(mut packet) = packets.into_iter().next() { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> Raw Output: x11rb-protocol/src/packet_reader.rs:135:9:e: <pre><code>error: this loop never actually loops --> x11rb-protocol/src/packet_reader.rs:135:9 | 135 | / for mut packet in packets { 136 | | let original_packet = packet.clone(); 137 | | 138 | | loop { ... | 148 | | } 149 | | } | |_________^ | = 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 help: if you need the first element of the iterator, try writing | 135 | if let Some(mut packet) = packets.into_iter().next() { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> __END__