Skip to content

build(deps): bump dark-light from 1.1.1 to 2.0.0

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

build(deps): bump dark-light from 1.1.1 to 2.0.0 #336

build(deps): bump dark-light from 1.1.1 to 2.0.0
142b7fe
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Oct 29, 2025 in 0s

clippy

3 errors, 2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 2
Note 0
Help 0

Versions

  • rustc 1.92.0-beta.1 (3b4dd9bf1 2025-10-28)
  • cargo 1.92.0-beta.1 (344c4567c 2025-10-21)
  • clippy 0.1.92 (3b4dd9bf14 2025-10-28)

Annotations

Check failure on line 400 in gui2/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

error[E0308]: mismatched types
   --> gui2/src/lib.rs:400:13
    |
398 |         match dark_light::detect() {
    |               -------------------- this expression has type `std::result::Result<dark_light::Mode, dark_light::Error>`
399 |             Mode::Dark | Mode::Default => iced::Theme::Dark,
400 |             Mode::Light => iced::Theme::Light,
    |             ^^^^^^^^^^^ expected `Result<Mode, Error>`, found `Mode`
    |
    = note: expected enum `std::result::Result<dark_light::Mode, dark_light::Error>`
               found enum `dark_light::Mode`
help: try wrapping the pattern in `Ok`
    |
400 |             Ok(Mode::Light) => iced::Theme::Light,
    |             +++           +

Check failure on line 399 in gui2/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no variant or associated item named `Default` found for enum `dark_light::Mode` in the current scope

error[E0599]: no variant or associated item named `Default` found for enum `dark_light::Mode` in the current scope
   --> gui2/src/lib.rs:399:32
    |
399 |             Mode::Dark | Mode::Default => iced::Theme::Dark,
    |                                ^^^^^^^ variant or associated item not found in `dark_light::Mode`

Check failure on line 399 in gui2/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

error[E0308]: mismatched types
   --> gui2/src/lib.rs:399:13
    |
398 |         match dark_light::detect() {
    |               -------------------- this expression has type `std::result::Result<dark_light::Mode, dark_light::Error>`
399 |             Mode::Dark | Mode::Default => iced::Theme::Dark,
    |             ^^^^^^^^^^ expected `Result<Mode, Error>`, found `Mode`
    |
    = note: expected enum `std::result::Result<dark_light::Mode, dark_light::Error>`
               found enum `dark_light::Mode`
help: try wrapping the pattern in `Ok`
    |
399 |             Ok(Mode::Dark) | Mode::Default => iced::Theme::Dark,
    |             +++          +

Check warning on line 43 in server/src/debugpy.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this can be `std::io::Error::other(_)`

warning: this can be `std::io::Error::other(_)`
  --> server/src/debugpy.rs:43:38
   |
43 |                         .map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))
   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/beta/index.html#io_other_error
   = note: `#[warn(clippy::io_other_error)]` on by default
help: use `std::io::Error::other`
   |
43 -                         .map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))
43 +                         .map_err(|e| std::io::Error::other(e))
   |

Check warning on line 44 in launch_configuration/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

struct `Folder` is never constructed

warning: struct `Folder` is never constructed
  --> launch_configuration/src/lib.rs:44:8
   |
44 | struct Folder {
   |        ^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default