withoutboats / notty

A new kind of terminal
GNU Affero General Public License v3.0
2.31k stars 40 forks source link

Can't build master branch #66

Open seunlanlege opened 7 years ago

seunlanlege commented 7 years ago

Joyful compiler errors

error[E0038]: the trait `cmds::EscCode` cannot be made into an object
 --> /home/seunlanlege/.cargo/git/checkouts/notty-encoding-26bc718f9ba2caca/ba5daba/src/client.rs:6:5
  |
6 |     fn write(&mut self, &EscCode) -> io::Result<()>;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `cmds::EscCode` cannot be made into an object
  |
  = note: the trait cannot contain associated consts like `OPCODE`

error[E0038]: the trait `cmds::EscCode` cannot be made into an object
  --> /home/seunlanlege/.cargo/git/checkouts/notty-encoding-26bc718f9ba2caca/ba5daba/src/client.rs:12:5
   |
12 |     fn write(&mut self, code: &EscCode) -> io::Result<()> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `cmds::EscCode` cannot be made into an object
   |
   = note: the trait cannot contain associated consts like `OPCODE`

error: aborting due to 2 previous errors

error: Could not compile `notty-encoding`.
warning: build failed, waiting for other jobs to finish...
error: build failed

rustc version rustc 1.22.0-nightly (f1b5225e8 2017-10-01)

nathanbakhuijzen commented 7 years ago

I get the same errors.

rustc 1.24.0-nightly (1956d5535 2017-12-03) cargo 0.24.0-nightly (5bb478a51 2017-11-29)