[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 beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiantao88%2FSubstrate_5" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jiantao88/Substrate_5 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-10/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 214d761f4999672b190a584de783e29a940a39bbe1edb128b5628e06e28b9c7d [INFO] running `Command { std: "docker" "start" "-a" "214d761f4999672b190a584de783e29a940a39bbe1edb128b5628e06e28b9c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "214d761f4999672b190a584de783e29a940a39bbe1edb128b5628e06e28b9c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214d761f4999672b190a584de783e29a940a39bbe1edb128b5628e06e28b9c7d", kill_on_drop: false }` [INFO] [stdout] 214d761f4999672b190a584de783e29a940a39bbe1edb128b5628e06e28b9c7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc9b4d674c581d740eaa6a6ad0326038a14dffc1437edba192d490a8eb5cc9c7 [INFO] running `Command { std: "docker" "start" "-a" "dc9b4d674c581d740eaa6a6ad0326038a14dffc1437edba192d490a8eb5cc9c7", 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::::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[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> + IsType<::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> + 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] 49 | pub(super) type Proofs = StorageMap< [INFO] [stdout] | - help: you might be missing a type parameter: `, Blake2_128Concat` [INFO] [stdout] 50 | _, [INFO] [stdout] 51 | Blake2_128Concat, [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: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] 49 | pub(super) type Proofs = StorageMap< [INFO] [stdout] | - help: you might be missing a type parameter: `, OptionQuery` [INFO] [stdout] ... [INFO] [stdout] 54 | OptionQuery, [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: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[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] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 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=7118ae6d1ba37c82 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "dc9b4d674c581d740eaa6a6ad0326038a14dffc1437edba192d490a8eb5cc9c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc9b4d674c581d740eaa6a6ad0326038a14dffc1437edba192d490a8eb5cc9c7", kill_on_drop: false }` [INFO] [stdout] dc9b4d674c581d740eaa6a6ad0326038a14dffc1437edba192d490a8eb5cc9c7