Merge pull request #367 from Lodestone-Team/safe-mode #92
dev.yml
on: push
workspace-check
/
workspace-check
2m 5s
Matrix: core-cargo-test / core-cargo-test
Annotations
6 errors and 12 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.
|
this method takes 2 arguments but 1 argument was supplied:
core/src/handlers/instance_macro.rs#L204
error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> core/src/handlers/instance_macro.rs:204:15
|
204 | requester.try_action(&UserAction::AccessMacro(Some(uuid.clone())))?;
| ^^^^^^^^^^---------------------------------------------- an argument of type `bool` is missing
|
note: method defined here
--> core/src/auth/user.rs:178:12
|
178 | pub fn try_action(&self, action: &UserAction, safe_mode: bool) -> Result<(), Error> {
| ^^^^^^^^^^ ------------------- ---------------
help: provide the argument
|
204 | requester.try_action(&UserAction::AccessMacro(Some(uuid.clone())), /* bool */)?;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
this method takes 2 arguments but 1 argument was supplied:
core/src/handlers/instance_macro.rs#L154
error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> core/src/handlers/instance_macro.rs:154:15
|
154 | requester.try_action(&UserAction::AccessMacro(Some(uuid.clone())))?;
| ^^^^^^^^^^---------------------------------------------- an argument of type `bool` is missing
|
note: method defined here
--> core/src/auth/user.rs:178:12
|
178 | pub fn try_action(&self, action: &UserAction, safe_mode: bool) -> Result<(), Error> {
| ^^^^^^^^^^ ------------------- ---------------
help: provide the argument
|
154 | requester.try_action(&UserAction::AccessMacro(Some(uuid.clone())), /* bool */)?;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
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)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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 `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/
|
workspace-check / workspace-check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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 `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/
|