Move matching & command parsing up into values
#310
rust-build.yml
on: push
build_default_linux
6m 44s
build_all_linux
8m 27s
build_default_macos
3m 38s
clippy_check
2m 42s
Annotations
9 warnings
very complex type used. Consider factoring parts into `type` definitions:
crates/daemon/src/rpc_hosts.rs#L24
warning: very complex type used. Consider factoring parts into `type` definitions
--> crates/daemon/src/rpc_hosts.rs:24:18
|
24 | pub struct Hosts(HashMap<HostToken, (SystemTime, HostType, Vec<(Objid, SocketAddr)>)>);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
|
function `verb_invoke_handler` is never used:
crates/web-host/src/host/verbs.rs#L33
warning: function `verb_invoke_handler` is never used
--> crates/web-host/src/host/verbs.rs:33:14
|
33 | 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#L569
warning: very complex type used. Consider factoring parts into `type` definitions
--> crates/kernel/src/tasks/task.rs:569:6
|
569 | ) -> 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/
|
build_all_linux
Failed to download action 'https://api.github.com/repos/awalsh128/cache-apt-pkgs-action/tarball/a6c3917cc929dd0345bfb2d3feaf9101823370ad'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
|
build_all_linux
Back off 26.862 seconds before retry.
|