Skip to content

Add initial implementation of auth service #1016

Add initial implementation of auth service

Add initial implementation of auth service #1016

Triggered via pull request August 28, 2024 14:09
Status Failure
Total duration 1m 30s
Artifacts

rust.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 34 warnings
Clippy: tests/rate_limited.rs#L1
unused import: `proxy_wasm::types::Status::NotFound`
Clippy
could not compile `wasm-shim` (test "rate_limited") due to 1 previous error
Clippy: src/attribute.rs#L4
unused import: `proxy_wasm::types::Bytes`
Clippy: src/envoy/mod.rs#L40
unused imports: `CheckResponse_oneof_http_response` and `CheckResponse`
Clippy: src/attribute.rs#L107
function `get_attribute` is never used
Clippy: src/service/auth.rs#L12
constant `AUTH_DATA_ITEM` is never used
Clippy: src/service/auth.rs#L16
struct `AuthService` is never constructed
Clippy: src/service/auth.rs#L19
associated functions `message`, `build_check_req`, `build_request`, and `build_peer` are never used
Clippy: src/service/rate_limit.rs#L4
constant `RATELIMIT_DATA_ITEM` is never used
Clippy: src/service.rs#L64
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec`
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, arduino/setup-protoc@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check: src/attribute.rs#L4
unused import: `proxy_wasm::types::Bytes`
Check: src/envoy/mod.rs#L40
unused imports: `CheckResponse_oneof_http_response` and `CheckResponse`
Check: src/attribute.rs#L107
function `get_attribute` is never used
Check: src/service/auth.rs#L12
constant `AUTH_DATA_ITEM` is never used
Check: src/service/auth.rs#L16
struct `AuthService` is never constructed
Check: src/service/auth.rs#L19
associated functions `message`, `build_check_req`, `build_request`, and `build_peer` are never used
Check: src/service/rate_limit.rs#L4
constant `RATELIMIT_DATA_ITEM` is never used
Check
`wasm-shim` (lib) generated 7 warnings (run `cargo fix --lib -p wasm-shim` to apply 2 suggestions)
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, arduino/setup-protoc@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Rustfmt: src/attribute.rs#L4
unused import: `proxy_wasm::types::Bytes`
Rustfmt: src/envoy/mod.rs#L40
unused imports: `CheckResponse_oneof_http_response` and `CheckResponse`
Rustfmt: src/attribute.rs#L107
function `get_attribute` is never used
Rustfmt: src/service/auth.rs#L12
constant `AUTH_DATA_ITEM` is never used
Rustfmt: src/service/auth.rs#L16
struct `AuthService` is never constructed
Rustfmt: src/service/auth.rs#L19
associated functions `message`, `build_check_req`, `build_request`, and `build_peer` are never used
Rustfmt: src/service/rate_limit.rs#L4
constant `RATELIMIT_DATA_ITEM` is never used
Rustfmt
`wasm-shim` (lib) generated 7 warnings (run `cargo fix --lib -p wasm-shim` to apply 2 suggestions)
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, arduino/setup-protoc@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/