Skip to content

remove dependencies #47

remove dependencies

remove dependencies #47

Triggered via push July 31, 2024 15:41
Status Failure
Total duration 3m 49s
Artifacts

dev.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 76 warnings
casting `usize` to `u16` may truncate the value: src/widget/dots.rs#L237
error: casting `usize` to `u16` may truncate the value --> src/widget/dots.rs:237:38 | 237 | ... shell.publish((self.on_click)(i as u16)); | ^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation = note: `#[deny(clippy::cast_possible_truncation)]` implied by `#[deny(clippy::pedantic)]` help: ... or use `try_from` and handle the error accordingly | 237 | shell.publish((self.on_click)(u16::try_from(i))); | ~~~~~~~~~~~~~~~~
casting `u16` to `i16` may wrap around the value: src/view/overview.rs#L121
error: casting `u16` to `i16` may wrap around the value --> src/view/overview.rs:121:29 | 121 | character.base_size = (val as i16 | ^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_wrap = note: `#[deny(clippy::cast_possible_wrap)]` implied by `#[deny(clippy::pedantic)]`
casting `i16` to `u16` may lose the sign of the value: src/view/overview.rs#L121
error: casting `i16` to `u16` may lose the sign of the value --> src/view/overview.rs:121:28 | 121 | character.base_size = (val as i16 | ___________________________________________^ 122 | | - character.get_modifier(Trait::DerivedTrait(DerivedTrait::Size))) 123 | | as u16; | |______________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss = note: `#[deny(clippy::cast_sign_loss)]` implied by `#[deny(clippy::pedantic)]`
variables can be used directly in the `format!` string: src/component/info.rs#L242
error: variables can be used directly in the `format!` string --> src/component/info.rs:242:26 | 242 | col1 = col1.push(text(format!("{}:", str))); | ^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: `#[deny(clippy::uninlined_format_args)]` implied by `#[deny(clippy::pedantic)]` help: change this to | 242 - col1 = col1.push(text(format!("{}:", str))); 242 + col1 = col1.push(text(format!("{str}:"))); |
this argument is passed by value, but not consumed in the function body: src/component/attributes.rs#L26
error: this argument is passed by value, but not consumed in the function body --> src/component/attributes.rs:26:36 | 26 | pub fn update(&mut self, message: Message, character: &mut Character) { | ^^^^^^^ help: consider taking a reference instead: `&Message` | help: consider marking this type as `Copy` --> src/component/attributes.rs:19:1 | 19 | pub struct Message(u16, Attribute); | ^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value note: the lint level is defined here --> src/main.rs:2:9 | 2 | #![deny(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[deny(clippy::needless_pass_by_value)]` implied by `#[deny(clippy::pedantic)]`
check
Clippy had exited with the 101 exit code
test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
struct update has no effect, all the fields in the struct have already been specified: src/main.rs#L572
warning: struct update has no effect, all the fields in the struct have already been specified --> src/main.rs:572:7 | 572 | ..Default::default() | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update = note: `#[warn(clippy::needless_update)]` on by default
you should consider adding a `Default` implementation for `SheetView`: src/view/sheet.rs#L35
warning: you should consider adding a `Default` implementation for `SheetView` --> src/view/sheet.rs:35:2 | 35 | / pub fn new() -> Self { 36 | | Self { 37 | | tab: Tab::Overview(overview::OverviewTab::new()), 38 | | } 39 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default help: try adding this | 34 + impl Default for SheetView { 35 + fn default() -> Self { 36 + Self::new() 37 + } 38 + } |
using `clone` on type `Arcanum` which implements the `Copy` trait: src/view/splat_extras.rs#L261
warning: using `clone` on type `Arcanum` which implements the `Copy` trait --> src/view/splat_extras.rs:261:36 | 261 | ... Some::<Translated<Arcanum>>(rote.arcanum.clone().into()), | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `rote.arcanum` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
using `clone` on type `SplatKind` which implements the `Copy` trait: src/view/creator.rs#L52
warning: using `clone` on type `SplatKind` which implements the `Copy` trait --> src/view/creator.rs:52:38 | 52 | let splat: Translated<SplatKind> = self.splat.clone().into(); | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.splat` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `#[warn(clippy::clone_on_copy)]` on by default
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`: src/view/creator.rs#L47
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` --> src/view/creator.rs:47:5 | 47 | .into_iter() | ^^^^^^^^^ help: call directly: `iter` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref = note: `#[warn(clippy::into_iter_on_ref)]` on by default
you should consider adding a `Default` implementation for `CharacterList`: src/view/character_list.rs#L22
warning: you should consider adding a `Default` implementation for `CharacterList` --> src/view/character_list.rs:22:2 | 22 | / pub fn new() -> Self { 23 | | Self 24 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default = note: `#[warn(clippy::new_without_default)]` on by default help: try adding this | 21 + impl Default for CharacterList { 22 + fn default() -> Self { 23 + Self::new() 24 + } 25 + } |
usage of an `Arc` that is not `Send` and `Sync`: src/i18n.rs#L76
warning: usage of an `Arc` that is not `Send` and `Sync` --> src/i18n.rs:76:3 | 76 | Arc::new(DefaultLocalizer::new(&*LANGUAGE_LOADER, &Localizations)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `Arc<DefaultLocalizer<'_>>` is not `Send` and `Sync` as `DefaultLocalizer<'_>` is neither `Send` nor `Sync` = help: if the `Arc` will not used be across threads replace it with an `Rc` = help: otherwise make `DefaultLocalizer<'_>` `Send` and `Sync` or consider a wrapper type such as `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
this `if` has identical blocks: src/component/traits.rs#L98
warning: this `if` has identical blocks --> src/component/traits.rs:98:45 | 98 | let alternate_xp = if self.traits.alt_opt { | ___________________________________________________^ 99 | | row![] 100 | | } else { | |_________^ | note: same as this --> src/component/traits.rs:100:10 | 100 | } else { | ________________^ 101 | | row![ 102 | | // text(format!( 103 | | // "{}: {}", ... | 107 | | ] 108 | | }; | |_________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else = note: `#[warn(clippy::if_same_then_else)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: src/component/skills.rs#L88
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/skills.rs:88:22 | 88 | self.mk_skill_col(&character, TraitCategory::Social), | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/component/skills.rs#L87
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/skills.rs:87:22 | 87 | self.mk_skill_col(&character, TraitCategory::Physical), | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/component/skills.rs#L86
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/skills.rs:86:22 | 86 | self.mk_skill_col(&character, TraitCategory::Mental), | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/component/merits.rs#L99
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/merits.rs:99:38 | 99 | .count() == 0 && e.is_available(&character, attributes, skills) | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/component/info.rs#L219
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/info.rs:219:5 | 219 | &character | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/component/info.rs#L211
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/info.rs:211:5 | 211 | &character | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/component/info.rs#L72
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/info.rs:72:5 | 72 | &character, | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/component/forms.rs#L49
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/forms.rs:49:38 | 49 | row = row.push(self.mk_col(form, &character)); | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/component/attributes.rs#L45
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/attributes.rs:45:22 | 45 | self.mk_attr_col(&character, TraitCategory::Social), | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/component/attributes.rs#L44
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/attributes.rs:44:22 | 44 | self.mk_attr_col(&character, TraitCategory::Physical), | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/component/attributes.rs#L43
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/component/attributes.rs:43:22 | 43 | self.mk_attr_col(&character, TraitCategory::Mental), | ^^^^^^^^^^ help: change this to: `character` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
fields `alternate_beats`, `alternate_experience`, and `splat` are never read: src/component/traits.rs#L16
warning: fields `alternate_beats`, `alternate_experience`, and `splat` are never read --> src/component/traits.rs:16:2 | 9 | struct Traits { | ------ fields in this struct ... 16 | alternate_beats: u16, | ^^^^^^^^^^^^^^^ 17 | alternate_experience: u16, | ^^^^^^^^^^^^^^^^^^^^ ... 21 | splat: String, | ^^^^^ | = note: `#[warn(dead_code)]` on by default
unused variable: `renderer`: src/widget/track.rs#L70
warning: unused variable: `renderer` --> src/widget/track.rs:70:3 | 70 | renderer: &Renderer, | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer`
unused variable: `tree`: src/widget/track.rs#L69
warning: unused variable: `tree` --> src/widget/track.rs:69:3 | 69 | tree: &mut widget::Tree, | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` | = note: `#[warn(unused_variables)]` on by default
unused import: `Component`: src/view/sheet.rs#L5
warning: unused import: `Component` --> src/view/sheet.rs:5:49 | 5 | use iced::widget::{button, column, row, Column, Component}; | ^^^^^^^^^
unused import: `Component`: src/view/splat_extras.rs#L19
warning: unused import: `Component` --> src/view/splat_extras.rs:19:71 | 19 | use iced::widget::{button, component, container, overlay, scrollable, Component}; | ^^^^^^^^^
unused import: `Component`: src/view/overview.rs#L19
warning: unused import: `Component` --> src/view/overview.rs:19:72 | 19 | widget::{column, component, pick_list, row, text, text_input, Column, Component}, | ^^^^^^^^^
unused import: `Splat`: src/main.rs#L241
warning: unused import: `Splat` --> src/main.rs:241:77 | 241 | splat::{changeling::*, geist::*, mage::*, vampire::*, werewolf::*, Merit, Splat}, | ^^^^^
unused import: `Alignment`: src/widget/track.rs#L8
warning: unused import: `Alignment` --> src/widget/track.rs:8:19 | 8 | use iced::{mouse, Alignment, Border, Color, Element, Length, Rectangle, Size}; | ^^^^^^^^^
unused imports: `Column` and `Row`: src/widget/track.rs#L6
warning: unused imports: `Column` and `Row` --> src/widget/track.rs:6:26 | 6 | use iced::widget::{text, Column, Row}; | ^^^^^^ ^^^
unused import: `Alignment`: src/widget/dots.rs#L9
warning: unused import: `Alignment` --> src/widget/dots.rs:9:19 | 9 | use iced::{mouse, Alignment, Border, Color, Element, Length, Rectangle, Size}; | ^^^^^^^^^
unused import: `Padding`: src/widget/dots.rs#L8
warning: unused import: `Padding` --> src/widget/dots.rs:8:38 | 8 | use iced::{event, touch, Background, Padding, Point, Theme}; | ^^^^^^^
unused imports: `Column` and `Row`: src/widget/dots.rs#L7
warning: unused imports: `Column` and `Row` --> src/widget/dots.rs:7:26 | 7 | use iced::widget::{text, Column, Row}; | ^^^^^^ ^^^
unused import: `std::array`: src/widget/dots.rs#L1
warning: unused import: `std::array` --> src/widget/dots.rs:1:5 | 1 | use std::array; | ^^^^^^^^^^
unused import: `character_list::CharacterList`: src/view/mod.rs#L8
warning: unused import: `character_list::CharacterList` --> src/view/mod.rs:8:9 | 8 | pub use character_list::CharacterList; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `Column`: src/view/sheet.rs#L5
warning: unused import: `Column` --> src/view/sheet.rs:5:41 | 5 | use iced::widget::{button, column, row, Column, Component}; | ^^^^^^
unused imports: `RefMut` and `Ref`: src/view/sheet.rs#L1
warning: unused imports: `RefMut` and `Ref` --> src/view/sheet.rs:1:17 | 1 | use std::cell::{Ref, RefMut}; | ^^^ ^^^^^^
unused imports: `button`, `component`, `container`, `overlay`, and `scrollable`: src/view/splat_extras.rs#L19
warning: unused imports: `button`, `component`, `container`, `overlay`, and `scrollable` --> src/view/splat_extras.rs:19:20 | 19 | use iced::widget::{button, component, container, overlay, scrollable, Component}; | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^
unused import: `crate::widget::dots`: src/view/splat_extras.rs#L3
warning: unused import: `crate::widget::dots` --> src/view/splat_extras.rs:3:5 | 3 | use crate::widget::dots; | ^^^^^^^^^^^^^^^^^^^
unused imports: `dots` and `track`: src/view/overview.rs#L32
warning: unused imports: `dots` and `track` --> src/view/overview.rs:32:11 | 32 | widget::{dots, dots::Shape, dots::SheetDots, track, track::HealthTrack}, | ^^^^ ^^^^^
unused import: `component`: src/view/overview.rs#L19
warning: unused import: `component` --> src/view/overview.rs:19:19 | 19 | widget::{column, component, pick_list, row, text, text_input, Column, Component}, | ^^^^^^^^^
unused imports: `button`, `container`, and `scrollable`: src/view/overview.rs#L16
warning: unused imports: `button`, `container`, and `scrollable` --> src/view/overview.rs:16:20 | 16 | use iced::widget::{button, container, scrollable}; | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^
unused imports: `Merit`, `Ministry`, and `Order`: src/view/overview.rs#L11
warning: unused imports: `Merit`, `Ministry`, and `Order` --> src/view/overview.rs:11:10 | 11 | mage::{Ministry, Order}, | ^^^^^^^^ ^^^^^ 12 | werewolf::{HuntersAspect, KuruthTrigger, KuruthTriggerSet, KuruthTriggers, Tribe}, 13 | Merit, Splat, | ^^^^^
unused import: `cofd::splat::mage::Mage`: src/view/overview.rs#L2
warning: unused import: `cofd::splat::mage::Mage` --> src/view/overview.rs:2:5 | 2 | use cofd::splat::mage::Mage; | ^^^^^^^^^^^^^^^^^^^^^^^
unused imports: `cell::RefCell`, `marker::PhantomData`, and `rc::Rc`: src/view/equipment.rs#L11
warning: unused imports: `cell::RefCell`, `marker::PhantomData`, and `rc::Rc` --> src/view/equipment.rs:11:11 | 11 | use std::{cell::RefCell, marker::PhantomData, rc::Rc}; | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^
unused imports: `RefMut` and `Ref`: src/view/equipment.rs#L10
warning: unused imports: `RefMut` and `Ref` --> src/view/equipment.rs:10:17 | 10 | use std::cell::{Ref, RefMut}; | ^^^ ^^^^^^
unused imports: `Component` and `component`: src/view/equipment.rs#L5
warning: unused imports: `Component` and `component` --> src/view/equipment.rs:5:20 | 5 | use iced::widget::{component, Component}; | ^^^^^^^^^ ^^^^^^^^^
unused import: `splat::Splat`: src/view/creator.rs#L4
warning: unused import: `splat::Splat` --> src/view/creator.rs:4:24 | 4 | use cofd::{prelude::*, splat::Splat}; | ^^^^^^^^^^^^
unused import: `i18n::Translate`: src/view/creator.rs#L2
warning: unused import: `i18n::Translate` --> src/view/creator.rs:2:13 | 2 | use crate::{i18n::Translate, INPUT_PADDING}; | ^^^^^^^^^^^^^^^
unused import: `NameKey`: src/i18n.rs#L5
warning: unused import: `NameKey` --> src/i18n.rs:5:26 | 5 | use cofd::splat::{Merit, NameKey, Splat, SplatKind, XSplat, YSplat, ZSplat}; | ^^^^^^^
unused import: `info::InfoBar`: src/component/mod.rs#L12
warning: unused import: `info::InfoBar` --> src/component/mod.rs:12:9 | 12 | pub use info::InfoBar; | ^^^^^^^^^^^^^
unused import: `self`: src/component/skills.rs#L17
warning: unused import: `self` --> src/component/skills.rs:17:17 | 17 | widget::dots::{self, Shape, SheetDots}, | ^^^^
unused imports: `Component` and `component`: src/component/skills.rs#L5
warning: unused imports: `Component` and `component` --> src/component/skills.rs:5:20 | 5 | use iced::widget::{component, Component}; | ^^^^^^^^^ ^^^^^^^^^
unused imports: `cell::RefCell` and `rc::Rc`: src/component/skills.rs#L1
warning: unused imports: `cell::RefCell` and `rc::Rc` --> src/component/skills.rs:1:11 | 1 | use std::{cell::RefCell, rc::Rc}; | ^^^^^^^^^^^^^ ^^^^^^
unused imports: `Component`, `component`, `container`, `overlay`, and `scrollable`: src/component/merits.rs#L19
warning: unused imports: `Component`, `component`, `container`, `overlay`, and `scrollable` --> src/component/merits.rs:19:20 | 19 | use iced::widget::{component, container, overlay, scrollable, Component}; | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^
unused import: `i18n::Translate`: src/component/merits.rs#L11
warning: unused import: `i18n::Translate` --> src/component/merits.rs:11:2 | 11 | i18n::Translate, | ^^^^^^^^^^^^^^^
unused import: `crate::widget::dots`: src/component/merits.rs#L8
warning: unused import: `crate::widget::dots` --> src/component/merits.rs:8:5 | 8 | use crate::widget::dots; | ^^^^^^^^^^^^^^^^^^^
unused imports: `cell::RefCell` and `rc::Rc`: src/component/merits.rs#L5
warning: unused imports: `cell::RefCell` and `rc::Rc` --> src/component/merits.rs:5:11 | 5 | use std::{cell::RefCell, rc::Rc}; | ^^^^^^^^^^^^^ ^^^^^^
unused imports: `dots` and `track`: src/component/integrity.rs#L3
warning: unused imports: `dots` and `track` --> src/component/integrity.rs:3:21 | 3 | use crate::widget::{dots, track}; | ^^^^ ^^^^^
unused import: `iced::overlay::menu`: src/component/info.rs#L15
warning: unused import: `iced::overlay::menu` --> src/component/info.rs:15:5 | 15 | use iced::overlay::menu; | ^^^^^^^^^^^^^^^^^^^
unused imports: `cell::RefCell` and `rc::Rc`: src/component/info.rs#L6
warning: unused imports: `cell::RefCell` and `rc::Rc` --> src/component/info.rs:6:11 | 6 | use std::{cell::RefCell, rc::Rc}; | ^^^^^^^^^^^^^ ^^^^^^
unused imports: `Component`, `component`, `container`, and `scrollable`: src/component/info.rs#L1
warning: unused imports: `Component`, `component`, `container`, and `scrollable` --> src/component/info.rs:1:20 | 1 | use iced::widget::{component, container, scrollable, Component}; | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^
unused import: `fl`: src/component/forms.rs#L1
warning: unused import: `fl` --> src/component/forms.rs:1:13 | 1 | use crate::{fl, i18n::Translate, Element, INPUT_PADDING}; | ^^
unused imports: `cell::RefCell` and `rc::Rc`: src/main.rs#L24
warning: unused imports: `cell::RefCell` and `rc::Rc` --> src/main.rs:24:11 | 24 | use std::{cell::RefCell, mem, rc::Rc}; | ^^^^^^^^^^^^^ ^^^^^^
unused imports: `RefMut` and `Ref`: src/main.rs#L22
warning: unused imports: `RefMut` and `Ref` --> src/main.rs:22:17 | 22 | use std::cell::{Ref, RefMut}; | ^^^ ^^^^^^
unused imports: `Column`, `Size`, and `row`: src/main.rs#L17
warning: unused imports: `Column`, `Size`, and `row` --> src/main.rs:17:27 | 17 | widget::{button, column, row, Column}, | ^^^ ^^^^^^ 18 | Alignment, Application, Command, Element, Length, Settings, Size, Theme, | ^^^^ | = note: `#[warn(unused_imports)]` on by default
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@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/
check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/cargo@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/
check
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/
check
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/
check
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/
check
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/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
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/
test
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/
test
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/
test
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/