Configure Sweep #126
ci.yml
on: pull_request
Test Suite
1m 3s
Clippy
57s
Annotations
10 errors and 17 warnings
Test Suite:
ensemble/src/relationships/belongs_to.rs#L72
functions in traits cannot be declared `async`
|
Test Suite:
ensemble/src/relationships/belongs_to_many.rs#L96
functions in traits cannot be declared `async`
|
Test Suite:
ensemble/src/relationships/has_many.rs#L86
functions in traits cannot be declared `async`
|
Test Suite:
ensemble/src/relationships/has_one.rs#L72
functions in traits cannot be declared `async`
|
Test Suite:
ensemble/src/relationships/mod.rs#L39
`impl Trait` only allowed in function and inherent method return types, not in trait method return types
|
Test Suite:
ensemble/src/lib.rs#L94
`impl Trait` only allowed in function and inherent method return types, not in trait method return types
|
Test Suite:
ensemble/src/lib.rs#L103
`impl Trait` only allowed in function and inherent method return types, not in trait method return types
|
Test Suite:
ensemble/src/lib.rs#L110
`impl Trait` only allowed in function and inherent method return types, not in trait method return types
|
Test Suite:
ensemble/src/lib.rs#L117
`impl Trait` only allowed in function and inherent method return types, not in trait method return types
|
Test Suite:
ensemble/src/lib.rs#L125
`impl Trait` only allowed in function and inherent method return types, not in trait method return types
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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/
|
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/
|
unused import: `fastdate::Date`:
ensemble/src/lib.rs#L1
warning: unused import: `fastdate::Date`
--> ensemble/src/types/datetime.rs:1:5
|
1 | use fastdate::Date;
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unreachable expression:
ensemble/src/lib.rs#L105
warning: unreachable expression
--> ensemble/src/connection.rs:105:2
|
100 | panic!("Either the `mysql` or `postgres` feature must be enabled to use `ensemble`.");
| ------------------------------------------------------------------------------------- any code following this expression is unreachable
...
105 | / if cfg!(feature = "mysql") {
106 | | Database::MySQL
107 | | } else {
108 | | Database::PostgreSQL
109 | | }
| |_____^ unreachable expression
|
= note: `#[warn(unreachable_code)]` on by default
|
methods `is_mysql` and `is_postgres` are never used:
ensemble/src/lib.rs#L89
warning: methods `is_mysql` and `is_postgres` are never used
--> ensemble/src/connection.rs:89:15
|
88 | impl Database {
| ------------- methods in this implementation
89 | pub const fn is_mysql(&self) -> bool {
| ^^^^^^^^
...
93 | pub const fn is_postgres(&self) -> bool {
| ^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
3 warnings emitted
warning: 3 warnings emitted
|
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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/
|
Test Suite
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/
|
Test Suite
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/
|
Test Suite
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/
|
Test Suite
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/
|
Test Suite:
ensemble/src/types/datetime.rs#L1
unused import: `fastdate::Date`
|
Test Suite:
ensemble/src/connection.rs#L105
unreachable expression
|
Test Suite
`ensemble` (lib) generated 2 warnings
|