rust-clippy #143
Annotations
16 warnings
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@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/
|
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/
|
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/
|
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/
|
glue/src/invoke.rs#L27
warning: doc list item without indentation
--> glue/src/invoke.rs:27:5
|
27 | /// match that of the specified backend command. This also applies if the
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
27 | /// match that of the specified backend command. This also applies if the
| ++
|
glue/src/invoke.rs#L28
warning: doc list item without indentation
--> glue/src/invoke.rs:28:5
|
28 | /// command natively returns a `Result`.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
28 | /// command natively returns a `Result`.
| ++
|
glue/src/invoke.rs#L29
warning: doc list item without indentation
--> glue/src/invoke.rs:29:5
|
29 | /// `invoke` returns a JS Promise error if the command does not exist.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
29 | /// `invoke` returns a JS Promise error if the command does not exist.
| ++
|
glue/src/invoke.rs#L57
warning: doc list item without indentation
--> glue/src/invoke.rs:57:5
|
57 | /// match that of the specified backend command.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
57 | /// match that of the specified backend command.
| ++
|
ui/app/src/app/editor.rs#L14
warning: unused variable: `props`
--> ui/app/src/app/editor.rs:14:22
|
14 | pub(super) fn Editor(props: &Props) -> yew::Html {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
|
= note: `#[warn(unused_variables)]` on by default
|
ui/app/src/app.rs#L49
warning: unused variable: `app_state`
--> ui/app/src/app.rs:49:28
|
49 | fn query_backend_app_state(app_state: UseStateHandle<AppState>) {
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
|
ui/app/src/app/backend_query.rs#L5
warning: variant `QuerySettings` is never constructed
--> ui/app/src/app/backend_query.rs:9:5
|
5 | pub(super) enum BackendQueryState {
| ----------------- variant in this enum
...
9 | QuerySettings,
| ^^^^^^^^^^^^^
|
= note: `BackendQueryState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
ui/app/src/app/editor.rs#L11
warning: struct `Props` is never constructed
--> ui/app/src/app/editor.rs:11:19
|
11 | pub(super) struct Props {}
| ^^^^^
|
ui/app/src/app/editor/bottom_panel.rs#L8
warning: struct `Props` is never constructed
--> ui/app/src/app/editor/bottom_panel.rs:8:19
|
8 | pub(super) struct Props {
| ^^^^^
|
ui/app/src/app/editor/main_panel.rs#L5
warning: struct `Props` is never constructed
--> ui/app/src/app/editor/main_panel.rs:5:19
|
5 | pub(super) struct Props {
| ^^^^^
|
This job succeeded
Loading