Skip to content

issues compiling ethcore/parity with rust 1.15.1 #764

@derhuerst

Description

@derhuerst

I can't compile ethcore/parity at e9eed5206. Several dependencies use serde for procedural macros.

git checkout e9eed5206
cargo build --release --verbose
error: custom derive attribute panicked
 --> /Users/j/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ethabi-1.0.0/src/spec/constructor.rs:6:35
  |
6 | #[derive(Debug, Clone, PartialEq, Deserialize)]
  |                                   ^^^^^^^^^^^
  |
  = help: message: assertion failed: !p.is_null()

Build failed, waiting for other jobs to finish...
error: custom derive attribute panicked
  --> /Users/j/.cargo/git/checkouts/jsonrpc-a2142c7cad1a1d60/86d7a89/core/src/types/error.rs:76:35
   |
76 | #[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
   |                                   ^^^^^^^^^
   |
   = help: message: assertion failed: !p.is_null()

Build failed, waiting for other jobs to finish...
error: Could not compile `ethabi`.

Caused by:
  process didn't exit successfully: `rustc --crate-name ethabi /Users/j/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/ethabi-1.0.0/src/lib.rs --crate-type lib -C opt-level=3 -C panic=abort -C metadata=2cc91b1e3fc35b26 -C extra-filename=-2cc91b1e3fc35b26 --out-dir /Users/j/ethcore/parity/target/release/deps --emit=dep-info,link -L dependency=/Users/j/ethcore/parity/target/release/deps --extern serde_json=/Users/j/ethcore/parity/target/release/deps/libserde_json-178f5e275514a67d.rlib --extern tiny_keccak=/Users/j/ethcore/parity/target/release/deps/libtiny_keccak-a6d005939a03f5c3.rlib --extern rustc_serialize=/Users/j/ethcore/parity/target/release/deps/librustc_serialize-bdbfbfcc0fc07f27.rlib --extern serde=/Users/j/ethcore/parity/target/release/deps/libserde-81a031b46cbba5db.rlib --extern serde_derive=/Users/j/ethcore/parity/target/release/deps/libserde_derive-dd5ebf1dd35ed3f1.dylib --cap-lints allow` (exit code: 101)

I'm not proficient in the build architecture of rust, but willing to help debug this further! Let me know if any information is missing.

serde.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions