We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo install gitui
Describe the bug cargo install gitui fails with multiple errors
Seems like the ratatui library had a breaking update.
ratatui
Screenshots
error[E0308]: mismatched types --> /home/$MYSELF/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gitui-0.26.1/src/components/textinput.rs:157:28 | 157 | .set_cursor_line_style(self.theme.text(true, false)); | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ratatui::style::Style`, found a different `ratatui::style::Style` ... error[E0308]: mismatched types --> /home/$MYSELF/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gitui-0.26.1/src/components/textinput.rs:169:6 | 168 | text_area.set_block( | --------- arguments to this method are incorrect 169 | / Block::default() 170 | | .borders(Borders::ALL) 171 | | .border_style( 172 | | ratatui::style::Style::default() ... | 176 | | ) 177 | | .title(self.title.clone()), | |__________________________________________________^ expected `ratatui::widgets::block::Block<'_>`, found `ratatui::widgets::Block<'_>` ... error[E0277]: the trait bound `impl ratatui::widgets::Widget + '_: Widget` is not satisfied --> /home/$MYSELF/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gitui-0.26.1/src/components/textinput.rs:644:20 | 644 | f.render_widget(ta.widget(), area); | ------------- ^^^^^^^^^^^ the trait `Widget` is not implemented for `impl ratatui::widgets::Widget + '_`
Context (please complete the following information):
gitui v0.26.1
The text was updated successfully, but these errors were encountered:
This has been adressed before (#2098) and is mentioned in README.
Using cargo install gitui --locked should resolve this issue.
cargo install gitui --locked
Sorry, something went wrong.
Yes this is a duplicate of #2098
gitui: do not execute cargo audit fix to fix build
cargo audit fix
14aa982
See extrawurst/gitui#2222, `cargo update` will update `Cargo.lock`, lead to FTBFS
No branches or pull requests
Describe the bug
cargo install gitui
fails with multiple errorsSeems like the
ratatui
library had a breaking update.Screenshots
Context (please complete the following information):
gitui v0.26.1
The text was updated successfully, but these errors were encountered: