Skip to content

Update patternsleuth #304

Update patternsleuth

Update patternsleuth #304

Triggered via push March 27, 2024 00:05
Status Failure
Total duration 4m 2s
Artifacts

check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
assigning the result of `ToOwned::to_owned()` may be inefficient: src/gui/mod.rs#L591
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/gui/mod.rs:591:43 | 591 | ui.output_mut(|o| o.copied_text = mc.spec.url.to_owned()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `mc.spec.url.clone_into(&mut o.copied_text)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/gui/mod.rs#L474
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/gui/mod.rs:474:43 | 474 | ui.output_mut(|o| o.copied_text = mc.spec.url.to_owned()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `mc.spec.url.clone_into(&mut o.copied_text)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/gui/named_combobox.rs#L47
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/gui/named_combobox.rs:47:9 | 47 | self.active_profile = name.to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `name.clone_into(&mut self.active_profile)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones = note: `-D clippy::assigning-clones` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::assigning_clones)]`
assigning the result of `ToOwned::to_owned()` may be inefficient: src/gui/mod.rs#L591
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/gui/mod.rs:591:43 | 591 | ui.output_mut(|o| o.copied_text = mc.spec.url.to_owned()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `mc.spec.url.clone_into(&mut o.copied_text)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/gui/mod.rs#L474
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/gui/mod.rs:474:43 | 474 | ui.output_mut(|o| o.copied_text = mc.spec.url.to_owned()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `mc.spec.url.clone_into(&mut o.copied_text)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/gui/named_combobox.rs#L47
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/gui/named_combobox.rs:47:9 | 47 | self.active_profile = name.to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `name.clone_into(&mut self.active_profile)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones = note: `-D clippy::assigning-clones` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::assigning_clones)]`
check
Clippy had exited with the 101 exit code
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 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/.
check
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/