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...
Here is error log: