Skip to content

Add support for verb dispatch on primitive types #289

Add support for verb dispatch on primitive types

Add support for verb dispatch on primitive types #289

Triggered via push November 12, 2024 15:06
Status Failure
Total duration 7m 30s
Artifacts

rust-build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 8 warnings
build_default_macos
Process completed with exit code 101.
build_default_macos
Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag. To silence this message, use the `--formula` flag.
build_default_macos
cmake 3.30.5 is already installed and up-to-date. To reinstall 3.30.5, run: brew reinstall cmake
function `verb_invoke_handler` is never used: crates/web-host/src/host/verbs.rs#L31
warning: function `verb_invoke_handler` is never used --> crates/web-host/src/host/verbs.rs:31:14 | 31 | pub async fn verb_invoke_handler( | ^^^^^^^^^^^^^^^^^^^
function `json_as_var` is never used: crates/web-host/src/host/mod.rs#L100
warning: function `json_as_var` is never used --> crates/web-host/src/host/mod.rs:100:8 | 100 | pub fn json_as_var(j: &serde_json::Value) -> Result<Var, JsonParseError> { | ^^^^^^^^^^^
variants `UnknownType`, `UnknownError`, and `InvalidRepresentation` are never constructed: crates/web-host/src/host/mod.rs#L93
warning: variants `UnknownType`, `UnknownError`, and `InvalidRepresentation` are never constructed --> crates/web-host/src/host/mod.rs:93:5 | 91 | pub enum JsonParseError { | -------------- variants in this enum 92 | #[error("Unknown type")] 93 | UnknownType, | ^^^^^^^^^^^ 94 | #[error("Unknown error")] 95 | UnknownError, | ^^^^^^^^^^^^ 96 | #[error("Invalid representation")] 97 | InvalidRepresentation, | ^^^^^^^^^^^^^^^^^^^^^ | = note: `JsonParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
very complex type used. Consider factoring parts into `type` definitions: crates/kernel/src/tasks/task.rs#L558
warning: very complex type used. Consider factoring parts into `type` definitions --> crates/kernel/src/tasks/task.rs:558:6 | 558 | ) -> Result<Option<((Bytes, VerbDef), Objid)>, CommandError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `#[warn(clippy::type_complexity)]` on by default
clippy_check
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/
clippy_check
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/