Skip to content

no docs.rs build for kube 0.68 #802

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
clux opened this issue Feb 1, 2022 · 5 comments
Closed

no docs.rs build for kube 0.68 #802

clux opened this issue Feb 1, 2022 · 5 comments
Labels
docs unclear documentation

Comments

@clux
Copy link
Member

clux commented Feb 1, 2022

via https://docs.rs/crate/kube/0.68.0/builds/502631
extern-html-root-url seems to be the problem, but afaikt we don't set this (rg extern turns up nothing useful)

# rustc version
rustc 1.60.0-nightly (498eeb72f 2022-01-31)
# docs.rs version
docsrs 0.6.0 (142844e 2022-01-23)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/kube-0.68.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/kube-0.68.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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "client native-tls rustls-tls openssl-tls derive ws oauth jsonpatch admission runtime k8s-openapi/v1_22" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220131-1.60.0-nightly-498eeb72f\", \"--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] 57c5112f1911e4e6e47e2fb9669de2db8005cc1990ea965c7030d3e6445b4004
[INFO] running `Command { std: "docker" "start" "-a" "57c5112f1911e4e6e47e2fb9669de2db8005cc1990ea965c7030d3e6445b4004", kill_on_drop: false }`
[INFO] [stderr]  Documenting kube v0.68.0 (/opt/rustwide/workdir)
[INFO] [stderr] thread 'rustc' panicked at 'no entry found for key', src/librustdoc/passes/collect_intra_doc_links.rs:930:16
[INFO] [stderr] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] [stderr] 
[INFO] [stderr] error: internal compiler error: unexpected panic
[INFO] [stderr] 
[INFO] [stderr] error: Unrecognized option: 'extern-html-root-url'
[INFO] [stderr] 
[INFO] [stderr] error: could not document `kube`
@clux
Copy link
Member Author

clux commented Feb 1, 2022

builds locally without warnings :(

@clux
Copy link
Member Author

clux commented Feb 1, 2022

possibly related: rust-lang/docs.rs#1165

@kazk
Copy link
Member

kazk commented Feb 1, 2022

@kazk
Copy link
Member

kazk commented Feb 1, 2022

Probably rust-lang/docs.rs#1632 (rust-lang/rust#93476).

@clux clux added blocked awaiting upstream work docs unclear documentation and removed blocked awaiting upstream work labels Feb 1, 2022
@clux
Copy link
Member Author

clux commented Feb 6, 2022

kube build has been fixed now, thanks to upstream re-triggering it.

@clux clux closed this as completed Feb 6, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
docs unclear documentation
Projects
None yet
Development

No branches or pull requests

2 participants