Skip to content

WIP: moving API in separate mod. #536

WIP: moving API in separate mod.

WIP: moving API in separate mod. #536

Triggered via push August 27, 2024 09:03
Status Failure
Total duration 2m 4s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
question mark operator is useless here: src/commands/edge_app/app.rs#L128
error: question mark operator is useless here --> src/commands/edge_app/app.rs:128:9 | 128 | Ok(self.api.list_apps()?) | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing question mark and `Ok()`: `self.api.list_apps()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark = note: `-D clippy::needless-question-mark` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_question_mark)]`
redundant field names in struct initialization: src/commands/edge_app/mod.rs#L22
error: redundant field names in struct initialization --> src/commands/edge_app/mod.rs:22:26 | 22 | Self { api: Api{ authentication: authentication } } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `authentication` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `-D clippy::redundant-field-names` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
unused imports: `Deserialize` and `Serialize`: src/commands/edge_app/mod.rs#L14
error: unused imports: `Deserialize` and `Serialize` --> src/commands/edge_app/mod.rs:14:13 | 14 | use serde::{Deserialize, Serialize}; | ^^^^^^^^^^^ ^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
Lint code base
Clippy had exited with the 101 exit code
Lint code base
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Lint code base
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, 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/