Created
March 23, 2020 08:21
-
-
Save DrJackilD/93ca976115a18e88da273842f078eaf5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cargo install whalespotter | |
Updating crates.io index | |
Installing whalespotter v0.1.4 | |
Compiling cfg-if v0.1.10 | |
Compiling autocfg v1.0.0 | |
Compiling libc v0.2.68 | |
Compiling lazy_static v1.4.0 | |
Compiling scopeguard v1.1.0 | |
Compiling proc-macro2 v1.0.9 | |
Compiling log v0.4.8 | |
Compiling maybe-uninit v2.0.0 | |
Compiling unicode-xid v0.2.0 | |
Compiling bitflags v1.2.1 | |
Compiling smallvec v1.2.0 | |
Compiling syn v1.0.17 | |
Compiling slab v0.4.2 | |
Compiling arc-swap v0.4.5 | |
Compiling open v1.4.0 | |
Compiling lock_api v0.3.3 | |
Compiling minimad v0.6.4 | |
Compiling crossbeam-utils v0.7.2 | |
Compiling memoffset v0.5.4 | |
Compiling crossbeam-epoch v0.8.2 | |
Compiling quote v1.0.3 | |
Compiling net2 v0.2.33 | |
Compiling iovec v0.1.4 | |
Compiling signal-hook-registry v1.2.0 | |
Compiling parking_lot_core v0.7.0 | |
Compiling mio v0.6.21 | |
Compiling parking_lot v0.10.0 | |
Compiling crossbeam-queue v0.2.1 | |
Compiling crossbeam-channel v0.4.2 | |
Compiling crossbeam-deque v0.7.3 | |
Compiling signal-hook v0.1.13 | |
Compiling crossterm v0.16.0 | |
Compiling crossterm v0.14.2 | |
Compiling crossbeam v0.7.3 | |
Compiling thiserror-impl v1.0.13 | |
Compiling thiserror v1.0.13 | |
Compiling termimad v0.8.17 | |
Compiling whalespotter v0.1.4 | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:43:40 | |
| | |
43 | const ENTER: Event = Event::simple_key(KeyCode::Enter); | |
| ^^^^^^^^^^^^^^ expected enum `crossterm::event::KeyCode`, found a different enum `crossterm::event::KeyCode` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:44:37 | |
| | |
44 | const F5: Event = Event::simple_key(KeyCode::F(5)); | |
| ^^^^^^^^^^^^^ expected enum `crossterm::event::KeyCode`, found a different enum `crossterm::event::KeyCode` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:45:38 | |
| | |
45 | const ESC: Event = Event::simple_key(KeyCode::Esc); | |
| ^^^^^^^^^^^^ expected enum `crossterm::event::KeyCode`, found a different enum `crossterm::event::KeyCode` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:46:39 | |
| | |
46 | const HOME: Event = Event::simple_key(KeyCode::Home); | |
| ^^^^^^^^^^^^^ expected enum `crossterm::event::KeyCode`, found a different enum `crossterm::event::KeyCode` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:47:38 | |
| | |
47 | const END: Event = Event::simple_key(KeyCode::End); | |
| ^^^^^^^^^^^^ expected enum `crossterm::event::KeyCode`, found a different enum `crossterm::event::KeyCode` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:48:42 | |
| | |
48 | const PAGE_UP: Event = Event::simple_key(KeyCode::PageUp); | |
| ^^^^^^^^^^^^^^^ expected enum `crossterm::event::KeyCode`, found a different enum `crossterm::event::KeyCode` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:49:44 | |
| | |
49 | const PAGE_DOWN: Event = Event::simple_key(KeyCode::PageDown); | |
| ^^^^^^^^^^^^^^^^^ expected enum `crossterm::event::KeyCode`, found a different enum `crossterm::event::KeyCode` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:50:37 | |
| | |
50 | const UP: Event = Event::simple_key(KeyCode::Up); | |
| ^^^^^^^^^^^ expected enum `crossterm::event::KeyCode`, found a different enum `crossterm::event::KeyCode` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:51:39 | |
| | |
51 | const DOWN: Event = Event::simple_key(KeyCode::Down); | |
| ^^^^^^^^^^^^^ expected enum `crossterm::event::KeyCode`, found a different enum `crossterm::event::KeyCode` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:52:39 | |
| | |
52 | const CTRL_Q: Event = Event::crtl_key(KeyCode::Char('q')); | |
| ^^^^^^^^^^^^^^^^^^ expected enum `crossterm::event::KeyCode`, found a different enum `crossterm::event::KeyCode` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0277]: `?` couldn't convert the error to `termimad::errors::Error` | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:56:36 | |
| | |
56 | queue!(w, EnterAlternateScreen)?; | |
| ^ the trait `std::convert::From<crossterm::error::ErrorKind>` is not implemented for `termimad::errors::Error` | |
| | |
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait | |
= help: the following implementations were found: | |
<termimad::errors::Error as std::convert::From<crossterm::error::ErrorKind>> | |
<termimad::errors::Error as std::convert::From<std::io::Error>> | |
= note: required by `std::convert::From::from` | |
error[E0277]: `?` couldn't convert the error to `termimad::errors::Error` | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:57:28 | |
| | |
57 | queue!(w, cursor::Hide)?; // hiding the cursor | |
| ^ the trait `std::convert::From<crossterm::error::ErrorKind>` is not implemented for `termimad::errors::Error` | |
| | |
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait | |
= help: the following implementations were found: | |
<termimad::errors::Error as std::convert::From<crossterm::error::ErrorKind>> | |
<termimad::errors::Error as std::convert::From<std::io::Error>> | |
= note: required by `std::convert::From::from` | |
error[E0277]: `?` couldn't convert the error to `termimad::errors::Error` | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:153:28 | |
| | |
153 | queue!(w, cursor::Show)?; | |
| ^ the trait `std::convert::From<crossterm::error::ErrorKind>` is not implemented for `termimad::errors::Error` | |
| | |
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait | |
= help: the following implementations were found: | |
<termimad::errors::Error as std::convert::From<crossterm::error::ErrorKind>> | |
<termimad::errors::Error as std::convert::From<std::io::Error>> | |
= note: required by `std::convert::From::from` | |
error[E0277]: `?` couldn't convert the error to `termimad::errors::Error` | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/main.rs:154:36 | |
| | |
154 | queue!(w, LeaveAlternateScreen)?; | |
| ^ the trait `std::convert::From<crossterm::error::ErrorKind>` is not implemented for `termimad::errors::Error` | |
| | |
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait | |
= help: the following implementations were found: | |
<termimad::errors::Error as std::convert::From<crossterm::error::ErrorKind>> | |
<termimad::errors::Error as std::convert::From<std::io::Error>> | |
= note: required by `std::convert::From::from` | |
error[E0277]: `?` couldn't convert the error to `termimad::errors::Error` | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/screen.rs:124:47 | |
| | |
124 | let (width, height) = terminal::size()?; | |
| ^ the trait `std::convert::From<crossterm::error::ErrorKind>` is not implemented for `termimad::errors::Error` | |
| | |
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait | |
= help: the following implementations were found: | |
<termimad::errors::Error as std::convert::From<crossterm::error::ErrorKind>> | |
<termimad::errors::Error as std::convert::From<std::io::Error>> | |
= note: required by `std::convert::From::from` | |
error[E0277]: `?` couldn't convert the error to `termimad::errors::Error` | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/screen.rs:126:50 | |
| | |
126 | queue!(writer, Clear(ClearType::All))?; | |
| ^ the trait `std::convert::From<crossterm::error::ErrorKind>` is not implemented for `termimad::errors::Error` | |
| | |
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait | |
= help: the following implementations were found: | |
<termimad::errors::Error as std::convert::From<crossterm::error::ErrorKind>> | |
<termimad::errors::Error as std::convert::From<std::io::Error>> | |
= note: required by `std::convert::From::from` | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/screen.rs:153:63 | |
| | |
153 | skin.headers[0].compound_style = CompoundStyle::with_attr(Attribute::Bold); | |
| ^^^^^^^^^^^^^^^ expected enum `crossterm::style::enums::attribute::Attribute`, found a different enum `crossterm::style::enums::attribute::Attribute` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error[E0308]: mismatched types | |
--> /Users/drjackild/.cargo/registry/src/github.com-1ecc6299db9ec823/whalespotter-0.1.4/src/screen.rs:156:40 | |
| | |
156 | skin.bold = CompoundStyle::with_fg(Blue); | |
| ^^^^ expected enum `crossterm::style::enums::color::Color`, found a different enum `crossterm::style::enums::color::Color` | |
| | |
= note: perhaps two different versions of crate `crossterm` are being used? | |
error: aborting due to 18 previous errors | |
Some errors have detailed explanations: E0277, E0308. | |
For more information about an error, try `rustc --explain E0277`. | |
error: failed to compile `whalespotter v0.1.4`, intermediate artifacts can be found at `/var/folders/kt/63f1vlpj55b89jhx87jvg6pm0000gn/T/cargo-install1PdW3C` | |
Caused by: | |
could not compile `whalespotter`. | |
To learn more, run the command again with --verbose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment