chore: disable metrics (#280) #1235
Annotations
8 warnings
called `unwrap_err` on `event` after checking its variant with `is_err`:
src/entities/friendship_history.rs#L122
warning: called `unwrap_err` on `event` after checking its variant with `is_err`
--> src/entities/friendship_history.rs:122:31
|
121 | if event.is_err() {
| ----------------- help: try: `if let Err(..) = event`
122 | let err = event.unwrap_err();
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
= note: `#[warn(clippy::unnecessary_unwrap)]` on by default
|
unused import: `super::middlewares::metrics_token::CheckMetricsToken`:
src/api/app.rs#L13
warning: unused import: `super::middlewares::metrics_token::CheckMetricsToken`
--> src/api/app.rs:13:5
|
13 | use super::middlewares::metrics_token::CheckMetricsToken;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::components::metrics::initialize_metrics`:
src/api/app.rs#L9
warning: unused import: `crate::components::metrics::initialize_metrics`
--> src/api/app.rs:9:5
|
9 | use crate::components::metrics::initialize_metrics;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@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/
|
clippy_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/
|
clippy_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/
|
clippy_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/
|
clippy_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/
|