Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# error kind ExecutionFailed
# pre-build errors command failed: exit status: 101
# rustc version rustc 1.98.0-nightly (c397dae80 2026-07-02)
# docs.rs version docsrs 0.0.0 (964c90a45859fd8f9076e3cbe58470a5a4f4d4f7 2026-07-01 )
# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "9aca1dfbed961e3f9b0db93b11b0233624d6e34a75284767d2f03d4429053ee6" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260702-1.98.0-nightly-c397dae80\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking switchy_database v0.4.0 [INFO] [stderr] error[E0599]: no associated function or constant named `from_sql` found for struct `NaiveDateTime` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/postgres/postgres.rs:3193:58 [INFO] [stderr] | [INFO] [stderr] 3193 | "timestamp" => Self::DateTime(NaiveDateTime::from_sql(ty, raw)?), [INFO] [stderr] | ^^^^^^^^ associated function or constant not found in `NaiveDateTime` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `NaiveDateTime` consider using one of the following associated functions: [INFO] [stderr] NaiveDateTime::new [INFO] [stderr] NaiveDateTime::from_timestamp [INFO] [stderr] NaiveDateTime::from_timestamp_millis [INFO] [stderr] NaiveDateTime::from_timestamp_micros [INFO] [stderr] and 3 others [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/naive/datetime/mod.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 99 | pub const fn new(date: NaiveDate, time: NaiveTime) -> NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 122 | pub const fn from_timestamp(secs: i64, nsecs: u32) -> NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 139 | pub const fn from_timestamp_millis(millis: i64) -> Option<NaiveDateTime> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 154 | pub const fn from_timestamp_micros(micros: i64) -> Option<NaiveDateTime> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: there is an associated function `from` with a similar name [INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:594:5 [INFO] [stderr] | [INFO] [stderr] 594 | fn from(value: T) -> Self; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated function or constant named `from_sql` found for struct `DateTime<Tz>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/postgres/postgres.rs:3195:65 [INFO] [stderr] | [INFO] [stderr] 3195 | Self::DateTime(chrono::DateTime::<chrono::Utc>::from_sql(ty, raw)?.naive_utc()) [INFO] [stderr] | ^^^^^^^^ associated function or constant not found in `DateTime<Utc>` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `DateTime<Utc>` consider using one of the following associated functions: [INFO] [stderr] DateTime::<Tz>::from_naive_utc_and_offset [INFO] [stderr] DateTime::<Tz>::from_utc [INFO] [stderr] DateTime::<Tz>::from_local [INFO] [stderr] DateTime::<Utc>::from_timestamp_secs [INFO] [stderr] and 4 others [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/datetime/mod.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | / pub const fn from_naive_utc_and_offset( [INFO] [stderr] 95 | | datetime: NaiveDateTime, [INFO] [stderr] 96 | | offset: Tz::Offset, [INFO] [stderr] 97 | | ) -> DateTime<Tz> { [INFO] [stderr] | |_____________________^ [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn from_utc(datetime: NaiveDateTime, offset: Tz::Offset) -> DateTime<Tz> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | pub fn from_local(datetime: NaiveDateTime, offset: Tz::Offset) -> DateTime<Tz> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 768 | pub const fn from_timestamp_secs(secs: i64) -> Option<Self> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: there is an associated function `from` with a similar name [INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:594:5 [INFO] [stderr] | [INFO] [stderr] 594 | fn from(value: T) -> Self; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated function or constant named `from_sql` found for struct `NaiveDateTime` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/postgres/postgres.rs:3276:40 [INFO] [stderr] | [INFO] [stderr] 3276 | NaiveDateTime::from_sql(ty, raw)?, [INFO] [stderr] | ^^^^^^^^ associated function or constant not found in `NaiveDateTime` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `NaiveDateTime` consider using one of the following associated functions: [INFO] [stderr] NaiveDateTime::new [INFO] [stderr] NaiveDateTime::from_timestamp [INFO] [stderr] NaiveDateTime::from_timestamp_millis [INFO] [stderr] NaiveDateTime::from_timestamp_micros [INFO] [stderr] and 3 others [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/naive/datetime/mod.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 99 | pub const fn new(date: NaiveDate, time: NaiveTime) -> NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 122 | pub const fn from_timestamp(secs: i64, nsecs: u32) -> NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 139 | pub const fn from_timestamp_millis(millis: i64) -> Option<NaiveDateTime> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 154 | pub const fn from_timestamp_micros(micros: i64) -> Option<NaiveDateTime> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: there is an associated function `from` with a similar name [INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:594:5 [INFO] [stderr] | [INFO] [stderr] 594 | fn from(value: T) -> Self; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated function or constant named `from_sql` found for struct `DateTime<Tz>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/postgres/postgres.rs:3284:58 [INFO] [stderr] | [INFO] [stderr] 3284 | chrono::DateTime::<chrono::Utc>::from_sql(ty, raw)?.naive_utc(), [INFO] [stderr] | ^^^^^^^^ associated function or constant not found in `DateTime<Utc>` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `DateTime<Utc>` consider using one of the following associated functions: [INFO] [stderr] DateTime::<Tz>::from_naive_utc_and_offset [INFO] [stderr] DateTime::<Tz>::from_utc [INFO] [stderr] DateTime::<Tz>::from_local [INFO] [stderr] DateTime::<Utc>::from_timestamp_secs [INFO] [stderr] and 4 others [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/datetime/mod.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | / pub const fn from_naive_utc_and_offset( [INFO] [stderr] 95 | | datetime: NaiveDateTime, [INFO] [stderr] 96 | | offset: Tz::Offset, [INFO] [stderr] 97 | | ) -> DateTime<Tz> { [INFO] [stderr] | |_____________________^ [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn from_utc(datetime: NaiveDateTime, offset: Tz::Offset) -> DateTime<Tz> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | pub fn from_local(datetime: NaiveDateTime, offset: Tz::Offset) -> DateTime<Tz> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 768 | pub const fn from_timestamp_secs(secs: i64) -> Option<Self> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: there is an associated function `from` with a similar name [INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:594:5 [INFO] [stderr] | [INFO] [stderr] 594 | fn from(value: T) -> Self; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: the method `to_sql` exists for struct `NaiveDateTime`, but its trait bounds were not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/postgres/postgres.rs:3417:18 [INFO] [stderr] | [INFO] [stderr] 3415 | DatabaseValue::Now => switchy_time::datetime_utc_now() [INFO] [stderr] | ___________________________________- [INFO] [stderr] 3416 | | .naive_utc() [INFO] [stderr] 3417 | | .to_sql(ty, out)?, [INFO] [stderr] | | -^^^^^^ method cannot be called on `NaiveDateTime` due to unsatisfied trait bounds [INFO] [stderr] | |_________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/naive/datetime/mod.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | pub struct NaiveDateTime { [INFO] [stderr] | ------------------------ doesn't satisfy `NaiveDateTime: Expression` or `NaiveDateTime: postgres::postgres::ToSql` [INFO] [stderr] | [INFO] [stderr] note: trait bound `NaiveDateTime: Expression` was not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/postgres/postgres.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | impl<T: Expression + ?Sized> ToSql for T { [INFO] [stderr] | ^^^^^^^^^^ ----- - [INFO] [stderr] | | [INFO] [stderr] | unsatisfied trait bound introduced here [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `to_sql`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `duckdb::ToSql` [INFO] [stderr] candidate #2: `postgres::postgres::ToSql` [INFO] [stderr] candidate #3: `rusqlite::ToSql` [INFO] [stderr] candidate #4: `sqlx::mysql::ToSql` [INFO] [stderr] candidate #5: `sqlx::postgres::ToSql` [INFO] [stderr] candidate #6: `sqlx::sqlite::ToSql` [INFO] [stderr] [INFO] [stderr] error[E0599]: the method `to_sql` exists for reference `&NaiveDateTime`, but its trait bounds were not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/postgres/postgres.rs:3418:53 [INFO] [stderr] | [INFO] [stderr] 3418 | DatabaseValue::DateTime(value) => value.to_sql(ty, out)?, [INFO] [stderr] | ^^^^^^ method cannot be called on `&NaiveDateTime` due to unsatisfied trait bounds [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/naive/datetime/mod.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | pub struct NaiveDateTime { [INFO] [stderr] | ------------------------ doesn't satisfy `NaiveDateTime: Expression`, `NaiveDateTime: postgres::postgres::ToSql` or `NaiveDateTime: tokio_postgres::types::ToSql` [INFO] [stderr] | [INFO] [stderr] note: the following trait bounds were not satisfied: [INFO] [stderr] `&NaiveDateTime: Expression` [INFO] [stderr] `NaiveDateTime: Expression` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/postgres/postgres.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | impl<T: Expression + ?Sized> ToSql for T { [INFO] [stderr] | ^^^^^^^^^^ ----- - [INFO] [stderr] | | [INFO] [stderr] | unsatisfied trait bound introduced here [INFO] [stderr] = note: the following trait bounds were not satisfied: [INFO] [stderr] `NaiveDateTime: tokio_postgres::types::ToSql` [INFO] [stderr] which is required by `&NaiveDateTime: tokio_postgres::types::ToSql` [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `to_sql`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `duckdb::ToSql` [INFO] [stderr] candidate #2: `postgres::postgres::ToSql` [INFO] [stderr] candidate #3: `rusqlite::ToSql` [INFO] [stderr] candidate #4: `sqlx::mysql::ToSql` [INFO] [stderr] candidate #5: `sqlx::postgres::ToSql` [INFO] [stderr] candidate #6: `sqlx::sqlite::ToSql` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Encode<'_, MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:811:74 [INFO] [stderr] | [INFO] [stderr] 811 | crate::DatabaseValue::DateTime(dt) => query_builder.bind(*dt), [INFO] [stderr] | ---- ^^^ the trait `sqlx::Encode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Encode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Encode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | impl Encode<'_, Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Type<MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:811:74 [INFO] [stderr] | [INFO] [stderr] 811 | crate::DatabaseValue::DateTime(dt) => query_builder.bind(*dt), [INFO] [stderr] | ---- ^^^ the trait `sqlx::Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl Type<Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:42 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Encode<'_, MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:880:74 [INFO] [stderr] | [INFO] [stderr] 880 | crate::DatabaseValue::DateTime(dt) => query_builder.bind(*dt), [INFO] [stderr] | ---- ^^^ the trait `sqlx::Encode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Encode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Encode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | impl Encode<'_, Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Type<MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:880:74 [INFO] [stderr] | [INFO] [stderr] 880 | crate::DatabaseValue::DateTime(dt) => query_builder.bind(*dt), [INFO] [stderr] | ---- ^^^ the trait `sqlx::Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl Type<Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:42 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Encode<'_, MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:1378:74 [INFO] [stderr] | [INFO] [stderr] 1378 | crate::DatabaseValue::DateTime(dt) => query_builder.bind(*dt), [INFO] [stderr] | ---- ^^^ the trait `sqlx::Encode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Encode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Encode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | impl Encode<'_, Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Type<MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:1378:74 [INFO] [stderr] | [INFO] [stderr] 1378 | crate::DatabaseValue::DateTime(dt) => query_builder.bind(*dt), [INFO] [stderr] | ---- ^^^ the trait `sqlx::Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl Type<Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:42 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Encode<'_, MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:1446:74 [INFO] [stderr] | [INFO] [stderr] 1446 | crate::DatabaseValue::DateTime(dt) => query_builder.bind(*dt), [INFO] [stderr] | ---- ^^^ the trait `sqlx::Encode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Encode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Encode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | impl Encode<'_, Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Type<MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:1446:74 [INFO] [stderr] | [INFO] [stderr] 1446 | crate::DatabaseValue::DateTime(dt) => query_builder.bind(*dt), [INFO] [stderr] | ---- ^^^ the trait `sqlx::Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl Type<Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:42 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Decode<'_, MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:2499:83 [INFO] [stderr] | [INFO] [stderr] 2499 | "DATE" | "TIME" | "DATETIME" | "YEAR" => Ok(DatabaseValue::DateTime(owned.try_decode()?)), [INFO] [stderr] | ^^^^^^^^^^ the trait `sqlx::Decode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | [INFO] [stderr] help: the trait `Decode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Decode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | impl<'r> Decode<'r, Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `try_decode` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/value.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 63 | fn try_decode<'r, T>(&'r self) -> Result<T, Error> [INFO] [stderr] | ---------- required by a bound in this associated function [INFO] [stderr] 64 | where [INFO] [stderr] 65 | T: Decode<'r, Self::Database> + Type<Self::Database>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Value::try_decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Type<MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:2499:83 [INFO] [stderr] | [INFO] [stderr] 2499 | "DATE" | "TIME" | "DATETIME" | "YEAR" => Ok(DatabaseValue::DateTime(owned.try_decode()?)), [INFO] [stderr] | ^^^^^^^^^^ the trait `sqlx::Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl Type<Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `try_decode` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/value.rs:65:41 [INFO] [stderr] | [INFO] [stderr] 63 | fn try_decode<'r, T>(&'r self) -> Result<T, Error> [INFO] [stderr] | ---------- required by a bound in this associated function [INFO] [stderr] 64 | where [INFO] [stderr] 65 | T: Decode<'r, Self::Database> + Type<Self::Database>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Value::try_decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Decode<'_, MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:2503:32 [INFO] [stderr] | [INFO] [stderr] 2503 | owned.try_decode::<chrono::NaiveDateTime>().map_or_else( [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^^^^ the trait `sqlx::Decode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Decode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Decode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | impl<'r> Decode<'r, Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `try_decode` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/value.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 63 | fn try_decode<'r, T>(&'r self) -> Result<T, Error> [INFO] [stderr] | ---------- required by a bound in this associated function [INFO] [stderr] 64 | where [INFO] [stderr] 65 | T: Decode<'r, Self::Database> + Type<Self::Database>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Value::try_decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Type<MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:2503:32 [INFO] [stderr] | [INFO] [stderr] 2503 | owned.try_decode::<chrono::NaiveDateTime>().map_or_else( [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^^^^ the trait `sqlx::Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl Type<Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `try_decode` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/value.rs:65:41 [INFO] [stderr] | [INFO] [stderr] 63 | fn try_decode<'r, T>(&'r self) -> Result<T, Error> [INFO] [stderr] | ---------- required by a bound in this associated function [INFO] [stderr] 64 | where [INFO] [stderr] 65 | T: Decode<'r, Self::Database> + Type<Self::Database>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Value::try_decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `DateTime<Utc>: sqlx::Decode<'_, MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:2506:39 [INFO] [stderr] | [INFO] [stderr] 2506 | .try_decode::<chrono::DateTime<chrono::Utc>>() [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `sqlx::Decode<'_, MySql>` is not implemented for `DateTime<Utc>` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Decode<'_, MySql>` is not implemented for `DateTime<Utc>` [INFO] [stderr] but trait `Decode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:94:1 [INFO] [stderr] | [INFO] [stderr] 94 | impl<'r> Decode<'r, Postgres> for DateTime<Utc> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `try_decode` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/value.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 63 | fn try_decode<'r, T>(&'r self) -> Result<T, Error> [INFO] [stderr] | ---------- required by a bound in this associated function [INFO] [stderr] 64 | where [INFO] [stderr] 65 | T: Decode<'r, Self::Database> + Type<Self::Database>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Value::try_decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `DateTime<Utc>: sqlx::Type<MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:2506:39 [INFO] [stderr] | [INFO] [stderr] 2506 | .try_decode::<chrono::DateTime<chrono::Utc>>() [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `sqlx::Type<MySql>` is not implemented for `DateTime<Utc>` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<MySql>` is not implemented for `DateTime<Utc>` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | impl<Tz: TimeZone> Type<Postgres> for DateTime<Tz> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `try_decode` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/value.rs:65:41 [INFO] [stderr] | [INFO] [stderr] 63 | fn try_decode<'r, T>(&'r self) -> Result<T, Error> [INFO] [stderr] | ---------- required by a bound in this associated function [INFO] [stderr] 64 | where [INFO] [stderr] 65 | T: Decode<'r, Self::Database> + Type<Self::Database>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Value::try_decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `DateTime<Local>: sqlx::Decode<'_, MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:2508:58 [INFO] [stderr] | [INFO] [stderr] 2508 | ... |_| match owned.try_decode::<chrono::DateTime<chrono::Local>>() { [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `sqlx::Decode<'_, MySql>` is not implemented for `DateTime<Local>` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Decode<'_, MySql>` is not implemented for `DateTime<Local>` [INFO] [stderr] but trait `Decode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | impl<'r> Decode<'r, Postgres> for DateTime<Local> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `try_decode` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/value.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 63 | fn try_decode<'r, T>(&'r self) -> Result<T, Error> [INFO] [stderr] | ---------- required by a bound in this associated function [INFO] [stderr] 64 | where [INFO] [stderr] 65 | T: Decode<'r, Self::Database> + Type<Self::Database>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Value::try_decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `DateTime<Local>: sqlx::Type<MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:2508:58 [INFO] [stderr] | [INFO] [stderr] 2508 | ... |_| match owned.try_decode::<chrono::DateTime<chrono::Local>>() { [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `sqlx::Type<MySql>` is not implemented for `DateTime<Local>` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<MySql>` is not implemented for `DateTime<Local>` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | impl<Tz: TimeZone> Type<Postgres> for DateTime<Tz> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] note: required by a bound in `try_decode` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/value.rs:65:41 [INFO] [stderr] | [INFO] [stderr] 63 | fn try_decode<'r, T>(&'r self) -> Result<T, Error> [INFO] [stderr] | ---------- required by a bound in this associated function [INFO] [stderr] 64 | where [INFO] [stderr] 65 | T: Decode<'r, Self::Database> + Type<Self::Database>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Value::try_decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Encode<'_, MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:2869:40 [INFO] [stderr] | [INFO] [stderr] 2869 | query = query.bind(value); [INFO] [stderr] | ---- ^^^^^ the trait `sqlx::Encode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Encode<'_, MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Encode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | impl Encode<'_, Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] = note: required for `&NaiveDateTime` to implement `sqlx::Encode<'_, MySql>` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Type<MySql>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/mysql.rs:2869:40 [INFO] [stderr] | [INFO] [stderr] 2869 | query = query.bind(value); [INFO] [stderr] | ---- ^^^^^ the trait `sqlx::Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<MySql>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl Type<Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `MySql` [INFO] [stderr] = note: required for `&NaiveDateTime` to implement `sqlx::Type<MySql>` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:42 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Decode<'_, Sqlite>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/sqlite.rs:1097:57 [INFO] [stderr] | [INFO] [stderr] 1097 | "TIMESTAMP" => Ok(DatabaseValue::DateTime(owned.try_decode()?)), [INFO] [stderr] | ^^^^^^^^^^ the trait `sqlx::Decode<'_, Sqlite>` is not implemented for `NaiveDateTime` [INFO] [stderr] | [INFO] [stderr] help: the trait `Decode<'_, Sqlite>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Decode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | impl<'r> Decode<'r, Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `Sqlite` [INFO] [stderr] note: required by a bound in `try_decode` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/value.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 63 | fn try_decode<'r, T>(&'r self) -> Result<T, Error> [INFO] [stderr] | ---------- required by a bound in this associated function [INFO] [stderr] 64 | where [INFO] [stderr] 65 | T: Decode<'r, Self::Database> + Type<Self::Database>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Value::try_decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Type<Sqlite>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/sqlite.rs:1097:57 [INFO] [stderr] | [INFO] [stderr] 1097 | "TIMESTAMP" => Ok(DatabaseValue::DateTime(owned.try_decode()?)), [INFO] [stderr] | ^^^^^^^^^^ the trait `sqlx::Type<Sqlite>` is not implemented for `NaiveDateTime` [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<Sqlite>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl Type<Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `Sqlite` [INFO] [stderr] note: required by a bound in `try_decode` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/value.rs:65:41 [INFO] [stderr] | [INFO] [stderr] 63 | fn try_decode<'r, T>(&'r self) -> Result<T, Error> [INFO] [stderr] | ---------- required by a bound in this associated function [INFO] [stderr] 64 | where [INFO] [stderr] 65 | T: Decode<'r, Self::Database> + Type<Self::Database>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Value::try_decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Encode<'_, Sqlite>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/sqlite.rs:1466:40 [INFO] [stderr] | [INFO] [stderr] 1466 | query = query.bind(value); [INFO] [stderr] | ---- ^^^^^ the trait `sqlx::Encode<'_, Sqlite>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Encode<'_, Sqlite>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Encode<'_, sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | impl Encode<'_, Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `Sqlite` [INFO] [stderr] = note: required for `&NaiveDateTime` to implement `sqlx::Encode<'_, Sqlite>` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `NaiveDateTime: sqlx::Type<Sqlite>` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/switchy_database-0.4.0/src/sqlx/sqlite.rs:1466:40 [INFO] [stderr] | [INFO] [stderr] 1466 | query = query.bind(value); [INFO] [stderr] | ---- ^^^^^ the trait `sqlx::Type<Sqlite>` is not implemented for `NaiveDateTime` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] help: the trait `Type<Sqlite>` is not implemented for `NaiveDateTime` [INFO] [stderr] but trait `Type<sqlx::Postgres>` is implemented for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.8.6/src/types/chrono/datetime.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | impl Type<Postgres> for NaiveDateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `sqlx::Postgres`, found `Sqlite` [INFO] [stderr] = note: required for `&NaiveDateTime` to implement `sqlx::Type<Sqlite>` [INFO] [stderr] note: required by a bound in `Query::<'q, DB, <DB as sqlx::Database>::Arguments<'q>>::bind` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:86:42 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bind<T: 'q + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self { [INFO] [stderr] | ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as Database>::Arguments<'q>>::bind` [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `switchy_database` (lib) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "9aca1dfbed961e3f9b0db93b11b0233624d6e34a75284767d2f03d4429053ee6", kill_on_drop: false }`