Skip to content

redhat is for nerds

redhat is for nerds #9

Triggered via push November 5, 2024 22:04
Status Success
Total duration 6m 9s
Artifacts 2

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

25 warnings
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
fmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: src/main.rs#L32
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> src/main.rs:32:5 | 32 | / match std::env::var("RUST_BACKTRACE") { 33 | | Err(_) => { 34 | | std::panic::set_hook(Box::new(panic::hook)); 35 | | } 36 | | Ok(_) => {} 37 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `#[warn(clippy::single_match)]` on by default help: try | 32 ~ if let Err(_) = std::env::var("RUST_BACKTRACE") { 33 + std::panic::set_hook(Box::new(panic::hook)); 34 + } |
manual implementation of `Option::map`: src/input/mapping.rs#L49
warning: manual implementation of `Option::map` --> src/input/mapping.rs:49:17 | 49 | / if let Some(id) = button_to_roborio(button) { 50 | | Some(JoystickValue::Button { 51 | | id, 52 | | pressed: value.is_pressed(), ... | 55 | | None 56 | | } | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map help: try | 49 ~ button_to_roborio(button).map(|id| JoystickValue::Button { 50 + id, 51 + pressed: value.is_pressed(), 52 + }) |
manual implementation of `Option::map`: src/input/mapping.rs#L23
warning: manual implementation of `Option::map` --> src/input/mapping.rs:23:17 | 23 | / if let Some(id) = axis_to_roborio(axis) { 24 | | Some((id, value)) 25 | | } else { 26 | | None 27 | | } | |_________________^ help: try: `axis_to_roborio(axis).map(|id| (id, value))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map = note: `#[warn(clippy::manual_map)]` on by default
field `has_joysticks` is never read: src/state.rs#L9
warning: field `has_joysticks` is never read --> src/state.rs:9:9 | 6 | pub struct State { | ----- field in this struct ... 9 | pub has_joysticks: bool, | ^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
unused variable: `homepage`: src/panic.rs#L25
warning: unused variable: `homepage` --> src/panic.rs:25:35 | 25 | let (_version, name, authors, homepage) = | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_homepage`
unused variable: `authors`: src/panic.rs#L25
warning: unused variable: `authors` --> src/panic.rs:25:26 | 25 | let (_version, name, authors, homepage) = | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authors` | = note: `#[warn(unused_variables)]` on by default
use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead: src/panic.rs#L8
warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead --> src/panic.rs:8:20 | 8 | pub fn hook(info: &PanicInfo) { | ^^^^^^^^^
use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead: src/panic.rs#L4
warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead --> src/panic.rs:4:17 | 4 | use std::panic::PanicInfo; | ^^^^^^^^^
use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead: src/main.rs#L6
warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead --> src/main.rs:6:17 | 6 | use std::panic::PanicInfo; | ^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default
unused import: `std::fmt::Result as FmtResult`: src/panic.rs#L2
warning: unused import: `std::fmt::Result as FmtResult` --> src/panic.rs:2:5 | 2 | use std::fmt::Result as FmtResult; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused imports: `MessageBoxIcon` and `message_box_ok`: src/main.rs#L10
warning: unused imports: `MessageBoxIcon` and `message_box_ok` --> src/main.rs:10:23 | 10 | use tinyfiledialogs::{message_box_ok, MessageBoxIcon}; | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
unused import: `std::panic::PanicInfo`: src/main.rs#L6
warning: unused import: `std::panic::PanicInfo` --> src/main.rs:6:5 | 6 | use std::panic::PanicInfo; | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
build-ubuntu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, 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/
build-ubuntu
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-ubuntu
No files were found with the provided path: target/release/rpmbuild/RPMS/x86_64/*.rpm. No artifacts will be uploaded.
build-ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
Conductor.deb
3.67 MB
Conductor_ubuntu-latest
3.19 MB