Skip to content

chore(deps): bump amannn/action-semantic-pull-request from 5 to 6

e934990
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

chore(deps): bump amannn/action-semantic-pull-request from 5 to 6 #93

chore(deps): bump amannn/action-semantic-pull-request from 5 to 6
e934990
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Oct 9, 2025 in 1s

clippy

8 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 8
Note 0
Help 0

Versions

  • rustc 1.90.0 (1159e78c4 2025-09-14)
  • cargo 1.90.0 (840b83a10 2025-07-30)
  • clippy 0.1.90 (1159e78c47 2025-09-14)

Annotations

Check warning on line 62 in src/bin/org-clock.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead

warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
  --> src/bin/org-clock.rs:62:43
   |
62 |     let start_time_utc = DateTime::<Utc>::from_utc(naive_time, Utc);
   |                                           ^^^^^^^^

Check warning on line 40 in src/bin/system.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement

warning: unneeded `return` statement
  --> src/bin/system.rs:40:17
   |
40 |                 return row.split_ascii_whitespace().nth(1);
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
40 -                 return row.split_ascii_whitespace().nth(1);
40 +                 row.split_ascii_whitespace().nth(1)
   |

Check warning on line 57 in src/bin/org-clock.rs

See this annotation in the file changed.

@github-actions 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
  --> src/bin/org-clock.rs:57:37
   |
57 |     let naive_time = NaiveDateTime::from_timestamp_opt(
   |                                     ^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

Check warning on line 55 in src/bin/weather.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead

warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
  --> src/bin/weather.rs:55:43
   |
55 |             let dt_utc = DateTime::<Utc>::from_utc(dt_naive, Utc);
   |                                           ^^^^^^^^

Check warning on line 53 in src/bin/weather.rs

See this annotation in the file changed.

@github-actions 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
  --> src/bin/weather.rs:53:33
   |
53 |     let sunset = NaiveDateTime::from_timestamp_opt(weather.sys.sunset, 0)
   |                                 ^^^^^^^^^^^^^^^^^^

Check warning on line 48 in src/bin/weather.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead

warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
  --> src/bin/weather.rs:48:43
   |
48 |             let dt_utc = DateTime::<Utc>::from_utc(dt_naive, Utc);
   |                                           ^^^^^^^^

Check warning on line 46 in src/bin/weather.rs

See this annotation in the file changed.

@github-actions 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
  --> src/bin/weather.rs:46:34
   |
46 |     let sunrise = NaiveDateTime::from_timestamp_opt(weather.sys.sunrise, 0)
   |                                  ^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

Check warning on line 21 in src/lib/waybar.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

swapping with a temporary value is inefficient

warning: swapping with a temporary value is inefficient
  --> src/lib/waybar.rs:21:25
   |
21 |                         std::mem::swap(acc_val, &mut cur_val.len());
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use assignment instead: `*acc_val = cur_val.len()`
   |
note: this expression returns a temporary value
  --> src/lib/waybar.rs:21:54
   |
21 |                         std::mem::swap(acc_val, &mut cur_val.len());
   |                                                      ^^^^^^^^^^^^^
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#swap_with_temporary
   = note: `#[warn(clippy::swap_with_temporary)]` on by default