Skip to content

ci: fix msrv check (#9681) #204

ci: fix msrv check (#9681)

ci: fix msrv check (#9681) #204

GitHub Actions / bundler failed May 6, 2024 in 1s

bundler

4 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 4
Warning 0
Note 0
Help 0

Versions

  • rustc 1.78.0 (9b00956e5 2024-04-29)
  • cargo 1.78.0 (54d8815d0 2024-03-26)
  • clippy 0.1.78 (9b00956 2024-04-29)

Annotations

Check failure on line 227 in src/bundle/windows/nsis.rs

See this annotation in the file changed.

@github-actions github-actions / bundler

assigning the result of `Clone::clone()` may be inefficient

error: assigning the result of `Clone::clone()` may be inefficient
   --> src/bundle/windows/nsis.rs:227:5
    |
227 |     custom_language_files = nsis.custom_language_files.clone();
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `custom_language_files.clone_from(&nsis.custom_language_files)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones

Check failure on line 226 in src/bundle/windows/nsis.rs

See this annotation in the file changed.

@github-actions github-actions / bundler

assigning the result of `Clone::clone()` may be inefficient

error: assigning the result of `Clone::clone()` may be inefficient
   --> src/bundle/windows/nsis.rs:226:5
    |
226 |     custom_template_path = nsis.template.clone();
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `custom_template_path.clone_from(&nsis.template)`
    |
    = 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 failure on line 227 in src/bundle/windows/nsis.rs

See this annotation in the file changed.

@github-actions github-actions / bundler

assigning the result of `Clone::clone()` may be inefficient

error: assigning the result of `Clone::clone()` may be inefficient
   --> src/bundle/windows/nsis.rs:227:5
    |
227 |     custom_language_files = nsis.custom_language_files.clone();
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `custom_language_files.clone_from(&nsis.custom_language_files)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones

Check failure on line 226 in src/bundle/windows/nsis.rs

See this annotation in the file changed.

@github-actions github-actions / bundler

assigning the result of `Clone::clone()` may be inefficient

error: assigning the result of `Clone::clone()` may be inefficient
   --> src/bundle/windows/nsis.rs:226:5
    |
226 |     custom_template_path = nsis.template.clone();
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `custom_template_path.clone_from(&nsis.template)`
    |
    = 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)]`