pallet-example-basic 34.0.0

FRAME example pallet (polkadot v1.13.0)
Documentation
Build #2108467 2025-05-13 13:38:57

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version
rustc 1.89.0-nightly (8405332bd 2025-05-12)# docs.rs version
docsrs 0.6.0 (f7595057 2025-05-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/pallet-example-basic-34.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/pallet-example-basic-34.0.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250512-1.89.0-nightly-8405332bd\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3630c0ddc7e61136b9ad3cd9c7bf2477349009d478d70ca63b4e76bbf10ec095
[INFO] running `Command { std: "docker" "start" "-a" "3630c0ddc7e61136b9ad3cd9c7bf2477349009d478d70ca63b4e76bbf10ec095", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking frame-system v35.0.0
[INFO] [stderr] error[E0432]: unresolved import `frame_support`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:257:1
[INFO] [stderr]     |
[INFO] [stderr] 257 | #[frame_support::pallet]
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^ no `vec` in `__private`
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: consider importing one of these modules instead
[INFO] [stderr]     |
[INFO] [stderr] 257 - #[frame_support::pallet]
[INFO] [stderr] 257 + std::vec
[INFO] [stderr]     |
[INFO] [stderr] 257 - #[frame_support::pallet]
[INFO] [stderr] 257 + scale_info::prelude::vec
[INFO] [stderr]     |
[INFO] [stderr] 257 - #[frame_support::pallet]
[INFO] [stderr] 257 + sp_std::vec
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:257:1
[INFO] [stderr]     |
[INFO] [stderr] 257 | #[frame_support::pallet]
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:631:12
[INFO] [stderr]     |
[INFO] [stderr] 631 |     #[pallet::pallet]
[INFO] [stderr]     |               ^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:891:12
[INFO] [stderr]     |
[INFO] [stderr] 891 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:902:12
[INFO] [stderr]     |
[INFO] [stderr] 902 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:906:12
[INFO] [stderr]     |
[INFO] [stderr] 906 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:910:12
[INFO] [stderr]     |
[INFO] [stderr] 910 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:916:12
[INFO] [stderr]     |
[INFO] [stderr] 916 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:920:12
[INFO] [stderr]     |
[INFO] [stderr] 920 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:926:12
[INFO] [stderr]     |
[INFO] [stderr] 926 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:933:12
[INFO] [stderr]     |
[INFO] [stderr] 933 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:939:12
[INFO] [stderr]     |
[INFO] [stderr] 939 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:944:12
[INFO] [stderr]     |
[INFO] [stderr] 944 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:956:12
[INFO] [stderr]     |
[INFO] [stderr] 956 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:964:12
[INFO] [stderr]     |
[INFO] [stderr] 964 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:979:12
[INFO] [stderr]     |
[INFO] [stderr] 979 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:986:12
[INFO] [stderr]     |
[INFO] [stderr] 986 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:991:12
[INFO] [stderr]     |
[INFO] [stderr] 991 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:996:12
[INFO] [stderr]     |
[INFO] [stderr] 996 |     #[pallet::storage]
[INFO] [stderr]     |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:1000:12
[INFO] [stderr]      |
[INFO] [stderr] 1000 |     #[pallet::storage]
[INFO] [stderr]      |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `vec` in `__private`
[INFO] [stderr]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:1005:12
[INFO] [stderr]      |
[INFO] [stderr] 1005 |     #[pallet::storage]
[INFO] [stderr]      |               ^^^^^^^ could not find `vec` in `__private`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `try_runtime_enabled` in `frame_support`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:257:1
[INFO] [stderr]     |
[INFO] [stderr] 257 | #[frame_support::pallet]
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `try_runtime_enabled` in `frame_support`
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `try_runtime_enabled` in `frame_support`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:634:12
[INFO] [stderr]     |
[INFO] [stderr] 634 |     #[pallet::hooks]
[INFO] [stderr]     |               ^^^^^ could not find `try_runtime_enabled` in `frame_support`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Vec` in module `frame_support::__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:257:1
[INFO] [stderr]     |
[INFO] [stderr] 257 | #[frame_support::pallet]
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `frame_support::__private`
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: consider importing one of these structs
[INFO] [stderr]     |
[INFO] [stderr] 259 +     use crate::Vec;
[INFO] [stderr]     |
[INFO] [stderr] 259 +     use std::vec::Vec;
[INFO] [stderr]     |
[INFO] [stderr] 259 +     use scale_info::prelude::vec::Vec;
[INFO] [stderr]     |
[INFO] [stderr] 259 +     use sp_runtime::Vec;
[INFO] [stderr]     |
[INFO] [stderr]       and 1 other candidate
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Vec` in module `frame_support::__private`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-35.0.0/src/lib.rs:631:12
[INFO] [stderr]     |
[INFO] [stderr] 631 |     #[pallet::pallet]
[INFO] [stderr]     |               ^^^^^^ not found in `frame_support::__private`
[INFO] [stderr]     |
[INFO] [stderr] help: consider importing one of these structs
[INFO] [stderr]     |
[INFO] [stderr] 259 +     use crate::Vec;
[INFO] [stderr]     |
[INFO] [stderr] 259 +     use std::vec::Vec;
[INFO] [stderr]     |
[INFO] [stderr] 259 +     use scale_info::prelude::vec::Vec;
[INFO] [stderr]     |
[INFO] [stderr] 259 +     use sp_runtime::Vec;
[INFO] [stderr]     |
[INFO] [stderr]       and 1 other candidate
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `frame-system` (lib) due to 25 previous errors
[INFO] running `Command { std: "docker" "inspect" "3630c0ddc7e61136b9ad3cd9c7bf2477349009d478d70ca63b4e76bbf10ec095", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3630c0ddc7e61136b9ad3cd9c7bf2477349009d478d70ca63b4e76bbf10ec095", kill_on_drop: false }`
[INFO] [stdout] 3630c0ddc7e61136b9ad3cd9c7bf2477349009d478d70ca63b4e76bbf10ec095