Compiling rhit v2.0.3
error[E0308]: mismatched types
--> /home/jeremiah/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rhit-2.0.3/src/cli/help.rs:26:19
|
26 | skin.italic = CompoundStyle::with_attr(Attribute::Underlined);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `termimad::compound_style::CompoundStyle`, found `termimad::CompoundStyle`
| |
| expected due to the type of this binding
|
note: two different versions of crate `termimad` are being used; two types coming from two different versions of the same crate are different types even if they look the same
--> /home/jeremiah/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/termimad-0.34.1/src/compound_style.rs:43:1
|
43 | pub struct CompoundStyle {
| ^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `termimad::compound_style::CompoundStyle`
|
::: /home/jeremiah/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/termimad-0.30.1/src/compound_style.rs:38:1
|
38 | pub struct CompoundStyle {
| ^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `termimad::CompoundStyle`
|
::: /home/jeremiah/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rhit-2.0.3/src/cli/help.rs:21:23
|
21 | let mut printer = clap_help::Printer::new(Args::command())
| --------- one version of crate `termimad` used here, as a dependency of crate `clap_help`
|
::: /home/jeremiah/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rhit-2.0.3/src/cli/args.rs:9:5
error: could not compile `rhit` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `rhit v2.0.3`, intermediate artifacts can be found at `/tmp/cargo-installQZfUEI`.
On Debian 13 Trixie when running
cargo install rhitI get;