Bump rustls from 0.22.2 to 0.22.4 in /bootstrap (#349) #743
Annotations
19 errors and 2 warnings
assigning the result of `Clone::clone()` may be inefficient:
src/world/mod.rs#L1486
error: assigning the result of `Clone::clone()` may be inefficient
--> src/world/mod.rs:1486:13
|
1486 | info.lines = self.0.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `info.lines.clone_from(&self.0)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/world/mod.rs#L1486
error: assigning the result of `Clone::clone()` may be inefficient
--> src/world/mod.rs:1486:13
|
1486 | info.lines = self.0.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `info.lines.clone_from(&self.0)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/ui/mod.rs#L1043
error: assigning the result of `Clone::clone()` may be inefficient
--> src/ui/mod.rs:1043:13
|
1043 | self.last_text = self.text.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.last_text.clone_from(&self.text)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/ui/mod.rs#L884
error: assigning the result of `Clone::clone()` may be inefficient
--> src/ui/mod.rs:884:13
|
884 | self.last_texture = self.texture.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.last_texture.clone_from(&self.texture)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/ui/mod.rs#L1043
error: assigning the result of `Clone::clone()` may be inefficient
--> src/ui/mod.rs:1043:13
|
1043 | self.last_text = self.text.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.last_text.clone_from(&self.text)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/ui/logo.rs#L149
error: assigning the result of `Clone::clone()` may be inefficient
--> src/ui/logo.rs:149:13
|
149 | text.text = self.text_strings[text_index as usize].clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `text.text.clone_from(&self.text_strings[text_index as usize])`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/ui/mod.rs#L884
error: assigning the result of `Clone::clone()` may be inefficient
--> src/ui/mod.rs:884:13
|
884 | self.last_texture = self.texture.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.last_texture.clone_from(&self.texture)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/ui/logo.rs#L149
error: assigning the result of `Clone::clone()` may be inefficient
--> src/ui/logo.rs:149:13
|
149 | text.text = self.text_strings[text_index as usize].clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `text.text.clone_from(&self.text_strings[text_index as usize])`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/server/mod.rs#L1706
error: assigning the result of `Clone::clone()` may be inefficient
--> src/server/mod.rs:1706:17
|
1706 | top_inventory.write().cursor = item.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `top_inventory.write().cursor.clone_from(&item)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/server/mod.rs#L1706
error: assigning the result of `Clone::clone()` may be inefficient
--> src/server/mod.rs:1706:17
|
1706 | top_inventory.write().cursor = item.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `top_inventory.write().cursor.clone_from(&item)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/screen/background.rs#L44
error: assigning the result of `Clone::clone()` may be inefficient
--> src/screen/background.rs:44:9
|
44 | self.last_path = path.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.last_path.clone_from(&path)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/screen/background.rs#L44
error: assigning the result of `Clone::clone()` may be inefficient
--> src/screen/background.rs:44:9
|
44 | self.last_path = path.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.last_path.clone_from(&path)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
|
assigning the result of `Clone::clone()` may be inefficient:
src/render/mod.rs#L1696
error: assigning the result of `Clone::clone()` may be inefficient
--> src/render/mod.rs:1696:13
|
1696 | t.name = old.name.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `t.name.clone_from(&old.name)`
|
= 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 `Clone::clone()` may be inefficient:
src/render/mod.rs#L1696
error: assigning the result of `Clone::clone()` may be inefficient
--> src/render/mod.rs:1696:13
|
1696 | t.name = old.name.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `t.name.clone_from(&old.name)`
|
= 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)]`
|
ubuntu-latest
Clippy had exited with the 101 exit code
|
windows-latest
The job was canceled because "ubuntu-latest_leafish_lea" failed.
|
windows-latest
The operation was canceled.
|
macos-11
The job was canceled because "ubuntu-latest_leafish_lea" failed.
|
macos-11
The operation was canceled.
|
ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions-rs/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|