dappforce/dappforce-subsocial-node-v1

unresolved import `syn::token::CustomKeyword`

Closed this issue · 4 comments

running cargo build --release on branch df

error[E0432]: unresolved import `syn::token::CustomKeyword`
  --> /Users/yj/.cargo/git/checkouts/substrate-21e9e9267949a89d/6dfc3e8/srml/support/procedural/tools/src/syn_ext.rs:26:5
   |
26 | use syn::token::CustomKeyword;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `CustomKeyword` in `token`

error: aborting due to previous error
siman commented

@yjkimjunior try to run cargo update.
And also check this related issue please: paritytech/substrate#2326

cargo update yields:

    Updating git repository `https://github.com/joystream/substrate.git`
    Updating crates.io index
    Updating git repository `https://github.com/paritytech/substrate-bip39`
error: failed to select a version for the requirement `schnorrkel = "^0.1"`
  candidate versions found which didn't match: 0.9.0, 0.8.5, 0.8.4
  location searched: crates.io index
required by package `substrate-primitives v1.0.0 (https://github.com/joystream/substrate.git?rev=6dfc3e8b057bb00322136251a0f10305fbb1ad8f#6dfc3e8b)`
    ... which is depended on by `subsocial-runtime v5.2.0 (/Users/yj/Developer/dappforce-subsocial-runtime)`

@yjkimjunior couldn't reproduce your error. rm -rf cloned repo and try again strictly following Readme.

Using next rustup config:

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu (default)
nightly-x86_64-unknown-linux-gnu

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (default)
rustc 1.41.1 (f3e1a954d 2020-02-24)

Have just cloned this repo and built it following Readme.
photo_2020-03-10_12-39-22
photo_2020-03-10_12-39-26

@yjkimjunior any updates on this?