Open michael-grunder opened 7 years ago
i can second that on debian-stretch
> rustup run nightly cargo build
Compiling notty-encoding v0.1.0 (https://github.com/withoutboats/notty-encoding#ba5daba3)
Compiling num v0.1.37
Compiling serde v0.6.15
error[E0038]: the trait `cmds::EscCode` cannot be made into an object
--> /home/kon/.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/kon/.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`.
Build failed, waiting for other jobs to finish...
error: build failed
> uname -a
Linux ktsakiltzidis 4.9.0-3-amd64 #1 SMP Debian 4.9.25-1 (2017-05-02) x86_64 GNU/Linux
@michael-grunder this seems like an upstream nightly feature being under development https://github.com/rust-lang/rust/issues/29646
I also get the same error compiling on Arch linux:
[user@ArchSystem notty]$ rustup run nightly cargo build
Compiling base64 v0.1.1
Compiling log v0.3.8
Compiling unicode-width v0.1.4
Compiling uuid v0.3.1
Compiling num-traits v0.1.39
Compiling notty-encoding v0.1.0 (https://github.com/withoutboats/notty-encoding#ba5daba3)
error[E0038]: the trait `cmds::EscCode` cannot be made into an object
--> /home/user/.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/user/.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 previous error(s)
error: Could not compile `notty-encoding`.
warning: build failed, waiting for other jobs to finish...
error: build failed
so.. could the project be considered as an abandoned one?
I don't wanna believe it 😢
@withoutboats
Yup, I'd say it's abandoned. The last commit to an actual source file was 10 months ago. It also doesn't compile anymore. I guess that's just part of the cost of developing on Rust nightly.
😢
Hi,
I'm trying to compile notty and have run into an error building the encoding package. Here is the output from my build:
rustc:
OS Information:
I was able to find a few places on the net mentioning this error but unfortunately I don't know nearly enough about rust to figure out a solution. Hopefully I'm not missing something totally obvious here :smiley:
Edit: I get the same error in Ubuntu.