Skip to content

Configure Sweep

Configure Sweep #136

Triggered via pull request December 24, 2023 18:13
Status Failure
Total duration 1m 17s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 15 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
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/connection.rs#L105
unreachable expression
Test Suite
`ensemble` (lib) generated 1 warning
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/
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
2 warnings emitted
warning: 2 warnings emitted