Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STATUS_ACCESS_VOILATION in build script on Windows with clang-19 and clang-runtime feature enabled #628

Open
Blonteractor opened this issue Oct 18, 2024 · 5 comments

Comments

@Blonteractor
Copy link

Blonteractor commented Oct 18, 2024

Caused by:
  process didn't exit successfully: `C:\Users\priya\dev\backend\target\release\build\opencv-059a8d82ebcdbc16\build-script-build` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
  --- stdout
  cargo:rustc-cfg=ocvrs_opencv_branch_4
  cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME
  cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
  cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME
  cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN
  cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME
  cargo:rerun-if-env-changed=OPENCV_LINK_LIBS
  cargo:rerun-if-env-changed=OPENCV_LINK_PATHS
  cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS
  cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES
  cargo:rerun-if-env-changed=OPENCV_MSVC_CRT
  cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH
  cargo:rerun-if-env-changed=OpenCV_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=VCPKG_ROOT
  cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
  cargo:rerun-if-env-changed=VCPKGRS_TRIPLET
  cargo:rerun-if-env-changed=OCVRS_DOCS_GENERATE_DIR
  cargo:rerun-if-env-changed=DOCS_RS
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\alphamat.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\aruco.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\bioinspired.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\ccalib.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\core.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\dnn.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\face.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\gapi.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\hdf.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\manual-core.cpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\ocvrs_common.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\photo.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\sfm.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\videoio.hpp
  cargo:rerun-if-changed=C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\src_cpp\xfeatures2d.hpp
  cargo:rerun-if-changed=Cargo.toml

  --- stderr
  === Crate version: Some("0.88.9")
  === Environment configuration:
  ===   OPENCV_PACKAGE_NAME = None
  ===   OPENCV_PKGCONFIG_NAME = None
  ===   OPENCV_CMAKE_NAME = None
  ===   OPENCV_CMAKE_BIN = None
  ===   OPENCV_VCPKG_NAME = None
  ===   OPENCV_LINK_LIBS = Some("opencv_core481,opencv_imgcodecs481,opencv_imgproc481,ippicvmt,ippiw,ittnotify,libtiff,turbojpeg,zlib")
  ===   OPENCV_LINK_PATHS = Some("C:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\opencv\\x64\\vc17\\staticlib,C:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\libjpeg\\lib")
  ===   OPENCV_INCLUDE_PATHS = Some("C:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\opencv\\include")
  ===   OPENCV_DISABLE_PROBES = None
  ===   OPENCV_MSVC_CRT = Some("static")
  ===   CMAKE_PREFIX_PATH = None
  ===   OpenCV_DIR = None
  ===   PKG_CONFIG_PATH = None
  ===   VCPKG_ROOT = None
  ===   VCPKGRS_DYNAMIC = None
  ===   VCPKGRS_TRIPLET = None
  ===   OCVRS_DOCS_GENERATE_DIR = None
  ===   DOCS_RS = None
  ===   PATH = Some("C:\\Users\\priya\\dev\\backend\\target\\release\\deps;C:\\Users\\priya\\dev\\backend\\target\\release;C:\\Users\\priya\\scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib;C:\\Users\\priya\\scoop\\persist\\rustup\\.cargo\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\WezTerm;C:\\Program Files\\Tailscale\\;C:\\Program Files\\Neovide\\;C:\\Users\\priya\\scoop\\apps\\llvm\\current\\bin;C:\\Users\\priya\\scoop\\apps\\perl\\current\\perl\\site\\bin;C:\\Users\\priya\\scoop\\apps\\perl\\current\\perl\\bin;C:\\Users\\priya\\scoop\\apps\\nodejs\\current\\bin;C:\\Users\\priya\\scoop\\apps\\nodejs\\current;C:\\Users\\priya\\scoop\\apps\\python\\current\\Scripts;C:\\Users\\priya\\scoop\\apps\\python\\current;C:\\Users\\priya\\scoop\\apps\\yarn\\current\\global\\node_modules\\.bin;C:\\Users\\priya\\scoop\\apps\\yarn\\current\\bin;C:\\Users\\priya\\scoop\\apps\\rustup\\current\\.cargo\\bin;C:\\Users\\priya\\scoop\\shims;C:\\Users\\priya\\AppData\\Local\\Microsoft\\WindowsApps")
  === Enabled features:
  ===   CLANG_RUNTIME
  ===   IMGCODECS
  ===   IMGPROC
  === Detected probe priority based on environment vars: pkg_config: false, cmake: false, vcpkg: false
  === Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg
  === Configuring OpenCV library from the environment:
  ===   include_paths: C:\Users\priya\dev\backend\lib\windows\x86_64\opencv\include
  ===   link_paths: C:\Users\priya\dev\backend\lib\windows\x86_64\opencv\x64\vc17\staticlib,C:\Users\priya\dev\backend\lib\windows\x86_64\libjpeg\lib
  ===   link_libs: opencv_core481,opencv_imgcodecs481,opencv_imgproc481,ippicvmt,ippiw,ittnotify,libtiff,turbojpeg,zlib
  === Successfully probed using: environment
  === OpenCV library configuration: Library {
      include_paths: [
          "C:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\opencv\\include",
      ],
      version: Version {
          major: 4,
          minor: 8,
          patch: 1,
      },
      cargo_metadata: [
          "cargo:rustc-link-search=C:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\opencv\\x64\\vc17\\staticlib",
          "cargo:rustc-link-search=C:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\libjpeg\\lib",
          "cargo:rustc-link-lib=opencv_core481",
          "cargo:rustc-link-lib=opencv_imgcodecs481",
          "cargo:rustc-link-lib=opencv_imgproc481",
          "cargo:rustc-link-lib=ippicvmt",
          "cargo:rustc-link-lib=ippiw",
          "cargo:rustc-link-lib=ittnotify",
          "cargo:rustc-link-lib=libtiff",
          "cargo:rustc-link-lib=turbojpeg",
          "cargo:rustc-link-lib=zlib",
      ],
  }
  === Detected OpenCV module header dir at: C:\Users\priya\dev\backend\lib\windows\x86_64\opencv\include\opencv2
  === Found OpenCV version: 4.8.1 in headers located at: C:\Users\priya\dev\backend\lib\windows\x86_64\opencv\include
  === Generating code in: C:\Users\priya\dev\backend\target\x86_64-pc-windows-msvc\release\build\opencv-4d6bfe16f3c23172\out
  === Placing generated bindings into: C:\Users\priya\dev\backend\target\x86_64-pc-windows-msvc\release\build\opencv-4d6bfe16f3c23172\out\opencv
  === Using OpenCV headers from: C:\Users\priya\dev\backend\lib\windows\x86_64\opencv\include
  === Clang: clang version 19.1.2
  === Clang command line args: [
      "-isystemC:\\Users\\priya\\scoop\\apps\\llvm\\19.1.2\\lib\\clang\\19\\include",
      "-isystemC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\include",
      "-isystemC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\atlmfc\\include",
      "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt",
      "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\shared",
      "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\um",
      "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\winrt",
      "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\cppwinrt",
      "-IC:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\opencv\\include",
      "-FC:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\opencv\\include",
      "-IC:\\Users\\priya\\scoop\\persist\\rustup\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.88.9\\src_cpp",
      "-FC:\\Users\\priya\\scoop\\persist\\rustup\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.88.9\\src_cpp",
      "-DOCVRS_PARSING_HEADERS",
      "-includeocvrs_common.hpp",
      "-std=c++14",
  ]
  === Using environment job server with the the amount of available jobs: 14
  === Generating 3 modules
  === Running: "C:\\Users\\priya\\dev\\backend\\target\\release\\build\\opencv-059a8d82ebcdbc16\\build-script-build.exe" "C:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\opencv\\include" "C:\\Users\\priya\\scoop\\persist\\rustup\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.88.9\\src_cpp" "C:\\Users\\priya\\dev\\backend\\target\\x86_64-pc-windows-msvc\\release\\build\\opencv-4d6bfe16f3c23172\\out" "core" ""
  === Running: "C:\\Users\\priya\\dev\\backend\\target\\release\\build\\opencv-059a8d82ebcdbc16\\build-script-build.exe" "C:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\opencv\\include" "C:\\Users\\priya\\scoop\\persist\\rustup\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.88.9\\src_cpp" "C:\\Users\\priya\\dev\\backend\\target\\x86_64-pc-windows-msvc\\release\\build\\opencv-4d6bfe16f3c23172\\out" "imgcodecs" ""
  === Running: "C:\\Users\\priya\\dev\\backend\\target\\release\\build\\opencv-059a8d82ebcdbc16\\build-script-build.exe" "C:\\Users\\priya\\dev\\backend\\lib\\windows\\x86_64\\opencv\\include" "C:\\Users\\priya\\scoop\\persist\\rustup\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.88.9\\src_cpp" "C:\\Users\\priya\\dev\\backend\\target\\x86_64-pc-windows-msvc\\release\\build\\opencv-4d6bfe16f3c23172\\out" "imgproc" ""
  thread '<unnamed>' panicked at C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\build\generator.rs:109:33:
  Failed to run the bindings generator for module: imgcodecs
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  thread '<unnamed>' panicked at C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\build\generator.rs:109:33:
  Failed to run the bindings generator for module: imgproc
  thread '<unnamed>' panicked at C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\build\generator.rs:109:33:
  Failed to run the bindings generator for module: core
  thread 'main' panicked at C:\Users\priya\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\opencv-0.88.9\build\generator.rs:118:36:
  Generator process panicked: Any { .. }

opencv-rust version: 0.88.9
opencv version: 4.8.1
target: x86_64-pc-windows-msvc
rust version: 1.82.0

@twistedfall
Copy link
Owner

twistedfall commented Oct 18, 2024

Can you please first try using the latest version of the crate, 0.93.3?

@Blonteractor
Copy link
Author

@twistedfall unfortunately we cant upgrade as there are a lot of breaking changes, but this is the only windows machine I am having this problem on

@spartajet
Copy link

I face same problem and below is the whole log output.

[opencv 0.93.3] === Crate version: 0.93.3
[opencv 0.93.3] === Environment configuration:
[opencv 0.93.3] ===   OPENCV_PACKAGE_NAME = None
[opencv 0.93.3] ===   OPENCV_PKGCONFIG_NAME = None
[opencv 0.93.3] ===   OPENCV_CMAKE_NAME = None
[opencv 0.93.3] ===   OPENCV_CMAKE_BIN = None
[opencv 0.93.3] ===   OPENCV_VCPKG_NAME = None
[opencv 0.93.3] ===   OPENCV_LINK_LIBS = Some("opencv_world4100")
[opencv 0.93.3] ===   OPENCV_LINK_PATHS = Some("D:\\libs\\opencv\\build\\x64\\vc16\\lib")
[opencv 0.93.3] ===   OPENCV_INCLUDE_PATHS = Some("D:\\libs\\opencv\\build\\include")
[opencv 0.93.3] ===   OPENCV_DISABLE_PROBES = None
[opencv 0.93.3] ===   OPENCV_MSVC_CRT = None
[opencv 0.93.3] ===   CMAKE_PREFIX_PATH = None
[opencv 0.93.3] ===   OpenCV_DIR = None
[opencv 0.93.3] ===   PKG_CONFIG_PATH = None
[opencv 0.93.3] ===   VCPKG_ROOT = None
[opencv 0.93.3] ===   VCPKGRS_DYNAMIC = None
[opencv 0.93.3] ===   VCPKGRS_TRIPLET = None
[opencv 0.93.3] ===   OCVRS_DOCS_GENERATE_DIR = None
[opencv 0.93.3] ===   DOCS_RS = None
[opencv 0.93.3] ===   PATH = Some("D:\\rust\\wafer-measurement\\target\\debug\\deps;D:\\rust\\wafer-measurement\\target\\debug;C:\\Users\\guo\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib;C:\\Program Files\\PowerShell\\7;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\LLVM\\bin;D:\\libs\\opencv\\build\\bin;C:\\Users\\guo\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\guo\\AppData\\Local\\miniconda3;C:\\Users\\guo\\AppData\\Local\\miniconda3\\Scripts;C:\\Program Files\\CMake\\bin;C:\\Green\\ffmpeg-7.0.2\\bin;C:\\Program Files\\Common Files\\Thales\\openJDK\\jre\\bin;C:\\Program Files\\Common Files\\Thales\\openJDK\\;C:\\Program Files (x86)\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\150\\DTS\\Binn\\;C:\\Users\\guo\\.cargo\\bin;C:\\Users\\guo\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\guo\\AppData\\Roaming\\npm;C:\\Users\\guo\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\guo\\.dotnet\\tools;C:\\Users\\guo\\AppData\\Local\\JetBrains\\Toolbox\\scripts;;C:\\Users\\guo\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\guo\\AppData\\Local\\Microsoft\\WinGet\\Packages\\GeekUninstaller.GeekUninstaller_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\\Users\\guo\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Rufus.Rufus_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\\Users\\guo\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Microsoft.NuGet_Microsoft.Winget.Source_8wekyb3d8bbwe;")
[opencv 0.93.3] === Enabled features:
[opencv 0.93.3] ===   ALPHAMAT
[opencv 0.93.3] ===   ARUCO
[opencv 0.93.3] ===   ARUCO_DETECTOR
[opencv 0.93.3] ===   BARCODE
[opencv 0.93.3] ===   BGSEGM
[opencv 0.93.3] ===   BIOINSPIRED
[opencv 0.93.3] ===   CALIB3D
[opencv 0.93.3] ===   CCALIB
[opencv 0.93.3] ===   CLANG_RUNTIME
[opencv 0.93.3] ===   CUDAARITHM
[opencv 0.93.3] ===   CUDABGSEGM
[opencv 0.93.3] ===   CUDACODEC
[opencv 0.93.3] ===   CUDAFEATURES2D
[opencv 0.93.3] ===   CUDAFILTERS
[opencv 0.93.3] ===   CUDAIMGPROC
[opencv 0.93.3] ===   CUDAOBJDETECT
[opencv 0.93.3] ===   CUDAOPTFLOW
[opencv 0.93.3] ===   CUDASTEREO
[opencv 0.93.3] ===   CUDAWARPING
[opencv 0.93.3] ===   CVV
[opencv 0.93.3] ===   DEFAULT
[opencv 0.93.3] ===   DNN
[opencv 0.93.3] ===   DNN_SUPERRES
[opencv 0.93.3] ===   DPM
[opencv 0.93.3] ===   FACE
[opencv 0.93.3] ===   FEATURES2D
[opencv 0.93.3] ===   FLANN
[opencv 0.93.3] ===   FREETYPE
[opencv 0.93.3] ===   FUZZY
[opencv 0.93.3] ===   GAPI
[opencv 0.93.3] ===   HDF
[opencv 0.93.3] ===   HFS
[opencv 0.93.3] ===   HIGHGUI
[opencv 0.93.3] ===   IMGCODECS
[opencv 0.93.3] ===   IMGPROC
[opencv 0.93.3] ===   IMG_HASH
[opencv 0.93.3] ===   INTENSITY_TRANSFORM
[opencv 0.93.3] ===   LINE_DESCRIPTOR
[opencv 0.93.3] ===   MCC
[opencv 0.93.3] ===   ML
[opencv 0.93.3] ===   OBJDETECT
[opencv 0.93.3] ===   OPTFLOW
[opencv 0.93.3] ===   OVIS
[opencv 0.93.3] ===   PHASE_UNWRAPPING
[opencv 0.93.3] ===   PHOTO
[opencv 0.93.3] ===   PLOT
[opencv 0.93.3] ===   QUALITY
[opencv 0.93.3] ===   RAPID
[opencv 0.93.3] ===   RGBD
[opencv 0.93.3] ===   SALIENCY
[opencv 0.93.3] ===   SFM
[opencv 0.93.3] ===   SHAPE
[opencv 0.93.3] ===   STEREO
[opencv 0.93.3] ===   STITCHING
[opencv 0.93.3] ===   STRUCTURED_LIGHT
[opencv 0.93.3] ===   SUPERRES
[opencv 0.93.3] ===   SURFACE_MATCHING
[opencv 0.93.3] ===   TEXT
[opencv 0.93.3] ===   TRACKING
[opencv 0.93.3] ===   VIDEO
[opencv 0.93.3] ===   VIDEOIO
[opencv 0.93.3] ===   VIDEOSTAB
[opencv 0.93.3] ===   VIZ
[opencv 0.93.3] ===   WECHAT_QRCODE
[opencv 0.93.3] ===   XFEATURES2D
[opencv 0.93.3] ===   XIMGPROC
[opencv 0.93.3] ===   XOBJDETECT
[opencv 0.93.3] ===   XPHOTO
[opencv 0.93.3] === Detected probe priority boost based on environment vars: pkg_config: false, cmake: false, vcpkg: false
[opencv 0.93.3] === Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg
[opencv 0.93.3] === Configuring OpenCV library from the environment:
[opencv 0.93.3] ===   include_paths: D:\libs\opencv\build\include
[opencv 0.93.3] ===   link_paths: D:\libs\opencv\build\x64\vc16\lib
[opencv 0.93.3] ===   link_libs: opencv_world4100
[opencv 0.93.3] === Successfully probed using: environment
[opencv 0.93.3] === OpenCV library configuration: Library {
[opencv 0.93.3]     include_paths: [
[opencv 0.93.3]         "D:\\libs\\opencv\\build\\include",
[opencv 0.93.3]     ],
[opencv 0.93.3]     version: Version {
[opencv 0.93.3]         major: 4,
[opencv 0.93.3]         minor: 10,
[opencv 0.93.3]         patch: 0,
[opencv 0.93.3]     },
[opencv 0.93.3]     cargo_metadata: [
[opencv 0.93.3]         "cargo:rustc-link-search=D:\\libs\\opencv\\build\\x64\\vc16\\lib",
[opencv 0.93.3]         "cargo:rustc-link-lib=opencv_world4100",
[opencv 0.93.3]     ],
[opencv 0.93.3] }
[opencv 0.93.3] cargo:rustc-check-cfg=cfg(ocvrs_opencv_branch_4)
[opencv 0.93.3] cargo:rustc-check-cfg=cfg(ocvrs_opencv_branch_34)
[opencv 0.93.3] cargo:rustc-check-cfg=cfg(ocvrs_opencv_branch_32)
[opencv 0.93.3] cargo:rustc-cfg=ocvrs_opencv_branch_4
[opencv 0.93.3] === Detected OpenCV module header dir at: D:\libs\opencv\build\include\opencv2
[opencv 0.93.3] cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME
[opencv 0.93.3] === Found OpenCV version: 4.10.0 in headers located at: D:\libs\opencv\build\include
[opencv 0.93.3] cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
[opencv 0.93.3] cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME
[opencv 0.93.3] cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN
[opencv 0.93.3] cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME
[opencv 0.93.3] cargo:rerun-if-env-changed=OPENCV_LINK_LIBS
[opencv 0.93.3] cargo:rerun-if-env-changed=OPENCV_LINK_PATHS
[opencv 0.93.3] cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS
[opencv 0.93.3] cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES
[opencv 0.93.3] cargo:rerun-if-env-changed=OPENCV_MSVC_CRT
[opencv 0.93.3] cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH
[opencv 0.93.3] cargo:rerun-if-env-changed=OpenCV_DIR
[opencv 0.93.3] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.93.3] cargo:rerun-if-env-changed=VCPKG_ROOT
[opencv 0.93.3] cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
[opencv 0.93.3] cargo:rerun-if-env-changed=VCPKGRS_TRIPLET
[opencv 0.93.3] cargo:rerun-if-env-changed=OCVRS_DOCS_GENERATE_DIR
[opencv 0.93.3] cargo:rerun-if-env-changed=DOCS_RS
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\alphamat.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\aruco.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\bioinspired.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\ccalib.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\core.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\dnn.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\face.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\gapi.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\hdf.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\manual-core.cpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\ocvrs_common.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\photo.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\sfm.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\videoio.hpp
[opencv 0.93.3] cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\xfeatures2d.hpp
[opencv 0.93.3] cargo:rerun-if-changed=Cargo.toml
[opencv 0.93.3] === Generating code in: D:\rust\wafer-measurement\target\debug\build\opencv-fbf8640080cafbb3\out
[opencv 0.93.3] === Placing generated bindings into: D:\rust\wafer-measurement\target\debug\build\opencv-fbf8640080cafbb3\out\opencv
[opencv 0.93.3] === Using OpenCV headers from: D:\libs\opencv\build\include
[opencv 0.93.3] === Clang: clang version 19.1.0
[opencv 0.93.3] === Clang command line args: [
[opencv 0.93.3]     "-isystemC:\\Program Files\\LLVM\\lib\\clang\\19\\include",
[opencv 0.93.3]     "-isystemC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\include",
[opencv 0.93.3]     "-isystemC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\atlmfc\\include",
[opencv 0.93.3]     "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt",
[opencv 0.93.3]     "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\shared",
[opencv 0.93.3]     "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\um",
[opencv 0.93.3]     "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\winrt",
[opencv 0.93.3]     "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\cppwinrt",
[opencv 0.93.3]     "-ID:\\libs\\opencv\\build\\include",
[opencv 0.93.3]     "-FD:\\libs\\opencv\\build\\include",
[opencv 0.93.3]     "-IC:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp",
[opencv 0.93.3]     "-FC:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp",
[opencv 0.93.3]     "-DOCVRS_PARSING_HEADERS",
[opencv 0.93.3]     "-includeocvrs_common.hpp",
[opencv 0.93.3]     "-std=c++14",
[opencv 0.93.3] ]
[opencv 0.93.3] === Using environment job server with the the amount of available jobs: 22
[opencv 0.93.3] === Generating 15 modules
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "calib3d" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "core" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "highgui" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "dnn" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "flann" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "gapi" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "features2d" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "imgcodecs" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "imgproc" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "ml" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "objdetect" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "photo" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "stitching" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "video" ""
[opencv 0.93.3] === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "videoio" ""
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: imgcodecs
[opencv 0.93.3] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: highgui
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: videoio
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: flann
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: photo
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: video
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: ml
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: features2d
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: objdetect
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: imgproc
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: calib3d
[opencv 0.93.3] thread 'main' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:119:36:
[opencv 0.93.3] Generator process panicked: Any { .. }
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: gapi
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: stitching
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: dnn
[opencv 0.93.3] thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
[opencv 0.93.3] Failed to run the bindings generator for module: core
error: failed to run custom build command for `opencv v0.93.3`

Caused by:
  process didn't exit successfully: `set CARGO=\\?\C:\Users\guo\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\cargo.exe&& set CARGO_CFG_PANIC=unwind&& set CARGO_CFG_TARGET_ABI=""&& set CARGO_CFG_TARGET_ARCH=x86_64&& set CARGO_CFG_TARGET_ENDIAN=little&& set CARGO_CFG_TARGET_ENV=msvc&& set CARGO_CFG_TARGET_FAMILY=windows&& set CARGO_CFG_TARGET_FEATURE=cmpxchg16b,fxsr,sse,sse2,sse3&& set CARGO_CFG_TARGET_HAS_ATOMIC=128,16,32,64,8,ptr&& set CARGO_CFG_TARGET_OS=windows&& set CARGO_CFG_TARGET_POINTER_WIDTH=64&& set CARGO_CFG_TARGET_VENDOR=pc&& set CARGO_CFG_WINDOWS=""&& set CARGO_ENCODED_RUSTFLAGS=""&& set CARGO_FEATURE_ALPHAMAT=1&& set CARGO_FEATURE_ARUCO=1&& set CARGO_FEATURE_ARUCO_DETECTOR=1&& set CARGO_FEATURE_BARCODE=1&& set CARGO_FEATURE_BGSEGM=1&& set CARGO_FEATURE_BIOINSPIRED=1&& set CARGO_FEATURE_CALIB3D=1&& set CARGO_FEATURE_CCALIB=1&& set CARGO_FEATURE_CLANG_RUNTIME=1&& set CARGO_FEATURE_CUDAARITHM=1&& set CARGO_FEATURE_CUDABGSEGM=1&& set CARGO_FEATURE_CUDACODEC=1&& set CARGO_FEATURE_CUDAFEATURES2D=1&& set CARGO_FEATURE_CUDAFILTERS=1&& set CARGO_FEATURE_CUDAIMGPROC=1&& set CARGO_FEATURE_CUDAOBJDETECT=1&& set CARGO_FEATURE_CUDAOPTFLOW=1&& set CARGO_FEATURE_CUDASTEREO=1&& set CARGO_FEATURE_CUDAWARPING=1&& set CARGO_FEATURE_CVV=1&& set CARGO_FEATURE_DEFAULT=1&& set CARGO_FEATURE_DNN=1&& set CARGO_FEATURE_DNN_SUPERRES=1&& set CARGO_FEATURE_DPM=1&& set CARGO_FEATURE_FACE=1&& set CARGO_FEATURE_FEATURES2D=1&& set CARGO_FEATURE_FLANN=1&& set CARGO_FEATURE_FREETYPE=1&& set CARGO_FEATURE_FUZZY=1&& set CARGO_FEATURE_GAPI=1&& set CARGO_FEATURE_HDF=1&& set CARGO_FEATURE_HFS=1&& set CARGO_FEATURE_HIGHGUI=1&& set CARGO_FEATURE_IMGCODECS=1&& set CARGO_FEATURE_IMGPROC=1&& set CARGO_FEATURE_IMG_HASH=1&& set CARGO_FEATURE_INTENSITY_TRANSFORM=1&& set CARGO_FEATURE_LINE_DESCRIPTOR=1&& set CARGO_FEATURE_MCC=1&& set CARGO_FEATURE_ML=1&& set CARGO_FEATURE_OBJDETECT=1&& set CARGO_FEATURE_OPTFLOW=1&& set CARGO_FEATURE_OVIS=1&& set CARGO_FEATURE_PHASE_UNWRAPPING=1&& set CARGO_FEATURE_PHOTO=1&& set CARGO_FEATURE_PLOT=1&& set CARGO_FEATURE_QUALITY=1&& set CARGO_FEATURE_RAPID=1&& set CARGO_FEATURE_RGBD=1&& set CARGO_FEATURE_SALIENCY=1&& set CARGO_FEATURE_SFM=1&& set CARGO_FEATURE_SHAPE=1&& set CARGO_FEATURE_STEREO=1&& set CARGO_FEATURE_STITCHING=1&& set CARGO_FEATURE_STRUCTURED_LIGHT=1&& set CARGO_FEATURE_SUPERRES=1&& set CARGO_FEATURE_SURFACE_MATCHING=1&& set CARGO_FEATURE_TEXT=1&& set CARGO_FEATURE_TRACKING=1&& set CARGO_FEATURE_VIDEO=1&& set CARGO_FEATURE_VIDEOIO=1&& set CARGO_FEATURE_VIDEOSTAB=1&& set CARGO_FEATURE_VIZ=1&& set CARGO_FEATURE_WECHAT_QRCODE=1&& set CARGO_FEATURE_XFEATURES2D=1&& set CARGO_FEATURE_XIMGPROC=1&& set CARGO_FEATURE_XOBJDETECT=1&& set CARGO_FEATURE_XPHOTO=1&& set CARGO_MANIFEST_DIR=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3&& set CARGO_PKG_AUTHORS="Pro <[email protected]>:Mathieu Poumeyrol <[email protected]>"&& set CARGO_PKG_DESCRIPTION="Rust bindings for OpenCV"&& set CARGO_PKG_HOMEPAGE=""&& set CARGO_PKG_LICENSE=MIT&& set CARGO_PKG_LICENSE_FILE=""&& set CARGO_PKG_NAME=opencv&& set CARGO_PKG_README=README.md&& set CARGO_PKG_REPOSITORY=https://github.com/twistedfall/opencv-rust&& set CARGO_PKG_RUST_VERSION=1.66&& set CARGO_PKG_VERSION=0.93.3&& set CARGO_PKG_VERSION_MAJOR=0&& set CARGO_PKG_VERSION_MINOR=93&& set CARGO_PKG_VERSION_PATCH=3&& set CARGO_PKG_VERSION_PRE=""&& set DEBUG=true&& set HOST=x86_64-pc-windows-msvc&& set NUM_JOBS=22&& set OPT_LEVEL=0&& set OUT_DIR=D:\rust\wafer-measurement\target\debug\build\opencv-fbf8640080cafbb3\out&& set PATH="D:\rust\wafer-measurement\target\debug\deps;D:\rust\wafer-measurement\target\debug;C:\Users\guo\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files\PowerShell\7;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Program Files\nodejs\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\LLVM\bin;D:\libs\opencv\build\bin;C:\Users\guo\AppData\Local\Programs\oh-my-posh\bin;C:\Users\guo\AppData\Local\miniconda3;C:\Users\guo\AppData\Local\miniconda3\Scripts;C:\Program Files\CMake\bin;C:\Green\ffmpeg-7.0.2\bin;C:\Program Files\Common Files\Thales\openJDK\jre\bin;C:\Program Files\Common Files\Thales\openJDK\;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\DTS\Binn\;C:\Users\guo\.cargo\bin;C:\Users\guo\AppData\Local\Microsoft\WindowsApps;C:\Users\guo\AppData\Roaming\npm;C:\Users\guo\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\guo\.dotnet\tools;C:\Users\guo\AppData\Local\JetBrains\Toolbox\scripts;;C:\Users\guo\AppData\Local\Programs\oh-my-posh\bin;C:\Users\guo\AppData\Local\Microsoft\WinGet\Packages\GeekUninstaller.GeekUninstaller_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\Users\guo\AppData\Local\Microsoft\WinGet\Packages\Rufus.Rufus_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\Users\guo\AppData\Local\Microsoft\WinGet\Packages\Microsoft.NuGet_Microsoft.Winget.Source_8wekyb3d8bbwe;"&& set PROFILE=debug&& set RUSTC=C:\Users\guo\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe&& set RUSTDOC=C:\Users\guo\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustdoc.exe&& set TARGET=x86_64-pc-windows-msvc&& D:\rust\wafer-measurement\target\debug\build\opencv-275b5b5fc561ded6\build-script-build` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
  --- stdout
  cargo:rustc-check-cfg=cfg(ocvrs_opencv_branch_4)
  cargo:rustc-check-cfg=cfg(ocvrs_opencv_branch_34)
  cargo:rustc-check-cfg=cfg(ocvrs_opencv_branch_32)
  cargo:rustc-cfg=ocvrs_opencv_branch_4
  cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME
  cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
  cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME
  cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN
  cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME
  cargo:rerun-if-env-changed=OPENCV_LINK_LIBS
  cargo:rerun-if-env-changed=OPENCV_LINK_PATHS
  cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS
  cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES
  cargo:rerun-if-env-changed=OPENCV_MSVC_CRT
  cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH
  cargo:rerun-if-env-changed=OpenCV_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=VCPKG_ROOT
  cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
  cargo:rerun-if-env-changed=VCPKGRS_TRIPLET
  cargo:rerun-if-env-changed=OCVRS_DOCS_GENERATE_DIR
  cargo:rerun-if-env-changed=DOCS_RS
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\alphamat.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\aruco.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\bioinspired.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\ccalib.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\core.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\dnn.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\face.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\gapi.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\hdf.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\manual-core.cpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\ocvrs_common.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\photo.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\sfm.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\videoio.hpp
  cargo:rerun-if-changed=C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\src_cpp\xfeatures2d.hpp
  cargo:rerun-if-changed=Cargo.toml

  --- stderr
  === Crate version: 0.93.3
  === Environment configuration:
  ===   OPENCV_PACKAGE_NAME = None
  ===   OPENCV_PKGCONFIG_NAME = None
  ===   OPENCV_CMAKE_NAME = None
  ===   OPENCV_CMAKE_BIN = None
  ===   OPENCV_VCPKG_NAME = None
  ===   OPENCV_LINK_LIBS = Some("opencv_world4100")
  ===   OPENCV_LINK_PATHS = Some("D:\\libs\\opencv\\build\\x64\\vc16\\lib")
  ===   OPENCV_INCLUDE_PATHS = Some("D:\\libs\\opencv\\build\\include")
  ===   OPENCV_DISABLE_PROBES = None
  ===   OPENCV_MSVC_CRT = None
  ===   CMAKE_PREFIX_PATH = None
  ===   OpenCV_DIR = None
  ===   PKG_CONFIG_PATH = None
  ===   VCPKG_ROOT = None
  ===   VCPKGRS_DYNAMIC = None
  ===   VCPKGRS_TRIPLET = None
  ===   OCVRS_DOCS_GENERATE_DIR = None
  ===   DOCS_RS = None
  ===   PATH = Some("D:\\rust\\wafer-measurement\\target\\debug\\deps;D:\\rust\\wafer-measurement\\target\\debug;C:\\Users\\guo\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib;C:\\Program Files\\PowerShell\\7;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\LLVM\\bin;D:\\libs\\opencv\\build\\bin;C:\\Users\\guo\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\guo\\AppData\\Local\\miniconda3;C:\\Users\\guo\\AppData\\Local\\miniconda3\\Scripts;C:\\Program Files\\CMake\\bin;C:\\Green\\ffmpeg-7.0.2\\bin;C:\\Program Files\\Common Files\\Thales\\openJDK\\jre\\bin;C:\\Program Files\\Common Files\\Thales\\openJDK\\;C:\\Program Files (x86)\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\150\\DTS\\Binn\\;C:\\Users\\guo\\.cargo\\bin;C:\\Users\\guo\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\guo\\AppData\\Roaming\\npm;C:\\Users\\guo\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\guo\\.dotnet\\tools;C:\\Users\\guo\\AppData\\Local\\JetBrains\\Toolbox\\scripts;;C:\\Users\\guo\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\guo\\AppData\\Local\\Microsoft\\WinGet\\Packages\\GeekUninstaller.GeekUninstaller_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\\Users\\guo\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Rufus.Rufus_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\\Users\\guo\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Microsoft.NuGet_Microsoft.Winget.Source_8wekyb3d8bbwe;")
  === Enabled features:
  ===   ALPHAMAT
  ===   ARUCO
  ===   ARUCO_DETECTOR
  ===   BARCODE
  ===   BGSEGM
  ===   BIOINSPIRED
  ===   CALIB3D
  ===   CCALIB
  ===   CLANG_RUNTIME
  ===   CUDAARITHM
  ===   CUDABGSEGM
  ===   CUDACODEC
  ===   CUDAFEATURES2D
  ===   CUDAFILTERS
  ===   CUDAIMGPROC
  ===   CUDAOBJDETECT
  ===   CUDAOPTFLOW
  ===   CUDASTEREO
  ===   CUDAWARPING
  ===   CVV
  ===   DEFAULT
  ===   DNN
  ===   DNN_SUPERRES
  ===   DPM
  ===   FACE
  ===   FEATURES2D
  ===   FLANN
  ===   FREETYPE
  ===   FUZZY
  ===   GAPI
  ===   HDF
  ===   HFS
  ===   HIGHGUI
  ===   IMGCODECS
  ===   IMGPROC
  ===   IMG_HASH
  ===   INTENSITY_TRANSFORM
  ===   LINE_DESCRIPTOR
  ===   MCC
  ===   ML
  ===   OBJDETECT
  ===   OPTFLOW
  ===   OVIS
  ===   PHASE_UNWRAPPING
  ===   PHOTO
  ===   PLOT
  ===   QUALITY
  ===   RAPID
  ===   RGBD
  ===   SALIENCY
  ===   SFM
  ===   SHAPE
  ===   STEREO
  ===   STITCHING
  ===   STRUCTURED_LIGHT
  ===   SUPERRES
  ===   SURFACE_MATCHING
  ===   TEXT
  ===   TRACKING
  ===   VIDEO
  ===   VIDEOIO
  ===   VIDEOSTAB
  ===   VIZ
  ===   WECHAT_QRCODE
  ===   XFEATURES2D
  ===   XIMGPROC
  ===   XOBJDETECT
  ===   XPHOTO
  === Detected probe priority boost based on environment vars: pkg_config: false, cmake: false, vcpkg: false
  === Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg
  === Configuring OpenCV library from the environment:
  ===   include_paths: D:\libs\opencv\build\include
  ===   link_paths: D:\libs\opencv\build\x64\vc16\lib
  ===   link_libs: opencv_world4100
  === Successfully probed using: environment
  === OpenCV library configuration: Library {
      include_paths: [
          "D:\\libs\\opencv\\build\\include",
      ],
      version: Version {
          major: 4,
          minor: 10,
          patch: 0,
      },
      cargo_metadata: [
          "cargo:rustc-link-search=D:\\libs\\opencv\\build\\x64\\vc16\\lib",
          "cargo:rustc-link-lib=opencv_world4100",
      ],
  }
  === Detected OpenCV module header dir at: D:\libs\opencv\build\include\opencv2
  === Found OpenCV version: 4.10.0 in headers located at: D:\libs\opencv\build\include
  === Generating code in: D:\rust\wafer-measurement\target\debug\build\opencv-fbf8640080cafbb3\out
  === Placing generated bindings into: D:\rust\wafer-measurement\target\debug\build\opencv-fbf8640080cafbb3\out\opencv
  === Using OpenCV headers from: D:\libs\opencv\build\include
  === Clang: clang version 19.1.0
  === Clang command line args: [
      "-isystemC:\\Program Files\\LLVM\\lib\\clang\\19\\include",
      "-isystemC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\include",
      "-isystemC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\atlmfc\\include",
      "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt",
      "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\shared",
      "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\um",
      "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\winrt",
      "-isystemC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\cppwinrt",
      "-ID:\\libs\\opencv\\build\\include",
      "-FD:\\libs\\opencv\\build\\include",
      "-IC:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp",
      "-FC:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp",
      "-DOCVRS_PARSING_HEADERS",
      "-includeocvrs_common.hpp",
      "-std=c++14",
  ]
  === Using environment job server with the the amount of available jobs: 22
  === Generating 15 modules
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "calib3d" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "core" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "highgui" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "dnn" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "flann" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "gapi" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "features2d" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "imgcodecs" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "imgproc" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "ml" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "objdetect" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "photo" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "stitching" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "video" ""
  === Running: "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-275b5b5fc561ded6\\build-script-build.exe" "D:\\libs\\opencv\\build\\include" "C:\\Users\\guo\\.cargo\\registry\\src\\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\\opencv-0.93.3\\src_cpp" "D:\\rust\\wafer-measurement\\target\\debug\\build\\opencv-fbf8640080cafbb3\\out" "videoio" ""
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: imgcodecs
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: highgui
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: videoio
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: flann
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: photo
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: video
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: ml
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: features2d
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: objdetect
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: imgproc
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: calib3d
  thread 'main' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:119:36:
  Generator process panicked: Any { .. }
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: gapi
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: stitching
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: dnn
  thread '<unnamed>' panicked at C:\Users\guo\.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\opencv-0.93.3\build\generator.rs:110:33:
  Failed to run the bindings generator for module: core

@twistedfall
Copy link
Owner

As far as I can see it happens on Windows with clang-19.1 and clang-runtime crate feature enabled. I'll investigate, but in the meanwhile, downgrading clang or disabling that feature should help.

@spartajet
Copy link

Great Thanks! disable clang-runtime is work!

@twistedfall twistedfall changed the title STATUS_ACCESS_VOILATION in build script STATUS_ACCESS_VOILATION in build script on Windows with clang-19 and clang-runtime feature enabled Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants