llm_interface 0.0.2

The Backend for the llm_client Crate
Build #1386733 2024-10-10T17:36:33.373060+00:00
# rustc version
rustc 1.83.0-nightly (eb4e23467 2024-10-09)# docs.rs version
docsrs 0.6.0 (d5a37845 2024-09-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/llm_interface-0.0.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/llm_interface-0.0.2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241009-1.83.0-nightly-eb4e23467\", \"--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] [stdout] 31646c43241e10601e0c51a9b8e32861d95ee7e9c6cdff980292772269931974
[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" "31646c43241e10601e0c51a9b8e32861d95ee7e9c6cdff980292772269931974", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling llm_interface v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking llm_models v0.0.1
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: llm_interface@0.0.2: Failed to build llama_cpp: Failed to build llama_cpp: Failed to execute make command: No such file or directory (os error 2) in 0.22470757 seconds
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `llm_interface v0.0.2 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/llm_interface-c91a0f28e787b2f7/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-changed=build.rs
[INFO] [stderr]   Starting llama_cpp.build Logger
[INFO] [stderr]   2024-10-10T17:36:32.697592Z TRACE llm_devices::build::git: Directory does not exist: /opt/rustwide/target/llama_cpp
[INFO] [stderr]   2024-10-10T17:36:32.697625Z TRACE llm_devices::build: Directory /opt/rustwide/target/llama_cpp does not exist, skipping removal
[INFO] [stderr]   2024-10-10T17:36:32.697645Z TRACE llm_devices::build::git: Cloning https://github.com/ggerganov/llama.cpp  at tag b3848
[INFO] [stderr]   2024-10-10T17:36:32.709072Z TRACE llm_devices::build::git: Successfully cloned https://github.com/ggerganov/llama.cpp  at tag b3848
[INFO] [stderr]   2024-10-10T17:36:32.709485Z TRACE llm_devices::build::make: No CUDA detected - building without CUDA support
[INFO] [stderr]   2024-10-10T17:36:32.709535Z TRACE llm_devices::build::make: Running make command: cd "/opt/rustwide/target/llama_cpp" && "make" "llama-server" "BUILD_TYPE=Release" "-j"
[INFO] [stderr]   2024-10-10T17:36:32.709725Z TRACE llm_devices::build: Directory /opt/rustwide/target/llama_cpp does not exist, skipping removal
[INFO] [stderr]   cargo:warning=Failed to build llama_cpp: Failed to build llama_cpp: Failed to execute make command: No such file or directory (os error 2) in 0.22470757 seconds
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   Cloning into '/opt/rustwide/target/llama_cpp'...
[INFO] [stderr]   fatal: unable to access 'https://github.com/ggerganov/llama.cpp/': Could not resolve host: github.com
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "31646c43241e10601e0c51a9b8e32861d95ee7e9c6cdff980292772269931974", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31646c43241e10601e0c51a9b8e32861d95ee7e9c6cdff980292772269931974", kill_on_drop: false }`
[INFO] [stdout] 31646c43241e10601e0c51a9b8e32861d95ee7e9c6cdff980292772269931974