Skip to content

fix: basic clippy warnings #74

fix: basic clippy warnings

fix: basic clippy warnings #74

Triggered via pull request April 27, 2024 19:40
Status Success
Total duration 13m 31s
Artifacts

pr.yml

on: pull_request
github-actions-ratchet-check
21s
github-actions-ratchet-check
Rust Lint
7m 32s
Rust Lint
Rust Test
13m 21s
Rust Test
Rust Build
11m 4s
Rust Build
Lint template with SQLFluff
7s
Lint template with SQLFluff
Fit to window
Zoom out
Zoom in

Annotations

39 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: rust/core/src/test_runner.rs#L64
this function has too many arguments (9/7)
Rust Lint
`quary-core` (lib) generated 1 warning
Rust Lint: rust/quary-databases/src/databases_bigquery.rs#L6
use of deprecated function `google_cloud_auth::project::create_token_source`: Use DefaultTokenSourceProvider instead
Rust Lint: rust/quary-databases/src/databases_bigquery.rs#L104
use of deprecated function `google_cloud_auth::project::create_token_source`: Use DefaultTokenSourceProvider instead
Rust Lint: rust/quary-databases/src/databases_duckdb.rs#L231
the loop variable `i` is used to index `rows`
Rust Lint: rust/quary-databases/src/databases_postgres.rs#L24
this function has too many arguments (12/7)
Rust Lint: rust/quary-databases/src/databases_redshift.rs#L21
this function has too many arguments (11/7)
Rust Lint: rust/quary-databases/src/databases_snowflake.rs#L310
the loop variable `i` is used to index `rows`
Rust Lint
`quary-databases` (lib) generated 6 warnings
Rust Lint: rust/cli/src/file_system.rs#L76
parameter is only used in recursion
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, actions/cache@v3. 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 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: rust/quary-databases/src/databases_bigquery.rs#L6
use of deprecated function `google_cloud_auth::project::create_token_source`: Use DefaultTokenSourceProvider instead
Rust Test: rust/quary-databases/src/databases_bigquery.rs#L104
use of deprecated function `google_cloud_auth::project::create_token_source`: Use DefaultTokenSourceProvider instead
Rust Test: rust/quary-databases/src/databases_duckdb.rs#L900
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
Rust Test: rust/quary-databases/src/databases_duckdb.rs#L1023
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
Rust Test: rust/quary-databases/src/databases_duckdb.rs#L1132
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
Rust Test: rust/quary-databases/src/databases_duckdb.rs#L1256
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
Rust Test: rust/quary-databases/src/databases_postgres.rs#L1155
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
Rust Test: rust/quary-databases/src/databases_postgres.rs#L1282
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
Rust Test: rust/quary-databases/src/databases_redshift.rs#L661
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
Rust Test: rust/quary-databases/src/databases_redshift.rs#L789
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead