-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
static_assert failed "Error in C++ Standard Library usage." #452
Comments
thread 'main' panicked at '=== Errors during header parsing', .cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-binding-generator-0.60.0\src\generator.rs:503:17
|
I have solved it . Try to remove visual studio 2022 and to use visual studio 2019. |
I'm facing the same exact problem. When u say "use 2019 and remove 2022" i just need to uninstall 2022 with mvs installer or do i need to set some other sutff up? |
i just uninstall visual studio 2022 and then install visual studio 2019. u do not need to do other things to solved it, but if another problem occur , try to find another method. good luck! |
vs2019 can solved it |
I have tried reproducing this issue today by installing Visual Studio 2022 Community and alternatively |
I can reproduce it, it happens after update to Visual Studio 2022 v17.7 and build tools v14.37 |
I’ll try this specific version, thanks! |
for me at least, it seems the issue was clang has to be >= 16 when using newer vs toolchain, vcpkg has 15 currently which is what i was using initially the yvals_core.h file is asserting on #if __clang_major__ < 16
_EMIT_STL_ERROR(STL1000, "Unexpected compiler version, expected Clang 16.0.0 or newer.");
#endif // ^^^ old Clang ^^^ pulling llvm and built it locally got around the issue |
@AdrianEddy Can you please point me to the specific packages and URLs/package managers where to download those versions? I've tried to install the mentioned versions but now I'm confused about what is what :) (I'm not using Windows for regular development so I'm not that skilled here) |
yes, use Visual Studio 2022 Community
|
rustc 1.71.0-nightly (d0f204e4d 2023-04-16)
)cargo.exe build --color=always --message-format=json-diagnostic-rendered-ansi -vv --package opencv_demo --bin opencv_demo
Fresh glob v0.3.1
Fresh winapi v0.3.9
Fresh libc v0.2.142
Fresh libloading v0.7.4
Fresh memchr v2.5.0
Fresh clang-sys v1.6.1
Fresh aho-corasick v1.0.1
Fresh regex-syntax v0.7.0
Fresh clang v2.0.0
Fresh regex v1.8.0
Fresh jobserver v0.1.26
Fresh once_cell v1.17.1
Fresh dunce v1.0.4
Fresh maplit v1.0.2
Fresh autocfg v1.1.0
Fresh percent-encoding v2.2.0
Fresh cc v1.0.79
Fresh semver v1.0.17
Fresh opencv-binding-generator v0.60.0
Fresh shlex v1.1.0
Fresh vcpkg v0.2.15
Fresh pkg-config v0.3.26
Compiling opencv v0.80.0
Fresh num-traits v0.2.15
Running
target\debug\build\opencv-8e81749950d5f029\build-script-build
[opencv 0.80.0] === Using environment job server with the the amount of available jobs: 3
[opencv 0.80.0] === Running: "cargo.exe" "build" "--release" "--package" "opencv-binding-generator" "--bin" "binding-generator"
[opencv 0.80.0] === Crate version: Some("0.80.0")
[opencv 0.80.0] === Environment configuration:
[opencv 0.80.0] === OPENCV_PACKAGE_NAME = None
[opencv 0.80.0] === OPENCV_PKGCONFIG_NAME = None
[opencv 0.80.0] === OPENCV_CMAKE_NAME = None
[opencv 0.80.0] === OPENCV_CMAKE_BIN = None
[opencv 0.80.0] === OPENCV_VCPKG_NAME = None
[opencv 0.80.0] === OPENCV_LINK_LIBS = Some("opencv_world470")
[opencv 0.80.0] === OPENCV_LINK_PATHS = Some("f:\opencv\build\x64\vc16\lib")
[opencv 0.80.0] === OPENCV_INCLUDE_PATHS = Some("f:\opencv\build\include")
[opencv 0.80.0] === OPENCV_DISABLE_PROBES = None
[opencv 0.80.0] === CMAKE_PREFIX_PATH = None
[opencv 0.80.0] === OpenCV_DIR = None
[opencv 0.80.0] === PKG_CONFIG_PATH = None
[opencv 0.80.0] === VCPKG_ROOT = Some("D:\soft\vcpkg")
[opencv 0.80.0] === VCPKGRS_DYNAMIC = Some("0")
[opencv 0.80.0] === OCVRS_DOCS_GENERATE_DIR = None
[opencv 0.80.0] === DOCS_RS = None
[opencv 0.80.0] === Enabled features:
[opencv 0.80.0] === IMGCODECS
[opencv 0.80.0] === Detected probe priority based on environment vars: pkg_config: false, cmake: false, vcpkg: true
[opencv 0.80.0] === Probing the OpenCV library in the following order: environment, vcpkg_cmake, vcpkg, pkg_config, cmake
[opencv 0.80.0] === Configuring OpenCV library from the environment:
[opencv 0.80.0] === include_paths: f:\opencv\build\include
[opencv 0.80.0] === link_paths: f:\opencv\build\x64\vc16\lib
[opencv 0.80.0] === link_libs: opencv_world470
[opencv 0.80.0] === Successfully probed using: environment
[opencv 0.80.0] === OpenCV library configuration: Library {
[opencv 0.80.0] include_paths: [
[opencv 0.80.0] "f:\opencv\build\include",
[opencv 0.80.0] ],
[opencv 0.80.0] version: Version {
[opencv 0.80.0] major: 4,
[opencv 0.80.0] minor: 7,
[opencv 0.80.0] patch: 0,
[opencv 0.80.0] },
[opencv 0.80.0] cargo_metadata: [
[opencv 0.80.0] "cargo:rustc-link-search=f:\opencv\build\x64\vc16\lib",
[opencv 0.80.0] "cargo:rustc-link-lib=opencv_world470",
[opencv 0.80.0] ],
[opencv 0.80.0] }
[opencv 0.80.0] cargo:rustc-cfg=ocvrs_opencv_branch_4
[opencv 0.80.0] === Detected OpenCV module header dir at: f:\opencv\build\include\opencv2
[opencv 0.80.0] === Found OpenCV version: 4.7.0 in headers located at: f:\opencv\build\include
[opencv 0.80.0] cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME
[opencv 0.80.0] cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
[opencv 0.80.0] cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME
[opencv 0.80.0] cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN
[opencv 0.80.0] cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME
[opencv 0.80.0] cargo:rerun-if-env-changed=OPENCV_LINK_LIBS
[opencv 0.80.0] cargo:rerun-if-env-changed=OPENCV_LINK_PATHS
[opencv 0.80.0] cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS
[opencv 0.80.0] cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES
[opencv 0.80.0] cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH
[opencv 0.80.0] cargo:rerun-if-env-changed=OpenCV_DIR
[opencv 0.80.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.80.0] cargo:rerun-if-env-changed=VCPKG_ROOT
[opencv 0.80.0] cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
[opencv 0.80.0] cargo:rerun-if-env-changed=OCVRS_DOCS_GENERATE_DIR
[opencv 0.80.0] cargo:rerun-if-env-changed=DOCS_RS
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\alphamat.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\aruco.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\bioinspired.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\ccalib.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\core.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\dnn.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\face.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\gapi.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\hdf.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\manual-core.cpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\manual-dnn.cpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\manual-features2d.cpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\ocvrs_common.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\photo.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\sfm.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\videoio.hpp
[opencv 0.80.0] cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\xfeatures2d.hpp
[opencv 0.80.0] cargo:rerun-if-changed=Cargo.toml
[opencv 0.80.0] === Generating code in: D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out
[opencv 0.80.0] === Placing generated bindings into: D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out\opencv
[opencv 0.80.0] === Using OpenCV headers from: f:\opencv\build\include
[opencv 0.80.0] === Clang: clang version 10.0.0
[opencv 0.80.0] === Clang command line args: [
[opencv 0.80.0] "-isystemD:\Program Files\LLVM\lib\clang\10.0.0\include",
[opencv 0.80.0] "-isystemD:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.35.32215\include",
[opencv 0.80.0] "-isystemD:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.35.32215\atlmfc\include",
[opencv 0.80.0] "-isystemC:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt",
[opencv 0.80.0] "-isystemC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared",
[opencv 0.80.0] "-isystemC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um",
[opencv 0.80.0] "-isystemC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt",
[opencv 0.80.0] "-IF:\opencv\build\include",
[opencv 0.80.0] "-FF:\opencv\build\include",
[opencv 0.80.0] "-I.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp",
[opencv 0.80.0] "-F.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp",
[opencv 0.80.0] "-DOCVRS_PARSING_HEADERS",
[opencv 0.80.0] "-includeocvrs_ephemeral.hpp",
[opencv 0.80.0] "-std=c++14",
[opencv 0.80.0] ]
[opencv 0.80.0] === Building binding-generator binary:
[opencv 0.80.0] === Finished release [optimized] target(s) in 0.54s
[opencv 0.80.0] === Running: "D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out\release/binding-generator" "f:\opencv\build\include" ".cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp" "D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out" "core" ""
[opencv 0.80.0] === Running: "D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out\release/binding-generator" "f:\opencv\build\include" ".cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp" "D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out" "imgcodecs" ""
[opencv 0.80.0] === WARNING: 1 diagnostic messages
[opencv 0.80.0] === D:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.35.32215\include\yvals_core.h:807:1: error: static_assert failed "Error in C++ Standard Library usage."
[opencv 0.80.0] thread 'main' panicked at '=== Errors during header parsing', .cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-binding-generator-0.60.0\src\generator.rs:503:17
[opencv 0.80.0] stack backtrace:
[opencv 0.80.0] 0: 0x7ff622316412 - std::backtrace_rs::backtrace::dbghelp::trace
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\dbghelp.rs:98
[opencv 0.80.0] 1: 0x7ff622316412 - std::backtrace_rs::backtrace::trace_unsynchronized
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\mod.rs:66
[opencv 0.80.0] 2: 0x7ff622316412 - std::sys_common::backtrace::_print_fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:65
[opencv 0.80.0] 3: 0x7ff622316412 - std::sys_common::backtrace::_print::impl$0::fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:44
[opencv 0.80.0] 4: 0x7ff622335dcb - core::fmt::write
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\fmt\mod.rs:1254
[opencv 0.80.0] 5: 0x7ff6223119fa - std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\io\mod.rs:1698
[opencv 0.80.0] 6: 0x7ff62231615b - std::sys_common::backtrace::_print
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:47
[opencv 0.80.0] 7: 0x7ff62231615b - std::sys_common::backtrace::print
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:34
[opencv 0.80.0] 8: 0x7ff622318d2a - std::panicking::default_hook::closure$1
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:269
[opencv 0.80.0] 9: 0x7ff622318990 - std::panicking::default_hook
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:288
[opencv 0.80.0] 10: 0x7ff622319406 - std::panicking::rust_panic_with_hook
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:691
[opencv 0.80.0] 11: 0x7ff6223192bb - std::panicking::begin_panic_handler::closure$0
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:580
[opencv 0.80.0] 12: 0x7ff6223170b9 - std::sys_common::backtrace::__rust_end_short_backtracestd::panicking::begin_panic_handler::closure_env$0,never$
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:150
[opencv 0.80.0] 13: 0x7ff622319010 - std::panicking::begin_panic_handler
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:578
[opencv 0.80.0] 14: 0x7ff62235e2a5 - core::panicking::panic_fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\panicking.rs:67
[opencv 0.80.0] 15: 0x7ff6221ec7b0 - opencv_binding_generator::generator::Generator::handle_diags::h287be51b67499f2e
[opencv 0.80.0] 16: 0x7ff62218792d - opencv_binding_generator::generator::Generator::process_opencv_module::h3c6b45b829ec2dee
[opencv 0.80.0] 17: 0x7ff62218b195 - <alloc::string::String as core::fmt::Display>::fmt::h700282cfdc91690d
[opencv 0.80.0] 18: 0x7ff622182db6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6f8fc0577936022e
[opencv 0.80.0] 19: 0x7ff622181b8c - std::rt::lang_start::{{closure}}::h45eb0a5f1c2fd519
[opencv 0.80.0] 20: 0x7ff62230ddbe - core::ops::function::impls::impl$2::call_once
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\ops\function.rs:287
[opencv 0.80.0] 21: 0x7ff62230ddbe - std::panicking::try::do_call
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:485
[opencv 0.80.0] 22: 0x7ff62230ddbe - std::panicking::try
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:449
[opencv 0.80.0] 23: 0x7ff62230ddbe - std::panic::catch_unwind
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panic.rs:140
[opencv 0.80.0] 24: 0x7ff62230ddbe - std::rt::lang_start_internal::closure$2
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\rt.rs:148
[opencv 0.80.0] 25: 0x7ff62230ddbe - std::panicking::try::do_call
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:485
[opencv 0.80.0] 26: 0x7ff62230ddbe - std::panicking::try
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:449
[opencv 0.80.0] 27: 0x7ff62230ddbe - std::panic::catch_unwind
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panic.rs:140
[opencv 0.80.0] 28: 0x7ff62230ddbe - std::rt::lang_start_internal
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\rt.rs:148
[opencv 0.80.0] 29: 0x7ff62218c1cc - main
[opencv 0.80.0] 30: 0x7ff62233c268 - invoke_main
[opencv 0.80.0] at D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
[opencv 0.80.0] 31: 0x7ff62233c268 - __scrt_common_main_seh
[opencv 0.80.0] at D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
[opencv 0.80.0] 32: 0x7ffa53cd7c24 - BaseThreadInitThunk
[opencv 0.80.0] 33: 0x7ffa53f8d721 - RtlUserThreadStart
[opencv 0.80.0] thread '' panicked at 'Failed to run the bindings generator', .cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\build\generator.rs:103:21
[opencv 0.80.0] stack backtrace:
[opencv 0.80.0] === WARNING: 1 diagnostic messages
[opencv 0.80.0] === D:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.35.32215\include\yvals_core.h:807:1: error: static_assert failed "Error in C++ Standard Library usage."
[opencv 0.80.0] thread 'main' panicked at '=== Errors during header parsing', .cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-binding-generator-0.60.0\src\generator.rs:503:17
[opencv 0.80.0] stack backtrace:
[opencv 0.80.0] 0: 0x7ff72282acc2 - std::backtrace_rs::backtrace::dbghelp::trace
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\dbghelp.rs:98
[opencv 0.80.0] 1: 0x7ff72282acc2 - std::backtrace_rs::backtrace::trace_unsynchronized
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\mod.rs:66
[opencv 0.80.0] 2: 0x7ff72282acc2 - std::sys_common::backtrace::_print_fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:65
[opencv 0.80.0] 3: 0x7ff72282acc2 - std::sys_common::backtrace::_print::impl$0::fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:44
[opencv 0.80.0] 4: 0x7ff722848e3b - core::fmt::write
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\fmt\mod.rs:1254
[opencv 0.80.0] 5: 0x7ff72282500a - std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\io\mod.rs:1698
[opencv 0.80.0] 6: 0x7ff72282aa0b - std::sys_common::backtrace::_print
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:47
[opencv 0.80.0] 7: 0x7ff72282aa0b - std::sys_common::backtrace::print
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:34
[opencv 0.80.0] 8: 0x7ff72282d7aa - std::panicking::default_hook::closure$1
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:269
[opencv 0.80.0] 9: 0x7ff72282d410 - std::panicking::default_hook
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:288
[opencv 0.80.0] 10: 0x7ff72282de86 - std::panicking::rust_panic_with_hook
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:691
[opencv 0.80.0] 11: 0x7ff72282dd3b - std::panicking::begin_panic_handler::closure$0
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:580
[opencv 0.80.0] 12: 0x7ff72282b969 - std::sys_common::backtrace::__rust_end_short_backtracestd::panicking::begin_panic_handler::closure_env$0,never$
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:150
[opencv 0.80.0] 13: 0x7ff72282da90 - std::panicking::begin_panic_handler
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:578
[opencv 0.80.0] 14: 0x7ff72285de85 - core::panicking::panic_fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\panicking.rs:67
[opencv 0.80.0] 15: 0x7ff72263d87d - build_script_build::generator::run_binding_generator::{{closure}}::{{closure}}::h771e410a9ea59cf8
[opencv 0.80.0] 16: 0x7ff72264ea09 - std::sys_common::backtrace::rust_begin_short_backtrace::hf1edab8c12d1ee3a
[opencv 0.80.0] 17: 0x7ff722630621 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hc2dd4a637ad645f4
[opencv 0.80.0] 18: 0x7ff722651ad1 - <core::panic::unwind_safe::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once::h5ab23bb80206d10d
[opencv 0.80.0] 19: 0x7ff722658af1 - std::panicking::try::hfdab05e1029ee370
[opencv 0.80.0] 20: 0x7ff72265ca83 - hashbrown::set::HashSet<T,S>::with_hasher::hc137b962a086d3da
[opencv 0.80.0] 21: 0x7ff722658a87 - std::panicking::try::hfdab05e1029ee370
[opencv 0.80.0] 22: 0x7ff7226433b9 - std::panic::catch_unwind::he7b737faee982e28
[opencv 0.80.0] 23: 0x7ff72263043c - std::thread::Builder::spawn_unchecked::{{closure}}::h48ad0e5d4826938b
[opencv 0.80.0] 24: 0x7ff722658d49 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc39dc5033ea1c128
[opencv 0.80.0] 25: 0x7ff72283bafc - alloc::boxed::impl$45::call_once
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\alloc\src\boxed.rs:1973
[opencv 0.80.0] 26: 0x7ff72283bafc - alloc::boxed::impl$45::call_once
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\alloc\src\boxed.rs:1973
[opencv 0.80.0] 27: 0x7ff72283bafc - std::sys::windows::thread::impl$0::new::thread_start
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys\windows\thread.rs:56
[opencv 0.80.0] 28: 0x7ffa53cd7c24 - BaseThreadInitThunk
[opencv 0.80.0] 29: 0x7ffa53f8d721 - RtlUserThreadStart
[opencv 0.80.0] 0: 0x7ff622316412 - std::backtrace_rs::backtrace::dbghelp::trace
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\dbghelp.rs:98
[opencv 0.80.0] 1: 0x7ff622316412 - std::backtrace_rs::backtrace::trace_unsynchronized
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\mod.rs:66
[opencv 0.80.0] 2: 0x7ff622316412 - std::sys_common::backtrace::_print_fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:65
[opencv 0.80.0] 3: 0x7ff622316412 - std::sys_common::backtrace::_print::impl$0::fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:44
[opencv 0.80.0] 4: 0x7ff622335dcb - core::fmt::write
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\fmt\mod.rs:1254
[opencv 0.80.0] 5: 0x7ff6223119fa - std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\io\mod.rs:1698
[opencv 0.80.0] 6: 0x7ff62231615b - std::sys_common::backtrace::_print
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:47
[opencv 0.80.0] 7: 0x7ff62231615b - std::sys_common::backtrace::print
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:34
[opencv 0.80.0] 8: 0x7ff622318d2a - std::panicking::default_hook::closure$1
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:269
[opencv 0.80.0] 9: 0x7ff622318990 - std::panicking::default_hook
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:288
[opencv 0.80.0] 10: 0x7ff622319406 - std::panicking::rust_panic_with_hook
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:691
[opencv 0.80.0] 11: 0x7ff6223192bb - std::panicking::begin_panic_handler::closure$0
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:580
[opencv 0.80.0] 12: 0x7ff6223170b9 - std::sys_common::backtrace::__rust_end_short_backtracestd::panicking::begin_panic_handler::closure_env$0,never$
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:150
[opencv 0.80.0] 13: 0x7ff622319010 - std::panicking::begin_panic_handler
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:578
[opencv 0.80.0] 14: 0x7ff62235e2a5 - core::panicking::panic_fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\panicking.rs:67
[opencv 0.80.0] 15: 0x7ff6221ec7b0 - opencv_binding_generator::generator::Generator::handle_diags::h287be51b67499f2e
[opencv 0.80.0] 16: 0x7ff62218792d - opencv_binding_generator::generator::Generator::process_opencv_module::h3c6b45b829ec2dee
[opencv 0.80.0] 17: 0x7ff62218b195 - <alloc::string::String as core::fmt::Display>::fmt::h700282cfdc91690d
[opencv 0.80.0] 18: 0x7ff622182db6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6f8fc0577936022e
[opencv 0.80.0] 19: 0x7ff622181b8c - std::rt::lang_start::{{closure}}::h45eb0a5f1c2fd519
[opencv 0.80.0] 20: 0x7ff62230ddbe - core::ops::function::impls::impl$2::call_once
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\ops\function.rs:287
[opencv 0.80.0] 21: 0x7ff62230ddbe - std::panicking::try::do_call
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:485
[opencv 0.80.0] 22: 0x7ff62230ddbe - std::panicking::try
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:449
[opencv 0.80.0] 23: 0x7ff62230ddbe - std::panic::catch_unwind
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panic.rs:140
[opencv 0.80.0] 24: 0x7ff62230ddbe - std::rt::lang_start_internal::closure$2
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\rt.rs:148
[opencv 0.80.0] 25: 0x7ff62230ddbe - std::panicking::try::do_call
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:485
[opencv 0.80.0] 26: 0x7ff62230ddbe - std::panicking::try
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:449
[opencv 0.80.0] 27: 0x7ff62230ddbe - std::panic::catch_unwind
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panic.rs:140
[opencv 0.80.0] 28: 0x7ff62230ddbe - std::rt::lang_start_internal
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\rt.rs:148
[opencv 0.80.0] 29: 0x7ff62218c1cc - main
[opencv 0.80.0] 30: 0x7ff62233c268 - invoke_main
[opencv 0.80.0] at D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
[opencv 0.80.0] 31: 0x7ff62233c268 - __scrt_common_main_seh
[opencv 0.80.0] at D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
[opencv 0.80.0] 32: 0x7ffa53cd7c24 - BaseThreadInitThunk
[opencv 0.80.0] 33: 0x7ffa53f8d721 - RtlUserThreadStart
[opencv 0.80.0] thread '' panicked at 'Failed to run the bindings generator', .cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\build\generator.rs:103:21
[opencv 0.80.0] stack backtrace:
[opencv 0.80.0] 0: 0x7ff72282acc2 - std::backtrace_rs::backtrace::dbghelp::trace
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\dbghelp.rs:98
[opencv 0.80.0] 1: 0x7ff72282acc2 - std::backtrace_rs::backtrace::trace_unsynchronized
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\mod.rs:66
[opencv 0.80.0] 2: 0x7ff72282acc2 - std::sys_common::backtrace::_print_fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:65
[opencv 0.80.0] 3: 0x7ff72282acc2 - std::sys_common::backtrace::_print::impl$0::fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:44
[opencv 0.80.0] 4: 0x7ff722848e3b - core::fmt::write
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\fmt\mod.rs:1254
[opencv 0.80.0] 5: 0x7ff72282500a - std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\io\mod.rs:1698
[opencv 0.80.0] 6: 0x7ff72282aa0b - std::sys_common::backtrace::_print
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:47
[opencv 0.80.0] 7: 0x7ff72282aa0b - std::sys_common::backtrace::print
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:34
[opencv 0.80.0] 8: 0x7ff72282d7aa - std::panicking::default_hook::closure$1
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:269
[opencv 0.80.0] 9: 0x7ff72282d410 - std::panicking::default_hook
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:288
[opencv 0.80.0] 10: 0x7ff72282de86 - std::panicking::rust_panic_with_hook
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:691
[opencv 0.80.0] 11: 0x7ff72282dd3b - std::panicking::begin_panic_handler::closure$0
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:580
[opencv 0.80.0] 12: 0x7ff72282b969 - std::sys_common::backtrace::__rust_end_short_backtracestd::panicking::begin_panic_handler::closure_env$0,never$
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:150
[opencv 0.80.0] 13: 0x7ff72282da90 - std::panicking::begin_panic_handler
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:578
[opencv 0.80.0] 14: 0x7ff72285de85 - core::panicking::panic_fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\panicking.rs:67
[opencv 0.80.0] 15: 0x7ff72263d87d - build_script_build::generator::run_binding_generator::{{closure}}::{{closure}}::h771e410a9ea59cf8
[opencv 0.80.0] 16: 0x7ff72264ea09 - std::sys_common::backtrace::rust_begin_short_backtrace::hf1edab8c12d1ee3a
[opencv 0.80.0] 17: 0x7ff722630621 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hc2dd4a637ad645f4
[opencv 0.80.0] 18: 0x7ff722651ad1 - <core::panic::unwind_safe::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once::h5ab23bb80206d10d
[opencv 0.80.0] 19: 0x7ff722658af1 - std::panicking::try::hfdab05e1029ee370
[opencv 0.80.0] 20: 0x7ff72265ca83 - hashbrown::set::HashSet<T,S>::with_hasher::hc137b962a086d3da
[opencv 0.80.0] 21: 0x7ff722658a87 - std::panicking::try::hfdab05e1029ee370
[opencv 0.80.0] 22: 0x7ff7226433b9 - std::panic::catch_unwind::he7b737faee982e28
[opencv 0.80.0] 23: 0x7ff72263043c - std::thread::Builder::spawn_unchecked::{{closure}}::h48ad0e5d4826938b
[opencv 0.80.0] 24: 0x7ff722658d49 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc39dc5033ea1c128
[opencv 0.80.0] 25: 0x7ff72283bafc - alloc::boxed::impl$45::call_once
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\alloc\src\boxed.rs:1973
[opencv 0.80.0] 26: 0x7ff72283bafc - alloc::boxed::impl$45::call_once
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\alloc\src\boxed.rs:1973
[opencv 0.80.0] 27: 0x7ff72283bafc - std::sys::windows::thread::impl$0::new::thread_start
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys\windows\thread.rs:56
[opencv 0.80.0] 28: 0x7ffa53cd7c24 - BaseThreadInitThunk
[opencv 0.80.0] 29: 0x7ffa53f8d721 - RtlUserThreadStart
[opencv 0.80.0] thread 'main' panicked at 'Generator thread panicked: Any { .. }', .cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\build\generator.rs:112:28
[opencv 0.80.0] stack backtrace:
[opencv 0.80.0] 0: 0x7ff72282acc2 - std::backtrace_rs::backtrace::dbghelp::trace
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\dbghelp.rs:98
[opencv 0.80.0] 1: 0x7ff72282acc2 - std::backtrace_rs::backtrace::trace_unsynchronized
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\mod.rs:66
[opencv 0.80.0] 2: 0x7ff72282acc2 - std::sys_common::backtrace::_print_fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:65
[opencv 0.80.0] 3: 0x7ff72282acc2 - std::sys_common::backtrace::_print::impl$0::fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:44
[opencv 0.80.0] 4: 0x7ff722848e3b - core::fmt::write
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\fmt\mod.rs:1254
[opencv 0.80.0] 5: 0x7ff72282500a - std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\io\mod.rs:1698
[opencv 0.80.0] 6: 0x7ff72282aa0b - std::sys_common::backtrace::_print
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:47
[opencv 0.80.0] 7: 0x7ff72282aa0b - std::sys_common::backtrace::print
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:34
[opencv 0.80.0] 8: 0x7ff72282d7aa - std::panicking::default_hook::closure$1
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:269
[opencv 0.80.0] 9: 0x7ff72282d410 - std::panicking::default_hook
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:288
[opencv 0.80.0] 10: 0x7ff72282de86 - std::panicking::rust_panic_with_hook
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:691
[opencv 0.80.0] 11: 0x7ff72282dd7e - std::panicking::begin_panic_handler::closure$0
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:582
[opencv 0.80.0] 12: 0x7ff72282b969 - std::sys_common::backtrace::__rust_end_short_backtracestd::panicking::begin_panic_handler::closure_env$0,never$
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:150
[opencv 0.80.0] 13: 0x7ff72282da90 - std::panicking::begin_panic_handler
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:578
[opencv 0.80.0] 14: 0x7ff72285de85 - core::panicking::panic_fmt
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\panicking.rs:67
[opencv 0.80.0] 15: 0x7ff72285e436 - core::result::unwrap_failed
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\result.rs:1687
[opencv 0.80.0] 16: 0x7ff72262d554 - core::result::Result<T,E>::expect::h69878c1bc0636404
[opencv 0.80.0] 17: 0x7ff72263ce2b - build_script_build::generator::is_type_file::{{closure}}::{{closure}}::hccab42f51b857c2a
[opencv 0.80.0] 18: 0x7ff722642373 - build_script_build::generator::gen_wrapper::ha8781f3dd28f0276
[opencv 0.80.0] 19: 0x7ff72264b4a5 - build_script_build::setup_rerun::{{closure}}::{{closure}}::h3f944a4d6e573bdd
[opencv 0.80.0] 20: 0x7ff7226591b6 - core::ops::function::FnOnce::call_once::h8021d92981146ead
[opencv 0.80.0] 21: 0x7ff72264e9f9 - std::sys_common::backtrace::__rust_begin_short_backtrace::h44855406500db51e
[opencv 0.80.0] 22: 0x7ff72265db0c - std::rt::lang_start::{{closure}}::h7ac36cfbb68d133c
[opencv 0.80.0] 23: 0x7ff72281f9ae - core::ops::function::impls::impl$2::call_once
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\ops\function.rs:287
[opencv 0.80.0] 24: 0x7ff72281f9ae - std::panicking::try::do_call
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:485
[opencv 0.80.0] 25: 0x7ff72281f9ae - std::panicking::try
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:449
[opencv 0.80.0] 26: 0x7ff72281f9ae - std::panic::catch_unwind
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panic.rs:140
[opencv 0.80.0] 27: 0x7ff72281f9ae - std::rt::lang_start_internal::closure$2
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\rt.rs:148
[opencv 0.80.0] 28: 0x7ff72281f9ae - std::panicking::try::do_call
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:485
[opencv 0.80.0] 29: 0x7ff72281f9ae - std::panicking::try
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:449
[opencv 0.80.0] 30: 0x7ff72281f9ae - std::panic::catch_unwind
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panic.rs:140
[opencv 0.80.0] 31: 0x7ff72281f9ae - std::rt::lang_start_internal
[opencv 0.80.0] at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\rt.rs:148
[opencv 0.80.0] 32: 0x7ff72265dae7 - std::rt::lang_start::hc514c7e745325edb
[opencv 0.80.0] 33: 0x7ff72264bab9 - main
[opencv 0.80.0] 34: 0x7ff72284ea3c - invoke_main
[opencv 0.80.0] at D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
[opencv 0.80.0] 35: 0x7ff72284ea3c - __scrt_common_main_seh
[opencv 0.80.0] at D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
[opencv 0.80.0] 36: 0x7ffa53cd7c24 - BaseThreadInitThunk
[opencv 0.80.0] 37: 0x7ffa53f8d721 - RtlUserThreadStart
error: failed to run custom build command for
opencv v0.80.0
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully:
D:\rust-wasm\opencv\target\debug\build\opencv-8e81749950d5f029\build-script-build
(exit code: 101)--- stdout
=== Running: "cargo.exe" "build" "--release" "--package" "opencv-binding-generator" "--bin" "binding-generator"
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=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=OCVRS_DOCS_GENERATE_DIR
cargo:rerun-if-env-changed=DOCS_RS
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\alphamat.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\aruco.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\bioinspired.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\ccalib.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\core.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\dnn.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\face.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\gapi.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\hdf.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\manual-core.cpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\manual-dnn.cpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\manual-features2d.cpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\ocvrs_common.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\photo.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\sfm.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\videoio.hpp
cargo:rerun-if-changed=.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp\xfeatures2d.hpp
cargo:rerun-if-changed=Cargo.toml
--- stderr
=== Using environment job server with the the amount of available jobs: 3
=== Crate version: Some("0.80.0")
=== 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_world470")
=== OPENCV_LINK_PATHS = Some("f:\opencv\build\x64\vc16\lib")
=== OPENCV_INCLUDE_PATHS = Some("f:\opencv\build\include")
=== OPENCV_DISABLE_PROBES = None
=== CMAKE_PREFIX_PATH = None
=== OpenCV_DIR = None
=== PKG_CONFIG_PATH = None
=== VCPKG_ROOT = Some("D:\soft\vcpkg")
=== VCPKGRS_DYNAMIC = Some("0")
=== OCVRS_DOCS_GENERATE_DIR = None
=== DOCS_RS = None
=== PATH = Some("D:\rust-wasm\opencv\target\debug\deps;D:\rust-wasm\opencv\target\debug;.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib;.rustup\toolchains\nightly-x86_64-pc-windows-msvc\bin;D:\java\Corretto-17\jdk17.0.6_10\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\java\Corretto-17\jdk17.0.6_10\bin;%JRE_HOME%\bin;D:\soft\ffmpeg;D:\server\apache-maven-3.8.4\bin;D:\Program Files\Git\cmd;D:\Program Files\LLVM\bin\;D:\soft\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\Hostx64\x64;D:\soft\cmake-3.18.0\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\Calibre2\;D:\soft\mingw64\bin;C:\Program Files\WasmEdge\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Program Files\nodejs\;D:\Program Files\qemu;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;AppData\Local\Programs\Python\Python36\Scripts\;AppData\Local\Programs\Python\Python36\;.cargo\bin;AppData\Local\Programs\Python\Python37\Scripts\;AppData\Local\Programs\Python\Python37\;AppData\Local\Microsoft\WindowsApps;D:\soft\Fiddler;AppData\Local\Microsoft\WindowsApps;d:\soft\IDEA-2021-2-3\bin;D:\Java\Corretto-17\jdk17.0.6_10\bin;D:\soft\mingw64\bin;.dotnet\tools;D:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64;AppData\Roaming\npm;.dotnet\tools")
=== Enabled features:
=== IMGCODECS
=== Detected probe priority based on environment vars: pkg_config: false, cmake: false, vcpkg: true
=== Probing the OpenCV library in the following order: environment, vcpkg_cmake, vcpkg, pkg_config, cmake
=== Configuring OpenCV library from the environment:
=== include_paths: f:\opencv\build\include
=== link_paths: f:\opencv\build\x64\vc16\lib
=== link_libs: opencv_world470
=== Successfully probed using: environment
=== OpenCV library configuration: Library {
include_paths: [
"f:\opencv\build\include",
],
version: Version {
major: 4,
minor: 7,
patch: 0,
},
cargo_metadata: [
"cargo:rustc-link-search=f:\opencv\build\x64\vc16\lib",
"cargo:rustc-link-lib=opencv_world470",
],
}
=== Detected OpenCV module header dir at: f:\opencv\build\include\opencv2
=== Found OpenCV version: 4.7.0 in headers located at: f:\opencv\build\include
=== Generating code in: D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out
=== Placing generated bindings into: D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out\opencv
=== Using OpenCV headers from: f:\opencv\build\include
=== Clang: clang version 10.0.0
=== Clang command line args: [
"-isystemD:\Program Files\LLVM\lib\clang\10.0.0\include",
"-isystemD:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.35.32215\include",
"-isystemD:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.35.32215\atlmfc\include",
"-isystemC:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt",
"-isystemC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared",
"-isystemC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um",
"-isystemC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt",
"-IF:\opencv\build\include",
"-FF:\opencv\build\include",
"-I.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp",
"-F.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp",
"-DOCVRS_PARSING_HEADERS",
"-includeocvrs_ephemeral.hpp",
"-std=c++14",
]
=== Building binding-generator binary:
=== Finished release [optimized] target(s) in 0.54s
=== Running: "D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out\release/binding-generator" "f:\opencv\build\include" ".cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp" "D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out" "core" ""
=== Running: "D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out\release/binding-generator" "f:\opencv\build\include" ".cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\src_cpp" "D:\rust-wasm\opencv\target\debug\build\opencv-689fcd6cd389ea6e\out" "imgcodecs" ""
=== WARNING: 1 diagnostic messages
=== D:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.35.32215\include\yvals_core.h:807:1: error: static_assert failed "Error in C++ Standard Library usage."
thread 'main' panicked at '=== Errors during header parsing', .cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-binding-generator-0.60.0\src\generator.rs:503:17
stack backtrace:
0: 0x7ff622316412 - std::backtrace_rs::backtrace::dbghelp::trace
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\dbghelp.rs:98
1: 0x7ff622316412 - std::backtrace_rs::backtrace::trace_unsynchronized
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src....\backtrace\src\backtrace\mod.rs:66
2: 0x7ff622316412 - std::sys_common::backtrace::_print_fmt
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:65
3: 0x7ff622316412 - std::sys_common::backtrace::_print::impl$0::fmt
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:44
4: 0x7ff622335dcb - core::fmt::write
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\fmt\mod.rs:1254
5: 0x7ff6223119fa - std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\io\mod.rs:1698
6: 0x7ff62231615b - std::sys_common::backtrace::_print
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:47
7: 0x7ff62231615b - std::sys_common::backtrace::print
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:34
8: 0x7ff622318d2a - std::panicking::default_hook::closure$1
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:269
9: 0x7ff622318990 - std::panicking::default_hook
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:288
10: 0x7ff622319406 - std::panicking::rust_panic_with_hook
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:691
11: 0x7ff6223192bb - std::panicking::begin_panic_handler::closure$0
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:580
12: 0x7ff6223170b9 - std::sys_common::backtrace::__rust_end_short_backtracestd::panicking::begin_panic_handler::closure_env$0,never$
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\sys_common\backtrace.rs:150
13: 0x7ff622319010 - std::panicking::begin_panic_handler
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:578
14: 0x7ff62235e2a5 - core::panicking::panic_fmt
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\panicking.rs:67
15: 0x7ff6221ec7b0 - opencv_binding_generator::generator::Generator::handle_diags::h287be51b67499f2e
16: 0x7ff62218792d - opencv_binding_generator::generator::Generator::process_opencv_module::h3c6b45b829ec2dee
17: 0x7ff62218b195 - <alloc::string::String as core::fmt::Display>::fmt::h700282cfdc91690d
18: 0x7ff622182db6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6f8fc0577936022e
19: 0x7ff622181b8c - std::rt::lang_start::{{closure}}::h45eb0a5f1c2fd519
20: 0x7ff62230ddbe - core::ops::function::impls::impl$2::call_once
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\core\src\ops\function.rs:287
21: 0x7ff62230ddbe - std::panicking::try::do_call
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:485
22: 0x7ff62230ddbe - std::panicking::try
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:449
23: 0x7ff62230ddbe - std::panic::catch_unwind
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panic.rs:140
24: 0x7ff62230ddbe - std::rt::lang_start_internal::closure$2
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\rt.rs:148
25: 0x7ff62230ddbe - std::panicking::try::do_call
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:485
26: 0x7ff62230ddbe - std::panicking::try
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panicking.rs:449
27: 0x7ff62230ddbe - std::panic::catch_unwind
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\panic.rs:140
28: 0x7ff62230ddbe - std::rt::lang_start_internal
at /rustc/d0f204e4d750b62f9d6c2593405e828757126832/library\std\src\rt.rs:148
29: 0x7ff62218c1cc - main
30: 0x7ff62233c268 - invoke_main
at D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
31: 0x7ff62233c268 - __scrt_common_main_seh
at D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
32: 0x7ffa53cd7c24 - BaseThreadInitThunk
33: 0x7ffa53f8d721 - RtlUserThreadStart
thread '' panicked at 'Failed to run the bindings generator', .cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\opencv-0.80.0\build\generator.rs:103:21
stack backtrace:
=== WARNING: 1 diagnostic messages
=== D:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.35.32215\include\yvals_core.h:807:1: error: static_assert failed "Error in C++ Standard Library usage."
The text was updated successfully, but these errors were encountered: