Skip to content

Instantly share code, notes, and snippets.

@atroche
Created June 1, 2021 12:30
Show Gist options
  • Save atroche/82de1ee6aafa1c4f6cc125829caa7306 to your computer and use it in GitHub Desktop.
Save atroche/82de1ee6aafa1c4f6cc125829caa7306 to your computer and use it in GitHub Desktop.
Updating crates.io index
Installing xplr v0.13.1
Compiling libc v0.2.95
Compiling proc-macro2 v1.0.27
Compiling autocfg v1.0.1
Compiling unicode-xid v0.2.2
Compiling syn v1.0.72
Compiling serde_derive v1.0.126
Compiling version_check v0.9.3
Compiling serde v1.0.126
Compiling cfg-if v1.0.0
Compiling bitflags v1.2.1
Compiling log v0.4.14
Compiling cc v1.0.68
Compiling memchr v2.4.0
Compiling scopeguard v1.1.0
Compiling smallvec v1.6.1
Compiling unicode-width v0.1.8
Compiling cassowary v0.3.0
Compiling unicode-segmentation v1.7.1
Compiling pkg-config v0.3.19
Compiling lazy_static v1.4.0
Compiling erased-serde v0.3.15
Compiling linked-hash-map v0.5.4
Compiling anyhow v1.0.40
Compiling hashbrown v0.9.1
Compiling numtoa v0.1.0
Compiling dtoa v0.4.8
Compiling mime v0.3.16
Compiling humansize v1.1.1
Compiling natord v1.0.9
Compiling instant v0.1.9
Compiling lock_api v0.4.4
Compiling unicase v2.6.0
Compiling num-traits v0.2.14
Compiling num-integer v0.1.44
Compiling indexmap v1.6.2
Compiling yaml-rust v0.4.5
Compiling luajit-src v210.1.3+restyfe08842
Compiling lua-src v543.0.0
Compiling tui v0.15.0
Compiling bstr v0.2.16
Compiling mlua v0.5.4
Compiling signal-hook-registry v1.3.0
Compiling mio v0.7.11
Compiling parking_lot_core v0.8.3
Compiling time v0.1.43
Compiling dirs-sys v0.3.6
Compiling termion v1.5.6
Compiling quote v1.0.9
Compiling dirs v3.0.2
Compiling mime_guess v2.0.3
Compiling parking_lot v0.11.1
Compiling signal-hook v0.1.17
Compiling ansi-to-tui v0.2.2
Compiling crossterm v0.18.2
Compiling chrono v0.4.19
Compiling tui v0.14.0
Compiling serde_yaml v0.8.17
Compiling xplr v0.13.1
error[E0308]: mismatched types
--> /Users/alistair/.cargo/registry/src/github.com-1ecc6299db9ec823/xplr-0.13.1/src/ui.rs:569:69
|
569 | ... .unwrap_or_else(|e| Text::raw(format!("{:?}", e))),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `tui::text::Text`, found a different struct `tui::text::Text`
|
= note: perhaps two different versions of crate `tui` are being used?
error[E0308]: `match` arms have incompatible types
--> /Users/alistair/.cargo/registry/src/github.com-1ecc6299db9ec823/xplr-0.13.1/src/ui.rs:570:55
|
567 | ... match out {
| --------- `match` arms have incompatible types
568 | ... Ok(o) => ansi_to_text(o.bytes())
| ____________________________________-
569 | | ... .unwrap_or_else(|e| Text::raw(format!("{:?}", e))),
| |________________________________________________________________________________- this is found to be of type `tui::text::Text<'_>`
570 | ... Err(e) => Text::raw(e.to_string()),
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `tui::text::Text`, found a different struct `tui::text::Text`
|
= note: perhaps two different versions of crate `tui` are being used?
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.
error: could not compile `xplr`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `xplr v0.13.1`, intermediate artifacts can be found at `/var/folders/82/fv3hc1_53ss9ltjrq0jfqbph0000gn/T/cargo-install6lEK0I`
Caused by:
build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment