Skip to content

Update to latest nightly #14

Update to latest nightly

Update to latest nightly #14

GitHub Actions / Run clippy (ubuntu-latest, all features) succeeded Dec 3, 2023 in 0s

Run clippy (ubuntu-latest, all features)

12 warnings

Details

Results

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

Versions

  • rustc 1.76.0-nightly (90e321d82 2023-12-02)
  • cargo 1.76.0-nightly (26333c732 2023-11-28)
  • clippy 0.1.76 (90e321d 2023-12-02)

Annotations

Check warning on line 736 in frontend/desktop/src/ui.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

method `title` is never used

warning: method `title` is never used
   --> frontend/desktop/src/ui.rs:736:8
    |
255 | impl UiState {
    | ------------ method in this implementation
...
736 |     fn title(&self, components: TitleComponents) -> String {
    |        ^^^^^

Check warning on line 258 in frontend/desktop/src/emu/gdb_server.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

method `send_notif` is never used

warning: method `send_notif` is never used
   --> frontend/desktop/src/emu/gdb_server.rs:258:8
    |
145 | impl GdbServer {
    | -------------- method in this implementation
...
258 |     fn send_notif(&mut self, data: Vec<u8>) {
    |        ^^^^^^^^^^

Check warning on line 78 in frontend/desktop/src/emu/gdb_server.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

variant `Syscall` is never constructed

warning: variant `Syscall` is never constructed
  --> frontend/desktop/src/emu/gdb_server.rs:78:5
   |
76 | enum StopCause {
   |      --------- variant in this enum
77 |     Break,                                        // Signal 0x00 (None)
78 |     Syscall(u8, Core),                            // Signal 0x05 (SIGTRAP), syscall_entry
   |     ^^^^^^^
   |
   = note: `StopCause` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis

Check warning on line 363 in frontend/desktop/src/config.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

method `system_title_bar_hidden` is never used

warning: method `system_title_bar_hidden` is never used
   --> frontend/desktop/src/config.rs:363:12
    |
362 | impl TitleBarMode {
    | ----------------- method in this implementation
363 |     pub fn system_title_bar_hidden(&self) -> bool {
    |            ^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

Check warning on line 769 in frontend/desktop/src/ui.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

unused variable: `window`

warning: unused variable: `window`
   --> frontend/desktop/src/ui.rs:769:53
    |
769 |     fn update_title(&self, config: &config::Config, window: &window::Window) {
    |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`

Check warning on line 769 in frontend/desktop/src/ui.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

unused variable: `config`

warning: unused variable: `config`
   --> frontend/desktop/src/ui.rs:769:28
    |
769 |     fn update_title(&self, config: &config::Config, window: &window::Window) {
    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`

Check warning on line 723 in frontend/desktop/src/ui.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

unused variable: `window`

warning: unused variable: `window`
   --> frontend/desktop/src/ui.rs:723:60
    |
723 |     fn update_menu_bar(&mut self, config: &config::Config, window: &mut window::Window) {
    |                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
    |
    = note: `#[warn(unused_variables)]` on by default

Check warning on line 19 in frontend/desktop/src/ui.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

unused import: `TitleBarMode`

warning: unused import: `TitleBarMode`
  --> frontend/desktop/src/ui.rs:19:60
   |
19 |     config::{self, Launch, Renderer2dKind, Renderer3dKind, TitleBarMode},
   |                                                            ^^^^^^^^^^^^

Check warning on line 20 in frontend/desktop/src/ui/window.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

unused imports: `HasWindowHandle`, `RawWindowHandle`

warning: unused imports: `HasWindowHandle`, `RawWindowHandle`
  --> frontend/desktop/src/ui/window.rs:20:25
   |
20 |     raw_window_handle::{HasWindowHandle, RawWindowHandle},
   |                         ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^

Check warning on line 121 in frontend/desktop/src/ui/config_editor.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

unused import: `TitleBarMode`

warning: unused import: `TitleBarMode`
   --> frontend/desktop/src/ui/config_editor.rs:121:81
    |
121 |         self, saves, ModelConfig, Renderer2dKind, Renderer3dKind, Setting as _, TitleBarMode,
    |                                                                                 ^^^^^^^^^^^^
    |
    = note: `#[warn(unused_imports)]` on by default

Check warning on line 163 in render/wgpu-2d/src/common/render/bgs/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

unused variable: `zero`

warning: unused variable: `zero`
   --> render/wgpu-2d/src/common/render/bgs/avx2.rs:163:9
    |
163 |     let zero = _mm256_setzero_si256();
    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_zero`
    |
    = note: `#[warn(unused_variables)]` on by default

Check warning on line 5 in render/wgpu-2d/src/common/render/bgs/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, all features)

unused imports: `mem::transmute`, `simd::u64x4`

warning: unused imports: `mem::transmute`, `simd::u64x4`
 --> render/wgpu-2d/src/common/render/bgs/avx2.rs:5:29
  |
5 | use core::{arch::x86_64::*, mem::transmute, simd::u64x4};
  |                             ^^^^^^^^^^^^^^  ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default