Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ ./build.sh
~/Work/jsgenesis/joystream-runtime/wasm ~/Work/jsgenesis/joystream-runtime
Compiling substrate-forum-module v0.1.0 (https://github.com/bedeho/substrate-forum-module?rev=9c0cf6544f8f6f9b7ae185007ccf3d8623d5f62a#9c0cf654)
error[E0432]: unresolved import `serde_derive`
--> /Users/siman/.cargo/git/checkouts/substrate-forum-module-45fcd172ed492bdc/9c0cf65/src/lib.rs:216:5
|
216 | use serde_derive::{Serialize, Deserialize};
| ^^^^^^^^^^^^ use of undeclared type or module `serde_derive`
error[E0425]: cannot find function `ensure_signed` in this scope
--> /Users/siman/.cargo/git/checkouts/substrate-forum-module-45fcd172ed492bdc/9c0cf65/src/lib.rs:739:23
|
739 | let who = ensure_signed(origin)?;
| ^^^^^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
216 | use system::ensure_signed;
|
error[E0425]: cannot find function `ensure_signed` in this scope
--> /Users/siman/.cargo/git/checkouts/substrate-forum-module-45fcd172ed492bdc/9c0cf65/src/lib.rs:818:23
|
818 | let who = ensure_signed(origin)?;
| ^^^^^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
216 | use system::ensure_signed;
|
error[E0425]: cannot find function `ensure_signed` in this scope
--> /Users/siman/.cargo/git/checkouts/substrate-forum-module-45fcd172ed492bdc/9c0cf65/src/lib.rs:867:23
|
867 | let who = ensure_signed(origin)?;
| ^^^^^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
216 | use system::ensure_signed;
|
error[E0425]: cannot find function `ensure_signed` in this scope
--> /Users/siman/.cargo/git/checkouts/substrate-forum-module-45fcd172ed492bdc/9c0cf65/src/lib.rs:904:23
|
904 | let who = ensure_signed(origin)?;
| ^^^^^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
216 | use system::ensure_signed;
|
error[E0425]: cannot find function `ensure_signed` in this scope
--> /Users/siman/.cargo/git/checkouts/substrate-forum-module-45fcd172ed492bdc/9c0cf65/src/lib.rs:959:23
|
959 | let who = ensure_signed(origin)?;
| ^^^^^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
216 | use system::ensure_signed;
|
error[E0425]: cannot find function `ensure_signed` in this scope
--> /Users/siman/.cargo/git/checkouts/substrate-forum-module-45fcd172ed492bdc/9c0cf65/src/lib.rs:994:23
|
994 | let who = ensure_signed(origin)?;
| ^^^^^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
216 | use system::ensure_signed;
|
error[E0425]: cannot find function `ensure_signed` in this scope
--> /Users/siman/.cargo/git/checkouts/substrate-forum-module-45fcd172ed492bdc/9c0cf65/src/lib.rs:1033:23
|
1033 | let who = ensure_signed(origin)?;
| ^^^^^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
216 | use system::ensure_signed;
|
error: duplicate lang item in crate `std`: `panic_impl`.
|
= note: first defined in crate `sr_io`.
error: duplicate lang item in crate `std`: `oom`.
|
= note: first defined in crate `sr_io`.
error: aborting due to 10 previous errors
Some errors have detailed explanations: E0425, E0432.
For more information about an error, try `rustc --explain E0425`.
error: Could not compile `substrate-forum-module`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.