Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

compile error: failed to build substratekittes by following the workshop guide #3136

Closed
yutongp opened this issue Jul 16, 2019 · 1 comment
Closed

Comments

@yutongp
Copy link

yutongp commented Jul 16, 2019

refer to: shawntabrizi/substrate-collectables-workshop#121

I was trying to follow the workshop(https://substrate.dev/substrate-collectables-workshop/#/0/running-a-custom-node)

but failed to build my substratekitten project:

cd substratekitties
./scripts/init.sh
./scripts/build.sh
Building webassembly binary in runtime/wasm...
   Compiling rustc_version v0.2.3
   Compiling quote v0.6.12
   Compiling toml v0.4.10
   Compiling hex-literal v0.1.3
error: proc-macro derive panicked
  --> /Users/yutong/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hex-literal-0.1.3/src/lib.rs:38:1
   |
38 | / proc_macro_expr_decl! {
39 | |     /// Macro for converting hex string to byte array at compile time
40 | |     hex! => hex_impl
41 | | }
   | |_^
   |
   = help: message: assertion failed: `(left == right)`
             left: `Some("#[allow(unused,")`,
            right: `Some("#[allow(unused")`
   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to previous error

error: Could not compile `hex-literal`.
warning: build failed, waiting for other jobs to finish...
error: build failed
@bkchr
Copy link
Member

bkchr commented Jul 17, 2019

Please search the next time, before opening a new issue. #3134

@bkchr bkchr closed this as completed Jul 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants