jiayaoqijia / weather-forecast Goto Github PK
View Code? Open in Web Editor NEWA blockchain for weather forecast based on Substrate.
License: GNU General Public License v3.0
A blockchain for weather forecast based on Substrate.
License: GNU General Public License v3.0
The build command cargo build
failed at building sc-cli
.
Compiling sc-cli v2.0.0 (https://github.com/paritytech/substrate.git?rev=e0e6a78812de9c50168b0d7d25a46606fedbc074#e0e6a788)
error[E0277]: the trait bound `params::Keyring: structopt::StructOptInternal` is not satisfied
--> /home/xxxx/.cargo/git/checkouts/substrate-7e08433d4c370a21/e0e6a78/client/cli/src/params.rs:532:14
|
532 | #[structopt(flatten)]
| ^^^^^^^ the trait `structopt::StructOptInternal` is not implemented for `params::Keyring`
|
= note: required by `structopt::StructOptInternal::augment_clap`
error[E0599]: no function or associated item named `augment_clap` found for type `params::BuildSpecCmd` in the current scope
--> /home/xxxx/.cargo/git/checkouts/substrate-7e08433d4c370a21/e0e6a78/client/cli/src/params.rs:906:18
|
712 | pub struct BuildSpecCmd {
| ----------------------- function or associated item `augment_clap` not found for this
...
906 | BuildSpecCmd::augment_clap(SubCommand::with_name("build-spec"))
| ^^^^^^^^^^^^ function or associated item not found in `params::BuildSpecCmd`
|
= help: items from traits can only be used if the trait is in scope
= note: the following trait is implemented but not in scope; perhaps add a `use` for it:
`use structopt::StructOptInternal;`
error[E0599]: no function or associated item named `augment_clap` found for type `params::ExportBlocksCmd` in the current scope
--> /home/xxxx/.cargo/git/checkouts/substrate-7e08433d4c370a21/e0e6a78/client/cli/src/params.rs:910:21
|
770 | pub struct ExportBlocksCmd {
| -------------------------- function or associated item `augment_clap` not found for this
...
910 | ExportBlocksCmd::augment_clap(SubCommand::with_name("export-blocks"))
| ^^^^^^^^^^^^ function or associated item not found in `params::ExportBlocksCmd`
|
= help: items from traits can only be used if the trait is in scope
= note: the following trait is implemented but not in scope; perhaps add a `use` for it:
`use structopt::StructOptInternal;`
error[E0599]: no function or associated item named `augment_clap` found for type `params::ImportBlocksCmd` in the current scope
--> /home/xxxx/.cargo/git/checkouts/substrate-7e08433d4c370a21/e0e6a78/client/cli/src/params.rs:916:21
|
798 | pub struct ImportBlocksCmd {
| -------------------------- function or associated item `augment_clap` not found for this
...
916 | ImportBlocksCmd::augment_clap(SubCommand::with_name("import-blocks"))
| ^^^^^^^^^^^^ function or associated item not found in `params::ImportBlocksCmd`
|
= help: items from traits can only be used if the trait is in scope
= note: the following trait is implemented but not in scope; perhaps add a `use` for it:
`use structopt::StructOptInternal;`
error[E0599]: no function or associated item named `augment_clap` found for type `params::CheckBlockCmd` in the current scope
--> /home/xxxx/.cargo/git/checkouts/substrate-7e08433d4c370a21/e0e6a78/client/cli/src/params.rs:920:19
|
820 | pub struct CheckBlockCmd {
| ------------------------ function or associated item `augment_clap` not found for this
...
920 | CheckBlockCmd::augment_clap(SubCommand::with_name("check-block"))
| ^^^^^^^^^^^^ function or associated item not found in `params::CheckBlockCmd`
|
= help: items from traits can only be used if the trait is in scope
= note: the following trait is implemented but not in scope; perhaps add a `use` for it:
`use structopt::StructOptInternal;`
error[E0599]: no function or associated item named `augment_clap` found for type `params::RevertCmd` in the current scope
--> /home/xxxx/.cargo/git/checkouts/substrate-7e08433d4c370a21/e0e6a78/client/cli/src/params.rs:924:15
|
842 | pub struct RevertCmd {
| -------------------- function or associated item `augment_clap` not found for this
...
924 | RevertCmd::augment_clap(SubCommand::with_name("revert"))
| ^^^^^^^^^^^^ function or associated item not found in `params::RevertCmd`
|
= help: items from traits can only be used if the trait is in scope
= note: the following trait is implemented but not in scope; perhaps add a `use` for it:
`use structopt::StructOptInternal;`
error[E0599]: no function or associated item named `augment_clap` found for type `params::PurgeChainCmd` in the current scope
--> /home/xxxx/.cargo/git/checkouts/substrate-7e08433d4c370a21/e0e6a78/client/cli/src/params.rs:928:19
|
854 | pub struct PurgeChainCmd {
| ------------------------ function or associated item `augment_clap` not found for this
...
928 | PurgeChainCmd::augment_clap(SubCommand::with_name("purge-chain"))
| ^^^^^^^^^^^^ function or associated item not found in `params::PurgeChainCmd`
|
= help: items from traits can only be used if the trait is in scope
= note: the following trait is implemented but not in scope; perhaps add a `use` for it:
`use structopt::StructOptInternal;`
error: aborting due to 7 previous errors
Some errors have detailed explanations: E0277, E0599.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `sc-cli`.
warning: build failed, waiting for other jobs to finish...
error: build failed
It's caused by an issue in substrate, which has been fixed in paritytech/substrate#4509. The version of dependencies in cargo.toml
may need to be updated to a newer version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.