rabite0 / hunter

The fastest file manager in the galaxy!
Do What The F*ck You Want To Public License
1.32k stars 64 forks source link

Error occures while compiling from Arch AUR repository #119

Closed BogdanLysenko closed 3 years ago

BogdanLysenko commented 3 years ago

Here is error log:

   Compiling image v0.21.3
warning: unnecessary braces around block return value
  --> src/preview.rs:23:51
   |
23 |     static ref SUBPROC: Arc<Mutex<Option<u32>>> = { Arc::new(Mutex::new(None)) };
   |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
   |
   = note: `#[warn(unused_braces)]` on by default

error[E0599]: no method named `remove_item` found for struct `Vec<files::File>` in the current scope
   --> src/files.rs:520:43
    |
520 |             .map(|placeholder| self.files.remove_item(&placeholder));
    |                                           ^^^^^^^^^^^ method not found in `Vec<files::File>`

error[E0599]: no method named `remove_item` found for struct `Vec<PathBuf>` in the current scope
    --> src/files.rs:1079:40
     |
1079 |             false => { TAGS.write()?.1.remove_item(&self.path); },
     |                                        ^^^^^^^^^^^ method not found in `Vec<PathBuf>`

error: aborting due to 2 previous errors; 1 warning emitted

For more information about this error, try `rustc --explain E0599`.
error: could not compile `hunter`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in build().
    Aborting...
BogdanLysenko commented 3 years ago

Sorry, I didn't notice that project is dead...