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

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

Description

@JordanLongstaff

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions