Skip to content

add generic sqlx database draft #159

add generic sqlx database draft

add generic sqlx database draft #159

Triggered via push September 11, 2023 09:48
Status Failure
Total duration 2m 59s
Artifacts

check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 35 warnings
Check: crates/media/src/repository.rs#L48
use of undeclared lifetime name `'a`
Check: crates/media/src/repository.rs#L49
expected type, found module `self`
Check: crates/media/src/repository.rs#L50
expected struct, variant or union type, found module `self`
Check: crates/media/src/repository.rs#L48
struct takes 0 lifetime arguments but 1 lifetime argument was supplied
Check: crates/media/src/repository.rs#L35
trait objects must include the `dyn` keyword
Check: crates/media/src/repository.rs#L49
trait objects must include the `dyn` keyword
Check
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Lints: crates/database/src/lib.rs#L24
unused import: `error`
Lints
could not compile `database` (lib) due to previous error
Lints
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Test Suite: crates/media/src/repository.rs#L48
use of undeclared lifetime name `'a`
Test Suite: crates/media/src/repository.rs#L49
expected type, found module `self`
Test Suite: crates/media/src/repository.rs#L50
expected struct, variant or union type, found module `self`
Test Suite: crates/media/src/repository.rs#L48
struct takes 0 lifetime arguments but 1 lifetime argument was supplied
Test Suite: crates/media/src/repository.rs#L35
trait objects must include the `dyn` keyword
Test Suite: crates/media/src/repository.rs#L49
trait objects must include the `dyn` keyword
Test Suite
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
Check: crates/database/src/lib.rs#L24
unused import: `error`
Check
`database` (lib) generated 1 warning (run `cargo fix --lib -p database` to apply 1 suggestion)
Check: crates/media/src/api/router.rs#L22
unused import: `common::config::configuration::Configuration`
Check: crates/media/src/api/router.rs#L24
unused import: `tracing::error`
Check: crates/media/src/api/router.rs#L26
unused import: `crate::data::error`
Check: crates/media/src/repository.rs#L22
unused import: `common::config::database_config::DatabaseConfig`
Check: crates/media/src/repository.rs#L23
unused import: `common::config::database_config::DatabaseDriver`
Check: crates/media/src/repository.rs#L26
unused imports: `Rng`, `distributions::Alphanumeric`
Check: crates/media/src/repository.rs#L27
unused import: `tracing::error`
Check: crates/media/src/repository.rs#L78
unused import: `super::*`
Check
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/
Check
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/
Check
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/
Check
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/
Lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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/
Lints
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/
Lints
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/
Lints
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/
Lints
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 following actions uses node12 which is deprecated and will be forced to run on node16: 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: crates/database/src/lib.rs#L24
unused import: `error`
Test Suite
`database` (lib) generated 1 warning (run `cargo fix --lib -p database` to apply 1 suggestion)
Test Suite: crates/media/src/api/router.rs#L22
unused import: `common::config::configuration::Configuration`
Test Suite: crates/media/src/api/router.rs#L24
unused import: `tracing::error`
Test Suite: crates/media/src/api/router.rs#L26
unused import: `crate::data::error`
Test Suite: crates/media/src/repository.rs#L22
unused import: `common::config::database_config::DatabaseConfig`
Test Suite: crates/media/src/repository.rs#L23
unused import: `common::config::database_config::DatabaseDriver`
Test Suite: crates/media/src/repository.rs#L26
unused imports: `Rng`, `distributions::Alphanumeric`
Test Suite: crates/media/src/repository.rs#L27
unused import: `tracing::error`
Test Suite: crates/media/src/repository.rs#L78
unused import: `super::*`