update for new hemtt #270
Annotations
6 warnings
use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead:
bin/calendar/src/main.rs#L60
warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead
--> bin/calendar/src/main.rs:60:25
|
60 | .ttl(&Duration::hours(1))
| ^^^^^
|
use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead:
bin/calendar/src/main.rs#L54
warning: use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead
--> bin/calendar/src/main.rs:54:49
|
54 | .ends(start + chrono::Duration::minutes(150i64))
| ^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
bin/calendar/src/main.rs#L41
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> bin/calendar/src/main.rs:41:36
|
41 | let start = NaiveDateTime::from_timestamp_opt(scheduled.start.unix_timestamp(), 0).unwrap();
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
unused import: `model::prelude::UserId`:
bin/bot/src/discord/handler/brain/functions/bank.rs#L2
warning: unused import: `model::prelude::UserId`
--> bin/bot/src/discord/handler/brain/functions/bank.rs:2:16
|
2 | use serenity::{model::prelude::UserId, prelude::Context};
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/cargo@v1, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|