Skip to content

Update dependencies and fix warnings #41

Update dependencies and fix warnings

Update dependencies and fix warnings #41

Triggered via push April 14, 2024 10:57
Status Success
Total duration 3m 53s
Artifacts

clippy.yml

on: push
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
function `format_size_shift` is never used: frontend/desktop/src/utils.rs#L268
warning: function `format_size_shift` is never used --> frontend/desktop/src/utils.rs:268:8 | 268 | pub fn format_size_shift(shift: usize) -> String { | ^^^^^^^^^^^^^^^^^
function `format_size` is never used: frontend/desktop/src/utils.rs#L261
warning: function `format_size` is never used --> frontend/desktop/src/utils.rs:261:8 | 261 | pub fn format_size(size: u32) -> String { | ^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
unused variable: `window`: frontend/desktop/src/ui.rs#L668
warning: unused variable: `window` --> frontend/desktop/src/ui.rs:668:49 | 668 | fn stop_emu(&mut self, config: &mut Config, window: &mut window::Window) { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` | = note: `#[warn(unused_variables)]` on by default
the feature `slice_ptr_len` has been stable since 1.79.0-nightly and no longer requires an attribute to enable: frontend/desktop/src/main.rs#L5
warning: the feature `slice_ptr_len` has been stable since 1.79.0-nightly and no longer requires an attribute to enable --> frontend/desktop/src/main.rs:5:5 | 5 | slice_ptr_len, | ^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default
the feature `slice_ptr_len` has been stable since 1.79.0-nightly and no longer requires an attribute to enable: frontend/desktop/src/main.rs#L5
warning: the feature `slice_ptr_len` has been stable since 1.79.0-nightly and no longer requires an attribute to enable --> frontend/desktop/src/main.rs:5:5 | 5 | slice_ptr_len, | ^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default
Clippy (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy (windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
function `format_size_shift` is never used: frontend/desktop/src/utils.rs#L268
warning: function `format_size_shift` is never used --> frontend/desktop/src/utils.rs:268:8 | 268 | pub fn format_size_shift(shift: usize) -> String { | ^^^^^^^^^^^^^^^^^
function `format_size` is never used: frontend/desktop/src/utils.rs#L261
warning: function `format_size` is never used --> frontend/desktop/src/utils.rs:261:8 | 261 | pub fn format_size(size: u32) -> String { | ^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
unused variable: `window`: frontend/desktop/src/ui.rs#L668
warning: unused variable: `window` --> frontend/desktop/src/ui.rs:668:49 | 668 | fn stop_emu(&mut self, config: &mut Config, window: &mut window::Window) { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` | = note: `#[warn(unused_variables)]` on by default
the feature `slice_ptr_len` has been stable since 1.79.0-nightly and no longer requires an attribute to enable: frontend/desktop/src/main.rs#L5
warning: the feature `slice_ptr_len` has been stable since 1.79.0-nightly and no longer requires an attribute to enable --> frontend/desktop/src/main.rs:5:5 | 5 | slice_ptr_len, | ^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default
the feature `slice_ptr_len` has been stable since 1.79.0-nightly and no longer requires an attribute to enable: frontend/desktop/src/main.rs#L5
warning: the feature `slice_ptr_len` has been stable since 1.79.0-nightly and no longer requires an attribute to enable --> frontend/desktop/src/main.rs:5:5 | 5 | slice_ptr_len, | ^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default
Clippy (macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/