Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Cannot install Rainicorn because rustc-serialize won't compile #12

Open
JordanLongstaff opened this issue Jun 1, 2018 · 2 comments
Open

Comments

@JordanLongstaff
Copy link

JordanLongstaff commented Jun 1, 2018

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.

@bruno-medeiros
Copy link
Contributor

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

@podhrmic
Copy link

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:-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants