Skip to content

Issue on Windows with 4a47066 #1590

@frederikhors

Description

@frederikhors

I tried today 4a47066 but on Windows 11 I'm having a big issue.

cargo 1.91.0-nightly (840b83a10 2025-07-30) works good.

Here the console messages:

cargo-clif run -p component
   Compiling proc-macro2 v1.0.101
   Compiling unicode-ident v1.0.18
   Compiling serde v1.0.219
   Compiling windows_x86_64_msvc v0.52.6
   Compiling version_check v0.9.5
   Compiling cfg-if v1.0.3
   Compiling typenum v1.18.0
   Compiling memchr v2.7.5
   Compiling pin-project-lite v0.2.16
   Compiling itoa v1.0.15
   Compiling autocfg v1.5.0
   Compiling futures-core v0.3.31
   Compiling zerocopy v0.8.26
   Compiling thiserror v2.0.16
   Compiling once_cell v1.21.3
   Compiling log v0.4.27
   Compiling getrandom v0.3.3
   Compiling serde_json v1.0.143
   Compiling futures-sink v0.3.31
   Compiling futures-io v0.3.31
   Compiling slab v0.4.11
   Compiling subtle v2.6.1
   Compiling icu_properties_data v2.0.1
   Compiling icu_normalizer_data v2.0.0
   Compiling pin-utils v0.1.0
   Compiling futures-task v0.3.31
   Compiling allocator-api2 v0.2.21
   Compiling fnv v1.0.7
   Compiling percent-encoding v2.3.2
   Compiling crossbeam-utils v0.8.21
   Compiling stable_deref_trait v1.2.0
   Compiling futures-channel v0.3.31
   Compiling parking_lot_core v0.9.11
   Compiling equivalent v1.0.2
   Compiling foldhash v0.1.5
   Compiling tracing-core v0.1.34
   Compiling ryu v1.0.20
   Compiling getrandom v0.2.16
   Compiling shlex v1.3.0
   Compiling base64 v0.22.1
   Compiling windows_x86_64_msvc v0.48.5
   Compiling num-conv v0.1.0
   Compiling time-core v0.1.4
   Compiling cpufeatures v0.2.17
   Compiling windows_x86_64_msvc v0.53.0
   Compiling generic-array v0.14.7
   Compiling litemap v0.8.0
   Compiling writeable v0.6.1
   Compiling rust_decimal v1.37.2
   Compiling hashbrown v0.15.5
   Compiling num-traits v0.2.19
   Compiling lock_api v0.4.13
   Compiling time-macros v0.2.22
   Compiling windows-targets v0.52.6
   Compiling cc v1.2.33
   Compiling tower-service v0.3.3
   Compiling windows-sys v0.59.0
   Compiling httparse v1.10.1
   Compiling tower-layer v0.3.3
   Compiling form_urlencoded v1.2.2
   Compiling rustversion v1.0.22
   Compiling mime v0.3.17
   Compiling aho-corasick v1.1.3
   Compiling sync_wrapper v1.0.2
   Compiling scopeguard v1.2.0
   Compiling powerfmt v0.2.0
   Compiling libc v0.2.175
   Compiling regex-syntax v0.8.5
   Compiling quote v1.0.40
   Compiling rand_core v0.9.3
   Compiling zeroize v1.8.1
   Compiling tinyvec_macros v0.1.1
   Compiling utf8_iter v1.0.4
   Compiling rand_core v0.6.4
   Compiling tinyvec v1.10.0
   Compiling syn v2.0.106
   Compiling concurrent-queue v2.5.0
   Compiling rustls-pki-types v1.12.0
   Compiling windows-targets v0.48.5
   Compiling crc-catalog v2.4.0
   Compiling arrayvec v0.7.6
   Compiling windows-link v0.1.3
   Compiling parking v2.2.1
   Compiling thiserror v1.0.69
   Compiling crc v3.3.0
   Compiling windows-sys v0.48.0
   Compiling crossbeam-queue v0.3.12
   Compiling atomic-waker v1.1.2
   Compiling ucd-trie v0.1.7
   Compiling heck v0.5.0
   Compiling try-lock v0.2.5
   Compiling unicode-properties v0.1.3
   Compiling hashlink v0.10.0
   Compiling event-listener v5.4.1
   Compiling bitflags v2.9.2
   Compiling unicode-normalization v0.1.24
   Compiling crypto-common v0.1.6
   Compiling block-buffer v0.10.4
   Compiling httpdate v1.0.3
   Compiling untrusted v0.9.0
   Compiling ppv-lite86 v0.2.21
   Compiling unicode-bidi v0.3.18
   Compiling atoi v2.0.0
   Compiling want v0.3.1
   Compiling byteorder v1.5.0
   Compiling dotenvy v0.15.7
   Compiling hex v0.4.3
   Compiling digest v0.10.7
   Compiling whoami v1.6.1
   Compiling rustls v0.23.31
   Compiling windows-targets v0.53.3
   Compiling rand_chacha v0.9.0
   Compiling rand_chacha v0.3.1
   Compiling stringprep v0.1.5
   Compiling encoding_rs v0.8.35
   Compiling anyhow v1.0.99
   Compiling sha2 v0.10.9
   Compiling hmac v0.12.1
   Compiling siphasher v1.0.1
   Compiling ipnet v2.11.0
   Compiling windows-sys v0.60.2
   Compiling md-5 v0.10.6
   Compiling block-padding v0.3.3
   Compiling rand v0.9.2
   Compiling ring v0.17.14
   Compiling hkdf v0.12.4
   Compiling rand v0.8.5
   Compiling phf_shared v0.12.1
   Compiling winapi v0.3.9
   Compiling ident_case v1.0.1
   Compiling fastrand v2.3.0
   Compiling strsim v0.11.1
   Compiling inout v0.1.4
   Compiling regex-automata v0.4.9
   Compiling phf_generator v0.12.1
   Compiling psm v0.1.26
   Compiling ahash v0.8.12
   Compiling winnow v0.7.12
   Compiling regex-syntax v0.6.29
   Compiling crc32fast v1.5.0
   Compiling paste v1.0.15
   Compiling iri-string v0.7.8
   Compiling toml_datetime v0.6.11
   Compiling phf_codegen v0.12.1
   Compiling cipher v0.4.4
   Compiling stacker v0.1.21
   Compiling sha1 v0.10.6
   Compiling multer v3.1.0
   Compiling cookie v0.18.1
   Compiling overload v0.1.1
   Compiling adler2 v2.0.1
   Compiling lazy_static v1.5.0
   Compiling utf-8 v0.7.6
   Compiling zlib-rs v0.5.1
   Compiling parse-zoneinfo v0.4.1
   Compiling data-encoding v2.9.0
   Compiling sharded-slab v0.1.7
   Compiling miniz_oxide v0.8.9
   Compiling tracing-log v0.2.0
   Compiling nom v8.0.0
   Compiling thread_local v1.1.9
   Compiling spin v0.9.8
   Compiling winapi-util v0.1.10
   Compiling hashbrown v0.14.5
   Compiling lru v0.12.5
   Compiling futures-timer v3.0.3
   Compiling bytecount v0.6.9
   Compiling matchit v0.8.4
   Compiling static_assertions_next v1.1.2
   Compiling aes v0.8.4
   Compiling cbc v0.1.2
   Compiling ecb v0.1.2
   Compiling same-file v1.0.6
   Compiling crossbeam-channel v0.5.15
   Compiling webpki-roots v1.0.2
   Compiling email-encoding v0.4.1
   Compiling walkdir v2.5.0
   Compiling rmp v0.8.14
   Compiling phf v0.12.1
   Compiling rangemap v1.6.0
   Compiling email_address v0.2.9
   Compiling quoted_printable v0.5.1
   Compiling weezl v0.1.10
   Compiling pico-args v0.5.0
   Compiling rust-embed-utils v8.7.2
   Compiling nu-ansi-term v0.46.0
   Compiling regex-automata v0.1.10
   Compiling synstructure v0.13.2
   Compiling darling_core v0.20.11
   Compiling matchers v0.1.0
   Compiling regex v1.11.1
   Compiling socket2 v0.6.0
   Compiling mio v1.0.4
   Compiling home v0.5.11
   Compiling etcetera v0.8.0
   Compiling schannel v0.1.27
   Compiling chumsky v0.9.3
   Compiling serde_derive v1.0.219
   Compiling zerovec-derive v0.11.1
   Compiling thiserror-impl v2.0.16
   Compiling displaydoc v0.2.5
   Compiling tracing-attributes v0.1.30
   Compiling futures-macro v0.3.31
   Compiling tokio-macros v2.5.0
   Compiling async-trait v0.1.89
   Compiling thiserror-impl v1.0.69
   Compiling strum_macros v0.26.4
   Compiling pin-project-internal v1.1.10
   Compiling async-stream-impl v0.3.6
   Compiling rust-embed-impl v8.7.2
   Compiling libz-rs-sys v0.5.1
   Compiling zerofrom-derive v0.1.6
   Compiling yoke-derive v0.8.0
   Compiling flate2 v1.1.2
   Compiling Inflector v0.11.4
   Compiling chrono-tz-build v0.5.0
   Compiling rustls-native-certs v0.8.1
   Compiling rustls-webpki v0.103.4
   Compiling async-stream v0.3.6
   Compiling nom_locate v5.0.0
   Compiling chrono-tz v0.10.4
   Compiling rust-embed v8.7.2
   Compiling futures-util v0.3.31
   Compiling zerofrom v0.1.6
   Compiling yoke v0.8.0
   Compiling pin-project v1.1.10
   Compiling tracing v0.1.41
   Compiling zerovec v0.11.4
   Compiling zerotrie v0.2.2
   Compiling opentelemetry v0.30.0
   Compiling pest v2.8.1
   Compiling darling_macro v0.20.11
   Compiling strum v0.26.3
   Compiling darling v0.20.11
   Compiling tinystr v0.8.1
   Compiling potential_utf v0.1.2
   Compiling icu_collections v2.0.0
   Compiling icu_locale_core v2.0.0
   Compiling pest_meta v2.8.1
   Compiling icu_provider v2.0.0
   Compiling icu_properties v2.0.1
   Compiling pest_generator v2.8.1
   Compiling futures-executor v0.3.31
   Compiling futures v0.3.31
   Compiling opentelemetry_sdk v0.30.0
   Compiling pest_derive v2.8.1
   Compiling bytes v1.10.1
   Compiling smallvec v1.15.1
   Compiling indexmap v2.10.0
   Compiling deranged v0.4.0
   Compiling uuid v1.18.0
   Compiling chrono v0.4.41
   Compiling serde_urlencoded v0.7.1
   Compiling either v1.15.0
   Compiling tracing-serde v0.2.0
   Compiling serde_path_to_error v0.1.17
   Compiling rmp-serde v1.3.0
   Compiling icu_normalizer v2.0.0
   Compiling parking_lot v0.12.4
   Compiling itertools v0.14.0
   Compiling tokio v1.47.1
   Compiling http v1.3.1
   Compiling idna_adapter v1.2.1
   Compiling futures-intrusive v0.5.0
   Compiling lopdf v0.37.0
   Compiling idna v1.1.0
   Compiling utoipa-gen v5.4.0
   Compiling time v0.3.41
   Compiling url v2.5.5
   Compiling async-graphql-value v7.0.17
   Compiling tracing-subscriber v0.3.19
   Compiling handlebars v5.1.2
   Compiling toml_edit v0.22.27
   Compiling http-body v1.0.1
   Compiling tungstenite v0.26.2
   Compiling http-body-util v0.1.3
   Compiling async-graphql-parser v7.0.17
   Compiling axum-core v0.5.2
   Compiling prost-derive v0.13.5
   Compiling tracing-opentelemetry v0.31.0
   Compiling tracing-appender v0.2.3
   Compiling proc-macro-crate v3.3.0
   Compiling tower-cookies v0.11.0
   Compiling prost v0.13.5
   Compiling async-graphql-derive v7.0.17
   Compiling tokio-util v0.7.16
   Compiling tokio-stream v0.1.17
   Compiling tower v0.5.2
   Compiling tokio-rustls v0.26.2
   Compiling tower-sessions-core v0.14.0
   Compiling tokio-tungstenite v0.26.2
   Compiling lettre v0.11.18
   Compiling sqlx-core v0.8.6
   Compiling tonic v0.13.1
   Compiling tower-http v0.6.6
   Compiling tower-sessions v0.14.0
   Compiling h2 v0.4.12
   Compiling utoipa v5.4.0
   Compiling opentelemetry-proto v0.30.0
   Compiling sqlx-postgres v0.8.6
   Compiling hyper v1.7.0
   Compiling async-graphql v7.0.17
   Compiling hyper-util v0.1.16
   Compiling hyper-rustls v0.27.7
   Compiling axum v0.8.4
   Compiling reqwest v0.12.23
   Compiling opentelemetry-http v0.30.0
   Compiling opentelemetry-otlp v0.30.0
error[E0275]: overflow evaluating the requirement `(&mut PgConnection, Oid): std::marker::Send`
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-core-0.8.6\src\ext\async_stream.rs:28:56
    |
 28 |         Fut: 'a + Future<Output = Result<(), Error>> + Send,
    |                                                        ^^^^
    |
    = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`sqlx_postgres`)
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:104:63
    |
104 |       ) -> Result<(Vec<PgColumn>, HashMap<UStr, usize>), Error> {
    |  _______________________________________________________________^
105 | |         let mut columns = Vec::new();
106 | |         let mut column_names = HashMap::new();
...   |
137 | |         Ok((columns, column_names))
138 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\executor.rs:294:12
    |
294 |           Ok(try_stream! {
    |  ____________^
295 | |             loop {
296 | |                 let message = self.inner.stream.recv().await?;
...   |
375 | |             Ok(())
376 | |         })
    | |_________^
note: required because it appears within the type `ManuallyDrop<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\mem\manually_drop.rs:157:12
note: required because it appears within the type `Instrumented<...>`
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tracing-0.1.41\src\instrument.rs:266:16
    |
266 |     pub struct Instrumented<T> {
    |                ^^^^^^^^^^^^
    = note: the full name for the type has been written to 'C:\project\target\debug\deps\sqlx_postgres-e246d8d1f44003c2.long-type-5919522497086964183.txt'
    = note: consider using `--verbose` to print the full type name to the console
    = note: this error originates in the macro `try_stream` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0275]: overflow evaluating the requirement `(&mut PgConnection, Oid): std::marker::Send`
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-core-0.8.6\src\ext\async_stream.rs:28:56
    |
 28 |         Fut: 'a + Future<Output = Result<(), Error>> + Send,
    |                                                        ^^^^
    |
    = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`sqlx_postgres`)
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:319:36
    |
319 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
320 | |         let base_type = self.maybe_fetch_type_info_by_oid(base_type, true).await?;
321 | |
322 | |         Ok(PgTypeInfo(PgType::Custom(Arc::new(PgCustomType {
...   |
326 | |         }))))
327 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:193:82
    |
193 |       async fn fetch_type_by_oid(&mut self, oid: Oid) -> Result<PgTypeInfo, Error> {
    |  __________________________________________________________________________________^
194 | |         let (name, typ_type, category, relation_id, element, base_type): (
195 | |             String,
196 | |             i8,
...   |
257 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:172:33
    |
172 |             let info = Box::pin(async { self.fetch_type_by_oid(oid).await }).await?;
    |                                 ^^^^^
    = note: required for `Unique<...>` to implement `std::marker::Send`
note: required because it appears within the type `Box<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\alloc\src\boxed.rs:231:12
note: required because it appears within the type `Pin<Box<...>>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\pin.rs:1094:12
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:157:36
    |
157 |       ) -> Result<PgTypeInfo, Error> {
    |  ____________________________________^
158 | |         // first we check if this is a built-in type
159 | |         // in the average application, the vast majority of checks should flow through this
160 | |         if let Some(info) = PgTypeInfo::try_from_oid(oid) {
...   |
191 | |     }
    | |_____^
note: required because it's used within this `async` fn body
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\describe.rs:104:63
    |
104 |       ) -> Result<(Vec<PgColumn>, HashMap<UStr, usize>), Error> {
    |  _______________________________________________________________^
105 | |         let mut columns = Vec::new();
106 | |         let mut column_names = HashMap::new();
...   |
137 | |         Ok((columns, column_names))
138 | |     }
    | |_____^
note: required because it's used within this `async` block
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\sqlx-postgres-0.8.6\src\connection\executor.rs:294:12
    |
294 |           Ok(try_stream! {
    |  ____________^
295 | |             loop {
296 | |                 let message = self.inner.stream.recv().await?;
...   |
375 | |             Ok(())
376 | |         })
    | |_________^
note: required because it appears within the type `ManuallyDrop<...>`
   --> D:\a\rustc_codegen_cranelift\rustc_codegen_cranelift\build\stdlib\library\core\src\mem\manually_drop.rs:157:12
note: required because it appears within the type `Instrumented<...>`
   --> C:\Users\Fred\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tracing-0.1.41\src\instrument.rs:266:16
    |
266 |     pub struct Instrumented<T> {
    |                ^^^^^^^^^^^^
    = note: the full name for the type has been written to 'C:\project\target\debug\deps\sqlx_postgres-e466f8f8a05ee9fa.long-type-4935220558868861480.txt'
    = note: consider using `--verbose` to print the full type name to the console
    = note: this error originates in the macro `try_stream` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0275`.
error: could not compile `sqlx-postgres` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `sqlx-postgres` (lib) due to 1 previous error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions