Skip to content

Initial API defs

Initial API defs #11

Triggered via pull request March 12, 2024 15:47
Status Failure
Total duration 3m 2s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
function `load_toml` is never used: src/api.rs#L48
error: function `load_toml` is never used --> src/api.rs:48:4 | 48 | fn load_toml(path: &Path) -> Result<Value, ApiError> { | ^^^^^^^^^
function `merge_toml` is never used: src/api.rs#L35
error: function `merge_toml` is never used --> src/api.rs:35:4 | 35 | fn merge_toml(into: &mut Value, from: Value) { | ^^^^^^^^^^
function `load_api` is never used: src/api.rs#L18
error: function `load_api` is never used --> src/api.rs:18:15 | 18 | pub(crate) fn load_api<State, Error>( | ^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
function `load_toml` is never used: src/api.rs#L48
error: function `load_toml` is never used --> src/api.rs:48:4 | 48 | fn load_toml(path: &Path) -> Result<Value, ApiError> { | ^^^^^^^^^
function `merge_toml` is never used: src/api.rs#L35
error: function `merge_toml` is never used --> src/api.rs:35:4 | 35 | fn merge_toml(into: &mut Value, from: Value) { | ^^^^^^^^^^
function `load_api` is never used: src/api.rs#L18
error: function `load_api` is never used --> src/api.rs:18:15 | 18 | pub(crate) fn load_api<State, Error>( | ^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
function `load_toml` is never used: src/api.rs#L48
error: function `load_toml` is never used --> src/api.rs:48:4 | 48 | fn load_toml(path: &Path) -> Result<Value, ApiError> { | ^^^^^^^^^
function `merge_toml` is never used: src/api.rs#L35
error: function `merge_toml` is never used --> src/api.rs:35:4 | 35 | fn merge_toml(into: &mut Value, from: Value) { | ^^^^^^^^^^
function `load_api` is never used: src/api.rs#L18
error: function `load_api` is never used --> src/api.rs:18:15 | 18 | pub(crate) fn load_api<State, Error>( | ^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
build
Clippy had exited with the 101 exit code
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: styfle/[email protected], arduino/setup-protoc@v2, 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/.
build
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/