sub-script 0.8.0

Scripting tool for Substrate chains
Documentation
Build #2511533 2025-09-17 12:36:14

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.92.0-nightly (a9d0a6f15 2025-09-16)# docs.rs version
docsrs 0.6.0 (f42173de 2025-09-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/sub-script-0.8.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/sub-script-0.8.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250916-1.92.0-nightly-a9d0a6f15\", \"--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] a3938c74bbeb66731b45913a0aaa65f6afca581c3b38226d3572d5e1e0145a5e
[INFO] running `Command { std: "docker" "start" "-a" "a3938c74bbeb66731b45913a0aaa65f6afca581c3b38226d3572d5e1e0145a5e", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking sp-core v3.0.0
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]     Checking const-oid v0.7.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling prost v0.9.0
[INFO] [stderr]    Compiling indexmap v2.11.3
[INFO] [stderr]     Checking der v0.5.1
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling prost-build v0.9.0
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]     Checking crypto-bigint v0.3.2
[INFO] [stderr]     Checking ff v0.11.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sp-core-3.0.0/src/sr25519.rs:582:33
[INFO] [stderr]     |
[INFO] [stderr] 582 |           let mini_key: MiniSecretKey = mini_secret_from_entropy(entropy, password.unwrap_or(""))
[INFO] [stderr]     |  _______________________-------------___^
[INFO] [stderr]     | |                       |
[INFO] [stderr]     | |                       expected due to this
[INFO] [stderr] 583 | |             .expect("32 bytes can always build a key; qed");
[INFO] [stderr]     | |___________________________________________________________^ expected `MiniSecretKey`, found `schnorrkel::keys::MiniSecretKey`
[INFO] [stderr]     |
[INFO] [stderr] note: two different versions of crate `schnorrkel` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/schnorrkel-0.9.1/src/keys.rs:99:1
[INFO] [stderr]     |
[INFO] [stderr]  99 | pub struct MiniSecretKey(pub (crate) [u8; MINI_SECRET_KEY_LENGTH]);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `MiniSecretKey`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/schnorrkel-0.11.5/src/keys.rs:97:1
[INFO] [stderr]     |
[INFO] [stderr]  97 | pub struct MiniSecretKey(pub(crate) [u8; MINI_SECRET_KEY_LENGTH]);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `schnorrkel::keys::MiniSecretKey`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sp-core-3.0.0/src/sr25519.rs:27:5
[INFO] [stderr]     |
[INFO] [stderr]  27 | use schnorrkel::{signing_context, ExpansionMode, Keypair, SecretKey, MiniSecretKey, PublicKey,
[INFO] [stderr]     |     ---------- one version of crate `schnorrkel` used here, as a direct dependency of the current crate
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sp-core-3.0.0/src/ed25519.rs:35:5
[INFO] [stderr]     |
[INFO] [stderr]  35 | use substrate_bip39::seed_from_entropy;
[INFO] [stderr]     |     --------------- one version of crate `schnorrkel` used here, as a dependency of crate `substrate_bip39`
[INFO] [stderr]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr] 
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr] error: could not compile `sp-core` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "a3938c74bbeb66731b45913a0aaa65f6afca581c3b38226d3572d5e1e0145a5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3938c74bbeb66731b45913a0aaa65f6afca581c3b38226d3572d5e1e0145a5e", kill_on_drop: false }`
[INFO] [stdout] a3938c74bbeb66731b45913a0aaa65f6afca581c3b38226d3572d5e1e0145a5e