This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Update branch + fix merge conflicts #668
Annotations
2 errors and 54 warnings
security_audit
Critical vulnerabilities were found, marking check as failed
|
the size for values of type `str` cannot be known at compilation time:
src/database/models/version_item.rs#L749
error[E0277]: the size for values of type `str` cannot be known at compilation time
--> src/database/models/version_item.rs:749:47
|
749 | ... .map(|x| VersionStatus::from_string(&x)),
| ^ doesn't have a size known at compile-time
|
= help: the trait `std::marker::Sized` is not implemented for `str`
= note: all function arguments must have a statically known size
|
security_audit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/audit-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
security_audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
security_audit
1 vulnerabilities found!
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/resourcepack.rs#L66
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/resourcepack.rs:66:32
|
66 | 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#L62
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/resourcepack.rs:62:32
|
62 | 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#L24
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/resourcepack.rs:24:28
|
24 | 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#L23
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/quilt.rs:23:28
|
23 | 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#L66
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/forge.rs:66:32
|
66 | NaiveDateTime::from_timestamp_opt(1505810340, 0).unwrap(),
| ^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/forge.rs#L62
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/forge.rs:62:32
|
62 | NaiveDateTime::from_timestamp_opt(1366818300, 0).unwrap(),
| ^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/forge.rs#L24
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/forge.rs:24:28
|
24 | NaiveDateTime::from_timestamp_opt(1540122067, 0).unwrap(),
| ^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/validate/fabric.rs#L24
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/validate/fabric.rs:24:28
|
24 | NaiveDateTime::from_timestamp_opt(1543969469, 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#L597
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:597:6
|
597 | .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#L93
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:93:6
|
93 | .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#L390
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:390:6
|
390 | .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#L630
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:630:10
|
630 | .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#L204
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:204:14
|
204 | .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#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/routes/v3/threads.rs:170:14
|
170 | .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#L134
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:134:14
|
134 | .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#L282
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:282:10
|
282 | .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#L264
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:264:10
|
264 | .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#L439
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:439:22
|
439 | .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#L104
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:104:6
|
104 | .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#L71
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:71:6
|
71 | .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/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#L432
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:432:14
|
432 | .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#L343
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:343:10
|
343 | .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#L319
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:319:10
|
319 | .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#L295
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:295:10
|
295 | .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#L266
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:266:10
|
266 | .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#L302
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:302:10
|
302 | .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#L891
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:891:10
|
891 | .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#L447
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:447:14
|
447 | .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#L362
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:362:14
|
362 | .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 `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead:
src/database/redis.rs#L220
warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
--> src/database/redis.rs:220:24
|
220 | if Utc.timestamp(val.iat + ACTUAL_EXPIRY, 0) < current_time {
| ^^^^^^^^^
|
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#L144
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:144:10
|
144 | .fetch_many(pool)
| ^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|