[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] documenting jiantao88/Substrate_5 against 1.69.0 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiantao88%2FSubstrate_5" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jiantao88/Substrate_5 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3-tc1/source/Cargo.toml
[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" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f6c47e70952fe6df71d92fb736546d13324ed15277d7fcd5b87ca445bbec3bcd
[INFO] running `Command { std: "docker" "start" "-a" "f6c47e70952fe6df71d92fb736546d13324ed15277d7fcd5b87ca445bbec3bcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f6c47e70952fe6df71d92fb736546d13324ed15277d7fcd5b87ca445bbec3bcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6c47e70952fe6df71d92fb736546d13324ed15277d7fcd5b87ca445bbec3bcd", kill_on_drop: false }`
[INFO] [stdout] f6c47e70952fe6df71d92fb736546d13324ed15277d7fcd5b87ca445bbec3bcd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72deec7784ba37498c24dbcdc44d64bd6b72f410d07fe07c75e50964f750bd12
[INFO] running `Command { std: "docker" "start" "-a" "72deec7784ba37498c24dbcdc44d64bd6b72f410d07fe07c75e50964f750bd12", kill_on_drop: false }`
[INFO] [stderr]  Documenting Substrate_5 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_support`
[INFO] [stdout]  --> src/lib.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use frame_support::pallet_prelude::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ use of undeclared crate or module `frame_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_system`
[INFO] [stdout]  --> src/lib.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use frame_system::pallet_prelude::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^ use of undeclared crate or module `frame_system`
[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 undeclared crate or module `frame_support`
[INFO] [stdout]  --> src/lib.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[frame_support::pallet]
[INFO] [stdout]   |   ^^^^^^^^^^^^^ use of undeclared crate or module `frame_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet`
[INFO] [stdout]   --> src/lib.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[pallet::pallet]
[INFO] [stdout]    |       ^^^^^^ use of undeclared crate or module `pallet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet`
[INFO] [stdout]   --> src/lib.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[pallet::generate_store(pub(super) trait Store)]
[INFO] [stdout]    |       ^^^^^^ use of undeclared crate or module `pallet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet`
[INFO] [stdout]   --> src/lib.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[pallet::config]
[INFO] [stdout]    |       ^^^^^^ use of undeclared crate or module `pallet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet`
[INFO] [stdout]   --> src/lib.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 |     #[pallet::event]
[INFO] [stdout]    |       ^^^^^^ use of undeclared crate or module `pallet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `pallet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet`
[INFO] [stdout]   --> src/lib.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 |     #[pallet::error]
[INFO] [stdout]    |       ^^^^^^ use of undeclared crate or module `pallet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet`
[INFO] [stdout]   --> src/lib.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[pallet::storage]
[INFO] [stdout]    |       ^^^^^^ use of undeclared crate or module `pallet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet`
[INFO] [stdout]   --> src/lib.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 |     #[pallet::call]
[INFO] [stdout]    |       ^^^^^^ use of undeclared crate or module `pallet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet`
[INFO] [stdout]   --> src/lib.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |         #[pallet::weight(1_000)]
[INFO] [stdout]    |           ^^^^^^ use of undeclared crate or module `pallet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet`
[INFO] [stdout]   --> src/lib.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |         #[pallet::weight(0)]
[INFO] [stdout]    |           ^^^^^^ use of undeclared crate or module `pallet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet`
[INFO] [stdout]    --> src/lib.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 115 |         #[pallet::weight(10_000)]
[INFO] [stdout]     |           ^^^^^^ use of undeclared crate or module `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::<T>::contains_key(&proof), Error::<T>::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::<T>::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::<T>::contains_key(claim.clone()), Error::<T>::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::<T>::contains_key(&proof), Error::<T>::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::<T>::NotProofOwner);
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_system`
[INFO] [stdout]   --> src/lib.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub trait Config: frame_system::Config {
[INFO] [stdout]    |                       ^^^^^^^^^^^^ use of undeclared crate or module `frame_system`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_system`
[INFO] [stdout]   --> src/lib.rs:21:51
[INFO] [stdout]    |
[INFO] [stdout] 21 |         type Event: From<Event<Self>> + IsType<<Self as frame_system::Config>::Event>;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^ use of undeclared crate or module `frame_system`
[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<Event<Self>> + IsType<<Self as frame_system::Config>::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<u32>;
[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<u8, T::MaxBytesInHash>),
[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<u8, T::MaxBytesInHash>),
[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<T: Config> = 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<T: Config, Blake2_128Concat> = 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<u8, T::MaxBytesInHash>,
[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<T: Config, OptionQuery> = 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<T>,
[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<u8, T::MaxBytesInHash>,
[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<T>,
[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<u8>,
[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[E0412]: cannot find type `OriginFor` in this scope
[INFO] [stdout]    --> src/lib.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 |             origin: OriginFor<T>,
[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<u8, T::MaxBytesInHash>,
[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] error: aborting due to 39 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `Substrate_5`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name Substrate_5 src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=5adee70f8635c9ca -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "72deec7784ba37498c24dbcdc44d64bd6b72f410d07fe07c75e50964f750bd12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72deec7784ba37498c24dbcdc44d64bd6b72f410d07fe07c75e50964f750bd12", kill_on_drop: false }`
[INFO] [stdout] 72deec7784ba37498c24dbcdc44d64bd6b72f410d07fe07c75e50964f750bd12
