Files
boc/aamos-command-center/target/release/.fingerprint/sqlx-postgres-88f1726638cb2df2/output-lib-sqlx_postgres
T

2 lines
19 KiB
Plaintext
Raw Normal View History

{"$message_type":"future_incompat","future_incompat_report":[{"diagnostic":{"$message_type":"diagnostic","message":"this function depends on never type fallback being `()`","code":{"code":"dependency_on_unit_never_type_fallback","explanation":null},"level":"warning","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.7.4/src/connection/executor.rs","byte_start":707,"byte_end":899,"line_start":23,"line_end":28,"column_start":1,"column_end":52,"is_primary":true,"text":[{"text":"async fn prepare(","highlight_start":1,"highlight_end":18},{"text":" conn: &mut PgConnection,","highlight_start":1,"highlight_end":29},{"text":" sql: &str,","highlight_start":1,"highlight_end":15},{"text":" parameters: &[PgTypeInfo],","highlight_start":1,"highlight_end":31},{"text":" metadata: Option<Arc<PgStatementMetadata>>,","highlight_start":1,"highlight_end":48},{"text":") -> Result<(Oid, Arc<PgStatementMetadata>), Error> {","highlight_start":1,"highlight_end":52}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"specify the types explicitly","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail","code":null,"level":"note","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.7.4/src/connection/executor.rs","byte_start":2149,"byte_end":2160,"line_start":68,"line_end":68,"column_start":10,"column_end":21,"is_primary":true,"text":[{"text":" .recv_expect(MessageFormat::ParseComplete)","highlight_start":10,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!","code":null,"level":"warning","spans":[],"children":[],"rendered":null},{"message":"for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"use `()` annotations to avoid fallback changes","code":null,"level":"help","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.7.4/src/connection/executor.rs","byte_start":2116,"byte_end":2116,"line_start":66,"line_end":66,"column_start":10,"column_end":10,"is_primary":true,"text":[{"text":" let _ = conn","highlight_start":10,"highlight_end":10}],"label":null,"suggested_replacement":": ()","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: this function depends on never type fallback being `()`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-postgres-0.7.4/src/connection/executor.rs:23:1\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m23\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m/\u001b[0m async fn prepare(\n\u001b[1m\u001b[94m24\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m|\u001b[0m conn: &mut PgConnection,\n\u001b[1m\u001b[94m25\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m|\u001b[0m sql: &str,\n\u001b[1m\u001b[94m26\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m|\u001b[0m parameters: &[PgTypeInfo],\n\u001b[1m\u001b[94m27\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m|\u001b[0m metadata: Option<Arc<PgStatementMetadata>>,\n\u001b[1m\u001b[94m28\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m|\u001b[0m ) -> Result<(Oid, Arc<PgStatementMetadata>), Error> {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m|___________________________________________________^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: specify the ty