Success! Eureka and such #4
Annotations
12 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/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#L17
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#L116
variables can be used directly in the `format!` string
|
Run Clippy:
src/models/measures.rs#L53
docs for function returning `Result` missing `# Errors` section
|
Run Clippy:
src/models/measures.rs#L61
docs for function returning `Result` missing `# Errors` section
|
Run Clippy:
src/models/measures.rs#L73
docs for function returning `Result` missing `# Errors` section
|
Run Tests
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
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#L44
unused variable: `api`
|
Run Tests:
frontend/src/api.rs#L64
variable does not need to be mutable
|
Run Tests:
frontend/src/pages/measures.rs#L49
unused variable: `m`
|
Run Tests:
frontend/src/pages/measures.rs#L72
unused variable: `m`
|
Run Tests:
frontend/src/api.rs#L101
method `get_one` is never used
|
Run Tests:
tests/models/measures.rs#L1
unused imports: `assert_debug_snapshot`, `with_settings`
|
Run Tests:
tests/requests/auth.rs#L7
unused import: `super::prepare_data`
|
Run Tests:
tests/requests/prepare_data.rs#L2
unused import: `MeasureCreate`
|