Skip to content

feat(web): add trusted proxies feature #630

feat(web): add trusted proxies feature

feat(web): add trusted proxies feature #630

Triggered via pull request December 29, 2024 16:43
Status Success
Total duration 2m 50s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
clippy: actix-web/src/info.rs#L217
[clippy] reported by reviewdog 🐶 error: manual backwards iteration --> actix-web/src/info.rs:217:66 | 217 | ... .flat_map(|vals| vals.split(',')) | ________________________________________________________^ 218 | | ... .rev() 219 | | ... .next(); | |_____________________________^ help: use: `.next_back()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back = note: `-D clippy::manual-next-back` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::manual_next_back)]` Raw Output: actix-web/src/info.rs:217:66:e:error: manual backwards iteration --> actix-web/src/info.rs:217:66 | 217 | ... .flat_map(|vals| vals.split(',')) | ________________________________________________________^ 218 | | ... .rev() 219 | | ... .next(); | |_____________________________^ help: use: `.next_back()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back = note: `-D clippy::manual-next-back` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::manual_next_back)]` __END__
clippy: actix-web/src/info.rs#L231
[clippy] reported by reviewdog 🐶 error: manual backwards iteration --> actix-web/src/info.rs:231:66 | 231 | ... .flat_map(|vals| vals.split(',')) | ________________________________________________________^ 232 | | ... .rev() 233 | | ... .next(); | |_____________________________^ help: use: `.next_back()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back Raw Output: actix-web/src/info.rs:231:66:e:error: manual backwards iteration --> actix-web/src/info.rs:231:66 | 231 | ... .flat_map(|vals| vals.split(',')) | ________________________________________________________^ 232 | | ... .rev() 233 | | ... .next(); | |_____________________________^ help: use: `.next_back()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back __END__
clippy: actix-web/src/info.rs#L217
[clippy] reported by reviewdog 🐶 error: manual backwards iteration --> actix-web/src/info.rs:217:66 | 217 | ... .flat_map(|vals| vals.split(',')) | ________________________________________________________^ 218 | | ... .rev() 219 | | ... .next(); | |_____________________________^ help: use: `.next_back()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back = note: `-D clippy::manual-next-back` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::manual_next_back)]` Raw Output: actix-web/src/info.rs:217:66:e:error: manual backwards iteration --> actix-web/src/info.rs:217:66 | 217 | ... .flat_map(|vals| vals.split(',')) | ________________________________________________________^ 218 | | ... .rev() 219 | | ... .next(); | |_____________________________^ help: use: `.next_back()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back = note: `-D clippy::manual-next-back` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::manual_next_back)]` __END__
clippy: actix-web/src/info.rs#L231
[clippy] reported by reviewdog 🐶 error: manual backwards iteration --> actix-web/src/info.rs:231:66 | 231 | ... .flat_map(|vals| vals.split(',')) | ________________________________________________________^ 232 | | ... .rev() 233 | | ... .next(); | |_____________________________^ help: use: `.next_back()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back Raw Output: actix-web/src/info.rs:231:66:e:error: manual backwards iteration --> actix-web/src/info.rs:231:66 | 231 | ... .flat_map(|vals| vals.split(',')) | ________________________________________________________^ 232 | | ... .rev() 233 | | ... .next(); | |_____________________________^ help: use: `.next_back()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back __END__
clippy: actix-web/src/trusted_proxies.rs#L80
[clippy] reported by reviewdog 🐶 error: use of a disallowed/placeholder name `e` --> actix-web/src/trusted_proxies.rs:80:17 | 80 | Err(e) => match proxy.parse::<IpAddr>() { | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names = note: `-D clippy::disallowed-names` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]` Raw Output: actix-web/src/trusted_proxies.rs:80:17:e:error: use of a disallowed/placeholder name `e` --> actix-web/src/trusted_proxies.rs:80:17 | 80 | Err(e) => match proxy.parse::<IpAddr>() { | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names = note: `-D clippy::disallowed-names` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]` __END__
clippy: actix-web/src/trusted_proxies.rs#L80
[clippy] reported by reviewdog 🐶 error: use of a disallowed/placeholder name `e` --> actix-web/src/trusted_proxies.rs:80:17 | 80 | Err(e) => match proxy.parse::<IpAddr>() { | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names = note: `-D clippy::disallowed-names` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]` Raw Output: actix-web/src/trusted_proxies.rs:80:17:e:error: use of a disallowed/placeholder name `e` --> actix-web/src/trusted_proxies.rs:80:17 | 80 | Err(e) => match proxy.parse::<IpAddr>() { | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names = note: `-D clippy::disallowed-names` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]` __END__
fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636