3 hour message #281
GitHub Actions / clippy
succeeded
Mar 10, 2024 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.76.0 (07dca489a 2024-02-04)
- cargo 1.76.0 (c84b36747 2024-01-18)
- clippy 0.1.76 (07dca48 2024-02-04)
Annotations
Check warning on line 60 in bin/calendar/src/main.rs
github-actions / clippy
use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead
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))
| ^^^^^
Check warning on line 54 in bin/calendar/src/main.rs
github-actions / clippy
use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead
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))
| ^^^^^^^
Check warning on line 41 in bin/calendar/src/main.rs
github-actions / clippy
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
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
Loading