0.10.0 DEV feature branch #210
Annotations
5 errors and 19 warnings
fmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
`todo` should not be present in production code:
lnx-rest/src/index.rs#L58
error: `todo` should not be present in production code
--> lnx-rest/src/index.rs:58:9
|
58 | todo!()
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#todo
|
`todo` should not be present in production code:
lnx-rest/src/index.rs#L46
error: `todo` should not be present in production code
--> lnx-rest/src/index.rs:46:9
|
46 | todo!()
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#todo
|
`todo` should not be present in production code:
lnx-rest/src/index.rs#L25
error: `todo` should not be present in production code
--> lnx-rest/src/index.rs:25:9
|
25 | todo!()
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#todo
= note: requested on the command line with `-D clippy::todo`
|
clippy
Clippy had exited with the 101 exit code
|
fmt
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/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/
|
fmt
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/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
unused variable: `index_id`:
lnx-rest/src/index.rs#L56
warning: unused variable: `index_id`
--> lnx-rest/src/index.rs:56:14
|
56 | Path(index_id): Path<IndexId>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_id`
|
unused variable: `index_id`:
lnx-rest/src/index.rs#L44
warning: unused variable: `index_id`
--> lnx-rest/src/index.rs:44:14
|
44 | Path(index_id): Path<IndexId>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_id`
|
unused variable: `index_id`:
lnx-rest/src/index.rs#L23
warning: unused variable: `index_id`
--> lnx-rest/src/index.rs:23:14
|
23 | Path(index_id): Path<IndexId>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_id`
|
= note: `#[warn(unused_variables)]` on by default
|
struct `DocField` is never constructed:
lnx-types/src/doc_mapping.rs#L7
warning: struct `DocField` is never constructed
--> lnx-types/src/doc_mapping.rs:7:12
|
7 | pub struct DocField {
| ^^^^^^^^
|
struct `DocMapping` is never constructed:
lnx-types/src/doc_mapping.rs#L4
warning: struct `DocMapping` is never constructed
--> lnx-types/src/doc_mapping.rs:4:12
|
4 | pub struct DocMapping(BTreeMap<String, DocField>);
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
struct `DocField` is never constructed:
lnx-types/src/doc_mapping.rs#L7
warning: struct `DocField` is never constructed
--> lnx-types/src/doc_mapping.rs:7:12
|
7 | pub struct DocField {
| ^^^^^^^^
|
struct `DocMapping` is never constructed:
lnx-types/src/doc_mapping.rs#L4
warning: struct `DocMapping` is never constructed
--> lnx-types/src/doc_mapping.rs:4:12
|
4 | pub struct DocMapping(BTreeMap<String, DocField>);
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
clippy
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy
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-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/
|
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/
|
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/
|
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/
|
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/
|