Skip to content

Update .gitmodules #311

Update .gitmodules

Update .gitmodules #311

Triggered via push March 13, 2024 15:53
Status Success
Total duration 1m 40s
Artifacts

check_format.yml

on: push
cargo fmt
22s
cargo fmt
Clippy lint and check
1m 29s
Clippy lint and check
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
cargo fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-protoc@v2, actions/checkout@v3, clechasseur/rs-cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy lint and check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-protoc@v2, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead: src/api/auth.rs#L55
warning: use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead --> src/api/auth.rs:55:49 | 55 | TokenType::AccessToken => Duration::minutes(20), | ^^^^^^^ | = note: `#[warn(deprecated)]` on by default
use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead: src/api/auth.rs#L56
warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead --> src/api/auth.rs:56:50 | 56 | TokenType::RefreshToken => Duration::days(90), | ^^^^
use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead: src/api/auth.rs#L55
warning: use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead --> src/api/auth.rs:55:49 | 55 | TokenType::AccessToken => Duration::minutes(20), | ^^^^^^^ | = note: `#[warn(deprecated)]` on by default
use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead: src/api/auth.rs#L56
warning: use of deprecated associated function `chrono::TimeDelta::days`: Use `TimeDelta::try_days` instead --> src/api/auth.rs:56:50 | 56 | TokenType::RefreshToken => Duration::days(90), | ^^^^
use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead: src/controllers/controller_impls/project_controller.rs#L84
warning: use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead --> src/controllers/controller_impls/project_controller.rs:84:60 | 84 | <= (Utc::now().naive_utc() - Duration::minutes(IN_USE_DURATION_MINUTES)) | ^^^^^^^
use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead: src/controllers/controller_impls/project_controller.rs#L352
warning: use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead --> src/controllers/controller_impls/project_controller.rs:352:59 | 352 | > (Utc::now().naive_utc() - Duration::minutes(IN_USE_DURATION_MINUTES)) | ^^^^^^^
use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead: src/controllers/controller_impls/project_controller.rs#L84
warning: use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead --> src/controllers/controller_impls/project_controller.rs:84:60 | 84 | <= (Utc::now().naive_utc() - Duration::minutes(IN_USE_DURATION_MINUTES)) | ^^^^^^^
use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead: src/controllers/controller_impls/project_controller.rs#L352
warning: use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead --> src/controllers/controller_impls/project_controller.rs:352:59 | 352 | > (Utc::now().naive_utc() - Duration::minutes(IN_USE_DURATION_MINUTES)) | ^^^^^^^
use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead: src/contexts/context_impls/../../tests/contexts/in_use_context.rs#L79
warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead --> src/contexts/context_impls/../../tests/contexts/in_use_context.rs:79:59 | 79 | let t_actual = fetched_in_use.clone().latest_activity.timestamp(); | ^^^^^^^^^
use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead: src/contexts/context_impls/../../tests/contexts/in_use_context.rs#L167
warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead --> src/contexts/context_impls/../../tests/contexts/in_use_context.rs:167:71 | 167 | latest_activity: in_use.clone().latest_activity.add(Duration::seconds(1)), | ^^^^^^^