chore: remove linting warnings #152
pr.yml
on: pull_request
github-actions-ratchet-check
22s
Rust Lint
8m 4s
Rust Test
13m 58s
Rust Build
10m 45s
Rust Build Windows
11m 49s
Lint template with SQLFluff
11s
Prettier YAML Lint
13s
Annotations
45 warnings
github-actions-ratchet-check
Restore cache failed: Dependencies file is not found in /home/runner/work/quary/quary. Supported file pattern: go.sum
|
Rust Lint
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/.
|
Rust Lint
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/
|
Rust Lint
profiles for the non root package will be ignored, specify profiles at the workspace root:
|
Rust Lint:
rust/sqlinference/src/infer_tests.rs#L727
assigning the result of `Clone::clone()` may be inefficient
|
Rust Lint:
rust/sqlinference/src/infer_tests.rs#L728
assigning the result of `Clone::clone()` may be inefficient
|
Rust Lint
`sqlinference` (lib) generated 2 warnings (run `cargo clippy --fix --lib -p sqlinference` to apply 2 suggestions)
|
Rust Lint:
rust/core/src/description_table.rs#L110
unnecessary use of `get(&column).is_some()`
|
Rust Lint:
rust/core/src/description_table.rs#L123
unnecessary use of `get(&column).is_none()`
|
Rust Lint:
rust/core/src/test_runner.rs#L64
this function has too many arguments (9/7)
|
Rust Lint
`quary-core` (lib) generated 3 warnings
|
Rust Lint:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L8
function `get_predicted_query` is never used
|
Rust Lint:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L32
function `get_predicted_model_name` is never used
|
Rust Lint
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/
|
Rust Lint
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/
|
Rust Lint
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/
|
Rust Lint
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/
|
Rust Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Rust Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rust Build
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/
|
Rust Build
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/
|
Rust Build
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/
|
Rust Build
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/
|
Rust Build Windows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Rust Build Windows
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rust Build Windows
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/
|
Rust Build Windows
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/
|
Rust Build Windows
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/
|
Rust Build Windows
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/
|
Rust Test
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/.
|
Rust Test
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/
|
Rust Test
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/
|
Rust Test
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/
|
Rust Test
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/
|
Rust Test
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/
|
Rust Test
profiles for the non root package will be ignored, specify profiles at the workspace root:
|
Rust Test:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L8
function `get_predicted_query` is never used
|
Rust Test:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L32
function `get_predicted_model_name` is never used
|
Rust Test:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L51
struct `CompletionRequest` is never constructed
|
Rust Test:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L60
field `choices` is never read
|
Rust Test:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L65
field `text` is never read
|
Rust Test:
rust/wasm-binding/src/rpc_rust_defined_ai.rs#L68
function `make_completion_request_to_openai` is never used
|
Rust Test:
rust/wasm-binding/src/rpc_proto_defined_functions.rs#L1687
unused variable: `written_files`
|
Rust Test:
rust/wasm-binding/src/rpc_proto_defined_functions.rs#L1739
unused variable: `written_files`
|
Rust Test:
rust/wasm-binding/src/rpc_proto_defined_functions.rs#L1769
unused variable: `written_files`
|