Skip to content

chore(deps): bump the backwards-compatible group across 1 directory w…

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

chore(deps): bump the backwards-compatible group across 1 directory with 5 updates #95

chore(deps): bump the backwards-compatible group across 1 directory w…
6047ed5
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Nov 1, 2025 in 0s

clippy

8 warnings

Details

Results

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

Versions

  • rustc 1.91.0 (f8297e351 2025-10-28)
  • cargo 1.91.0 (ea2d97820 2025-10-10)
  • clippy 0.1.91 (f8297e351a 2025-10-28)

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 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 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/rust-1.91.0/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 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/rust-1.91.0/index.html#swap_with_temporary
   = note: `#[warn(clippy::swap_with_temporary)]` on by default