Closed ismsahib closed 5 months ago
Hi @ismsahib
What version of the indexer did you use ? It looks like there is a problem with the postgres dependency. Any chance you change something in the code ? Also what is your system ?
Maybe try with the latest main
branch and let me know if it keeps happening.
make run_server
command. Before this, I already installed indexer and everything was fine. The errors themselves:error[E0583]: file not found for module
postgres` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/lib.rs:92:1= help: to create the module
postgres
, create file "/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/postgres.rs" or "/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/postgres/mod.rs" = note: if there is amod postgres
elsewhere in the crate already, import it withuse crate::...
insteadcrate::postgres::Postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:5:5Postgres
inpostgres
help: consider importing one of these items instead | 5 | use crate::any::AnyConnectionKind::Postgres; |
~~~~~~~~~~~ 5 | use crate::any::AnyKind::Postgres; |~~~~~~~~~ 5 | use crate::any::arguments::AnyArgumentBufferKind::Postgres; |~~~~~~~~~~~~~~ 5 | use crate::any::column::AnyColumnKind::Postgres; |~~~~~~~~~~~ and 5 other candidatescrate::postgres::Postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/encode.rs:5:5Postgres
inpostgres
help: consider importing one of these items instead | 5 | use crate::any::AnyConnectionKind::Postgres; |
~~~~~~~~~~~ 5 | use crate::any::AnyKind::Postgres; |~~~~~~~~~ 5 | use crate::any::arguments::AnyArgumentBufferKind::Postgres; |~~~~~~~~~~~~~~ 5 | use crate::any::column::AnyColumnKind::Postgres; |~~~~~~~~~~~ and 5 other candidatescrate::postgres::PgColumn
,crate::postgres::PgRow
,crate::postgres::PgStatement
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/column.rs:5:23PgStatement
inpostgres
PgRow
inpostgres
PgColumn
inpostgres
error[E0432]: unresolved import
crate::postgres::PgConnectOptions
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/options.rs:10:5 | 10 | use crate::postgres::PgConnectOptions; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ noPgConnectOptions
inpostgres
error[E0432]: unresolved import
crate::postgres::PgRow
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/row.rs:13:5 | 13 | use crate::postgres::PgRow; | ^^^^^^^^^^^^^^^^^^^^^^ noPgRow
inpostgres
error[E0432]: unresolved import
crate::postgres::PgTypeInfo
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type_info.rs:6:5 | 6 | use crate::postgres::PgTypeInfo; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ noPgTypeInfo
inpostgres
crate::postgres::PgValue
,crate::postgres::PgValueRef
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/value.rs:13:23PgValueRef
inpostgres
PgValue
inpostgres
Compiling md-5 v0.10.6 error[E0433]: failed to resolve: could not find
PgConnection
inpostgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/connection/establish.rs:19:34 | 19 | crate::postgres::PgConnection::connect_with(options) | ^^^^^^^^^^^^ could not findPgConnection
inpostgres
Postgres
inpostgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/migrate.rs:15:55Postgres
inpostgres
help: there is an enum variant
crate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 15 | AnyKind::Postgres => crate::any::AnyConnectionKind(url).await, |~~~~~~~~~ 15 | AnyKind::Postgres => crate::any::AnyKind(url).await, |~~~~~~~ 15 | AnyKind::Postgres => crate::any::arguments::AnyArgumentBufferKind(url).await, |~~~~~~~~~~~~ 15 | AnyKind::Postgres => crate::any::column::AnyColumnKind(url).await, |~~~~~~~~~ and 5 other candidatesPostgres
inpostgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/migrate.rs:33:55Postgres
inpostgres
help: there is an enum variant
crate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 33 | AnyKind::Postgres => crate::any::AnyConnectionKind(url).await, |~~~~~~~~~ 33 | AnyKind::Postgres => crate::any::AnyKind(url).await, |~~~~~~~ 33 | AnyKind::Postgres => crate::any::arguments::AnyArgumentBufferKind(url).await, |~~~~~~~~~~~~ 33 | AnyKind::Postgres => crate::any::column::AnyColumnKind(url).await, |~~~~~~~~~ and 5 other candidatesPostgres
inpostgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/migrate.rs:51:55Postgres
inpostgres
help: there is an enum variant
crate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 51 | AnyKind::Postgres => crate::any::AnyConnectionKind(url).await, |~~~~~~~~~ 51 | AnyKind::Postgres => crate::any::AnyKind(url).await, |~~~~~~~ 51 | AnyKind::Postgres => crate::any::arguments::AnyArgumentBufferKind(url).await, |~~~~~~~~~~~~ 51 | AnyKind::Postgres => crate::any::column::AnyColumnKind(url).await, |~~~~~~~~~ and 5 other candidatesCompiling thread_local v1.1.7 error[E0412]: cannot find type
PgArguments
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/arguments.rs:31:26 | 31 | crate::postgres::PgArguments, | ^^^^^^^^^^^ not found incrate::postgres
error[E0412]: cannot find type
PgArguments
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/arguments.rs:116:54 | 116 | impl<'q> From<AnyArguments<'q>> for crate::postgres::PgArguments { | ^^^^^^^^^^^ not found incrate::postgres
error[E0412]: cannot find type
PgConnection
in modulepostgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/connection/mod.rs:40:24 | 40 | Postgres(postgres::PgConnection), | ^^^^^^^^^^^^ not found inpostgres
error[E0412]: cannot find type for AnyConnection {
| ^^^^^^^^^^^^ not found in
PgConnection
in modulepostgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/connection/mod.rs:212:21 | 212 | impl Frompostgres
error[E0412]: cannot find type
PgConnection
in modulepostgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/connection/mod.rs:213:29 | 213 | fn from(conn: postgres::PgConnection) -> Self { | ^^^^^^^^^^^^ not found inpostgres
Postgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/transaction.rs:18:35crate::postgres
help: there is an enum variant::TransactionManager::begin(conn)
| ::TransactionManager::begin(conn)
| ::TransactionManager::begin(conn)
| ::TransactionManager::begin(conn)
|
crate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 18 |~~~~~~~~~ 18 |~~~~~~~ 18 |~~~~~~~~~~~~ 18 |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/transaction.rs:42:35crate::postgres
help: there is an enum variant::TransactionManager::commit(conn)
| ::TransactionManager::commit(conn)
| ::TransactionManager::commit(conn)
| ::TransactionManager::commit(conn)
|
crate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 42 |~~~~~~~~~ 42 |~~~~~~~ 42 |~~~~~~~~~~~~ 42 |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/transaction.rs:66:35crate::postgres
help: there is an enum variant::TransactionManager::rollback(conn)
| ::TransactionManager::rollback(conn)
| ::TransactionManager::rollback(conn)
| ::TransactionManager::rollback(conn)
|
crate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 66 |~~~~~~~~~ 66 |~~~~~~~ 66 |~~~~~~~~~~~~ 66 |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/transaction.rs:90:35crate::postgres
help: there is an enum variant::TransactionManager::start_rollback(conn)
| ::TransactionManager::start_rollback(conn)
| ::TransactionManager::start_rollback(conn)
| ::TransactionManager::start_rollback(conn)
|
crate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 90 |~~~~~~~~~ 90 |~~~~~~~ 90 |~~~~~~~~~~~~ 90 |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type.rs:19:69crate::postgres
= note: this error originates in the macro>::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
|
impl_any_type
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 19 | <$ty as crate::types::Type~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type.rs:19:69crate::postgres
= note: this error originates in the macro>::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
|
impl_any_type
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 19 | <$ty as crate::types::Type~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type.rs:19:69crate::postgres
= note: this error originates in the macro>::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
|
impl_any_type
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 19 | <$ty as crate::types::Type~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type.rs:19:69crate::postgres
= note: this error originates in the macro>::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
|
impl_any_type
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 19 | <$ty as crate::types::Type~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type.rs:19:69crate::postgres
= note: this error originates in the macro>::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
|
impl_any_type
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 19 | <$ty as crate::types::Type~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type.rs:19:69crate::postgres
= note: this error originates in the macro>::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
|
impl_any_type
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 19 | <$ty as crate::types::Type~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type.rs:19:69crate::postgres
= note: this error originates in the macro>::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
|
impl_any_type
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 19 | <$ty as crate::types::Type~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type.rs:19:69crate::postgres
= note: this error originates in the macro>::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
|
impl_any_type
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 19 | <$ty as crate::types::Type~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:45:76crate::postgres
= note: this error originates in the macro
impl_any_decode
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyConnectionKind>>::decode(value) |~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyKind>>::decode(value) |~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::arguments::AnyArgumentBufferKind>>::decode(value) |~~~~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::column::AnyColumnKind>>::decode(value) |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:45:76crate::postgres
= note: this error originates in the macro
impl_any_decode
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyConnectionKind>>::decode(value) |~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyKind>>::decode(value) |~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::arguments::AnyArgumentBufferKind>>::decode(value) |~~~~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::column::AnyColumnKind>>::decode(value) |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:45:76crate::postgres
= note: this error originates in the macro
impl_any_decode
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyConnectionKind>>::decode(value) |~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyKind>>::decode(value) |~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::arguments::AnyArgumentBufferKind>>::decode(value) |~~~~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::column::AnyColumnKind>>::decode(value) |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:45:76crate::postgres
= note: this error originates in the macro
impl_any_decode
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyConnectionKind>>::decode(value) |~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyKind>>::decode(value) |~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::arguments::AnyArgumentBufferKind>>::decode(value) |~~~~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::column::AnyColumnKind>>::decode(value) |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:45:76crate::postgres
= note: this error originates in the macro
impl_any_decode
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyConnectionKind>>::decode(value) |~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyKind>>::decode(value) |~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::arguments::AnyArgumentBufferKind>>::decode(value) |~~~~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::column::AnyColumnKind>>::decode(value) |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:45:76crate::postgres
= note: this error originates in the macro
impl_any_decode
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyConnectionKind>>::decode(value) |~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyKind>>::decode(value) |~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::arguments::AnyArgumentBufferKind>>::decode(value) |~~~~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::column::AnyColumnKind>>::decode(value) |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:45:76crate::postgres
= note: this error originates in the macro
impl_any_decode
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyConnectionKind>>::decode(value) |~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyKind>>::decode(value) |~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::arguments::AnyArgumentBufferKind>>::decode(value) |~~~~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::column::AnyColumnKind>>::decode(value) |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:45:76crate::postgres
= note: this error originates in the macro
impl_any_decode
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyConnectionKind>>::decode(value) |~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyKind>>::decode(value) |~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::arguments::AnyArgumentBufferKind>>::decode(value) |~~~~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::column::AnyColumnKind>>::decode(value) |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type.rs:19:69crate::postgres
= note: this error originates in the macro>::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
|
impl_any_type
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 19 | <$ty as crate::types::Type~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/type.rs:19:69crate::postgres
= note: this error originates in the macro>::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
| >::compatible(&ty)
|
impl_any_type
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 19 | <$ty as crate::types::Type~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~~~~ 19 | <$ty as crate::types::Type~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:45:76crate::postgres
= note: this error originates in the macro
impl_any_decode
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyConnectionKind>>::decode(value) |~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyKind>>::decode(value) |~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::arguments::AnyArgumentBufferKind>>::decode(value) |~~~~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::column::AnyColumnKind>>::decode(value) |~~~~~~~~~ and 5 other candidatesPostgres
in modulecrate::postgres
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/decode.rs:45:76crate::postgres
= note: this error originates in the macro
impl_any_decode
(in Nightly builds, run with -Z macro-backtrace for more info) help: there is an enum variantcrate::any::AnyConnectionKind::Postgres
and 9 others; try using the variant's enum | 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyConnectionKind>>::decode(value) |~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::AnyKind>>::decode(value) |~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::arguments::AnyArgumentBufferKind>>::decode(value) |~~~~~~~~~~~~ 45 | <$ty as crate::decode::Decode<'r, crate::any::column::AnyColumnKind>>::decode(value) |~~~~~~~~~ and 5 other candidates'r
is never used --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/any/value.rs:43:24= help: consider removing
'r
, referring to it in a field, or using a marker such asPhantomData
`