wiiznokes / clipboard-manager

Clipboard manager for COSMICâ„¢
GNU General Public License v3.0
39 stars 3 forks source link

Build Error #51

Closed nbycoder closed 2 months ago

nbycoder commented 2 months ago

Bug Description

When compiling I get the following error:

Compiling cosmic-ext-applet-clipboard-manager v0.1.0 (/home/theo/Applications/cosmic/clipboard-manager)
error[E0432]: unresolved import 'std::hash::DefaultHasher'
 --> src/db.rs:7:12
  |
7 |     hash::{DefaultHasher, Hash, Hasher},
  |            ^^^^^^^^^^^^^ no 'DefaultHasher' in 'hash'
  |
  = help: consider importing this struct instead:
          std::collections::hash_map::DefaultHasher

For more information about this error, try 'rustc --explain E0432'.
error: could not compile 'cosmic-ext-applet-clipboard-manager' (bin `"cosmic-ext-applet-clipboard-manager")` due to previous error
error: Recipe 'build-release' failed on line 33 with exit code 101

Expected Result

Finish compile

Steps to Reproduce

git clone https://github.com/wiiznokes/clipboard-manager.git
cd clipboard-manager
just build-release
sudo just install

Logs

--- No Entries ---
wiiznokes commented 2 months ago

Rust version? Try rust up update

nbycoder commented 2 months ago

Oh, that did it! Thank you :)

wiiznokes commented 2 months ago

np :)

wiiznokes commented 2 months ago

btw, you should check this issue as there were change in the compositor recently #52