rs-llama-cpp 0.1.21

Automated Rust bindings generation for LLaMA.cpp
Build #843262 2023-06-22 04:32:53

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.72.0-nightly (065a1f5df 2023-06-21)# docs.rs version
docsrs 0.6.0 (4b18bfe6 2023-06-02)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rs-llama-cpp-0.1.21/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rs-llama-cpp-0.1.21/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/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\", \"-20230621-1.72.0-nightly-065a1f5df\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] d721eb889f49384d6b4e72618bb0f60c1a9f45e6c4bfb070a042eecb7f3d9f28
[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" "d721eb889f49384d6b4e72618bb0f60c1a9f45e6c4bfb070a042eecb7f3d9f28", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]    Compiling rs-llama-cpp v0.1.21 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `rs-llama-cpp v0.1.21 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/rs-llama-cpp-5fab48b9ad226b16/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rustc-link-lib=dylib=stdc++
[INFO] [stderr]   cargo:rustc-link-arg=-lstdc++
[INFO] [stderr]   cargo:rustc-link-search=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/rs-llama-cpp-c865478186e404ce/out
[INFO] [stderr]   cargo:rustc-link-lib=static=llama
[INFO] [stderr]   cargo:rustc-link-lib=static=rs-llama-cpp-wrapper
[INFO] [stderr]   cargo:rerun-if-changed=rs-llama-cpp-wrapper/llama.cpp
[INFO] [stderr]   cargo:rerun-if-changed=rs-llama-cpp-wrapper/CMakeLists.txt
[INFO] [stderr]   cargo:rerun-if-changed=rs-llama-cpp-wrapper/rs-llama-cpp-wrapper.h
[INFO] [stderr]   cargo:rerun-if-changed=rs-llama-cpp-wrapper/rs-llama-cpp-wrapper.cpp
[INFO] [stderr]   cargo:rerun-if-changed=rs-llama-cpp-wrapper/run-inference.h
[INFO] [stderr]   cargo:rerun-if-changed=rs-llama-cpp-wrapper/run-inference.cpp
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   thread 'main' panicked at 'Unable to change directory to rs-llama-cpp-wrapper build', build.rs:46:29
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "d721eb889f49384d6b4e72618bb0f60c1a9f45e6c4bfb070a042eecb7f3d9f28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d721eb889f49384d6b4e72618bb0f60c1a9f45e6c4bfb070a042eecb7f3d9f28", kill_on_drop: false }`
[INFO] [stdout] d721eb889f49384d6b4e72618bb0f60c1a9f45e6c4bfb070a042eecb7f3d9f28