Bump bigdecimal from 0.3.1 to 0.4.1 #5
clippy
6 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 6 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.0 (5680fa18f 2023-08-23)
- cargo 1.72.0 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (5680fa1 2023-08-23)
Annotations
Check failure on line 81 in src/models.rs
github-actions / clippy
the trait bound `bigdecimal::BigDecimal: diesel::Expression` is not satisfied
error[E0277]: the trait bound `bigdecimal::BigDecimal: diesel::Expression` is not satisfied
--> src/models.rs:81:9
|
81 | pub amount: BigDecimal,
| ^^^^^^ the trait `diesel::Expression` is not implemented for `bigdecimal::BigDecimal`
|
= help: the following other types implement trait `diesel::Expression`:
std::boxed::Box<T>
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::run_on
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::version
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::star
schema::transfers::columns::pact_id
schema::transfers::columns::to_account
schema::transfers::columns::request_key
schema::transfers::columns::module_name
and 202 others
= note: required for `&'insert bigdecimal::BigDecimal` to implement `diesel::Expression`
= note: required for `&'insert bigdecimal::BigDecimal` to implement `diesel::expression::AsExpression<diesel::sql_types::Numeric>`
Check failure on line 81 in src/models.rs
github-actions / clippy
the trait bound `bigdecimal::BigDecimal: diesel::Expression` is not satisfied
error[E0277]: the trait bound `bigdecimal::BigDecimal: diesel::Expression` is not satisfied
--> src/models.rs:81:9
|
81 | pub amount: BigDecimal,
| ^^^^^^ the trait `diesel::Expression` is not implemented for `bigdecimal::BigDecimal`
|
= help: the following other types implement trait `diesel::Expression`:
std::boxed::Box<T>
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::run_on
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::version
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::star
schema::transfers::columns::pact_id
schema::transfers::columns::to_account
schema::transfers::columns::request_key
schema::transfers::columns::module_name
and 202 others
= note: required for `bigdecimal::BigDecimal` to implement `diesel::expression::AsExpression<diesel::sql_types::Numeric>`
Check failure on line 23 in src/models.rs
github-actions / clippy
the trait bound `bigdecimal::BigDecimal: diesel::Expression` is not satisfied
error[E0277]: the trait bound `bigdecimal::BigDecimal: diesel::Expression` is not satisfied
--> src/models.rs:23:9
|
23 | pub weight: BigDecimal,
| ^^^^^^ the trait `diesel::Expression` is not implemented for `bigdecimal::BigDecimal`
|
= help: the following other types implement trait `diesel::Expression`:
std::boxed::Box<T>
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::run_on
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::version
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::star
schema::transfers::columns::pact_id
schema::transfers::columns::to_account
schema::transfers::columns::request_key
schema::transfers::columns::module_name
and 202 others
= note: required for `&'insert bigdecimal::BigDecimal` to implement `diesel::Expression`
= note: required for `&'insert bigdecimal::BigDecimal` to implement `diesel::expression::AsExpression<diesel::sql_types::Numeric>`
Check failure on line 23 in src/models.rs
github-actions / clippy
the trait bound `bigdecimal::BigDecimal: diesel::Expression` is not satisfied
error[E0277]: the trait bound `bigdecimal::BigDecimal: diesel::Expression` is not satisfied
--> src/models.rs:23:9
|
23 | pub weight: BigDecimal,
| ^^^^^^ the trait `diesel::Expression` is not implemented for `bigdecimal::BigDecimal`
|
= help: the following other types implement trait `diesel::Expression`:
std::boxed::Box<T>
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::run_on
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::version
diesel_migrations::migration_harness::__diesel_schema_migrations::columns::star
schema::transfers::columns::pact_id
schema::transfers::columns::to_account
schema::transfers::columns::request_key
schema::transfers::columns::module_name
and 202 others
= note: required for `bigdecimal::BigDecimal` to implement `diesel::expression::AsExpression<diesel::sql_types::Numeric>`
Check failure on line 81 in src/models.rs
github-actions / clippy
the trait bound `bigdecimal::BigDecimal: diesel::Queryable<diesel::sql_types::Numeric, diesel::pg::Pg>` is not satisfied
error[E0277]: the trait bound `bigdecimal::BigDecimal: diesel::Queryable<diesel::sql_types::Numeric, diesel::pg::Pg>` is not satisfied
--> src/models.rs:81:17
|
81 | pub amount: BigDecimal,
| ^^^^^^^^^^ the trait `diesel::Queryable<diesel::sql_types::Numeric, diesel::pg::Pg>` is not implemented for `bigdecimal::BigDecimal`
|
= help: the following other types implement trait `diesel::Queryable<ST, DB>`:
<bool as diesel::Queryable<__ST, __DB>>
<i8 as diesel::Queryable<__ST, __DB>>
<i16 as diesel::Queryable<__ST, __DB>>
<i32 as diesel::Queryable<__ST, __DB>>
<i64 as diesel::Queryable<__ST, __DB>>
<u8 as diesel::Queryable<__ST, __DB>>
<u16 as diesel::Queryable<__ST, __DB>>
<u32 as diesel::Queryable<__ST, __DB>>
and 126 others
= note: required for `bigdecimal::BigDecimal` to implement `diesel::deserialize::FromSqlRow<diesel::sql_types::Numeric, diesel::pg::Pg>`
= help: see issue #48214
Check failure on line 23 in src/models.rs
github-actions / clippy
the trait bound `bigdecimal::BigDecimal: diesel::Queryable<diesel::sql_types::Numeric, diesel::pg::Pg>` is not satisfied
error[E0277]: the trait bound `bigdecimal::BigDecimal: diesel::Queryable<diesel::sql_types::Numeric, diesel::pg::Pg>` is not satisfied
--> src/models.rs:23:17
|
23 | pub weight: BigDecimal,
| ^^^^^^^^^^ the trait `diesel::Queryable<diesel::sql_types::Numeric, diesel::pg::Pg>` is not implemented for `bigdecimal::BigDecimal`
|
= help: the following other types implement trait `diesel::Queryable<ST, DB>`:
<bool as diesel::Queryable<__ST, __DB>>
<i8 as diesel::Queryable<__ST, __DB>>
<i16 as diesel::Queryable<__ST, __DB>>
<i32 as diesel::Queryable<__ST, __DB>>
<i64 as diesel::Queryable<__ST, __DB>>
<u8 as diesel::Queryable<__ST, __DB>>
<u16 as diesel::Queryable<__ST, __DB>>
<u32 as diesel::Queryable<__ST, __DB>>
and 126 others
= note: required for `bigdecimal::BigDecimal` to implement `diesel::deserialize::FromSqlRow<diesel::sql_types::Numeric, diesel::pg::Pg>`
= help: see issue #48214