Giter Club home page Giter Club logo

weather-forecast's People

Contributors

jiayaoqijia avatar

Watchers

 avatar  avatar  avatar

weather-forecast's Issues

Compile failed due to sc-cli

The build command cargo build failed at building sc-cli.

The full log is here
   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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.