Rainicorn icon indicating copy to clipboard operation
Rainicorn copied to clipboard

Cannot install Rainicorn because rustc-serialize won't compile

Open JordanLongstaff opened this issue 6 years ago • 2 comments

I tried running the following command as per the installation instructions:

cargo install --git https://github.com/RustDT/Rainicorn --tag version_1.x

It gave me the following output:

Updating git repository 'https://github.com/RustDT/Rainicorn'

Installing rainicorn v1.3.0 (https://github.com/RustDT/Rainicorn?tag=version_1.x#365f819b) Compiling winapi-build v0.1.1 Compiling winapi v0.2.8 Compiling rustc-serialize v0.3.19 Compiling libc v0.2.14 error[E0642]: patterns aren't allowed in methods without bodies --> /home/jordan/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 | 147 | &f_name: &str, | ^^^^^^^

Compiling log v0.3.6 Compiling unicode-xid v0.0.3 Compiling bitflags v0.7.0 Compiling rustdt_util v0.2.3 Compiling kernel32-sys v0.2.2 error: aborting due to previous error

For more information about this error, try 'rustc --explain E0642'. error: Could not compile 'rustc-serialize'. warning: build failed, waiting for other jobs to finish... error: failed to compile 'rainicorn v1.3.0 (https://github.com/RustDT/Rainicorn?tag=version_1.x#365f819b)', intermediate artifacts can be found at '/tmp/cargo-installVgbQNs'

Caused by: build failed

I believe rustc-serialize is deprecated at this point and is being replaced by serde.

JordanLongstaff avatar Jun 01 '18 16:06 JordanLongstaff

I'm afraid I'm not gonna be working on Rainicorn anymore, since, as far as I know, only RustDT was using it (and I've archived RustDT). I don't think any other IDE or tool will pick this up, since the functionality has been superseded by RLS https://github.com/rust-lang-nursery/rls

bruno-medeiros avatar Jun 08 '18 14:06 bruno-medeiros

I just compiled it with nightly-2017-12-12, probably any other version of similar date will work. But I will give RLS a try too. @bruno-medeiros thanks for RustDT, it helped me a lot in the past:-)

podhrmic avatar Jun 22 '18 23:06 podhrmic