You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Clippy CI for AUDITOR is failing with:
error: lifetime may not live long enough
--> auditor/src/domain/score.rs:34:41
|
34 | #[derive(Debug, Serialize, Deserialize, sqlx::Type, Clone)]
| ^^^^^^^^^^
| |
| lifetime `'r` defined here
| requires that `'r` must outlive `'static`
|
note: due to current limitations in the borrow checker, this implies a `'static` lifetime
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-postgres-0.7.4/src/types/record.rs:97:12
|
97 | T: for<'a> Decode<'a, Postgres> + Type<Postgres>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info)
error: implementation of `sqlx::Decode` is not general enough
--> auditor/src/domain/score.rs:34:41
|
34 | #[derive(Debug, Serialize, Deserialize, sqlx::Type, Clone)]
| ^^^^^^^^^^ implementation of `sqlx::Decode` is not general enough
|
= note: `domain::validname::ValidName` must implement `sqlx::Decode<'0, sqlx::Postgres>`, for any lifetime `'0`...
= note: ...but it actually implements `sqlx::Decode<'1, sqlx::Postgres>`, for some specific lifetime `'1`
= note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info)
error: implementation of `sqlx::Decode` is not general enough
--> auditor/src/domain/score.rs:34:41
|
34 | #[derive(Debug, Serialize, Deserialize, sqlx::Type, Clone)]
| ^^^^^^^^^^ implementation of `sqlx::Decode` is not general enough
|
= note: `domain::validvalue::ValidValue` must implement `sqlx::Decode<'0, sqlx::Postgres>`, for any lifetime `'0`...
= note: ...but it actually implements `sqlx::Decode<'1, sqlx::Postgres>`, for some specific lifetime `'1`
= note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info)
As a reminder, we are using the beta channel to run clippy.
This error occurred after the beta channel has been updated to rustc 1.79.0-beta.1
We either fix this warnings now or move the cargo check to the stable channel, as was already done for the coverage (see #739)
The text was updated successfully, but these errors were encountered:
Currently, the Clippy CI for AUDITOR is failing with:
As a reminder, we are using the beta channel to run clippy.
This error occurred after the beta channel has been updated to
rustc 1.79.0-beta.1
We either fix this warnings now or move the cargo check to the stable channel, as was already done for the coverage (see #739)
The text was updated successfully, but these errors were encountered: