Initial release #5
Annotations
11 errors and 25 warnings
Check Style
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Run Clippy:
src/controllers/auth.rs#L64
found an empty line after a doc comment. Perhaps you need to use `//!` to make a comment on a module, remove the empty line, or make a regular comment with `//`?
|
Run Clippy:
src/controllers/auth.rs#L85
found an empty line after a doc comment. Perhaps you need to use `//!` to make a comment on a module, remove the empty line, or make a regular comment with `//`?
|
Run Clippy:
src/models/measures.rs#L14
unused import: `rust_decimal::prelude`
|
Run Clippy:
src/controllers/auth.rs#L16
the function `users::Model::create_with_password` doesn't need a mutable reference
|
Run Clippy:
src/controllers/auth.rs#L121
redundant clone
|
Run Clippy:
src/controllers/user.rs#L11
redundant clone
|
Run Clippy:
src/controllers/measure.rs#L18
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
|
Run Clippy:
src/controllers/measure.rs#L93
docs for function which may panic missing `# Panics` section
|
Run Clippy:
src/controllers/measure.rs#L105
unnecessary `!=` operation
|
Run Clippy:
src/controllers/measure.rs#L105
strict comparison of `f32` or `f64`
|
Check Style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@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/
|
Check Style
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/
|
Check Style
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/
|
Check Style
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/
|
Check Style
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/
|
Run Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@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/
|
Run Clippy
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/
|
Run Clippy
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/
|
Run Clippy
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/
|
Run Clippy
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/
|
Run Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@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/
|
Run Tests
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/
|
Run Tests
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/
|
Run Tests
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/
|
Run Tests
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/
|
Run Tests:
frontend/src/pages/register.rs#L2
unused import: `self`
|
Run Tests:
frontend/src/pages/measures.rs#L4
unused imports: `Deserialize`, `Serialize`
|
Run Tests:
frontend/src/lib.rs#L45
unused variable: `api`
|
Run Tests:
frontend/src/api.rs#L64
variable does not need to be mutable
|
Run Tests:
frontend/src/pages/convert.rs#L17
unused variable: `responses_idx`
|
Run Tests:
frontend/src/pages/measures.rs#L66
unused variable: `m`
|
Run Tests:
frontend/src/pages/measures.rs#L89
unused variable: `m`
|
Run Tests:
frontend/src/api.rs#L101
method `get_one` is never used
|
Run Tests
`frontend` (lib) generated 8 warnings (run `cargo fix --lib -p frontend` to apply 7 suggestions)
|
Run Tests:
frontend/src/api.rs#L19
associated items `new`, `register`, `login`, and `convert` are never used
|