Skip to content

feat(volo-http): add client ip #1430

feat(volo-http): add client ip

feat(volo-http): add client ip #1430

Triggered via pull request November 18, 2024 09:18
Status Failure
Total duration 3m 48s
Artifacts

ci.yaml

on: pull_request
Matrix: lint
Matrix: test-linux
Matrix: test-macos
Matrix: test-windows
Matrix: docs-check
Matrix: test-cli
CI is green
0s
CI is green
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 15 warnings
test-macos (nightly)
Process completed with exit code 101.
test-macos (stable)
The job was canceled because "nightly" failed.
test-macos (stable)
Process completed with exit code 101.
test-linux (stable)
Process completed with exit code 101.
test-linux (nightly)
The job was canceled because "stable" failed.
test-linux (nightly)
Process completed with exit code 101.
test-windows (nightly)
Process completed with exit code 1.
test-windows (stable)
The job was canceled because "nightly" failed.
test-windows (stable)
The operation was canceled.
test-macos (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
this `map_or` is redundant: volo-build/src/util.rs#L313
warning: this `map_or` is redundant --> volo-build/src/util.rs:313:16 | 313 | if repo.workdir().map_or(false, |workdir| workdir == path) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use a standard comparison instead: `(repo.workdir() == Some(path))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or = note: `#[warn(clippy::unnecessary_map_or)]` on by default
use of deprecated type alias `request::ServerRequest`: `ServerRequest` has been renamed to `Request`: volo-http/src/server/layer/client_ip.rs#L314
warning: use of deprecated type alias `request::ServerRequest`: `ServerRequest` has been renamed to `Request` --> volo-http/src/server/layer/client_ip.rs:314:14 | 314 | req: ServerRequest<B>, | ^^^^^^^^^^^^^
use of deprecated type alias `response::ServerResponse`: `ServerResponse` has been renamed to `Response`: volo-http/src/server/layer/client_ip.rs#L308
warning: use of deprecated type alias `response::ServerResponse`: `ServerResponse` has been renamed to `Response` --> volo-http/src/server/layer/client_ip.rs:308:21 | 308 | type Response = ServerResponse; | ^^^^^^^^^^^^^^
use of deprecated type alias `request::ServerRequest`: `ServerRequest` has been renamed to `Request`: volo-http/src/server/layer/client_ip.rs#L300
warning: use of deprecated type alias `request::ServerRequest`: `ServerRequest` has been renamed to `Request` --> volo-http/src/server/layer/client_ip.rs:300:38 | 300 | impl<S, B, H> Service<ServerContext, ServerRequest<B>> for ClientIPService<S, H> | ^^^^^^^^^^^^^
use of deprecated type alias `request::ServerRequest`: `ServerRequest` has been renamed to `Request`: volo-http/src/server/layer/client_ip.rs#L302
warning: use of deprecated type alias `request::ServerRequest`: `ServerRequest` has been renamed to `Request` --> volo-http/src/server/layer/client_ip.rs:302:31 | 302 | S: Service<ServerContext, ServerRequest<B>> + Send + Sync + 'static, | ^^^^^^^^^^^^^
use of deprecated type alias `response::ServerResponse`: `ServerResponse` has been renamed to `Response`: volo-http/src/server/layer/client_ip.rs#L9
warning: use of deprecated type alias `response::ServerResponse`: `ServerResponse` has been renamed to `Response` --> volo-http/src/server/layer/client_ip.rs:9:63 | 9 | context::ServerContext, request::ServerRequest, response::ServerResponse, server::IntoResponse, | ^^^^^^^^^^^^^^
use of deprecated type alias `request::ServerRequest`: `ServerRequest` has been renamed to `Request`: volo-http/src/server/layer/client_ip.rs#L9
warning: use of deprecated type alias `request::ServerRequest`: `ServerRequest` has been renamed to `Request` --> volo-http/src/server/layer/client_ip.rs:9:38 | 9 | context::ServerContext, request::ServerRequest, response::ServerResponse, server::IntoResponse, | ^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default
this `map_or` is redundant: volo-build/src/util.rs#L313
warning: this `map_or` is redundant --> volo-build/src/util.rs:313:16 | 313 | if repo.workdir().map_or(false, |workdir| workdir == path) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use a standard comparison instead: `(repo.workdir() == Some(path))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or = note: `#[warn(clippy::unnecessary_map_or)]` on by default
lint (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
lint (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-linux (stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
docs-check (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-windows (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-cli (stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/