-
-
Notifications
You must be signed in to change notification settings - Fork 640
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
cargo install gitui
abends with the following error message:
error[E0621]: explicit lifetime required in the type of `patch`
--> /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/asyncgit-0.27.0/src/sync/patches.rs:66:2
|
66 | Ok(res)
| ^^^^^^^ lifetime `'a` required
|
help: add explicit lifetime `'a` to the type of `patch`
|
44 | patch: &'a git2::Patch<'a>,
| +++++++++
For more information about this error, try `rustc --explain E0621`.
error: could not compile `asyncgit` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `gitui v0.27.0`, intermediate artifacts can be found at `/tmp/cargo-installRLrpHY`.
To Reproduce
Steps to reproduce the behavior:
cargo install gitui
- wait
- See error
Expected behavior
compile successfully
Screenshots
If applicable, add screenshots to help explain your problem.
Context (please complete the following information):
- OS/Distro + Version: Debian 13
- GitUI Version v0.27.0
- Rust version: 1.89.0 (29483883e 2025-08-04)
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working