chore: linting improvement #153
Annotations
16 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af, actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af, actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505. 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
profiles for the non root package will be ignored, specify profiles at the workspace root:
|
Run clippy:
rust/sqlinference/src/infer_tests.rs#L727
assigning the result of `Clone::clone()` may be inefficient
|
Run clippy:
rust/sqlinference/src/infer_tests.rs#L728
assigning the result of `Clone::clone()` may be inefficient
|
Run clippy
`sqlinference` (lib) generated 2 warnings (run `cargo clippy --fix --lib -p sqlinference` to apply 2 suggestions)
|
Run clippy:
rust/core/src/test_runner.rs#L64
this function has too many arguments (9/7)
|
Run clippy
`quary-core` (lib) generated 1 warning
|
Run clippy:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L8
function `get_predicted_query` is never used
|
Run clippy:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L32
function `get_predicted_model_name` is never used
|
Run clippy:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L51
struct `CompletionRequest` is never constructed
|
Run clippy:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L60
field `choices` is never read
|
Install stable toolchain
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/
|
Install stable toolchain
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/
|
Install stable toolchain
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/
|
Install stable toolchain
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/
|
Loading