Add an endpoint to clear an instance's console buffer #122
pr.yml
on: pull_request
Matrix: core-cargo-test / core-cargo-test
workspace-check
/
workspace-check
7m 11s
Matrix: core-build-and-draft / core-build-and-draft
Waiting for pending jobs
Matrix: dashboard-build-and-draft / dashboard-build-and-draft
Waiting for pending jobs
Annotations
5 errors and 29 warnings
core-cargo-test / core-cargo-test (ubuntu-latest, x86_64-unknown-linux-gnu)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
core-cargo-test / core-cargo-test (windows-latest, x86_64-pc-windows-msvc)
The job was canceled because "ubuntu-latest_x86_64-unkn" failed.
|
core-cargo-test / core-cargo-test (windows-latest, x86_64-pc-windows-msvc)
The operation was canceled.
|
failed to resolve: use of undeclared type `UserAction`:
core/src/handlers/events.rs#L304
error[E0433]: failed to resolve: use of undeclared type `UserAction`
--> core/src/handlers/events.rs:304:39
|
304 | if !requester.can_perform_action(&UserAction::ClearConsoleBuffer(uuid.clone())) {
| ^^^^^^^^^^ use of undeclared type `UserAction`
|
help: consider importing this enum
|
1 + use crate::auth::user::UserAction;
|
|
workspace-check / workspace-check
Clippy had exited with the 101 exit code
|
core-cargo-test / core-cargo-test (ubuntu-latest, x86_64-unknown-linux-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
core-cargo-test / core-cargo-test (ubuntu-latest, x86_64-unknown-linux-gnu)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@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/
|
core-cargo-test / core-cargo-test (ubuntu-latest, x86_64-unknown-linux-gnu)
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/
|
core-cargo-test / core-cargo-test (ubuntu-latest, x86_64-unknown-linux-gnu)
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/
|
core-cargo-test / core-cargo-test (ubuntu-latest, x86_64-unknown-linux-gnu)
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/
|
core-cargo-test / core-cargo-test (ubuntu-latest, x86_64-unknown-linux-gnu)
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/
|
core-cargo-test / core-cargo-test (windows-latest, x86_64-pc-windows-msvc)
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/
|
core-cargo-test / core-cargo-test (windows-latest, x86_64-pc-windows-msvc)
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/
|
core-cargo-test / core-cargo-test (windows-latest, x86_64-pc-windows-msvc)
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/
|
core-cargo-test / core-cargo-test (windows-latest, x86_64-pc-windows-msvc)
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/
|
unused imports: `ErrorKind`, `auth::user::UserAction`:
core/src/handlers/extension.rs#L15
warning: unused imports: `ErrorKind`, `auth::user::UserAction`
--> core/src/handlers/extension.rs:15:5
|
15 | auth::user::UserAction,
| ^^^^^^^^^^^^^^^^^^^^^^
16 | error::{Error, ErrorKind},
| ^^^^^^^^^
|
unused import: `tracing::error`:
core/src/handlers/extension.rs#L12
warning: unused import: `tracing::error`
--> core/src/handlers/extension.rs:12:5
|
12 | use tracing::error;
| ^^^^^^^^^^^^^^
|
unused import: `serde_json::Value`:
core/src/handlers/extension.rs#L11
warning: unused import: `serde_json::Value`
--> core/src/handlers/extension.rs:11:5
|
11 | use serde_json::Value;
| ^^^^^^^^^^^^^^^^^
|
unused import: `eyre`:
core/src/handlers/extension.rs#L10
warning: unused import: `eyre`
--> core/src/handlers/extension.rs:10:24
|
10 | use color_eyre::eyre::{eyre, Context};
| ^^^^
|
unused import: `axum_auth::AuthBearer`:
core/src/handlers/extension.rs#L8
warning: unused import: `axum_auth::AuthBearer`
--> core/src/handlers/extension.rs:8:5
|
8 | use axum_auth::AuthBearer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `extract::Path`:
core/src/handlers/extension.rs#L4
warning: unused import: `extract::Path`
--> core/src/handlers/extension.rs:4:5
|
4 | extract::Path,
| ^^^^^^^^^^^^^
|
unused import: `std::num::NonZeroU16`:
core/src/handlers/extension.rs#L1
warning: unused import: `std::num::NonZeroU16`
--> core/src/handlers/extension.rs:1:5
|
1 | use std::num::NonZeroU16;
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::implementations::generic`:
core/src/handlers/instance_setup_configs.rs#L3
warning: unused import: `crate::implementations::generic`
--> core/src/handlers/instance_setup_configs.rs:3:5
|
3 | use crate::implementations::generic;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::traits::t_configurable::Game::Generic`:
core/src/handlers/instance.rs#L22
warning: unused import: `crate::traits::t_configurable::Game::Generic`
--> core/src/handlers/instance.rs:22:5
|
22 | use crate::traits::t_configurable::Game::Generic;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `bollard::Docker`:
core/src/handlers/instance.rs#L7
warning: unused import: `bollard::Docker`
--> core/src/handlers/instance.rs:7:5
|
7 | use bollard::Docker;
| ^^^^^^^^^^^^^^^
|
unused import: `bollard::container::ListContainersOptions`:
core/src/handlers/instance.rs#L6
warning: unused import: `bollard::container::ListContainersOptions`
--> core/src/handlers/instance.rs:6:5
|
6 | use bollard::container::ListContainersOptions;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `process::Stdio`:
core/src/extension/git/mod.rs#L3
warning: unused import: `process::Stdio`
--> core/src/extension/git/mod.rs:3:5
|
3 | process::Stdio,
| ^^^^^^^^^^^^^^
|
unused import: `axum::Json`:
core/src/extension/mod.rs#L3
warning: unused import: `axum::Json`
--> core/src/extension/mod.rs:3:5
|
3 | use axum::Json;
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
workspace-check / workspace-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@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/
|
workspace-check / workspace-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions-rs/toolchain@v1, 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/
|
workspace-check / workspace-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/
|
workspace-check / workspace-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/
|
workspace-check / workspace-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/
|
workspace-check / workspace-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/
|