twistedfall / opencv-rust

Rust bindings for OpenCV 3 & 4
MIT License
2k stars 162 forks source link

Unable to compile against OpenCV 4.5.2 #224

Closed asusha94 closed 3 years ago

asusha94 commented 3 years ago
  1. Operating system: ArchLinux 5.11.11-zen1-1-zen
  2. The way you installed OpenCV: official package
  3. OpenCV version: 4.5.2
  4. rustc version: rustc 1.51.0 (2fd73fabe 2021-03-23)
  5. Attach the full output of the following command from your project directory:
    Compile Log
Running "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-43d7fb26869e416e/build-script-build"
       Fresh telegram-bot v0.8.0
[opencv 0.51.0] === Crate version: Some("0.51.0")
[opencv 0.51.0] === Environment configuration:
[opencv 0.51.0] ===   OPENCV_HEADER_DIR = None
[opencv 0.51.0] ===   OPENCV_PACKAGE_NAME = None
[opencv 0.51.0] ===   OPENCV_PKGCONFIG_NAME = None
[opencv 0.51.0] ===   OPENCV_CMAKE_NAME = None
[opencv 0.51.0] ===   OPENCV_CMAKE_BIN = None
[opencv 0.51.0] ===   OPENCV_VCPKG_NAME = None
[opencv 0.51.0] ===   OPENCV_LINK_LIBS = None
[opencv 0.51.0] ===   OPENCV_LINK_PATHS = None
[opencv 0.51.0] ===   OPENCV_INCLUDE_PATHS = None
[opencv 0.51.0] ===   OPENCV_DISABLE_PROBES = None
[opencv 0.51.0] ===   OPENCV_CLANG_STDLIB_PATH = None
[opencv 0.51.0] ===   OPENCV_MODULE_WHITELIST = None
[opencv 0.51.0] ===   OPENCV_MODULE_BLACKLIST = None
[opencv 0.51.0] ===   CMAKE_PREFIX_PATH = None
[opencv 0.51.0] ===   OpenCV_DIR = None
[opencv 0.51.0] ===   PKG_CONFIG_PATH = None
[opencv 0.51.0] ===   VCPKG_ROOT = None
[opencv 0.51.0] ===   VCPKGRS_DYNAMIC = None
[opencv 0.51.0] === Enabled features:
[opencv 0.51.0] ===   BINDING_GENERATOR
[opencv 0.51.0] ===   BUILDTIME_BINDGEN
[opencv 0.51.0] ===   CLANG
[opencv 0.51.0] ===   DEFAULT
[opencv 0.51.0] ===   JOBSERVER
[opencv 0.51.0] ===   OPENCV_4
[opencv 0.51.0] === Detected probe priority based on environment vars: pkg_config: false, cmake: false, vcpkg: false
[opencv 0.51.0] === Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg
[opencv 0.51.0] === Can't probe using: environment, continuing with other methods because: Some environment variables are missing
[opencv 0.51.0] === Probing OpenCV library using pkg_config
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.51.0] cargo:rerun-if-env-changed=SYSROOT
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
[opencv 0.51.0] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.51.0] === OpenCV library configuration: Library {
[opencv 0.51.0]     include_paths: [
[opencv 0.51.0]         "/usr/include/opencv4",
[opencv 0.51.0]     ],
[opencv 0.51.0]     version: "4.5.2",
[opencv 0.51.0]     cargo_metadata: [
[opencv 0.51.0]         "cargo:rustc-link-search=/usr/lib",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_gapi",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_stitching",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_alphamat",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_aruco",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_bgsegm",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_bioinspired",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_ccalib",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_cvv",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_dnn_objdetect",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_dnn_superres",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_dpm",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_face",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_freetype",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_fuzzy",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_hdf",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_hfs",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_img_hash",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_intensity_transform",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_line_descriptor",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_mcc",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_quality",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_rapid",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_reg",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_rgbd",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_saliency",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_stereo",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_structured_light",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_phase_unwrapping",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_superres",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_optflow",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_surface_matching",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_tracking",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_highgui",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_datasets",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_text",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_plot",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_videostab",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_videoio",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_viz",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_wechat_qrcode",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_xfeatures2d",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_shape",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_ml",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_ximgproc",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_video",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_dnn",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_xobjdetect",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_objdetect",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_calib3d",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_imgcodecs",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_features2d",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_flann",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_xphoto",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_photo",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_imgproc",
[opencv 0.51.0]         "cargo:rustc-link-lib=opencv_core",
[opencv 0.51.0]     ],
[opencv 0.51.0] }
[opencv 0.51.0] === Found OpenCV library version: 4.5.2 in headers located at: /usr/include/opencv4
[opencv 0.51.0] === Using OpenCV headers from: /usr/include/opencv4/opencv2
[opencv 0.51.0] === Generating code in: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out
[opencv 0.51.0] === Placing generated bindings into: /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/bindings/rust/opencv_4
[opencv 0.51.0] === Clang: clang version 11.1.0
[opencv 0.51.0] === Clang command line args: [
[opencv 0.51.0]     "-isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0",
[opencv 0.51.0]     "-isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/x86_64-pc-linux-gnu",
[opencv 0.51.0]     "-isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/backward",
[opencv 0.51.0]     "-isystem/usr/local/include",
[opencv 0.51.0]     "-isystem/usr/lib/clang/11.1.0/include",
[opencv 0.51.0]     "-isystem/usr/include",
[opencv 0.51.0]     "-I/usr/include/opencv4",
[opencv 0.51.0]     "-I/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp",
[opencv 0.51.0]     "-DOCVRS_PARSING_HEADERS",
[opencv 0.51.0]     "-includeocvrs_ephemeral.hpp",
[opencv 0.51.0]     "-std=c++14",
[opencv 0.51.0] ]
[opencv 0.51.0] === Generated: alphamat
[opencv 0.51.0] === Generated: dpm
[opencv 0.51.0] === Generated: cvv
[opencv 0.51.0] === Generated: dnn_superres
[opencv 0.51.0] === Generated: bioinspired
[opencv 0.51.0] === Generated: bgsegm
[opencv 0.51.0] === Generated: aruco
[opencv 0.51.0] === Generated: ccalib
[opencv 0.51.0] === Generated: freetype
[opencv 0.51.0] === Generated: face
[opencv 0.51.0] === Generated: fuzzy
[opencv 0.51.0] === Generated: hfs
[opencv 0.51.0] === Generated: flann
[opencv 0.51.0] === Generated: hdf
[opencv 0.51.0] === Generated: imgcodecs
[opencv 0.51.0] === Generated: img_hash
[opencv 0.51.0] === Generated: intensity_transform
[opencv 0.51.0] === Generated: highgui
[opencv 0.51.0] === Generated: calib3d
[opencv 0.51.0] === Generated: features2d
[opencv 0.51.0] === Generated: line_descriptor
[opencv 0.51.0] === Generated: mcc
[opencv 0.51.0] === Generated: phase_unwrapping
[opencv 0.51.0] === Generated: dnn
[opencv 0.51.0] === Generated: plot
[opencv 0.51.0] === Generated: quality
[opencv 0.51.0] === Generated: photo
[opencv 0.51.0] === Generated: optflow
[opencv 0.51.0] === Generated: ml
[opencv 0.51.0] === Generated: rapid
[opencv 0.51.0] === Generated: objdetect
[opencv 0.51.0] === Generated: stereo
[opencv 0.51.0] === Generated: shape
[opencv 0.51.0] === Generated: saliency
[opencv 0.51.0] === Generated: imgproc
[opencv 0.51.0] === Generated: structured_light
[opencv 0.51.0] === Generated: superres
[opencv 0.51.0] === Generated: tracking
[opencv 0.51.0] === Generated: surface_matching
[opencv 0.51.0] === Generated: videoio
[opencv 0.51.0] === Generated: video
[opencv 0.51.0] === Generated: wechat_qrcode
[opencv 0.51.0] === Generated: text
[opencv 0.51.0] === Generated: xobjdetect
[opencv 0.51.0] === Generated: rgbd
[opencv 0.51.0] === Generated: viz
[opencv 0.51.0] === Generated: xphoto
[opencv 0.51.0] === Generated: xfeatures2d
[opencv 0.51.0] === Generated: videostab
[opencv 0.51.0] === Generated: ximgproc
[opencv 0.51.0] === Generated: stitching
[opencv 0.51.0] === Generated: core
[opencv 0.51.0] === Total binding generation time: 21.031921691s
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_HEADER_DIR
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_LINK_LIBS
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_LINK_PATHS
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_CLANG_STDLIB_PATH
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_MODULE_WHITELIST
[opencv 0.51.0] cargo:rerun-if-env-changed=OPENCV_MODULE_BLACKLIST
[opencv 0.51.0] cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH
[opencv 0.51.0] cargo:rerun-if-env-changed=OpenCV_DIR
[opencv 0.51.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.51.0] cargo:rerun-if-env-changed=VCPKG_ROOT
[opencv 0.51.0] cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/alphamat.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/dnn.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/ocvrs_common.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/xfeatures2d.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/gapi.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/ccalib.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-core.cpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/face.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/aruco.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/videoio.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/core.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/hdf.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-dnn.cpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/bioinspired.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-features2d.cpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/sfm.hpp
[opencv 0.51.0] cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/photo.hpp
[opencv 0.51.0] TARGET = Some("x86_64-unknown-linux-gnu")
[opencv 0.51.0] OPT_LEVEL = Some("0")
[opencv 0.51.0] HOST = Some("x86_64-unknown-linux-gnu")
[opencv 0.51.0] CXX_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXX_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXX = None
[opencv 0.51.0] CXX = Some("clang++")
[opencv 0.51.0] CXXFLAGS_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXXFLAGS_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXXFLAGS = None
[opencv 0.51.0] CXXFLAGS = None
[opencv 0.51.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.51.0] DEBUG = Some("true")
[opencv 0.51.0] CXX_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXX_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXX = None
[opencv 0.51.0] CXX = Some("clang++")
[opencv 0.51.0] CXXFLAGS_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXXFLAGS_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXXFLAGS = None
[opencv 0.51.0] CXXFLAGS = None
[opencv 0.51.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.51.0] CXX_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXX_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXX = None
[opencv 0.51.0] CXX = Some("clang++")
[opencv 0.51.0] CXXFLAGS_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXXFLAGS_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXXFLAGS = None
[opencv 0.51.0] CXXFLAGS = None
[opencv 0.51.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.51.0] CXX_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXX_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXX = None
[opencv 0.51.0] CXX = Some("clang++")
[opencv 0.51.0] CXXFLAGS_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXXFLAGS_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXXFLAGS = None
[opencv 0.51.0] CXXFLAGS = None
[opencv 0.51.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.51.0] CXX_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXX_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXX = None
[opencv 0.51.0] CXX = Some("clang++")
[opencv 0.51.0] CXXFLAGS_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXXFLAGS_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXXFLAGS = None
[opencv 0.51.0] CXXFLAGS = None
[opencv 0.51.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.51.0] CXX_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXX_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXX = None
[opencv 0.51.0] CXX = Some("clang++")
[opencv 0.51.0] CXXFLAGS_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXXFLAGS_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXXFLAGS = None
[opencv 0.51.0] CXXFLAGS = None
[opencv 0.51.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.51.0] CXX_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXX_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXX = None
[opencv 0.51.0] CXX = Some("clang++")
[opencv 0.51.0] CXXFLAGS_x86_64-unknown-linux-gnu = None
[opencv 0.51.0] CXXFLAGS_x86_64_unknown_linux_gnu = None
[opencv 0.51.0] HOST_CXXFLAGS = None
[opencv 0.51.0] CXXFLAGS = None
[opencv 0.51.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/features2d.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/features2d.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/ml.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/ml.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/calib3d.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/calib3d.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/imgcodecs.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/imgcodecs.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/manual-dnn.o" "-c" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-dnn.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/core.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/core.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/imgproc.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/imgproc.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/highgui.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/highgui.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/manual-features2d.o" "-c" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-features2d.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/manual-core.o" "-c" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-core.cpp"
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/flann.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/flann.cpp"
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/objdetect.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/objdetect.cpp"
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/photo.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/photo.cpp"
[opencv 0.51.0] cargo:warning=In file included from /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1:
[opencv 0.51.0] cargo:warning=In file included from /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/dnn.hpp:7:
[opencv 0.51.0] cargo:warning=/usr/include/opencv4/opencv2/dnn/shape_utils.hpp:248:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
[opencv 0.51.0] cargo:warning=    for (size_t i = startPos; i < endPos; i++)
[opencv 0.51.0] cargo:warning=                              ~ ^ ~~~~~~
[opencv 0.51.0] cargo:warning=In file included from /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-dnn.cpp:1:
[opencv 0.51.0] cargo:warning=In file included from /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/dnn.hpp:7:
[opencv 0.51.0] cargo:warning=/usr/include/opencv4/opencv2/dnn/shape_utils.hpp:248:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
[opencv 0.51.0] cargo:warning=    for (size_t i = startPos; i < endPos; i++)
[opencv 0.51.0] cargo:warning=                              ~ ^ ~~~~~~
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/stitching.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/stitching.cpp"
[opencv 0.51.0] cargo:warning=1 warning generated.
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/video.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/video.cpp"
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:31: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
[opencv 0.51.0] cargo:warning=                        cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
[opencv 0.51.0] cargo:warning=                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:32: note: add a pair of parentheses to declare a variable
[opencv 0.51.0] cargo:warning=                        cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
[opencv 0.51.0] cargo:warning=                                                    ^
[opencv 0.51.0] cargo:warning=                                                    (                 )
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1215:11: error: no matching function for call to 'Ok'
[opencv 0.51.0] cargo:warning=                        return Ok<cv::dnn::KeypointsModel>(ret);
[opencv 0.51.0] cargo:warning=                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[opencv 0.51.0] cargo:warning=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/ocvrs_common.hpp:47:39: note: candidate function template not viable: no known conversion from 'cv::dnn::KeypointsModel (std::string, std::string)' (aka 'cv::dnn::dnn4_v20210301::KeypointsModel (basic_string<char>, basic_string<char>)') to 'cv::dnn::dnn4_v20210301::KeypointsModel' for 1st argument
[opencv 0.51.0] cargo:warning=template<typename T> inline Result<T> Ok(T result) {
[opencv 0.51.0] cargo:warning=                                      ^
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1212:111: warning: unused parameter 'model' [-Wunused-parameter]
[opencv 0.51.0] cargo:warning=        Result<cv::dnn::KeypointsModel> cv_dnn_KeypointsModel_KeypointsModel_const_StringR_const_StringR(const char* model, const char* config) {
[opencv 0.51.0] cargo:warning=                                                                                                                     ^
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1212:130: warning: unused parameter 'config' [-Wunused-parameter]
[opencv 0.51.0] cargo:warning=        Result<cv::dnn::KeypointsModel> cv_dnn_KeypointsModel_KeypointsModel_const_StringR_const_StringR(const char* model, const char* config) {
[opencv 0.51.0] cargo:warning=                                                                                                                                        ^
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/videoio.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/videoio.cpp"
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2811:34: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
[opencv 0.51.0] cargo:warning=                        cv::dnn::SegmentationModel ret(std::string(model), std::string(config));
[opencv 0.51.0] cargo:warning=                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2811:35: note: add a pair of parentheses to declare a variable
[opencv 0.51.0] cargo:warning=                        cv::dnn::SegmentationModel ret(std::string(model), std::string(config));
[opencv 0.51.0] cargo:warning=                                                       ^
[opencv 0.51.0] cargo:warning=                                                       (                 )
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2811:31: error: functions that differ only in their return type cannot be overloaded
[opencv 0.51.0] cargo:warning=                        cv::dnn::SegmentationModel ret(std::string(model), std::string(config));
[opencv 0.51.0] cargo:warning=                        ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:28: note: previous declaration is here
[opencv 0.51.0] cargo:warning=                        cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
[opencv 0.51.0] cargo:warning=                        ~~~~~~~~~~~~~~~~~~~~~~~ ^
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2809:120: warning: unused parameter 'model' [-Wunused-parameter]
[opencv 0.51.0] cargo:warning=        Result<cv::dnn::SegmentationModel> cv_dnn_SegmentationModel_SegmentationModel_const_StringR_const_StringR(const char* model, const char* config) {
[opencv 0.51.0] cargo:warning=                                                                                                                              ^
[opencv 0.51.0] cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2809:139: warning: unused parameter 'config' [-Wunused-parameter]
[opencv 0.51.0] cargo:warning=        Result<cv::dnn::SegmentationModel> cv_dnn_SegmentationModel_SegmentationModel_const_StringR_const_StringR(const char* model, const char* config) {
[opencv 0.51.0] cargo:warning=                                                                                                                                                 ^
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/viz.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/viz.cpp"
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] cargo:warning=7 warnings and 2 errors generated.
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] exit code: 1
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] exit code: 0
[opencv 0.51.0] 
[opencv 0.51.0] 
[opencv 0.51.0] error occurred: Command "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp" with args "clang++" did not execute successfully (status code exit code: 1).
[opencv 0.51.0] 
[opencv 0.51.0] 
The following warnings were emitted during compilation:

warning: In file included from /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1:
warning: In file included from /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/dnn.hpp:7:
warning: /usr/include/opencv4/opencv2/dnn/shape_utils.hpp:248:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
warning:     for (size_t i = startPos; i < endPos; i++)
warning:                               ~ ^ ~~~~~~
warning: In file included from /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-dnn.cpp:1:
warning: In file included from /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/dnn.hpp:7:
warning: /usr/include/opencv4/opencv2/dnn/shape_utils.hpp:248:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
warning:     for (size_t i = startPos; i < endPos; i++)
warning:                               ~ ^ ~~~~~~
warning: 1 warning generated.
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:31: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
warning:                         cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
warning:                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:32: note: add a pair of parentheses to declare a variable
warning:                         cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
warning:                                                     ^
warning:                                                     (                 )
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1215:11: error: no matching function for call to 'Ok'
warning:                         return Ok<cv::dnn::KeypointsModel>(ret);
warning:                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/ocvrs_common.hpp:47:39: note: candidate function template not viable: no known conversion from 'cv::dnn::KeypointsModel (std::string, std::string)' (aka 'cv::dnn::dnn4_v20210301::KeypointsModel (basic_string<char>, basic_string<char>)') to 'cv::dnn::dnn4_v20210301::KeypointsModel' for 1st argument
warning: template<typename T> inline Result<T> Ok(T result) {
warning:                                       ^
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1212:111: warning: unused parameter 'model' [-Wunused-parameter]
warning:         Result<cv::dnn::KeypointsModel> cv_dnn_KeypointsModel_KeypointsModel_const_StringR_const_StringR(const char* model, const char* config) {
warning:                                                                                                                      ^
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1212:130: warning: unused parameter 'config' [-Wunused-parameter]
warning:         Result<cv::dnn::KeypointsModel> cv_dnn_KeypointsModel_KeypointsModel_const_StringR_const_StringR(const char* model, const char* config) {
warning:                                                                                                                                         ^
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2811:34: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
warning:                         cv::dnn::SegmentationModel ret(std::string(model), std::string(config));
warning:                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2811:35: note: add a pair of parentheses to declare a variable
warning:                         cv::dnn::SegmentationModel ret(std::string(model), std::string(config));
warning:                                                        ^
warning:                                                        (                 )
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2811:31: error: functions that differ only in their return type cannot be overloaded
warning:                         cv::dnn::SegmentationModel ret(std::string(model), std::string(config));
warning:                         ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:28: note: previous declaration is here
warning:                         cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
warning:                         ~~~~~~~~~~~~~~~~~~~~~~~ ^
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2809:120: warning: unused parameter 'model' [-Wunused-parameter]
warning:         Result<cv::dnn::SegmentationModel> cv_dnn_SegmentationModel_SegmentationModel_const_StringR_const_StringR(const char* model, const char* config) {
warning:                                                                                                                               ^
warning: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2809:139: warning: unused parameter 'config' [-Wunused-parameter]
warning:         Result<cv::dnn::SegmentationModel> cv_dnn_SegmentationModel_SegmentationModel_const_StringR_const_StringR(const char* model, const char* config) {
warning:                                                                                                                                                  ^
warning: 7 warnings and 2 errors generated.

error: failed to run custom build command for `opencv v0.51.0`

Caused by:
  process didn't exit successfully: `/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-43d7fb26869e416e/build-script-build` (exit code: 1)
  --- stdout
  cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=OPENCV4_STATIC
  cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=SYSROOT
  cargo:rerun-if-env-changed=OPENCV4_STATIC
  cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=OPENCV4_STATIC
  cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  === Clang: clang version 11.1.0
  cargo:rerun-if-env-changed=OPENCV_HEADER_DIR
  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_CLANG_STDLIB_PATH
  cargo:rerun-if-env-changed=OPENCV_MODULE_WHITELIST
  cargo:rerun-if-env-changed=OPENCV_MODULE_BLACKLIST
  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-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/alphamat.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/dnn.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/ocvrs_common.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/xfeatures2d.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/gapi.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/ccalib.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-core.cpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/face.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/aruco.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/videoio.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/core.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/hdf.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-dnn.cpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/bioinspired.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-features2d.cpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/sfm.hpp
  cargo:rerun-if-changed=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/photo.hpp
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("0")
  HOST = Some("x86_64-unknown-linux-gnu")
  CXX_x86_64-unknown-linux-gnu = None
  CXX_x86_64_unknown_linux_gnu = None
  HOST_CXX = None
  CXX = Some("clang++")
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("true")
  CXX_x86_64-unknown-linux-gnu = None
  CXX_x86_64_unknown_linux_gnu = None
  HOST_CXX = None
  CXX = Some("clang++")
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CXX_x86_64-unknown-linux-gnu = None
  CXX_x86_64_unknown_linux_gnu = None
  HOST_CXX = None
  CXX = Some("clang++")
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CXX_x86_64-unknown-linux-gnu = None
  CXX_x86_64_unknown_linux_gnu = None
  HOST_CXX = None
  CXX = Some("clang++")
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CXX_x86_64-unknown-linux-gnu = None
  CXX_x86_64_unknown_linux_gnu = None
  HOST_CXX = None
  CXX = Some("clang++")
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CXX_x86_64-unknown-linux-gnu = None
  CXX_x86_64_unknown_linux_gnu = None
  HOST_CXX = None
  CXX = Some("clang++")
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CXX_x86_64-unknown-linux-gnu = None
  CXX_x86_64_unknown_linux_gnu = None
  HOST_CXX = None
  CXX = Some("clang++")
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/features2d.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/features2d.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/ml.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/ml.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/calib3d.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/calib3d.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/imgcodecs.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/imgcodecs.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/manual-dnn.o" "-c" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-dnn.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/core.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/core.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/imgproc.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/imgproc.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/highgui.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/highgui.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/manual-features2d.o" "-c" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-features2d.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/manual-core.o" "-c" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-core.cpp"
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/flann.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/flann.cpp"
  exit code: 0
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/objdetect.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/objdetect.cpp"
  exit code: 0
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/photo.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/photo.cpp"
  cargo:warning=In file included from /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1:
  cargo:warning=In file included from /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/dnn.hpp:7:
  cargo:warning=/usr/include/opencv4/opencv2/dnn/shape_utils.hpp:248:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  cargo:warning=    for (size_t i = startPos; i < endPos; i++)
  cargo:warning=                              ~ ^ ~~~~~~
  cargo:warning=In file included from /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/manual-dnn.cpp:1:
  cargo:warning=In file included from /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/dnn.hpp:7:
  cargo:warning=/usr/include/opencv4/opencv2/dnn/shape_utils.hpp:248:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  cargo:warning=    for (size_t i = startPos; i < endPos; i++)
  cargo:warning=                              ~ ^ ~~~~~~
  exit code: 0
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/stitching.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/stitching.cpp"
  cargo:warning=1 warning generated.
  exit code: 0
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/video.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/video.cpp"
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:31: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
  cargo:warning=                        cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
  cargo:warning=                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:32: note: add a pair of parentheses to declare a variable
  cargo:warning=                        cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
  cargo:warning=                                                    ^
  cargo:warning=                                                    (                 )
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1215:11: error: no matching function for call to 'Ok'
  cargo:warning=                        return Ok<cv::dnn::KeypointsModel>(ret);
  cargo:warning=                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/ocvrs_common.hpp:47:39: note: candidate function template not viable: no known conversion from 'cv::dnn::KeypointsModel (std::string, std::string)' (aka 'cv::dnn::dnn4_v20210301::KeypointsModel (basic_string<char>, basic_string<char>)') to 'cv::dnn::dnn4_v20210301::KeypointsModel' for 1st argument
  cargo:warning=template<typename T> inline Result<T> Ok(T result) {
  cargo:warning=                                      ^
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1212:111: warning: unused parameter 'model' [-Wunused-parameter]
  cargo:warning=        Result<cv::dnn::KeypointsModel> cv_dnn_KeypointsModel_KeypointsModel_const_StringR_const_StringR(const char* model, const char* config) {
  cargo:warning=                                                                                                                     ^
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1212:130: warning: unused parameter 'config' [-Wunused-parameter]
  cargo:warning=        Result<cv::dnn::KeypointsModel> cv_dnn_KeypointsModel_KeypointsModel_const_StringR_const_StringR(const char* model, const char* config) {
  cargo:warning=                                                                                                                                        ^
  exit code: 0
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/videoio.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/videoio.cpp"
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2811:34: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
  cargo:warning=                        cv::dnn::SegmentationModel ret(std::string(model), std::string(config));
  cargo:warning=                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2811:35: note: add a pair of parentheses to declare a variable
  cargo:warning=                        cv::dnn::SegmentationModel ret(std::string(model), std::string(config));
  cargo:warning=                                                       ^
  cargo:warning=                                                       (                 )
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2811:31: error: functions that differ only in their return type cannot be overloaded
  cargo:warning=                        cv::dnn::SegmentationModel ret(std::string(model), std::string(config));
  cargo:warning=                        ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:28: note: previous declaration is here
  cargo:warning=                        cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
  cargo:warning=                        ~~~~~~~~~~~~~~~~~~~~~~~ ^
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2809:120: warning: unused parameter 'model' [-Wunused-parameter]
  cargo:warning=        Result<cv::dnn::SegmentationModel> cv_dnn_SegmentationModel_SegmentationModel_const_StringR_const_StringR(const char* model, const char* config) {
  cargo:warning=                                                                                                                              ^
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:2809:139: warning: unused parameter 'config' [-Wunused-parameter]
  cargo:warning=        Result<cv::dnn::SegmentationModel> cv_dnn_SegmentationModel_SegmentationModel_const_StringR_const_StringR(const char* model, const char* config) {
  cargo:warning=                                                                                                                                                 ^
  exit code: 0
  running: "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/viz.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/viz.cpp"
  exit code: 0
  exit code: 0
  exit code: 0
  cargo:warning=7 warnings and 2 errors generated.
  exit code: 0
  exit code: 1
  exit code: 0
  exit code: 0
  exit code: 0
  exit code: 0
  exit code: 0
  exit code: 0
  exit code: 0

  --- stderr
  === Crate version: Some("0.51.0")
  === Environment configuration:
  ===   OPENCV_HEADER_DIR = None
  ===   OPENCV_PACKAGE_NAME = None
  ===   OPENCV_PKGCONFIG_NAME = None
  ===   OPENCV_CMAKE_NAME = None
  ===   OPENCV_CMAKE_BIN = None
  ===   OPENCV_VCPKG_NAME = None
  ===   OPENCV_LINK_LIBS = None
  ===   OPENCV_LINK_PATHS = None
  ===   OPENCV_INCLUDE_PATHS = None
  ===   OPENCV_DISABLE_PROBES = None
  ===   OPENCV_CLANG_STDLIB_PATH = None
  ===   OPENCV_MODULE_WHITELIST = None
  ===   OPENCV_MODULE_BLACKLIST = None
  ===   CMAKE_PREFIX_PATH = None
  ===   OpenCV_DIR = None
  ===   PKG_CONFIG_PATH = None
  ===   VCPKG_ROOT = None
  ===   VCPKGRS_DYNAMIC = None
  === Enabled features:
  ===   BINDING_GENERATOR
  ===   BUILDTIME_BINDGEN
  ===   CLANG
  ===   DEFAULT
  ===   JOBSERVER
  ===   OPENCV_4
  === 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
  === Can't probe using: environment, continuing with other methods because: Some environment variables are missing
  === Probing OpenCV library using pkg_config
  === OpenCV library configuration: Library {
      include_paths: [
          "/usr/include/opencv4",
      ],
      version: "4.5.2",
      cargo_metadata: [
          "cargo:rustc-link-search=/usr/lib",
          "cargo:rustc-link-lib=opencv_gapi",
          "cargo:rustc-link-lib=opencv_stitching",
          "cargo:rustc-link-lib=opencv_alphamat",
          "cargo:rustc-link-lib=opencv_aruco",
          "cargo:rustc-link-lib=opencv_bgsegm",
          "cargo:rustc-link-lib=opencv_bioinspired",
          "cargo:rustc-link-lib=opencv_ccalib",
          "cargo:rustc-link-lib=opencv_cvv",
          "cargo:rustc-link-lib=opencv_dnn_objdetect",
          "cargo:rustc-link-lib=opencv_dnn_superres",
          "cargo:rustc-link-lib=opencv_dpm",
          "cargo:rustc-link-lib=opencv_face",
          "cargo:rustc-link-lib=opencv_freetype",
          "cargo:rustc-link-lib=opencv_fuzzy",
          "cargo:rustc-link-lib=opencv_hdf",
          "cargo:rustc-link-lib=opencv_hfs",
          "cargo:rustc-link-lib=opencv_img_hash",
          "cargo:rustc-link-lib=opencv_intensity_transform",
          "cargo:rustc-link-lib=opencv_line_descriptor",
          "cargo:rustc-link-lib=opencv_mcc",
          "cargo:rustc-link-lib=opencv_quality",
          "cargo:rustc-link-lib=opencv_rapid",
          "cargo:rustc-link-lib=opencv_reg",
          "cargo:rustc-link-lib=opencv_rgbd",
          "cargo:rustc-link-lib=opencv_saliency",
          "cargo:rustc-link-lib=opencv_stereo",
          "cargo:rustc-link-lib=opencv_structured_light",
          "cargo:rustc-link-lib=opencv_phase_unwrapping",
          "cargo:rustc-link-lib=opencv_superres",
          "cargo:rustc-link-lib=opencv_optflow",
          "cargo:rustc-link-lib=opencv_surface_matching",
          "cargo:rustc-link-lib=opencv_tracking",
          "cargo:rustc-link-lib=opencv_highgui",
          "cargo:rustc-link-lib=opencv_datasets",
          "cargo:rustc-link-lib=opencv_text",
          "cargo:rustc-link-lib=opencv_plot",
          "cargo:rustc-link-lib=opencv_videostab",
          "cargo:rustc-link-lib=opencv_videoio",
          "cargo:rustc-link-lib=opencv_viz",
          "cargo:rustc-link-lib=opencv_wechat_qrcode",
          "cargo:rustc-link-lib=opencv_xfeatures2d",
          "cargo:rustc-link-lib=opencv_shape",
          "cargo:rustc-link-lib=opencv_ml",
          "cargo:rustc-link-lib=opencv_ximgproc",
          "cargo:rustc-link-lib=opencv_video",
          "cargo:rustc-link-lib=opencv_dnn",
          "cargo:rustc-link-lib=opencv_xobjdetect",
          "cargo:rustc-link-lib=opencv_objdetect",
          "cargo:rustc-link-lib=opencv_calib3d",
          "cargo:rustc-link-lib=opencv_imgcodecs",
          "cargo:rustc-link-lib=opencv_features2d",
          "cargo:rustc-link-lib=opencv_flann",
          "cargo:rustc-link-lib=opencv_xphoto",
          "cargo:rustc-link-lib=opencv_photo",
          "cargo:rustc-link-lib=opencv_imgproc",
          "cargo:rustc-link-lib=opencv_core",
      ],
  }
  === Found OpenCV library version: 4.5.2 in headers located at: /usr/include/opencv4
  === Using OpenCV headers from: /usr/include/opencv4/opencv2
  === Generating code in: /home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out
  === Placing generated bindings into: /home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/bindings/rust/opencv_4
  === Clang command line args: [
      "-isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0",
      "-isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/x86_64-pc-linux-gnu",
      "-isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/backward",
      "-isystem/usr/local/include",
      "-isystem/usr/lib/clang/11.1.0/include",
      "-isystem/usr/include",
      "-I/usr/include/opencv4",
      "-I/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp",
      "-DOCVRS_PARSING_HEADERS",
      "-includeocvrs_ephemeral.hpp",
      "-std=c++14",
  ]
  === Generated: alphamat
  === Generated: dpm
  === Generated: cvv
  === Generated: dnn_superres
  === Generated: bioinspired
  === Generated: bgsegm
  === Generated: aruco
  === Generated: ccalib
  === Generated: freetype
  === Generated: face
  === Generated: fuzzy
  === Generated: hfs
  === Generated: flann
  === Generated: hdf
  === Generated: imgcodecs
  === Generated: img_hash
  === Generated: intensity_transform
  === Generated: highgui
  === Generated: calib3d
  === Generated: features2d
  === Generated: line_descriptor
  === Generated: mcc
  === Generated: phase_unwrapping
  === Generated: dnn
  === Generated: plot
  === Generated: quality
  === Generated: photo
  === Generated: optflow
  === Generated: ml
  === Generated: rapid
  === Generated: objdetect
  === Generated: stereo
  === Generated: shape
  === Generated: saliency
  === Generated: imgproc
  === Generated: structured_light
  === Generated: superres
  === Generated: tracking
  === Generated: surface_matching
  === Generated: videoio
  === Generated: video
  === Generated: wechat_qrcode
  === Generated: text
  === Generated: xobjdetect
  === Generated: rgbd
  === Generated: viz
  === Generated: xphoto
  === Generated: xfeatures2d
  === Generated: videostab
  === Generated: ximgproc
  === Generated: stitching
  === Generated: core
  === Total binding generation time: 21.031921691s

  error occurred: Command "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "-I" "/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp" "-I" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out" "-I" "." "-I" "/usr/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.o" "-c" "/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp" with args "clang++" did not execute successfully (status code exit code: 1).

CXX=clang++ RUST_BACKTRACE=full cargo build -vv  247.39s user 4.75s system 719% cpu 35.049 total

I've reduced the log as at the beginning of it there are only warnings from other dependencies. And the error is the following (actually there are a few of them):

  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:31: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
  cargo:warning=                        cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
  cargo:warning=                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1214:32: note: add a pair of parentheses to declare a variable
  cargo:warning=                        cv::dnn::KeypointsModel ret(std::string(model), std::string(config));
  cargo:warning=                                                    ^
  cargo:warning=                                                    (                 )
  cargo:warning=/home/sushik/Projects/cooltool/gaze-detector-rust/task-processor/target/debug/build/opencv-fcae9d68861c6517/out/dnn.cpp:1215:11: error: no matching function for call to 'Ok'
  cargo:warning=                        return Ok<cv::dnn::KeypointsModel>(ret);
  cargo:warning=                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=/home/sushik/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.51.0/src_cpp/ocvrs_common.hpp:47:39: note: candidate function template not viable: no known conversion from 'cv::dnn::KeypointsModel (std::string, std::string)' (aka 'cv::dnn::dnn4_v20210301::KeypointsModel (basic_string<char>, basic_string<char>)') to 'cv::dnn::dnn4_v20210301::KeypointsModel' for 1st argument
  cargo:warning=template<typename T> inline Result<T> Ok(T result) {

But it compiles with OpenCV 4.5.1 and I didn't found the changes in signatures of constructors (in the docs).

twistedfall commented 3 years ago

For now please use the rel branch (also check the Changelog, some code will most probably need to be adjusted), I'll make the release soon.

twistedfall commented 3 years ago

Fixed in 0.52.0