Created
August 10, 2019 11:55
-
-
Save iammelea/148e9501e0baeba5b2836a15a74f18e7 to your computer and use it in GitHub Desktop.
Error script build substrate
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
``` | |
curl https://getsubstrate.io -sSf | bash | |
Compiling hex-literal-impl v0.2.0 | |
Compiling structopt v0.2.18 | |
Compiling parking_lot v0.7.1 | |
Compiling vergen v3.0.4 | |
Compiling futures-timer v0.2.1 | |
error[E0277]: the trait bound `ext::TimeoutStream<S>: futures_core::stream::Stream` is not satisfied | |
--> /home/subs/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-timer-0.2.1/src/ext.rs:170:9 | |
| | |
170 | impl<S> TryStream for TimeoutStream<S> | |
| ^^^^^^^^^ the trait `futures_core::stream::Stream` is not implemented for `ext::TimeoutStream<S>` | |
| | |
= note: required because of the requirements on the impl of `futures_core::stream::private_try_stream::Sealed` for `ext::TimeoutStream<S>` | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0277`. | |
error: Could not compile `futures-timer`. | |
warning: build failed, waiting for other jobs to finish... | |
error: failed to compile `substrate v2.0.0 (/tmp/tmp.bw0orWX5z0)`, intermediate artifacts can be found at `/tmp/tmp.bw0orWX5z0/target` | |
Caused by: | |
build failed | |
~ | |
Cloning into '/tmp/tmp.JlHv26HwLz'... | |
remote: Enumerating objects: 67, done. | |
remote: Counting objects: 100% (67/67), done. | |
remote: Compressing objects: 100% (48/48), done. | |
remote: Total 188 (delta 36), reused 37 (delta 19), pack-reused 121 | |
Receiving objects: 100% (188/188), 43.12 KiB | 0 bytes/s, done. | |
Resolving deltas: 100% (103/103), done. | |
Checking connectivity... done. | |
Run source ~/.cargo/env now to update environment | |
``` | |
then | |
run ```source ~/.cargo/env``` and close and open terminal | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment