Skip to content

v0.3.6

v0.3.6 #77

Triggered via push October 21, 2023 14:26
Status Failure
Total duration 1m 15s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
usage of `.skip(0)`: src/spf/verify.rs#L333
error: usage of `.skip(0)` --> src/spf/verify.rs:333:88 | 333 | ... directives = spf_record.directives.iter().enumerate().skip(0); | ^ help: if you meant to skip the first element, use: `1` | = note: this call to `skip` does nothing and is useless; remove it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_zero
usage of `.skip(0)`: src/spf/verify.rs#L231
error: usage of `.skip(0)` --> src/spf/verify.rs:231:92 | 231 | ... directives = spf_record.directives.iter().enumerate().skip(0); | ^ help: if you meant to skip the first element, use: `1` | = note: this call to `skip` does nothing and is useless; remove it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_zero
usage of `.skip(0)`: src/spf/verify.rs#L114
error: usage of `.skip(0)` --> src/spf/verify.rs:114:76 | 114 | let mut directives = spf_record.directives.iter().enumerate().skip(0); | ^ help: if you meant to skip the first element, use: `1` | = note: this call to `skip` does nothing and is useless; remove it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_zero = note: `#[deny(clippy::iter_skip_zero)]` on by default
build
Clippy had exited with the 101 exit code
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/