hallucination-detection 0.1.5

Extremely fast Hallucination Detection for RAG using BERT NER, noun, and number analysis
Build #1578630 2024-12-08T02:11:17.505114+00:00
# rustc version
rustc 1.84.0-nightly (3fee0f12e 2024-11-20)# docs.rs version
docsrs 0.6.0 (3767aed0 2024-11-29)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/hallucination-detection-0.1.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/hallucination-detection-0.1.5/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-11-21" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241120-1.84.0-nightly-3fee0f12e\", \"--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] a8fa0dd379dd4a2b3164220cb908892b8a550cc1f4f4aa198d2f1a7c90ec56f4
[INFO] running `Command { std: "docker" "start" "-a" "a8fa0dd379dd4a2b3164220cb908892b8a550cc1f4f4aa198d2f1a7c90ec56f4", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: rag_truth_test, vectara_test
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling torch-sys v0.17.0
[INFO] [stderr] warning: torch-sys@0.17.0: libtch/torch_api.cpp:1:9: fatal error: torch/csrc/autograd/engine.h: No such file or directory
[INFO] [stderr] warning: torch-sys@0.17.0:     1 | #include<torch/csrc/autograd/engine.h>
[INFO] [stderr] warning: torch-sys@0.17.0:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: torch-sys@0.17.0: compilation terminated.
[INFO] [stderr] warning: torch-sys@0.17.0: ToolExecError: Command LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/lib" "-std=c++17" "-D_GLIBCXX_USE_CXX11_ABI=1" "-DGLOG_USE_GLOG_EXPORT" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/580bbbcdaf464958-torch_api.o" "-c" "libtch/torch_api.cpp" with args c++ did not execute successfully (status code exit status: 1).cargo:warning=In file included from libtch/torch_api_generated.h:2,
[INFO] [stderr] warning: torch-sys@0.17.0:                  from libtch/torch_api_generated.cpp:2:
[INFO] [stderr] warning: torch-sys@0.17.0: libtch/torch_api.h:6:9: fatal error: torch/torch.h: No such file or directory
[INFO] [stderr] warning: torch-sys@0.17.0:     6 | #include<torch/torch.h>
[INFO] [stderr] warning: torch-sys@0.17.0:       |         ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: torch-sys@0.17.0: compilation terminated.
[INFO] [stderr] warning: torch-sys@0.17.0: ToolExecError: Command LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/lib" "-std=c++17" "-D_GLIBCXX_USE_CXX11_ABI=1" "-DGLOG_USE_GLOG_EXPORT" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/580bbbcdaf464958-torch_api_generated.o" "-c" "libtch/torch_api_generated.cpp" with args c++ did not execute successfully (status code exit status: 1).
[INFO] [stderr] error: failed to run custom build command for `torch-sys v0.17.0`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/torch-sys-57888b8374dfa6cc/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBTORCH_USE_PYTORCH
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBTORCH
[INFO] [stderr]   cargo:rerun-if-env-changed=TORCH_CUDA_VERSION
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBTORCH_INCLUDE
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBTORCH_LIB
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBTORCH_CXX11_ABI
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBTORCH_STATIC
[INFO] [stderr]   cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/lib
[INFO] [stderr]   cargo:rerun-if-changed=libtch/fake_cuda_dependency.cpp
[INFO] [stderr]   cargo:rerun-if-changed=libtch/torch_python.cpp
[INFO] [stderr]   cargo:rerun-if-changed=libtch/torch_python.h
[INFO] [stderr]   cargo:rerun-if-changed=libtch/torch_api_generated.cpp
[INFO] [stderr]   cargo:rerun-if-changed=libtch/torch_api_generated.h
[INFO] [stderr]   cargo:rerun-if-changed=libtch/torch_api.cpp
[INFO] [stderr]   cargo:rerun-if-changed=libtch/torch_api.h
[INFO] [stderr]   cargo:rerun-if-changed=libtch/stb_image_write.h
[INFO] [stderr]   cargo:rerun-if-changed=libtch/stb_image_resize.h
[INFO] [stderr]   cargo:rerun-if-changed=libtch/stb_image.h
[INFO] [stderr]   cargo:libtorch_lib=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/lib
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out)
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   TARGET = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
[INFO] [stderr]   CXX_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
[INFO] [stderr]   CXX_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_CXX
[INFO] [stderr]   HOST_CXX = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX
[INFO] [stderr]   CXX = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   RUSTC_WRAPPER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some(true)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2)
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
[INFO] [stderr]   CXXFLAGS_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
[INFO] [stderr]   CXXFLAGS_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[INFO] [stderr]   HOST_CXXFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS
[INFO] [stderr]   CXXFLAGS = None
[INFO] [stderr]   CARGO_ENCODED_RUSTFLAGS = Some()
[INFO] [stderr]   cargo:warning=libtch/torch_api.cpp:1:9: fatal error: torch/csrc/autograd/engine.h: No such file or directory
[INFO] [stderr]   cargo:warning=    1 | #include<torch/csrc/autograd/engine.h>
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=compilation terminated.
[INFO] [stderr]   exit status: 1
[INFO] [stderr]   cargo:warning=ToolExecError: Command LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/lib" "-std=c++17" "-D_GLIBCXX_USE_CXX11_ABI=1" "-DGLOG_USE_GLOG_EXPORT" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/580bbbcdaf464958-torch_api.o" "-c" "libtch/torch_api.cpp" with args c++ did not execute successfully (status code exit status: 1).cargo:warning=In file included from libtch/torch_api_generated.h:2,
[INFO] [stderr]   cargo:warning=                 from libtch/torch_api_generated.cpp:2:
[INFO] [stderr]   cargo:warning=libtch/torch_api.h:6:9: fatal error: torch/torch.h: No such file or directory
[INFO] [stderr]   cargo:warning=    6 | #include<torch/torch.h>
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=compilation terminated.
[INFO] [stderr] 
[INFO] [stderr]   exit status: 1
[INFO] [stderr]   cargo:warning=ToolExecError: Command LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/lib" "-std=c++17" "-D_GLIBCXX_USE_CXX11_ABI=1" "-DGLOG_USE_GLOG_EXPORT" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/580bbbcdaf464958-torch_api_generated.o" "-c" "libtch/torch_api_generated.cpp" with args c++ did not execute successfully (status code exit status: 1).
[INFO] [stderr]   exit status: 0
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred in cc-rs: Command LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/libtorch/libtorch/lib" "-std=c++17" "-D_GLIBCXX_USE_CXX11_ABI=1" "-DGLOG_USE_GLOG_EXPORT" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/torch-sys-eb51cf00dfccc4c7/out/580bbbcdaf464958-torch_api_generated.o" "-c" "libtch/torch_api_generated.cpp" with args c++ did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "a8fa0dd379dd4a2b3164220cb908892b8a550cc1f4f4aa198d2f1a7c90ec56f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8fa0dd379dd4a2b3164220cb908892b8a550cc1f4f4aa198d2f1a7c90ec56f4", kill_on_drop: false }`
[INFO] [stdout] a8fa0dd379dd4a2b3164220cb908892b8a550cc1f4f4aa198d2f1a7c90ec56f4