llama-cpp-2 0.1.91

llama.cpp bindings for Rust
Documentation
Build #1690876 2025-01-30T18:31:43.984259+00:00
# rustc version
rustc 1.86.0-nightly (ae5de6c75 2025-01-29)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/llama-cpp-2-0.1.91/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/llama-cpp-2-0.1.91/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "sampler" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250129-1.86.0-nightly-ae5de6c75\", \"--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}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", 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] 7308ae76634dc29c666677bc85ffd67bfafcb1d7ceb77e6d590b6e46f5e2369e
[INFO] running `Command { std: "docker" "start" "-a" "7308ae76634dc29c666677bc85ffd67bfafcb1d7ceb77e6d590b6e46f5e2369e", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling llama-cpp-sys-2 v0.1.91
[INFO] [stderr] error: failed to run custom build command for `llama-cpp-sys-2 v0.1.91`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/llama-cpp-sys-2-a6ec5c0faade9c3b/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET
[INFO] [stderr]   cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_i686-pc-windows-msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_i686_pc_windows_msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
[INFO] [stderr]   cargo:rerun-if-changed=wrapper.h
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   /opt/rustwide/target/i686-pc-windows-msvc/debug/build/llama-cpp-sys-2-743ce7d6ce8c61a6/out/llama.cpp/ggml/include/ggml.h:210:10: fatal error: 'stdio.h' file not found
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/llama-cpp-sys-2-0.1.91/build.rs:195:10:
[INFO] [stderr]   Failed to generate bindings: ClangDiagnostic("/opt/rustwide/target/i686-pc-windows-msvc/debug/build/llama-cpp-sys-2-743ce7d6ce8c61a6/out/llama.cpp/ggml/include/ggml.h:210:10: fatal error: 'stdio.h' file not found\n")
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "7308ae76634dc29c666677bc85ffd67bfafcb1d7ceb77e6d590b6e46f5e2369e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7308ae76634dc29c666677bc85ffd67bfafcb1d7ceb77e6d590b6e46f5e2369e", kill_on_drop: false }`
[INFO] [stdout] 7308ae76634dc29c666677bc85ffd67bfafcb1d7ceb77e6d590b6e46f5e2369e