Skip to content

Add health endpoint #592

Add health endpoint

Add health endpoint #592

Triggered via pull request September 10, 2024 13:54
Status Success
Total duration 32s
Artifacts

rustfmt.yml

on: pull_request
check-rust-format
20s
check-rust-format
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
check-rust-format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@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-rust-format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@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-rust-format
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-rust-format
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-rust-format
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-rust-format
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/
this function depends on never type fallback being `()`: plane/src/client/mod.rs#L147
warning: this function depends on never type fallback being `()` --> plane/src/client/mod.rs:147:5 | 147 | pub async fn revoke(&self, request: &RevokeRequest) -> Result<(), PlaneClientError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748> = help: specify the types explicitly note: in edition 2024, the requirement `for<'de> !: _::_serde::Deserialize<'de>` will fail --> plane/src/client/mod.rs:150:9 | 150 | authed_post(&self.client, &addr, &request).await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this function depends on never type fallback being `()`: plane/src/client/mod.rs#L129
warning: this function depends on never type fallback being `()` --> plane/src/client/mod.rs:129:5 | 129 | pub async fn soft_terminate(&self, backend_id: &BackendName) -> Result<(), PlaneClientError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748> = help: specify the types explicitly note: in edition 2024, the requirement `for<'de> !: _::_serde::Deserialize<'de>` will fail --> plane/src/client/mod.rs:134:9 | 134 | authed_post(&self.client, &addr, &()).await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this function depends on never type fallback being `()`: plane/src/client/mod.rs#L138
warning: this function depends on never type fallback being `()` --> plane/src/client/mod.rs:138:5 | 138 | pub async fn hard_terminate(&self, backend_id: &BackendName) -> Result<(), PlaneClientError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748> = help: specify the types explicitly note: in edition 2024, the requirement `for<'de> !: _::_serde::Deserialize<'de>` will fail --> plane/src/client/mod.rs:143:9 | 143 | authed_post(&self.client, &addr, &()).await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
this function depends on never type fallback being `()`: plane/src/client/mod.rs#L147
warning: this function depends on never type fallback being `()` --> plane/src/client/mod.rs:147:5 | 147 | pub async fn revoke(&self, request: &RevokeRequest) -> Result<(), PlaneClientError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748> = help: specify the types explicitly note: in edition 2024, the requirement `for<'de> !: _::_serde::Deserialize<'de>` will fail --> plane/src/client/mod.rs:150:9 | 150 | authed_post(&self.client, &addr, &request).await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this function depends on never type fallback being `()`: plane/src/client/mod.rs#L129
warning: this function depends on never type fallback being `()` --> plane/src/client/mod.rs:129:5 | 129 | pub async fn soft_terminate(&self, backend_id: &BackendName) -> Result<(), PlaneClientError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748> = help: specify the types explicitly note: in edition 2024, the requirement `for<'de> !: _::_serde::Deserialize<'de>` will fail --> plane/src/client/mod.rs:134:9 | 134 | authed_post(&self.client, &addr, &()).await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this function depends on never type fallback being `()`: plane/src/client/mod.rs#L138
warning: this function depends on never type fallback being `()` --> plane/src/client/mod.rs:138:5 | 138 | pub async fn hard_terminate(&self, backend_id: &BackendName) -> Result<(), PlaneClientError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748> = help: specify the types explicitly note: in edition 2024, the requirement `for<'de> !: _::_serde::Deserialize<'de>` will fail --> plane/src/client/mod.rs:143:9 | 143 | authed_post(&self.client, &addr, &()).await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default