ErrLookup › diesel-rs/diesel

diesel-rs/diesel

A safe, extensible ORM and Query Builder for Rust · Rust · 420 source files

Analyzed at 6fa6ed01b2 on 2026-09-07. 99 documented errors.

Code / MessageTypeSeverityTags
Failed to create embedded migrations instance
panic error rust, proc-macro, compile-time, diesel, migrations
warning: = help
console warning rust, diesel, deprecation, proc-macro, diagnostics
#[ ] attribute form is deprecated
console warning rust, diesel, deprecation, proc-macro, attributes
, the correct format is `generate_return_type_helpers =…
exception error
got invalid case identifier
exception error
Unknown case: , expected one of: `PascalCase`…
exception error
references are not supported in `Queryable` types consider…
exception error rust, proc-macro, diesel, compile-time
Unable to perform MySQL global initialization
panic critical mysql, initialization, panic, diesel
Only enums are supported as multiconnection type
panic error
Can't get file name from path
panic error compile-time, proc-macro, migrations, path
Failed to convert BigDecimal to PgNumeric
panic error
DIESEL_MAX_COLUMN_COUNT is a number that fits into a u16
panic error compile-time, env-var, build-configuration, diesel
expected `foreign_key`
validation error rust, proc-macro, diesel-derive, attribute-syntax
Maximal supported month interval size is 32 bit
panic error
unsupported literal for auto_type, please provide a type…
exception error
expected `oid` and `array_oid` attribute or `name`…
exception error
Field not found
panic error
unexpected end of input, expected parentheses help: the…
exception error rust, proc-macro, diesel, syntax
unsupported expression for auto_type, please provide a type…
exception error rust, proc-macro, type-inference, compile-time
overflow adding money amounts
panic error
Error closing SQLite connection
panic error sqlite, drop-panic, resource-cleanup, diesel
Invalid `#[sql_name = ]` attribute
exception error
`#[diesel(embed)]` cannot be combined with…
exception error diesel, derive-macro, rust, orm
expected `disable`, but got
exception error
Expected `#[ ]` to have no arguments
exception error
, the correct format is `#[window]
exception error rust, proc-macro, diesel, attributes, window-function
unexpected `oid` when `name` is present help
exception error
expected attribute `name` help: the correct format looks…
exception error
, the correct format is `#[variadic(last_arguments = 3)]`…
exception error proc-macro, rust, attribute-parsing, diesel
Invalid config
exception error
expected `treat_none_as_null`
exception error rust, proc-macro, diesel-derive, attribute-syntax
expect `skip_zero_argument_variant`
exception error proc-macro, rust, attribute-parsing, diesel
Tuples should never implement `ToSql` directly
panic error types, to-sql, tuples, compile-time-panic
underflow subtracting money amounts
panic error
Hit a type that should be unsupported in libmysqlclient. If…
panic error mysql, type-mapping, unsupported-type, panics
Using window functions in WHERE clauses is not supported
panic error compile-time, sql, window-functions, diesel
You've reached an impossible internal state. If you ever…
panic critical mysql, internal-bug, iterator, unreachable
` ` must be in the form `#[ ="something"]
panic error compile-time, proc-macro, attributes, syntax
foreign_derive requires at least one field
exception error
Invalid migration directory: the directory's name should be
panic error compile-time, migrations, naming, proc-macro
unexpected `array_oid` when `name` is present help
exception error
Function return type should be explicitly specified as `->…
validation error rust, proc-macro, return-type, compile-time
cannot find argument corresponding to the generic
exception error rust, proc-macro, diesel, generics, sql-function
last statement should be an expression for auto_type
validation error rust, proc-macro, statements, compile-time
, the correct format is `#[variadic(3)]
exception error proc-macro, rust, attribute-parsing, diesel
Error closing SQLite blob
panic error sqlite, blob, drop-panic, resource-cleanup, diesel
at least one `sql_type` is needed for deriving…
exception error diesel, derive-macro, rust, sql-types
foreign_derive can only be used with structs
exception error
all fields of tuple structs must be annotated with…
exception error proc-macro, derive, column-name, tuple-struct, compile-time
type_name and type_case are mutually exclusive
exception error rust, proc-macro, attribute-options, compile-time
this derive can only be used on non-unit structs
exception error proc-macro, derive, unit-struct, compile-time
expected `name` to be also present help: make sure `name`…
exception error
out of range integral type conversion attempted
exception error rust, sqlite, integer-overflow, blob-io
invalid variadic argument count: not enough function…
exception error rust, proc-macro, diesel, compile-time, sql-function
Sqlite's documentation state that this case
panic critical sqlite, ffi, internal-bug, unreachable
auto_type: unexpected double type ascription
exception error rust, proc-macro, patterns, compile-time
, the correct format is `#[aggregate]
exception error rust, proc-macro, diesel, attributes, sql-function
Maximal supported day interval size is 32 bit
panic critical diesel, postgres, interval, overflow, panic
function body should not be empty for auto_type
validation error rust, proc-macro, empty-body, compile-time
`embed` and `treat_none_as_default_value` are mutually…
exception error proc-macro, derive, insertable, attribute-conflict, compile-time
deriving `AsChangeset` on a structure that only contains…
exception error rust, diesel, proc-macro, as-changeset
unexpected token after positional `#[variadic(..)]`
exception error rust, proc-macro, diesel, attributes, syntax
no field with column name
exception error proc-macro, derive, associations, belongs-to, compile-time
auto_type: tuple let assignment and its type ascription…
exception error rust, proc-macro, patterns, compile-time
only the `env!` macro is expected here
exception error diesel, proc-macro, rust, macro-syntax
at least one `belongs_to` is needed for deriving…
exception error diesel, derive-macro, rust, orm-associations
Error finalizing SQLite prepared statement
panic error
expected valid identifier, found
exception error rust, diesel-derive, identifier, naming
expected `treat_none_as_null` field to be of type `Option
exception error rust, diesel, proc-macro, type-mismatch
unknown attribute, expected
exception error rust, proc-macro, diesel, attribute-parsing
expect `last_arguments`
exception error rust, proc-macro, diesel, attributes, syntax
type_alias and no_type_alias are mutually exclusive
exception error rust, proc-macro, attribute-options, compile-time
expected a integer literal expression, but got something…
exception error proc-macro, derive, literal-parsing, compile-time
SQLite while reading a value as
panic error
only `mysql_backend`, `mariadb_backend`, `postgres_backend`…
exception error proc-macro, rust, feature-flags, cfg, diesel
this derive can only be used on enums with exclusively…
exception error diesel, derive-macro, rust, enums, generics
expected a literal expression, but got something else
exception error diesel, derive-macro, rust, enums, literals
expected type
exception error rust, proc-macro, diesel, type-syntax
no `#[diesel(sql_type = ...)]` attribute provided
exception error proc-macro, derive, missing-attribute, compile-time
expected a single table name attribute note: remove this…
exception error proc-macro, derive, duplicate-attribute, compile-time
unexpected end of input, expected `=` help: the correct…
exception error rust, proc-macro, diesel, syntax
Expected ` ` to be set as environment variable
exception error diesel, proc-macro, rust, environment-variable, build-time
, the correct format is `#[skip_return_type_helper]
exception error rust, proc-macro, diesel, attributes, sql-function
Only enums with one field per variant are supported
panic error
expect `SQL` function blocks to be safe
exception error rust, proc-macro, diesel, sql-function, unsafety
only single feature `cfg_attr` attributes are supported. Got
exception error proc-macro, rust, cfg, attribute-parsing, diesel
Expected ` ` to be a u16 integer value
exception error diesel, proc-macro, rust, environment-variable, integer-parsing
not implemented
panic critical rust, diesel, panic, todo-unimplemented, query-inference
unsupported binary operator for auto_type
exception error
unexpected end of input, expected parentheses
exception error rust, proc-macro, diesel-derive, attribute-syntax
expect `SQL` as ABI
exception error rust, proc-macro, diesel, sql-function, abi
Expected `require_order` but got
exception error proc-macro, rust, attribute-parsing, diesel
auto_type: tuple type and its expression have different…
exception error
Failed to receive migrations dir from
panic error
unexpected option
exception error proc-macro, rust, attribute-parsing, diesel
Failed to read migration literals
panic error
only `true` is accepted in this position. If you want to…
exception error
expected valid identifier, found
exception error
Failed to create trigger
panic error