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

Warning when compiling czkawka_core: struct Hamming is never constructed #1282

Closed
juozaspo opened this issue May 13, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@juozaspo
Copy link

juozaspo commented May 13, 2024

Bug Description
A warning about uninitialized struct is shown when compiling czkawka_core as a dependency to czkawka_cli or czkawka_gui with --release command line parameter.

warning: struct `Hamming` is never constructed
  --> czkawka_core/src/similar_videos.rs:60:8
   |
60 | struct Hamming;
   |        ^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default
...
warning: `czkawka_core` (lib) generated 1 warning

Steps to reproduce:
Build czkawka_gui or czkawka_cli on Linux with one of command line commands listed: cargo build --bin czkawka_gui --release, cargo build --bin czkawka_cli --release and wait until czkawka_core (lib) is about to be built.

System

  • Czkawka/Krokiet version: latest master (7.0.0, 2a32a52)
  • OS version: Ubuntu 22.04 LTS 64 bit, rust 1.78.0
  • Installation method: git
@juozaspo juozaspo added the bug Something isn't working label May 13, 2024
@swswsws583
Copy link

I had this error too. Czkawka version: 7.0.0. I'm on macOS 14.6.

@boberx
Copy link

boberx commented Aug 25, 2024

same error
build on Debian 12.6

@samugarciax
Copy link

same error now

@qarmin
Copy link
Owner

qarmin commented Sep 27, 2024

Fixed via #1354

@qarmin qarmin closed this as completed Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants