ErrLookup › transact-rs/sqlx
transact-rs/sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. · Rust · 372 source files
Analyzed at 03af8bcc57 on 2026-09-03. 40 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Cannot use both flatten and json | panic | error | compile-time, proc-macro, derive-fromrow, sqlx |
| Cannot use both try from and json nullable | panic | error | compile-time, proc-macro, derive-fromrow, sqlx |
| one of the `runtime-*-native-tls` or `runtime-*-rustls` feat | panic | critical | tls, configuration, feature-flags, sqlx |
| this functionality requires a Tokio context | panic | critical | async, tokio, runtime, sqlx |
| one of the `runtime` features of SQLx must be enabled | panic | critical | configuration, feature-flags, async, sqlx |
| downcast to wrong DatabaseError type; original error: {self} | panic | error | panic, downcast, database-error, sqlx |
| downcast to wrong DatabaseError type; original error: {e} | panic | error | panic, downcast, database-error, sqlx |
| failed to apply test fixture {:?}: {:?} | panic | error | testing, fixtures, sql, sqlx |
| invalid column index: {} | panic | warning | sqlite, panic, index-out-of-range, sqlx |
| get_transaction_depth() is not implemented for this backend. | panic | error | any-driver, transactions, trait-implementation, sqlx |
| unimplemented!() | panic | error | rust, sqlx, unimplemented, panic, driver-api |
| expected to read {} bytes, got {} bytes at EOF | exception | error | rust, sqlx, io, eof, network, socket |
| Hostname did not resolve to any addresses | exception | error | rust, sqlx, dns, network, hostname, tcp |
| Unix domain sockets are not supported on this platform | exception | error | rust, sqlx, unix-socket, platform, unsupported |
| absolute paths will only work on the current machine | validation | error | rust, sqlx, macros, compile-time, paths |
| paths relative to the current file's directory are not curre | validation | error | rust, sqlx, macros, compile-time, paths |
| query file path cannot be represented as a string | validation | error | rust, sqlx, macros, utf-8, paths, encoding |
| failed to read query file at {}: {} | exception | error | rust, sqlx, macros, compile-time, file-io |
| expected exactly 1 column, got {} | validation | error | rust, sqlx, macros, compile-time, query-scalar |
| VARBIT length mismatch. | exception | error | rust, sqlx, postgres, decode, bit-vec, protocol |
| VARBIT data contains other characters than 1 or 0. | exception | error | postgres, decode, bitvec, invalid-data |
| Provided BigDecimal could not convert to i64: overflow. | exception | error | postgres, money, overflow, bigdecimal |
| Reading a `MONEY` value in text format is not supported. | exception | error | postgres, money, decode, text-format |
| filename passed to SQLite must be valid UTF-8 | exception | error | sqlite, encoding, utf-8, connection |
| filename passed to SQLite must not contain nul bytes | exception | error | sqlite, validation, connection, nul-byte |
| extension entrypoint names passed to SQLite must not contain | exception | error | rust, sqlx, sqlite, input-validation, nul-byte |
| extension names passed to SQLite must not contain nul bytes | exception | error | rust, sqlx, sqlite, input-validation, nul-byte |
| SQLite is unable to allocate memory to hold the sqlite3 obje | exception | critical | rust, sqlx, sqlite, out-of-memory, resource-limits |
| No drivers installed. Please see the documentation in `sqlx: | panic | error | rust, sqlx, any-driver, feature-flags, configuration |
| failed to apply migrations | panic | error | rust, sqlx, migrations, testing, database |
| failed to close setup connection | panic | warning | sqlx, testing, connection-close, panic |
| Could not fetch metadata | panic | error | sqlx, macros, cargo-metadata, build, panic |
| Invalid `cargo metadata` output | panic | error | sqlx, macros, cargo-metadata, json, panic |
| cleanup_test() invoked outside `#[sqlx::test]` | panic | error | sqlx, mysql, testing, panic, misuse |
| DATABASE_URL must be set | panic | error | sqlx, mysql, testing, env-var, panic |
| failed to parse DATABASE_URL | panic | error | sqlx, mysql, testing, url-parse, panic |
| cleanup_test() invoked outside `#[sqlx::test]` | panic | error | sqlx, postgres, testing, panic, misuse |
| DATABASE_URL must be set | panic | error | sqlx, postgres, testing, env-var, panic |
| failed to parse DATABASE_URL | panic | error | rust, sqlx, postgres, env-var, panic |
| PgBindIter is only used once | panic | error | rust, sqlx, postgres, iterator, panic |