Skip to content

Bump sqlx from 0.7.4 to 0.8.2 #125

Bump sqlx from 0.7.4 to 0.8.2

Bump sqlx from 0.7.4 to 0.8.2 #125

Triggered via pull request September 4, 2024 06:02
Status Failure
Total duration 1m 24s
Artifacts

check.yml

on: pull_request
Matrix: cargo-deny
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
mismatched types: src/error/db.rs#L24
error[E0308]: mismatched types --> src/error/db.rs:24:43 | 22 | match err { | --- this expression has type `&sea_orm::DbErr` 23 | DbErr::Query(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), 24 | DbErr::Exec(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `sqlx_core::error::Error`, found `sqlx::Error` | = note: `sqlx::Error` and `sqlx_core::error::Error` have similar names, but are actually distinct types note: `sqlx::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.8.2/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ note: `sqlx_core::error::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `sqlx_core` are being used?
mismatched types: src/error/db.rs#L23
error[E0308]: mismatched types --> src/error/db.rs:23:44 | 22 | match err { | --- this expression has type `&sea_orm::DbErr` 23 | DbErr::Query(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `sqlx_core::error::Error`, found `sqlx::Error` | = note: `sqlx::Error` and `sqlx_core::error::Error` have similar names, but are actually distinct types note: `sqlx::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.8.2/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ note: `sqlx_core::error::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `sqlx_core` are being used?
mismatched types: src/error/db.rs#L24
error[E0308]: mismatched types --> src/error/db.rs:24:43 | 22 | match err { | --- this expression has type `&sea_orm::DbErr` 23 | DbErr::Query(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), 24 | DbErr::Exec(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `sqlx_core::error::Error`, found `sqlx::Error` | = note: `sqlx::Error` and `sqlx_core::error::Error` have similar names, but are actually distinct types note: `sqlx::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.8.2/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ note: `sqlx_core::error::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `sqlx_core` are being used?
mismatched types: src/error/db.rs#L23
error[E0308]: mismatched types --> src/error/db.rs:23:44 | 22 | match err { | --- this expression has type `&sea_orm::DbErr` 23 | DbErr::Query(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `sqlx_core::error::Error`, found `sqlx::Error` | = note: `sqlx::Error` and `sqlx_core::error::Error` have similar names, but are actually distinct types note: `sqlx::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.8.2/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ note: `sqlx_core::error::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `sqlx_core` are being used?
beta / clippy
Clippy had exited with the 101 exit code
mismatched types: src/error/db.rs#L24
error[E0308]: mismatched types --> src/error/db.rs:24:43 | 22 | match err { | --- this expression has type `&sea_orm::DbErr` 23 | DbErr::Query(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), 24 | DbErr::Exec(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `sqlx_core::error::Error`, found `sqlx::Error` | = note: `sqlx::Error` and `sqlx_core::error::Error` have similar names, but are actually distinct types note: `sqlx::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.8.2/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ note: `sqlx_core::error::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `sqlx_core` are being used?
mismatched types: src/error/db.rs#L23
error[E0308]: mismatched types --> src/error/db.rs:23:44 | 22 | match err { | --- this expression has type `&sea_orm::DbErr` 23 | DbErr::Query(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `sqlx_core::error::Error`, found `sqlx::Error` | = note: `sqlx::Error` and `sqlx_core::error::Error` have similar names, but are actually distinct types note: `sqlx::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.8.2/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ note: `sqlx_core::error::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `sqlx_core` are being used?
mismatched types: src/error/db.rs#L24
error[E0308]: mismatched types --> src/error/db.rs:24:43 | 22 | match err { | --- this expression has type `&sea_orm::DbErr` 23 | DbErr::Query(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), 24 | DbErr::Exec(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `sqlx_core::error::Error`, found `sqlx::Error` | = note: `sqlx::Error` and `sqlx_core::error::Error` have similar names, but are actually distinct types note: `sqlx::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.8.2/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ note: `sqlx_core::error::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `sqlx_core` are being used?
mismatched types: src/error/db.rs#L23
error[E0308]: mismatched types --> src/error/db.rs:23:44 | 22 | match err { | --- this expression has type `&sea_orm::DbErr` 23 | DbErr::Query(RuntimeErr::SqlxError(SqlxError::Database(db_err))) => Some(db_err), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `sqlx_core::error::Error`, found `sqlx::Error` | = note: `sqlx::Error` and `sqlx_core::error::Error` have similar names, but are actually distinct types note: `sqlx::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.8.2/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ note: `sqlx_core::error::Error` is defined in crate `sqlx_core` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/error.rs:32:1 | 32 | pub enum Error { | ^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `sqlx_core` are being used?
stable / clippy
Clippy had exited with the 101 exit code
beta / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
beta / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
stable / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
stable / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/