Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

docs.rs failed to build solana-client 1.10.4 #23959

Closed
@brson

Description

@brson

Problem

docs.rs currently says this about solana-client:

docs.rs failed to build solana-client-1.10.4
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

The logs:

# rustc version
rustc 1.61.0-nightly (d53246fed 2022-03-25)
# docs.rs version
docsrs 0.6.0 (539cd8a 2022-03-21)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/solana-client-1.10.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/solana-client-1.10.4/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220325-1.61.0-nightly-d53246fed\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--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] 1664ba66e2039fc3e3b8dd48fbaf0d436a6ecada0eb28c64ca1ba627502891e6
[INFO] running `Command { std: "docker" "start" "-a" "1664ba66e2039fc3e3b8dd48fbaf0d436a6ecada0eb28c64ca1ba627502891e6", kill_on_drop: false }`
[INFO] [stderr]     Checking ring v0.16.20
[INFO] [stderr]    Compiling num_enum_derive v0.5.7
[INFO] [stderr]     Checking h2 v0.3.12
[INFO] [stderr] error: no rules expected the token `aarch64_apple`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/ring-0.16.20/src/cpu.rs:257:13
[INFO] [stderr]     |
[INFO] [stderr] 165 |     macro_rules! features {
[INFO] [stderr]     |     --------------------- when calling this macro
[INFO] [stderr] ...
[INFO] [stderr] 257 |             aarch64_apple: true,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ no rules expected this token in macro call
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `AES` in module `cpu::arm`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/ring-0.16.20/src/aead/aes.rs:381:65
[INFO] [stderr]     |
[INFO] [stderr] 381 |         if cpu::intel::AES.available(cpu_features) || cpu::arm::AES.available(cpu_features) {
[INFO] [stderr]     |                                                                 ^^^ not found in `cpu::arm`
[INFO] [stderr]     |
[INFO] [stderr] help: consider importing this constant
[INFO] [stderr]     |
[INFO] [stderr] 15  | use crate::cpu::intel::AES;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PMULL` in module `cpu::arm`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/ring-0.16.20/src/aead/gcm.rs:315:26
[INFO] [stderr]     |
[INFO] [stderr] 315 |             || cpu::arm::PMULL.available(cpu_features)
[INFO] [stderr]     |                          ^^^^^ not found in `cpu::arm`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `ARMCAP_STATIC` in this scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/ring-0.16.20/src/cpu.rs:235:41
[INFO] [stderr]     |
[INFO] [stderr] 235 |             if self.mask == self.mask & ARMCAP_STATIC {
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `ring` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "1664ba66e2039fc3e3b8dd48fbaf0d436a6ecada0eb28c64ca1ba627502891e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1664ba66e2039fc3e3b8dd48fbaf0d436a6ecada0eb28c64ca1ba627502891e6", kill_on_drop: false }`
[INFO] [stdout] 1664ba66e2039fc3e3b8dd48fbaf0d436a6ecada0eb28c64ca1ba627502891e6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions