Skip to content

Do not install the versioned links and lib on Android #1182

Do not install the versioned links and lib on Android

Do not install the versioned links and lib on Android #1182

Triggered via push May 3, 2024 09:26
Status Failure
Total duration 1m 25s
Artifacts

rust.yml

on: push
Format and Clippy
1m 16s
Format and Clippy
Matrix: arch-test
Code coverage
0s
Code coverage
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
assigning the result of `Clone::clone()` may be inefficient: src/pkg_config_gen.rs#L132
error: assigning the result of `Clone::clone()` may be inefficient --> src/pkg_config_gen.rs:132:9 | 132 | pc.prefix = install_paths.prefix.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `pc.prefix.clone_from(&install_paths.prefix)` | = 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/pkg_config_gen.rs#L140
error: assigning the result of `Clone::clone()` may be inefficient --> src/pkg_config_gen.rs:140:17 | 140 | pc.includedir = install_paths.includedir.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `pc.includedir.clone_from(&install_paths.includedir)` | = 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/pkg_config_gen.rs#L149
error: assigning the result of `Clone::clone()` may be inefficient --> src/pkg_config_gen.rs:149:17 | 149 | pc.libdir = install_paths.libdir.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `pc.libdir.clone_from(&install_paths.libdir)` | = 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/pkg_config_gen.rs#L167
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/pkg_config_gen.rs:167:9 | 167 | self.description = descr.as_ref().to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `descr.as_ref().clone_into(&mut self.description)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
Format and Clippy
Clippy had exited with the 101 exit code
Format and Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs-plus/clippy-check@v2.0.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.