You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0308]: mismatched types
--> /Users/myusername/.cargo/registry/src/github.com-1ecc6299db9ec823/one2html-1.1.1/src/utils.rs:12:41
|
12 | let _state = happylog::set_progress(&bar);
| ---------------------- ^^^^ expected struct `indicatif::progress_bar::ProgressBar`, found struct `ProgressBar`
| |
| arguments to this function are incorrect
|
= note: struct `ProgressBar` and struct `indicatif::progress_bar::ProgressBar` have similar names, but are actually distinct types
note: struct `ProgressBar` is defined in crate `indicatif`
--> /Users/myusername/.cargo/registry/src/github.com-1ecc6299db9ec823/indicatif-0.16.2/src/progress_bar.rs:23:1
|
23 | pub struct ProgressBar {
| ^^^^^^^^^^^^^^^^^^^^^^
note: struct `indicatif::progress_bar::ProgressBar` is defined in crate `indicatif`
--> /Users/myusername/.cargo/registry/src/github.com-1ecc6299db9ec823/indicatif-0.17.3/src/progress_bar.rs:21:1
|
21 | pub struct ProgressBar {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indicatif` are being used?
note: function defined here
--> /Users/myusername/.cargo/registry/src/github.com-1ecc6299db9ec823/happylog-0.2.0/src/console_emitter.rs:93:8
|
93 | pub fn set_progress(pb: &ProgressBar) -> LogPBState {
| ^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0308`.
For more information about this error, try rustc --explain E0308.
error: could not compile one2html due to previous error
error: failed to compile one2html v1.1.1, intermediate artifacts can be found at /var/folders/4_/6kk1zdsj72zbhg5rk8z8tnfr0000gn/T/cargo-installn065ME
This occurred on stable v1.66.1 (cargo install --no-default-features one2html) and v1.69.0-nightly (cargo +nightly install one2html).
The text was updated successfully, but these errors were encountered:
Full log
This occurred on stable v1.66.1 (
cargo install --no-default-features one2html
) and v1.69.0-nightly (cargo +nightly install one2html
).The text was updated successfully, but these errors were encountered: