chore(deps): bump ansi-to-tui from 6.0.0 to 7.0.0 #217
check.yml
on: pull_request
check
/
...
/
fmt
24s
check
/
...
/
doc
46s
check
/
...
/
check
47s
Matrix: check / clippy
Annotations
5 errors
a value of type `std::vec::Vec<ratatui::prelude::Text<'_>>` cannot be built from an iterator over elements of type `ratatui::text::text::Text<'_>`:
src/pages/logs.rs#L250
error[E0277]: a value of type `std::vec::Vec<ratatui::prelude::Text<'_>>` cannot be built from an iterator over elements of type `ratatui::text::text::Text<'_>`
--> src/pages/logs.rs:250:14
|
250 | .collect();
| ^^^^^^^ value of type `std::vec::Vec<ratatui::prelude::Text<'_>>` cannot be built from `std::iter::Iterator<Item=ratatui::text::text::Text<'_>>`
|
= help: the trait `std::iter::FromIterator<ratatui::text::text::Text<'_>>` is not implemented for `std::vec::Vec<ratatui::prelude::Text<'_>>`
= help: the trait `std::iter::FromIterator<ratatui::prelude::Text<'_>>` is implemented for `std::vec::Vec<ratatui::prelude::Text<'_>>`
= help: for that trait implementation, expected `ratatui::prelude::Text<'_>`, found `ratatui::text::text::Text<'_>`
note: the method call chain might not have had the expected associated types
--> src/pages/logs.rs:249:14
|
243 | let logs: Vec<Text> = self
| _______________________________-
244 | | .log_messages
| |_________________________- this expression has type `Arc<Mutex<Vec<String>>>`
...
248 | .into_iter()
| ----------- `Iterator::Item` is `String` here
249 | .map(|s| s.into_text().unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Text<'_>` here
note: required by a bound in `std::iter::Iterator::collect`
--> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/traits/iterator.rs:1996:5
|
check / beta / clippy
Clippy has exited with exit code 101
|
check / 1.78.0 / check
Process completed with exit code 101.
|
a value of type `std::vec::Vec<ratatui::prelude::Text<'_>>` cannot be built from an iterator over elements of type `ratatui::text::text::Text<'_>`:
src/pages/logs.rs#L250
error[E0277]: a value of type `std::vec::Vec<ratatui::prelude::Text<'_>>` cannot be built from an iterator over elements of type `ratatui::text::text::Text<'_>`
--> src/pages/logs.rs:250:14
|
250 | .collect();
| ^^^^^^^ value of type `std::vec::Vec<ratatui::prelude::Text<'_>>` cannot be built from `std::iter::Iterator<Item=ratatui::text::text::Text<'_>>`
|
= help: the trait `std::iter::FromIterator<ratatui::text::text::Text<'_>>` is not implemented for `std::vec::Vec<ratatui::prelude::Text<'_>>`
= help: the trait `std::iter::FromIterator<ratatui::prelude::Text<'_>>` is implemented for `std::vec::Vec<ratatui::prelude::Text<'_>>`
= help: for that trait implementation, expected `ratatui::prelude::Text<'_>`, found `ratatui::text::text::Text<'_>`
note: the method call chain might not have had the expected associated types
--> src/pages/logs.rs:249:14
|
243 | let logs: Vec<Text> = self
| _______________________________-
244 | | .log_messages
| |_________________________- this expression has type `Arc<Mutex<Vec<String>>>`
...
248 | .into_iter()
| ----------- `Iterator::Item` is `String` here
249 | .map(|s| s.into_text().unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Text<'_>` here
note: required by a bound in `std::iter::Iterator::collect`
--> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/traits/iterator.rs:1996:5
|
check / stable / clippy
Clippy has exited with exit code 101
|