gear-program 0.1.4

gear program cli
Documentation
Build #1630489 2025-01-16 08:16:47

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.86.0-nightly (419b3e2d3 2025-01-15)

# docs.rs version docsrs 0.6.0 (13d4ccea 2025-01-13)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/gear-program-0.1.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/gear-program-0.1.4/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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250115-1.86.0-nightly-419b3e2d3\", \"--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] d1a558fa9a2805d221319d282b87e68b9dc89d24c08831262f4dcaa9268a7451 [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" "d1a558fa9a2805d221319d282b87e68b9dc89d24c08831262f4dcaa9268a7451", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking sp-core v6.0.0 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling cranelift-codegen-meta v0.86.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking libz-sys v1.1.21 [INFO] [stderr] Compiling cranelift-isle v0.86.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sp-core-6.0.0/src/sr25519.rs:593:33 [INFO] [stderr] | [INFO] [stderr] 593 | let mini_key: MiniSecretKey = mini_secret_from_entropy(entropy, password.unwrap_or("")) [INFO] [stderr] | _______________________-------------___^ [INFO] [stderr] | | | [INFO] [stderr] | | expected due to this [INFO] [stderr] 594 | | .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-6.0.0/src/sr25519.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use schnorrkel::{ [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-6.0.0/src/ed25519.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | 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] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling async-io v1.13.0 [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" "d1a558fa9a2805d221319d282b87e68b9dc89d24c08831262f4dcaa9268a7451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a558fa9a2805d221319d282b87e68b9dc89d24c08831262f4dcaa9268a7451", kill_on_drop: false }` [INFO] [stdout] d1a558fa9a2805d221319d282b87e68b9dc89d24c08831262f4dcaa9268a7451