Morganamilo / paru

Feature packed AUR helper
GNU General Public License v3.0
6.15k stars 235 forks source link

Minor issues while building newest (2.0.4) release #1247

Open mykhail0 opened 2 weeks ago

mykhail0 commented 2 weeks ago

Affected Version

paru v2.0.4 - libalpm v15.0.0

Description

Newest release of paru builds with warnings from cargo, as well as some failed tests from cargo test --features mock. Although I'm not sure how critical this is.

Output

2024_09_20_22_05_37 2024_09_20_22_04_34 2024_09_20_22_45_46

mgl-xyz commented 2 weeks ago

same warning ,bug build successfull finally

warning: fields base and ss_repo are never read --> src/config.rs:80:9 73 pub struct Colors { ------ fields in this struct ... 80 pub base: Style, ^^^^ ... 86 pub ss_repo: Style, ^^^^^^^

= note: Colors has derived impls for the traits Clone and Debug, but these are intentionally ignored during dead code analysis = note: #[warn(dead_code)] on by default

warning: fields pkgbuild_skip and aur_skip are never read --> src/upgrade.rs:20:9 17 pub struct Upgrades { -------- fields in this struct ... 20 pub pkgbuild_skip: Vec<(String, String)>, ^^^^^^^^^^^^^ ... 24 pub aur_skip: Vec, ^^^^^^^^

= note: Upgrades has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis

warning: paru (lib) generated 2 warnings