tazz4843/whisper-rs

0.13.0 failed to build on Ubuntu

Closed this issue · 1 comments

As title,
Here is the build log:

error: failed to run custom build command for `whisper-rs-sys v0.11.0`

Caused by:
  process didn't exit successfully: `/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3421b5d6e322eedd/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-link-lib=dylib=stdc++
  cargo:rustc-link-lib=cublas
  cargo:rustc-link-lib=cudart
  cargo:rustc-link-lib=cublasLt
  cargo:rustc-link-lib=cuda
  cargo:rustc-link-lib=culibos
  cargo:rustc-link-search=/usr/local/cuda/lib64
  cargo:rustc-link-search=/usr/local/cuda/lib64/stubs
  cargo:rustc-link-search=/opt/cuda/lib64
  cargo:rustc-link-search=/opt/cuda/lib64/stubs
  cargo:rerun-if-changed=wrapper.h
  cargo:rerun-if-env-changed=TARGET
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
  cargo:rerun-if-changed=wrapper.h
  cargo:rerun-if-changed=./whisper.cpp/include/whisper.h
  cargo:rerun-if-changed=./whisper.cpp/ggml/include/ggml.h
  cargo:rerun-if-changed=/usr/lib/llvm-14/lib/clang/14.0.0/include/stdbool.h
  cargo:rerun-if-changed=/usr/lib/llvm-14/lib/clang/14.0.0/include/stddef.h
  cargo:rerun-if-changed=/usr/lib/llvm-14/lib/clang/14.0.0/include/__stddef_max_align_t.h
  cargo:rerun-if-changed=/usr/lib/llvm-14/lib/clang/14.0.0/include/stdint.h
  cargo:rerun-if-changed=/usr/include/stdint.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/libc-header-start.h
  cargo:rerun-if-changed=/usr/include/features.h
  cargo:rerun-if-changed=/usr/include/features-time64.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/timesize.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h
  cargo:rerun-if-changed=/usr/include/stdc-predef.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/sys/cdefs.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/long-double.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/gnu/stubs.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/gnu/stubs-64.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h
  cargo:rerun-if-changed=/usr/include/features.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/timesize.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/typesizes.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/time64.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wchar.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/stdint-intn.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h
  cargo:rerun-if-changed=/usr/include/stdio.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/libc-header-start.h
  cargo:rerun-if-changed=/usr/include/features.h
  cargo:rerun-if-changed=/usr/lib/llvm-14/lib/clang/14.0.0/include/stddef.h
  cargo:rerun-if-changed=/usr/lib/llvm-14/lib/clang/14.0.0/include/stdarg.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__FILE.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/FILE.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/stdio_lim.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/floatn.h
  cargo:rerun-if-changed=/usr/include/features.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/floatn-common.h
  cargo:rerun-if-changed=/usr/include/features.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/long-double.h
  cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/floatn.h
  cargo:rerun-if-changed=/usr/lib/llvm-14/lib/clang/14.0.0/include/stddef.h
  cargo:rerun-if-changed=/usr/lib/llvm-14/lib/clang/14.0.0/include/stdint.h
  cargo:rerun-if-changed=/usr/lib/llvm-14/lib/clang/14.0.0/include/stdbool.h
  cargo:rerun-if-changed=./whisper.cpp/ggml/include/ggml.h
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
  CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
  CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-unknown-linux-gnu = None
  CMAKE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE = None
  CMAKE = None
  running: cd "/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build" && CMAKE_PREFIX_PATH="" "cmake" "-Wdev" "--debug-output" "/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/" "-DBUILD_SHARED_LIBS=OFF" "-DWHISPER_ALL_WARNINGS=OFF" "-DWHISPER_ALL_WARNINGS_3RD_PARTY=OFF" "-DWHISPER_BUILD_TESTS=OFF" "-DWHISPER_BUILD_EXAMPLES=OFF" "-DGGML_CUDA=ON" "-DGGML_METAL=OFF" "-DGGML_OPENMP=OFF" "-DCMAKE_INSTALL_PREFIX=/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
  Running with debug output on.
  -- The C compiler identification is GNU 11.4.0
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerId.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- The CXX compiler identification is GNU 11.4.0
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerId.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Detecting C compiler ABI info
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Detecting C compiler ABI info - done
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Check for working C compiler: /usr/bin/cc - skipped
     Called from: [2]   /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Detecting C compile features
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompileFeatures.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Detecting C compile features - done
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompileFeatures.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Detecting CXX compiler ABI info
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Detecting CXX compiler ABI info - done
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Check for working CXX compiler: /usr/bin/c++ - skipped
     Called from: [2]   /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Detecting CXX compile features
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompileFeatures.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Detecting CXX compile features - done
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompileFeatures.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Found Git: /usr/bin/git (found version "2.34.1") 
     Called from: [5]   /usr/share/cmake-3.22/Modules/FindPackageMessage.cmake
                  [4]   /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake
                  [3]   /usr/share/cmake-3.22/Modules/FindGit.cmake
                  [2]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/cmake/git-vars.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Looking for pthread.h
     Called from: [3]   /usr/share/cmake-3.22/Modules/CheckIncludeFile.cmake
                  [2]   /usr/share/cmake-3.22/Modules/FindThreads.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/CMakeLists.txt
  -- Looking for pthread.h - found
     Called from: [3]   /usr/share/cmake-3.22/Modules/CheckIncludeFile.cmake
                  [2]   /usr/share/cmake-3.22/Modules/FindThreads.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/CMakeLists.txt
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
     Called from: [4]   /usr/share/cmake-3.22/Modules/Internal/CheckSourceCompiles.cmake
                  [3]   /usr/share/cmake-3.22/Modules/CheckCSourceCompiles.cmake
                  [2]   /usr/share/cmake-3.22/Modules/FindThreads.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/CMakeLists.txt
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
     Called from: [4]   /usr/share/cmake-3.22/Modules/Internal/CheckSourceCompiles.cmake
                  [3]   /usr/share/cmake-3.22/Modules/CheckCSourceCompiles.cmake
                  [2]   /usr/share/cmake-3.22/Modules/FindThreads.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/CMakeLists.txt
  -- Found Threads: TRUE  
     Called from: [4]   /usr/share/cmake-3.22/Modules/FindPackageMessage.cmake
                  [3]   /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake
                  [2]   /usr/share/cmake-3.22/Modules/FindThreads.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/CMakeLists.txt
  -- Found CUDAToolkit: /usr/local/cuda/include (found version "11.8.89") 
     Called from: [4]   /usr/share/cmake-3.22/Modules/FindPackageMessage.cmake
                  [3]   /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake
                  [2]   /usr/share/cmake-3.22/Modules/FindCUDAToolkit.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- CUDA found
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- Using CUDA architectures: 52;61;70;75
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- The CUDA compiler identification is NVIDIA 11.8.89
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerId.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeDetermineCUDACompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- Detecting CUDA compiler ABI info
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCUDACompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- Detecting CUDA compiler ABI info - done
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCUDACompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped
     Called from: [2]   /usr/share/cmake-3.22/Modules/CMakeTestCUDACompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- Detecting CUDA compile features
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompileFeatures.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCUDACompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- Detecting CUDA compile features - done
     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompileFeatures.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCUDACompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- CMAKE_SYSTEM_PROCESSOR: x86_64
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- x86 detected
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- Configuring done
  -- Generating /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  -- Generating /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/ggml
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/CMakeLists.txt
  -- Generating /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/ggml/src
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
  -- Generating /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/src
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/src/CMakeLists.txt
  -- Generating done
  -- Build files have been written to: /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build
  running: cd "/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build" && MAKEFLAGS="-j --jobserver-fds=8,9 --jobserver-auth=8,9" "cmake" "--build" "." "--target" "install" "--config" "Release"
  /usr/bin/cmake -S/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp -B/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build --check-build-system CMakeFiles/Makefile.cmake 0
  /usr/bin/cmake -E cmake_progress_start /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/CMakeFiles /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build//CMakeFiles/progress.marks
  /usr/bin/gmake  -f CMakeFiles/Makefile2 all
  gmake[1]: Entering directory '/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build'
  /usr/bin/gmake  -f ggml/src/CMakeFiles/ggml.dir/build.make ggml/src/CMakeFiles/ggml.dir/depend
  gmake[2]: Entering directory '/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build'
  cd /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/ggml/src /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/ggml/src/CMakeFiles/ggml.dir/DependInfo.cmake --color=
  gmake[2]: Leaving directory '/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build'
  /usr/bin/gmake  -f ggml/src/CMakeFiles/ggml.dir/build.make ggml/src/CMakeFiles/ggml.dir/build
  gmake[2]: Entering directory '/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build'
  [ 66%] Building CUDA object ggml/src/CMakeFiles/ggml.dir/ggml-cuda.cu.o
  [ 66%] Building CXX object ggml/src/CMakeFiles/ggml.dir/ggml-backend.cpp.o
  [ 66%] Building C object ggml/src/CMakeFiles/ggml.dir/ggml-aarch64.c.o
  [ 66%] Building C object ggml/src/CMakeFiles/ggml.dir/ggml-alloc.c.o
  [ 66%] Building C object ggml/src/CMakeFiles/ggml.dir/ggml.c.o
  [ 66%] Building C object ggml/src/CMakeFiles/ggml.dir/ggml-quants.c.o
  cd /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/ggml/src && /usr/bin/cc -DGGML_CUDA_DMMV_X=32 -DGGML_CUDA_MMV_Y=1 -DGGML_CUDA_PEER_MAX_BATCH_SIZE=128 -DGGML_SCHED_MAX_COPIES=4 -DGGML_USE_CUDA -DK_QUANTS_PER_ITERATION=2 -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/../include -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/. -isystem /usr/local/cuda/include -ffunction-sections -fdata-sections -fPIC -m64 -O3 -DNDEBUG -march=native -std=gnu11 -MD -MT ggml/src/CMakeFiles/ggml.dir/ggml-aarch64.c.o -MF CMakeFiles/ggml.dir/ggml-aarch64.c.o.d -o CMakeFiles/ggml.dir/ggml-aarch64.c.o -c /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/ggml-aarch64.c
  cd /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/ggml/src && /usr/bin/cc -DGGML_CUDA_DMMV_X=32 -DGGML_CUDA_MMV_Y=1 -DGGML_CUDA_PEER_MAX_BATCH_SIZE=128 -DGGML_SCHED_MAX_COPIES=4 -DGGML_USE_CUDA -DK_QUANTS_PER_ITERATION=2 -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/../include -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/. -isystem /usr/local/cuda/include -ffunction-sections -fdata-sections -fPIC -m64 -O3 -DNDEBUG -march=native -std=gnu11 -MD -MT ggml/src/CMakeFiles/ggml.dir/ggml.c.o -MF CMakeFiles/ggml.dir/ggml.c.o.d -o CMakeFiles/ggml.dir/ggml.c.o -c /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/ggml.c
  cd /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/ggml/src && /usr/bin/cc -DGGML_CUDA_DMMV_X=32 -DGGML_CUDA_MMV_Y=1 -DGGML_CUDA_PEER_MAX_BATCH_SIZE=128 -DGGML_SCHED_MAX_COPIES=4 -DGGML_USE_CUDA -DK_QUANTS_PER_ITERATION=2 -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/../include -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/. -isystem /usr/local/cuda/include -ffunction-sections -fdata-sections -fPIC -m64 -O3 -DNDEBUG -march=native -std=gnu11 -MD -MT ggml/src/CMakeFiles/ggml.dir/ggml-alloc.c.o -MF CMakeFiles/ggml.dir/ggml-alloc.c.o.d -o CMakeFiles/ggml.dir/ggml-alloc.c.o -c /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/ggml-alloc.c
  cd /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/ggml/src && /usr/bin/c++ -DGGML_CUDA_DMMV_X=32 -DGGML_CUDA_MMV_Y=1 -DGGML_CUDA_PEER_MAX_BATCH_SIZE=128 -DGGML_SCHED_MAX_COPIES=4 -DGGML_USE_CUDA -DK_QUANTS_PER_ITERATION=2 -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/../include -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/. -isystem /usr/local/cuda/include -ffunction-sections -fdata-sections -fPIC -m64 -O3 -DNDEBUG -march=native -std=gnu++11 -MD -MT ggml/src/CMakeFiles/ggml.dir/ggml-backend.cpp.o -MF CMakeFiles/ggml.dir/ggml-backend.cpp.o.d -o CMakeFiles/ggml.dir/ggml-backend.cpp.o -c /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/ggml-backend.cpp
  cd /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/ggml/src && /usr/bin/cc -DGGML_CUDA_DMMV_X=32 -DGGML_CUDA_MMV_Y=1 -DGGML_CUDA_PEER_MAX_BATCH_SIZE=128 -DGGML_SCHED_MAX_COPIES=4 -DGGML_USE_CUDA -DK_QUANTS_PER_ITERATION=2 -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/../include -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/. -isystem /usr/local/cuda/include -ffunction-sections -fdata-sections -fPIC -m64 -O3 -DNDEBUG -march=native -std=gnu11 -MD -MT ggml/src/CMakeFiles/ggml.dir/ggml-quants.c.o -MF CMakeFiles/ggml.dir/ggml-quants.c.o.d -o CMakeFiles/ggml.dir/ggml-quants.c.o -c /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/ggml-quants.c
  cd /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build/ggml/src && /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -DGGML_CUDA_DMMV_X=32 -DGGML_CUDA_MMV_Y=1 -DGGML_CUDA_PEER_MAX_BATCH_SIZE=128 -DGGML_SCHED_MAX_COPIES=4 -DGGML_USE_CUDA -DK_QUANTS_PER_ITERATION=2 -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/../include -I/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/. -isystem=/usr/local/cuda/include -O3 -DNDEBUG --generate-code=arch=compute_52,code=[compute_52,sm_52] --generate-code=arch=compute_61,code=[compute_61,sm_61] --generate-code=arch=compute_70,code=[compute_70,sm_70] --generate-code=arch=compute_75,code=[compute_75,sm_75] -use_fast_math -Xcompiler "-Wno-pedantic -march=native" -std=c++11 -MD -MT ggml/src/CMakeFiles/ggml.dir/ggml-cuda.cu.o -MF CMakeFiles/ggml.dir/ggml-cuda.cu.o.d -x cu -c /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/ggml-cuda.cu -o CMakeFiles/ggml.dir/ggml-cuda.cu.o
  gmake[2]: Leaving directory '/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build'
  gmake[1]: Leaving directory '/workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/build'

  --- stderr
  CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDetermineCompiler.cmake:143 (set):
    Policy CMP0126 is not set: set(CACHE) does not remove a normal variable of
    the same name.  Run "cmake --help-policy CMP0126" for policy details.  Use
    the cmake_policy command to set the policy and suppress this warning.

    For compatibility with older versions of CMake, normal variable
    "CMAKE_C_COMPILER" will be removed from the current scope.
  Call Stack (most recent call first):
    /usr/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake:68 (_cmake_find_compiler_path)
    CMakeLists.txt:2 (project)
  This warning is for project developers.  Use -Wno-dev to suppress it.

     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompiler.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDetermineCompiler.cmake:143 (set):
    Policy CMP0126 is not set: set(CACHE) does not remove a normal variable of
    the same name.  Run "cmake --help-policy CMP0126" for policy details.  Use
    the cmake_policy command to set the policy and suppress this warning.

    For compatibility with older versions of CMake, normal variable
    "CMAKE_CXX_COMPILER" will be removed from the current scope.
  Call Stack (most recent call first):
    /usr/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake:66 (_cmake_find_compiler_path)
    CMakeLists.txt:2 (project)
  This warning is for project developers.  Use -Wno-dev to suppress it.

     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompiler.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake:49 (try_compile):
    Policy CMP0066 is not set: Honor per-config flags in try_compile()
    source-file signature.  Run "cmake --help-policy CMP0066" for policy
    details.  Use the cmake_policy command to set the policy and suppress this
    warning.

    For compatibility with older versions of CMake, try_compile is not honoring
    caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
    test project.
  Call Stack (most recent call first):
    /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)
    CMakeLists.txt:2 (project)
  This warning is for project developers.  Use -Wno-dev to suppress it.

     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake:49 (try_compile):
    Policy CMP0066 is not set: Honor per-config flags in try_compile()
    source-file signature.  Run "cmake --help-policy CMP0066" for policy
    details.  Use the cmake_policy command to set the policy and suppress this
    warning.

    For compatibility with older versions of CMake, try_compile is not honoring
    caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
    test project.
  Call Stack (most recent call first):
    /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)
    CMakeLists.txt:2 (project)
  This warning is for project developers.  Use -Wno-dev to suppress it.

     Called from: [3]   /usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake
                  [2]   /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
     Entering             /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
     Entering             /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/CMakeLists.txt
  CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindCUDAToolkit.cmake:540 (set):
    Policy CMP0126 is not set: set(CACHE) does not remove a normal variable of
    the same name.  Run "cmake --help-policy CMP0126" for policy details.  Use
    the cmake_policy command to set the policy and suppress this warning.

    For compatibility with older versions of CMake, normal variable
    "CUDAToolkit_BIN_DIR" will be removed from the current scope.
  Call Stack (most recent call first):
    /usr/share/cmake-3.22/Modules/FindCUDAToolkit.cmake:586 (_CUDAToolkit_find_root_dir)
    ggml/src/CMakeLists.txt:276 (find_package)
  This warning is for project developers.  Use -Wno-dev to suppress it.

     Called from: [3]   /usr/share/cmake-3.22/Modules/FindCUDAToolkit.cmake
                  [2]   /usr/share/cmake-3.22/Modules/FindCUDAToolkit.cmake
                  [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/CMakeLists.txt
     Returning to         /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/CMakeLists.txt
     Returning to         /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
     Entering             /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/src
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
     Returning to         /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp
     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  CMake Warning (dev) in CMakeLists.txt:
    Policy CMP0082 is not set: Install rules from add_subdirectory() are
    interleaved with those in caller.  Run "cmake --help-policy CMP0082" for
    policy details.  Use the cmake_policy command to set the policy and
    suppress this warning.

  This warning is for project developers.  Use -Wno-dev to suppress it.

     Called from: [1]   /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/CMakeLists.txt
  CMake Warning:
    Manually-specified variables were not used by the project:

      CMAKE_ASM_COMPILER
      CMAKE_ASM_FLAGS


  /workspaces/whisper-engine/target/release/build/whisper-rs-sys-3fd74f9ea21cd4c8/out/whisper.cpp/ggml/src/ggml-cuda.cu:5:10: fatal error: ggml-cuda/common.cuh: No such file or directory
      5 | #include "ggml-cuda/common.cuh"
        |          ^~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  gmake[2]: *** [ggml/src/CMakeFiles/ggml.dir/build.make:135: ggml/src/CMakeFiles/ggml.dir/ggml-cuda.cu.o] Error 1
  gmake[2]: *** Waiting for unfinished jobs....
  gmake[1]: *** [CMakeFiles/Makefile2:134: ggml/src/CMakeFiles/ggml.dir/all] Error 2
  gmake: *** [Makefile:139: all] Error 2
  thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.51/src/lib.rs:1100:5:

  command did not execute successfully, got: exit status: 2

  build script failed, must exit now
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `asr-engine v0.6.0 (/workspaces/whisper-engine/asr-engine)`, intermediate artifacts can be found at `/workspaces/whisper-engine/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

If you need anything else to debug the issue, please let me know.

Fixed by #189