Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor issues while building newest (2.0.4) release #1247

Open
mykhail0 opened this issue Sep 20, 2024 · 1 comment
Open

Minor issues while building newest (2.0.4) release #1247

mykhail0 opened this issue Sep 20, 2024 · 1 comment

Comments

@mykhail0
Copy link

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
Copy link

mgl-xyz commented Sep 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants