-
Notifications
You must be signed in to change notification settings - Fork 132
Description
im trying to complie the code to install. i have tried on both windows and my mac and get the same error.
[code]
Compiling regex v1.12.2
Compiling clap v4.5.53
Compiling pdf v0.9.1
Compiling env_logger v0.10.2
Compiling pretty_env_logger v0.5.0
Compiling cracker v2.0.1 (C:\Users\Kenny.cargo\git\checkouts\pdfrip-d53e16b1d1f97ed4\66c71d4\crates\cracker)
error[E0046]: not all trait items implemented, missing: clear
--> crates\cracker\src\lib.rs:62:1
|
62 | impl<T: Clone> Cache for SimpleCache {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing clear in implementation
|
= help: implement the missing item: fn clear(&self) { todo!() }
For more information about this error, try rustc --explain E0046.
error: could not compile cracker (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile pdfrip v2.0.1 (https://github.com/mufeedvh/pdfrip.git#66c71d47), intermediate artifacts can be found at C:\Users\Kenny\AppData\Local\Temp\cargo-installXs2ftp.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
PS C:\Users\Kenny>
[/code]
any advice would be great. many thanks