Could not install via Cargo
On Ubuntu 18.04 and on macOS
Compiling scoped_threadpool v0.1.9
error[E0621]: explicit lifetime required in the type of `other`
--> /home/florian/.cargo/registry/src/github.com-1ecc6299db9ec823/version-compare-0.0.4/src/version.rs:308:13
|
304 | pub fn compare(&self, other: &Version) -> CompOp {
| -------- help: add explicit lifetime `'a` to the type of `other`: `&version::Version<'a>`
...
308 | other.parts.iter().peekable()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required
error: aborting due to previous error
For more information about this error, try `rustc --explain E0621`.
error: could not compile `version-compare`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `redoxer v0.2.9`, intermediate artifacts can be found at `/tmp/cargo-installiAVtw8`
Caused by:
build failed
Edited by Ghost User