>>106472254
PS C:\Users\nigger> cargo install cve-rs
Updating crates.io index
Installing cve-rs v0.6.0
Updating crates.io index
Compiling cve-rs v0.6.0
error: lifetime may not live long enough
--> C:\Users\nigger\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\cve-rs-0.6.0\src\lifetime_expansion.rs:44:9
|
43 | pub fn expand<'a, 'b, T>(x: &'a T) -> &'b T {
| -- -- lifetime `'b` defined here
| |
| lifetime `'a` defined here
44 | let f: fn(_, &'a T) -> &'b T = lifetime_translator;
| ^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'a` must outlive `'b`
|
= help: consider adding the following bound: `'a: 'b`
error: lifetime may not live long enough
--> C:\Users\nigger\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\cve-rs-0.6.0\src\lifetime_expansion.rs:54:9
|
53 | pub fn expand_mut<'a, 'b, T>(x: &'a mut T) -> &'b mut T {
| -- -- lifetime `'b` defined here
| |
| lifetime `'a` defined here
54 | let f: fn(_, &'a mut T) -> &'b mut T = lifetime_translator_mut;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'a` must outlive `'b`
|
= help: consider adding the following bound: `'a: 'b`
= note: requirement occurs because of a mutable reference to `T`
= note: mutable references are invariant over their type parameter
= help: see <
https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
error: could not compile `cve-rs` (lib) due to 2 previous errors
error: failed to compile `cve-rs v0.6.0`, intermediate artifacts can be found at `C:\Users\nigger\AppData\Local\Temp\cargo-installfaIRF7`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.