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.88.0-nightly (077cedc2a 2025-04-19)# docs.rs version docsrs 0.6.0 (ee9a3fe6 2025-03-28)# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sub-script-0.8.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sub-script-0.8.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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250419-1.88.0-nightly-077cedc2a\", \"--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] [stdout] 384eb763d0d4567f2396ee0bdcb318195857942d40ef57b189e3e28d0406820f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "384eb763d0d4567f2396ee0bdcb318195857942d40ef57b189e3e28d0406820f", 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] Checking backtrace v0.3.74 [INFO] [stderr] Checking icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking sp-panic-handler v3.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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.4/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 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 cfg-if v0.1.10 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [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" "384eb763d0d4567f2396ee0bdcb318195857942d40ef57b189e3e28d0406820f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "384eb763d0d4567f2396ee0bdcb318195857942d40ef57b189e3e28d0406820f", kill_on_drop: false }` [INFO] [stdout] 384eb763d0d4567f2396ee0bdcb318195857942d40ef57b189e3e28d0406820f