This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
finish #3607
Annotations
1 error and 66 warnings
docker
buildx failed with: ERROR: failed to solve: process "/bin/sh -c cargo build --release --features jemalloc" did not complete successfully: exit code: 101
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/resourcepack.rs#L58
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/resourcepack.rs:58:32
|
58 | NaiveDateTime::from_timestamp_opt(1370651522, 0).unwrap(),
| ^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/resourcepack.rs#L54
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/resourcepack.rs:54:32
|
54 | NaiveDateTime::from_timestamp_opt(1289339999, 0).unwrap(),
| ^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/resourcepack.rs#L20
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/resourcepack.rs:20:28
|
20 | NaiveDateTime::from_timestamp_opt(1371137542, 0).unwrap(),
| ^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/quilt.rs#L19
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/quilt.rs:19:28
|
19 | NaiveDateTime::from_timestamp_opt(1646070100, 0).unwrap(),
| ^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/forge.rs#L63
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/forge.rs:63:32
|
63 | NaiveDateTime::from_timestamp_opt(1540122066, 0).unwrap(),
| ^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/forge.rs#L59
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/forge.rs:59:32
|
59 | NaiveDateTime::from_timestamp_opt(0, 0).unwrap(),
| ^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/forge.rs#L20
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/forge.rs:20:28
|
20 | NaiveDateTime::from_timestamp_opt(1540122067, 0).unwrap(),
| ^^^^^^^^^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/organizations.rs#L577
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/organizations.rs:577:6
|
577 | .fetch_many(&mut *transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/organizations.rs#L80
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/organizations.rs:80:6
|
80 | .fetch_many(&**pool)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/version_creation.rs#L397
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/version_creation.rs:397:6
|
397 | .fetch_many(&mut **transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/users.rs#L613
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/users.rs:613:10
|
613 | .fetch_many(&**pool)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/threads.rs#L202
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/threads.rs:202:14
|
202 | .fetch_many(&***pool)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/threads.rs#L168
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/threads.rs:168:14
|
168 | .fetch_many(&***pool)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/threads.rs#L132
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/threads.rs:132:14
|
132 | .fetch_many(&***pool)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/reports.rs#L281
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/reports.rs:281:10
|
281 | .fetch_many(&**pool)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/reports.rs#L263
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/reports.rs:263:10
|
263 | .fetch_many(&**pool)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/projects.rs#L433
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/projects.rs:433:22
|
433 | .fetch_many(&mut *transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/v3/projects.rs#L101
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/v3/projects.rs:101:6
|
101 | .fetch_many(&**pool)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/routes/internal/moderation.rs#L58
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/routes/internal/moderation.rs:58:6
|
58 | .fetch_many(&**pool)
| ^^^^^^^^^^
|
unused variable: `user_subscription_id`:
src/routes/internal/billing.rs#L555
warning: unused variable: `user_subscription_id`
--> src/routes/internal/billing.rs:555:17
|
555 | let user_subscription_id = generate_user_subscription_id(&mut transaction).await?;
| ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_subscription_id`
|
unused variable: `customer_id`:
src/routes/internal/billing.rs#L498
warning: unused variable: `customer_id`
--> src/routes/internal/billing.rs:498:9
|
498 | let customer_id = get_or_create_customer(
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_customer_id`
|
= note: `#[warn(unused_variables)]` on by default
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/search/indexing/local_import.rs#L52
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/search/indexing/local_import.rs:52:10
|
52 | .fetch_many(pool)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/queue/session.rs#L101
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/queue/session.rs:101:14
|
101 | .fetch_many(&mut *transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/user_item.rs#L487
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/user_item.rs:487:14
|
487 | .fetch_many(&mut **transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/user_item.rs#L469
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/user_item.rs:469:14
|
469 | .fetch_many(&mut **transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/user_item.rs#L436
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/user_item.rs:436:14
|
436 | .fetch_many(&mut **transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/user_item.rs#L347
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/user_item.rs:347:10
|
347 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/user_item.rs#L323
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/user_item.rs:323:10
|
323 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/user_item.rs#L299
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/user_item.rs:299:10
|
299 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/user_item.rs#L270
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/user_item.rs:270:10
|
270 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/thread_item.rs#L239
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/thread_item.rs:239:10
|
239 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/thread_item.rs#L147
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/thread_item.rs:147:10
|
147 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/team_item.rs#L303
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/team_item.rs:303:10
|
303 | .fetch_many(executor)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/session_item.rs#L223
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/session_item.rs:223:10
|
223 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/report_item.rs#L89
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/report_item.rs:89:10
|
89 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/project_item.rs#L877
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/project_item.rs:877:10
|
877 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/project_item.rs#L446
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/project_item.rs:446:14
|
446 | .fetch_many(&mut **transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/project_item.rs#L361
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/project_item.rs:361:14
|
361 | .fetch_many(&mut **transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/payout_item.rs#L77
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/payout_item.rs:77:10
|
77 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/pat_item.rs#L170
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/pat_item.rs:170:10
|
170 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/notification_item.rs#L288
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/notification_item.rs:288:10
|
288 | .fetch_many(&mut **transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/notification_item.rs#L245
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/notification_item.rs:245:10
|
245 | .fetch_many(&mut **transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/notification_item.rs#L176
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/notification_item.rs:176:14
|
176 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/notification_item.rs#L113
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/notification_item.rs:113:14
|
113 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/loader_fields.rs#L454
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/loader_fields.rs:454:10
|
454 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/loader_fields.rs#L154
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/loader_fields.rs:154:10
|
154 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/loader_fields.rs#L63
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/loader_fields.rs:63:10
|
63 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/image_item.rs#L138
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/image_item.rs:138:10
|
138 | .fetch_many(&mut **transaction)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/categories.rs#L275
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/categories.rs:275:10
|
275 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/categories.rs#L225
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/categories.rs:225:10
|
225 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/categories.rs#L169
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/categories.rs:169:10
|
169 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/database/models/categories.rs#L111
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/database/models/categories.rs:111:10
|
111 | .fetch_many(exec)
| ^^^^^^^^^^
|
use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.:
src/auth/checks.rs#L143
warning: use of deprecated method `sqlx::query::Map::<'q, DB, F, A>::fetch_many`: Only the SQLite driver supports multiple statements in one prepared statement and that behavior is deprecated. Use `sqlx::raw_sql()` instead.
--> src/auth/checks.rs:143:10
|
143 | .fetch_many(pool)
| ^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
unnecessary parentheses around block return value:
src/routes/internal/billing.rs#L975
warning: unnecessary parentheses around block return value
--> src/routes/internal/billing.rs:975:37
|
975 | ... (subscription.status == SubscriptionStatus::PaymentFailed
| ^
976 | ... && Utc::now() - y > Duration::days(2))
| ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
975 ~ subscription.status == SubscriptionStatus::PaymentFailed
976 ~ && Utc::now() - y > Duration::days(2)
|
|
docker
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, docker/metadata-action@v3, docker/login-action@v1, docker/build-push-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
docker
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, docker/metadata-action@v3, docker/login-action@v1, docker/build-push-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
docker
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
docker
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
docker
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
docker
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
docker
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
docker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
docker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
docker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
docker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
docker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|