Stream: git-wasmtime

Topic: wasmtime / issue #11838 Cranelift: Docs failed to build i...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 11 2025 at 18:40):

pbower opened issue #11838:

At the public URL : https://docs.rs/crate/cranelift-codegen/latest
The docs in cranelift-codegen = "0.124.2" are not showing, due to the compilation errors shown below.
You can see the docs.rs build logs at the site above.

I am sharing this as a courtesy issue.

# rustc version
rustc 1.92.0-nightly (3d8c1c1fc 2025-10-06)# docs.rs version
docsrs 0.6.0 (f42173de 2025-09-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/cranelift-codegen-0.124.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/cranelift-codegen-0.124.2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "all-arch" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251006-1.92.0-nightly-3d8c1c1fc\", \"--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] 8cd05b510f56bb2956967cc3aec02344f8d7d98d17c895c227bf3d654f053823
[INFO] running `Command { std: "docker" "start" "-a" "8cd05b510f56bb2956967cc3aec02344f8d7d98d17c895c227bf3d654f053823", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting cranelift-codegen v0.124.2 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0557]: feature has been removed
[INFO] [stderr]  --> src/lib.rs:4:29
[INFO] [stderr]   |
[INFO] [stderr] 4 | #![cfg_attr(docsrs, feature(doc_auto_cfg))]
[INFO] [stderr]   |                             ^^^^^^^^^^^^ feature has been removed
[INFO] [stderr]   |
[INFO] [stderr]   = note: removed in CURRENT_RUSTC_VERSION; see <https://github.com/rust-lang/rust/pull/138907> for more information
[INFO] [stderr]   = note: merged into `doc_cfg`
[INFO] [stderr]
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0557`.
[INFO] [stderr] error: could not document `cranelift-codegen`
[INFO] running `Command { std: "docker" "inspect" "8cd05b510f56bb2956967cc3aec02344f8d7d98d17c895c227bf3d654f053823", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cd05b510f56bb2956967cc3aec02344f8d7d98d17c895c227bf3d654f053823", kill_on_drop: false }`
[INFO] [stdout] 8cd05b510f56bb2956967cc3aec02344f8d7d98d17c895c227bf3d654f053823

view this post on Zulip Wasmtime GitHub notifications bot (Oct 11 2025 at 18:40):

pbower added the bug label to Issue #11838.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 11 2025 at 18:40):

pbower added the cranelift label to Issue #11838.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 12 2025 at 22:22):

cfallin closed issue #11838:

At the public URL : https://docs.rs/crate/cranelift-codegen/latest
The docs in cranelift-codegen = "0.124.2" are not showing, due to the compilation errors shown below.
You can see the docs.rs build logs at the site above.

I am sharing this as a courtesy issue.

# rustc version
rustc 1.92.0-nightly (3d8c1c1fc 2025-10-06)# docs.rs version
docsrs 0.6.0 (f42173de 2025-09-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/cranelift-codegen-0.124.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/cranelift-codegen-0.124.2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "all-arch" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251006-1.92.0-nightly-3d8c1c1fc\", \"--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] 8cd05b510f56bb2956967cc3aec02344f8d7d98d17c895c227bf3d654f053823
[INFO] running `Command { std: "docker" "start" "-a" "8cd05b510f56bb2956967cc3aec02344f8d7d98d17c895c227bf3d654f053823", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting cranelift-codegen v0.124.2 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0557]: feature has been removed
[INFO] [stderr]  --> src/lib.rs:4:29
[INFO] [stderr]   |
[INFO] [stderr] 4 | #![cfg_attr(docsrs, feature(doc_auto_cfg))]
[INFO] [stderr]   |                             ^^^^^^^^^^^^ feature has been removed
[INFO] [stderr]   |
[INFO] [stderr]   = note: removed in CURRENT_RUSTC_VERSION; see <https://github.com/rust-lang/rust/pull/138907> for more information
[INFO] [stderr]   = note: merged into `doc_cfg`
[INFO] [stderr]
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0557`.
[INFO] [stderr] error: could not document `cranelift-codegen`
[INFO] running `Command { std: "docker" "inspect" "8cd05b510f56bb2956967cc3aec02344f8d7d98d17c895c227bf3d654f053823", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cd05b510f56bb2956967cc3aec02344f8d7d98d17c895c227bf3d654f053823", kill_on_drop: false }`
[INFO] [stdout] 8cd05b510f56bb2956967cc3aec02344f8d7d98d17c895c227bf3d654f053823

view this post on Zulip Wasmtime GitHub notifications bot (Oct 12 2025 at 22:22):

cfallin commented on issue #11838:

This is a duplicate of #11834; as you can read there, I too noticed this but Alex pushed a fix that will make it in the next release in a week.


Last updated: Dec 06 2025 at 07:03 UTC