sp-io 38.0.0

I/O for Substrate runtimes (polkadot v1.15.0)
Documentation
Build #1295837 2024-07-18T13:11:13.479009+00:00
# rustc version
rustc 1.81.0-nightly (fcc325f1b 2024-07-17)# docs.rs version
docsrs 0.6.0 (bd66f012 2024-07-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sp-io-38.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sp-io-38.0.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240717-1.81.0-nightly-fcc325f1b\", \"--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] d7f00d0a01ef963bf9ba542eea84e1b623e0f41c314c6c942da5763c957df9cd
[INFO] running `Command { std: "docker" "start" "-a" "d7f00d0a01ef963bf9ba542eea84e1b623e0f41c314c6c942da5763c957df9cd", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting sp-io v38.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `enable_alloc_error_handler`
[INFO] [stderr]   --> src/lib.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 | #![cfg_attr(enable_alloc_error_handler, feature(alloc_error_handler))]
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_alloc_error_handler)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_alloc_error_handler)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `bandersnatch-experimental`
[INFO] [stderr]   --> src/lib.rs:97:7
[INFO] [stderr]    |
[INFO] [stderr] 97 | #[cfg(feature = "bandersnatch-experimental")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `bls-experimental`, `default`, `disable_allocator`, `disable_oom`, `disable_panic_handler`, `ed25519-dalek`, `improved_panic_error_reporting`, `libsecp256k1`, `log`, `secp256k1`, `sp-keystore`, `sp-state-machine`, `sp-trie`, `std`, and `with-tracing`
[INFO] [stderr]    = help: consider adding `bandersnatch-experimental` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `substrate_runtime`
[INFO] [stderr]    --> src/lib.rs:134:47
[INFO] [stderr]     |
[INFO] [stderr] 134 | #[cfg(all(not(feature = "disable_allocator"), substrate_runtime, target_family = "wasm"))]
[INFO] [stderr]     |                                               ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(substrate_runtime)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(substrate_runtime)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `substrate_runtime`
[INFO] [stderr]    --> src/lib.rs:139:2
[INFO] [stderr]     |
[INFO] [stderr] 139 |     substrate_runtime,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(substrate_runtime)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(substrate_runtime)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `substrate_runtime`
[INFO] [stderr]     --> src/lib.rs:1772:51
[INFO] [stderr]      |
[INFO] [stderr] 1772 | #[cfg(all(not(feature = "disable_panic_handler"), substrate_runtime))]
[INFO] [stderr]      |                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = help: consider using a Cargo feature instead
[INFO] [stderr]      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]               [lints.rust]
[INFO] [stderr]               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(substrate_runtime)'] }
[INFO] [stderr]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(substrate_runtime)");` to the top of the `build.rs`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `enable_alloc_error_handler`
[INFO] [stderr]     --> src/lib.rs:1789:41
[INFO] [stderr]      |
[INFO] [stderr] 1789 | #[cfg(all(not(feature = "disable_oom"), enable_alloc_error_handler))]
[INFO] [stderr]      |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = help: consider using a Cargo feature instead
[INFO] [stderr]      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]               [lints.rust]
[INFO] [stderr]               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_alloc_error_handler)'] }
[INFO] [stderr]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_alloc_error_handler)");` to the top of the `build.rs`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `bandersnatch-experimental`
[INFO] [stderr]     --> src/lib.rs:1247:8
[INFO] [stderr]      |
[INFO] [stderr] 1247 |     #[cfg(feature = "bandersnatch-experimental")]
[INFO] [stderr]      |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `bls-experimental`, `default`, `disable_allocator`, `disable_oom`, `disable_panic_handler`, `ed25519-dalek`, `improved_panic_error_reporting`, `libsecp256k1`, `log`, `secp256k1`, `sp-keystore`, `sp-state-machine`, `sp-trie`, `std`, and `with-tracing`
[INFO] [stderr]      = help: consider adding `bandersnatch-experimental` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `sp-io` (lib doc) generated 7 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.44s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/sp_io/index.html
[INFO] running `Command { std: "docker" "inspect" "d7f00d0a01ef963bf9ba542eea84e1b623e0f41c314c6c942da5763c957df9cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7f00d0a01ef963bf9ba542eea84e1b623e0f41c314c6c942da5763c957df9cd", kill_on_drop: false }`
[INFO] [stdout] d7f00d0a01ef963bf9ba542eea84e1b623e0f41c314c6c942da5763c957df9cd