Created
September 4, 2018 14:18
-
-
Save gnunicorn/89d3ba71db6ed3a683a549b8f1a2de72 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling triehash v0.1.2 | |
Compiling jsonrpc-macros v8.0.1 (https://github.com/paritytech/jsonrpc.git#98e892b0) | |
error[E0308]: mismatched types | |
--> /home/ben/.cargo/registry/src/github.com-1ecc6299db9ec823/triehash-0.1.2/src/lib.rs:141:2 | |
| | |
138 | fn gen_trie_root<A: AsRef<[u8]>, B: AsRef<[u8]>>(input: &[(A, B)]) -> H256 { | |
| ---- expected `ethereum_types::H256` because of return type | |
... | |
141 | keccak(stream.out()) | |
| ^^^^^^^^^^^^^^^^^^^^ expected struct `ethereum_types::H256`, found struct `hash::H256` | |
| | |
= note: expected type `ethereum_types::H256` | |
found type `hash::H256` | |
note: Perhaps two different versions of crate `ethereum_types` are being used? | |
--> /home/ben/.cargo/registry/src/github.com-1ecc6299db9ec823/triehash-0.1.2/src/lib.rs:141:2 | |
| | |
141 | keccak(stream.out()) | |
| ^^^^^^^^^^^^^^^^^^^^ | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0308`. | |
error: Could not compile `triehash`. | |
warning: build failed, waiting for other jobs to finish... | |
error: build failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment