[INFO] cloning repository https://github.com/jiantao88/Substrate_5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jiantao88/Substrate_5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiantao88%2FSubstrate_5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiantao88%2FSubstrate_5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 285f8ec123a521730afaffbbe8014269ca30758a [INFO] testing jiantao88/Substrate_5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiantao88%2FSubstrate_5" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jiantao88/Substrate_5 [INFO] finished tweaking git repo https://github.com/jiantao88/Substrate_5 [INFO] tweaked toml for git repo https://github.com/jiantao88/Substrate_5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jiantao88/Substrate_5 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jiantao88/Substrate_5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e100a92c9a80db48dfcd2fea0882da2d4c72cacfb2e125d784b9b165ed5c31e5 [INFO] running `Command { std: "docker" "start" "-a" "e100a92c9a80db48dfcd2fea0882da2d4c72cacfb2e125d784b9b165ed5c31e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e100a92c9a80db48dfcd2fea0882da2d4c72cacfb2e125d784b9b165ed5c31e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e100a92c9a80db48dfcd2fea0882da2d4c72cacfb2e125d784b9b165ed5c31e5", kill_on_drop: false }` [INFO] [stdout] e100a92c9a80db48dfcd2fea0882da2d4c72cacfb2e125d784b9b165ed5c31e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a914622ae46ca3fb9a21a4097c9fe7156669715503cf0feba9b81ec3deb32f7 [INFO] running `Command { std: "docker" "start" "-a" "1a914622ae46ca3fb9a21a4097c9fe7156669715503cf0feba9b81ec3deb32f7", kill_on_drop: false }` [INFO] [stderr] Compiling Substrate_5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] --> src/lib.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | use frame_support::pallet_prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_support`, use `cargo add frame_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] --> src/lib.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | use frame_system::pallet_prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `frame_support::pallet_prelude::*`, `frame_system::pallet_prelude::*` [INFO] [stdout] --> src/lib.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | use frame_support::pallet_prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use frame_system::pallet_prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] --> src/lib.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[frame_support::pallet] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | #[pallet::pallet] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | #[pallet::generate_store(pub(super) trait Store)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | #[pallet::config] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | #[pallet::event] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | #[pallet::generate_deposit(pub(super) fn deposit_event)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | #[pallet::error] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | #[pallet::storage] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | #[pallet::call] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[pallet::weight(1_000)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | #[pallet::weight(0)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[pallet::weight(10_000)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> src/lib.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | ensure!(!Proofs::::contains_key(&proof), Error::::ProofAlreadyClaimed); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> src/lib.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | ensure!(owner == sender, Error::::NotClaimOwner); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | ensure!(!Proofs::::contains_key(claim.clone()), Error::::ProofAlreadyExist); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> src/lib.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | ensure!(Proofs::::contains_key(&proof), Error::::NoSuchProof); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> src/lib.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | ensure!(sender == owner, Error::::NotProofOwner); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IsType` in this scope [INFO] [stdout] --> src/lib.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | type Event: From> + IsType<::Event>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Get` in this scope [INFO] [stdout] --> src/lib.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | type MaxBytesInHash: Get; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoundedVec` in this scope [INFO] [stdout] --> src/lib.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | ClaimCreated(T::AccountId, BoundedVec), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoundedVec` in this scope [INFO] [stdout] --> src/lib.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | ClaimRevoked(T::AccountId, BoundedVec), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StorageMap` in this scope [INFO] [stdout] --> src/lib.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | pub(super) type Proofs = StorageMap< [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Blake2_128Concat` in this scope [INFO] [stdout] --> src/lib.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | Blake2_128Concat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 49 | pub(super) type Proofs = StorageMap< [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoundedVec` in this scope [INFO] [stdout] --> src/lib.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | BoundedVec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptionQuery` in this scope [INFO] [stdout] --> src/lib.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | OptionQuery, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 49 | pub(super) type Proofs = StorageMap< [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginFor` in this scope [INFO] [stdout] --> src/lib.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | origin: OriginFor, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoundedVec` in this scope [INFO] [stdout] --> src/lib.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | proof: BoundedVec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DispatchResult` in this scope [INFO] [stdout] --> src/lib.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | ) -> DispatchResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginFor` in this scope [INFO] [stdout] --> src/lib.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | origin:OriginFor, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/lib.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | claim: Vec, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DispatchResultWithPostInfo` in this scope [INFO] [stdout] --> src/lib.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | ) -> DispatchResultWithPostInfo{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] --> src/lib.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | (to.clone(), frame_system::Pallet::::block_number()) [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 7 + use crate::Pallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `Pallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 108 - (to.clone(), frame_system::Pallet::::block_number()) [INFO] [stdout] 108 + (to.clone(), Pallet::::block_number()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginFor` in this scope [INFO] [stdout] --> src/lib.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | origin: OriginFor, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoundedVec` in this scope [INFO] [stdout] --> src/lib.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | proof: BoundedVec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DispatchResult` in this scope [INFO] [stdout] --> src/lib.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> DispatchResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for structs [INFO] [stdout] --> src/lib.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Pallet(_); [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] --> src/lib.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Config: frame_system::Config { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] --> src/lib.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | type Event: From> + IsType<::Event>; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] --> src/lib.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | let current_block = >::block_number(); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ensure_signed` in this scope [INFO] [stdout] --> src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let sender = ensure_signed(origin)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ensure_signed` in this scope [INFO] [stdout] --> src/lib.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let sender = ensure_signed(origin)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ensure_signed` in this scope [INFO] [stdout] --> src/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let sender = ensure_signed(origin)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0121, E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Substrate_5` (lib) due to 45 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1a914622ae46ca3fb9a21a4097c9fe7156669715503cf0feba9b81ec3deb32f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a914622ae46ca3fb9a21a4097c9fe7156669715503cf0feba9b81ec3deb32f7", kill_on_drop: false }` [INFO] [stdout] 1a914622ae46ca3fb9a21a4097c9fe7156669715503cf0feba9b81ec3deb32f7