google / autocxx

Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers
https://docs.rs/autocxx
Apache License 2.0
2.27k stars 144 forks source link

Couldn’t generate binding for opencv cv::OutputArray #1363

Open Dines97 opened 9 months ago

Dines97 commented 9 months ago

Describe the bug When trying to generate binding for opencv build fails on cv::OutputArray. This happens when I tried to generate bindings for generate!("cv::VideoCapture"). Tried to add header file where cv::OutputArray is defined #include "opencv2/core/mat.hpp" still fails.

To Reproduce

Cargo.toml

[package]
name = "cpp_test"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

build = "build.rs"
links = "opencv4"

[dependencies]
cxx = "1.0.116"
autocxx = "0.26.0"

[build-dependencies]
pkg-config = "0.3.29"

autocxx-build = "0.26.0"
miette = { version = "5", features = ["fancy"] } # optional but gives nicer error messages!

build.rs

use std::path::PathBuf;

fn main() -> miette::Result<()> {
    let mut include_paths: Vec<PathBuf> = vec![std::path::PathBuf::from("src")];

    let mut opencv: pkg_config::Library = pkg_config::Config::new().probe("opencv4").unwrap();
    include_paths.append(&mut opencv.include_paths);

    let mut builder = autocxx_build::Builder::new("src/main.rs", include_paths).build()?;
    builder
        .flag_if_supported("-std=c++14")
        .compile("opencv");

    println!("cargo:rustc-link-lib=opencv_highgui");
    println!("cargo:rustc-link-lib=opencv_videoio");

    Ok(())
}

src/main.rs

use std::pin::Pin;

use autocxx::prelude::*;
use cxx::let_cxx_string;

autocxx::include_cpp! {
    #include "opencv2/highgui.hpp"
    #include "opencv2/videoio.hpp"
    #include "opencv2/core/mat.hpp"
    generate!("cv::namedWindow")
    generate!("cv::VideoCapture")
    // generate!("cv::OutputArray")
    // block!("cv::OutputArray")

    safety!(unsafe)
}

fn main() {
    let_cxx_string!(winname = "hello");
    ffi::cv::namedWindow(&winname, c_int(1));

    let mut video_capture_pointer: cxx::UniquePtr<ffi::cv::VideoCapture> = ffi::cv::VideoCapture::new().within_unique_ptr();
    let mut video_capture_pin: Pin<&mut ffi::cv::VideoCapture> = video_capture_pointer.pin_mut();

    video_capture_pin.open2(c_int(0), c_int(0));
}

Expected behavior Successful build and also working cv::VideoCapture.read() method which depends on this type

Additional context Error:

   Compiling cpp_test v0.1.0 (/home/denis/RustroverProjects/cpp_test)
The following warnings were emitted during compilation:

warning: cpp_test@0.1.0: In file included from /nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
warning: cpp_test@0.1.0:                  from /nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:655,
warning: cpp_test@0.1.0:                  from /nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/limits:42,
warning: cpp_test@0.1.0:                  from /nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/cvdef.h:185,
warning: cpp_test@0.1.0:                  from /nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core.hpp:52,
warning: cpp_test@0.1.0:                  from /nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/highgui.hpp:46,
warning: cpp_test@0.1.0:                  from /home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/cxx/gen0.cxx:1:
warning: cpp_test@0.1.0: /nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: cpp_test@0.1.0:   414 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: cpp_test@0.1.0:       |    ^~~~~~~
warning: cpp_test@0.1.0: In file included from /home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/cxx/gen0.cxx:4:
warning: cpp_test@0.1.0: /home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/include/autocxxgen_ffi.h: In function ‘bool retrieve_autocxx_wrapper_0x527132579c94c79c(cv::VideoCapture&, const cv::_OutputArray*, int)’:
warning: cpp_test@0.1.0: /home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/include/autocxxgen_ffi.h:53:169: error: cannot convert ‘const cv::_OutputArray*’ to ‘cv::OutputArray’ {aka ‘const cv::_OutputArray&’}
warning: cpp_test@0.1.0:    53 | inline bool retrieve_autocxx_wrapper_0x527132579c94c79c(cv::VideoCapture& autocxx_gen_this, const cv::_OutputArray* arg1, int arg2)  { return autocxx_gen_this.retrieve(arg1, arg2); }
warning: cpp_test@0.1.0:       |                                                                                                                                                                         ^~~~
warning: cpp_test@0.1.0:       |                                                                                                                                                                         |
warning: cpp_test@0.1.0:       |                                                                                                                                                                         const cv::_OutputArray*
warning: cpp_test@0.1.0: In file included from /nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/highgui.hpp:51:
warning: cpp_test@0.1.0: /nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/videoio.hpp:876:47: note:   initializing argument 1 of ‘virtual bool cv::VideoCapture::retrieve(cv::OutputArray, int)’
warning: cpp_test@0.1.0:   876 |     CV_WRAP virtual bool retrieve(OutputArray image, int flag = 0);
warning: cpp_test@0.1.0:       |                                   ~~~~~~~~~~~~^~~~~
warning: cpp_test@0.1.0: /home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/include/autocxxgen_ffi.h: In function ‘bool read_autocxx_wrapper_0x527132579c94c79c(cv::VideoCapture&, const cv::_OutputArray*)’:
warning: cpp_test@0.1.0: /home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/include/autocxxgen_ffi.h:54:151: error: cannot convert ‘const cv::_OutputArray*’ to ‘cv::OutputArray’ {aka ‘const cv::_OutputArray&’}
warning: cpp_test@0.1.0:    54 | inline bool read_autocxx_wrapper_0x527132579c94c79c(cv::VideoCapture& autocxx_gen_this, const cv::_OutputArray* arg1)  { return autocxx_gen_this.read(arg1); }
warning: cpp_test@0.1.0:       |                                                                                                                                                       ^~~~
warning: cpp_test@0.1.0:       |                                                                                                                                                       |
warning: cpp_test@0.1.0:       |                                                                                                                                                       const cv::_OutputArray*
warning: cpp_test@0.1.0: /nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/videoio.hpp:902:43: note:   initializing argument 1 of ‘virtual bool cv::VideoCapture::read(cv::OutputArray)’
warning: cpp_test@0.1.0:   902 |     CV_WRAP virtual bool read(OutputArray image);
warning: cpp_test@0.1.0:       |                               ~~~~~~~~~~~~^~~~~

error: failed to run custom build command for `cpp_test v0.1.0 (/home/denis/RustroverProjects/cpp_test)`

Caused by:
  process didn't exit successfully: `/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-dc0c96ecdc033c12/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_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:rustc-link-search=native=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/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_barcode
  cargo:rustc-link-lib=opencv_bgsegm
  cargo:rustc-link-lib=opencv_bioinspired
  cargo:rustc-link-lib=opencv_ccalib
  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_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_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_dnn
  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
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_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-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/highgui.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/cvdef.h
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/version.hpp
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/limits
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/c++config.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/features.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/features-time64.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/wordsize.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/timesize.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/stdc-predef.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/sys/cdefs.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/long-double.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/gnu/stubs.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/gnu/stubs-64.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/cpu_defines.h
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/hal/interface.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cstddef
  cargo:rerun-if-changed=/nix/store/d6ap27impzdj86wzkxdr82fk0zfyrp2b-clang-wrapper-16.0.6/resource-root/include/stddef.h
  cargo:rerun-if-changed=/nix/store/d6ap27impzdj86wzkxdr82fk0zfyrp2b-clang-wrapper-16.0.6/resource-root/include/__stddef_max_align_t.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cstdint
  cargo:rerun-if-changed=/nix/store/d6ap27impzdj86wzkxdr82fk0zfyrp2b-clang-wrapper-16.0.6/resource-root/include/stdint.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/stdint.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/libc-header-start.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/typesizes.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/time64.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/wchar.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/stdint-intn.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/stdint-uintn.h
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/cv_cpu_dispatch.h
  cargo:rerun-if-changed=/nix/store/d6ap27impzdj86wzkxdr82fk0zfyrp2b-clang-wrapper-16.0.6/resource-root/include/emmintrin.h
  cargo:rerun-if-changed=/nix/store/d6ap27impzdj86wzkxdr82fk0zfyrp2b-clang-wrapper-16.0.6/resource-root/include/xmmintrin.h
  cargo:rerun-if-changed=/nix/store/d6ap27impzdj86wzkxdr82fk0zfyrp2b-clang-wrapper-16.0.6/resource-root/include/mmintrin.h
  cargo:rerun-if-changed=/nix/store/d6ap27impzdj86wzkxdr82fk0zfyrp2b-clang-wrapper-16.0.6/resource-root/include/mm_malloc.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/stdlib.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cstdlib
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/stdlib.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/waitflags.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/waitstatus.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/floatn.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/floatn-common.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/locale_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/__locale_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/sys/types.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/clock_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/clockid_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/time_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/timer_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/endian.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/endian.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/endianness.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/byteswap.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/uintn-identity.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/sys/select.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/select.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/sigset_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/__sigset_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/struct_timeval.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/struct_timespec.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/pthreadtypes.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/thread-shared-types.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/pthreadtypes-arch.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/atomic_wide_counter.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/struct_mutex.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/struct_rwlock.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/alloca.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/stdlib-float.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/std_abs.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/array
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/compare
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/initializer_list
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/type_traits
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/functexcept.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/exception_defines.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_algobase.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/cpp_type_traits.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ext/type_traits.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ext/numeric_traits.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/move.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/utility.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator_base_types.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator_base_funcs.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/concept_check.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/debug/assertions.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/ptr_traits.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/debug/debug.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/predefined_ops.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/range_access.h
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/base.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/opencv_modules.hpp
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/climits
  cargo:rerun-if-changed=/nix/store/d6ap27impzdj86wzkxdr82fk0zfyrp2b-clang-wrapper-16.0.6/resource-root/include/limits.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/limits.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/posix1_lim.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/local_lim.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/linux/limits.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/pthread_stack_min-dynamic.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/posix2_lim.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/xopen_lim.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/uio_lim.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/algorithm
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_algo.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/algorithmfwd.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_heap.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_tempbuf.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_construct.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/new
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/exception.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/uniform_int_dist.h
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/cvstd.hpp
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cstring
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/string.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/strings.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cctype
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/ctype.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/string
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stringfwd.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/memoryfwd.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/char_traits.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/postypes.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cwchar
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/wchar.h
  cargo:rerun-if-changed=/nix/store/d6ap27impzdj86wzkxdr82fk0zfyrp2b-clang-wrapper-16.0.6/resource-root/include/stdarg.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/wint_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/mbstate_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/__mbstate_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/__FILE.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/FILE.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/allocator.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/c++allocator.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/new_allocator.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/localefwd.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/c++locale.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/clocale
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/locale.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/locale.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/iosfwd
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/ostream_insert.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/cxxabi_forced.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_function.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/backward/binders.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/refwrap.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/invoke.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ext/alloc_traits.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/alloc_traits.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ext/string_conversions.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cstdio
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/stdio.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/__fpos_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/__fpos64_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/struct_FILE.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/cookie_io_functions_t.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/stdio_lim.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cerrno
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/errno.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/errno.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/linux/errno.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/asm/errno.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/asm-generic/errno.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/asm-generic/errno-base.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/error_t.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/charconv.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/functional_hash.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/hash_bytes.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.tcc
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/utility
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_relops.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cmath
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/math.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/math-vector.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/libm-simd-decl-stubs.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/flt-eval-method.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/fp-logb.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/fp-fast.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/mathcalls-helper-functions.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/mathcalls.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/mathcalls-narrow.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/iscanonical.h
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/cvstd_wrapper.hpp
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/memory
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_uninitialized.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_raw_storage_iter.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/align.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bit
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/uses_allocator.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/tuple
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/typeinfo
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/allocated_ptr.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ext/aligned_buffer.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ext/atomicity.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/gthr.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/gthr-default.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/pthread.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/sched.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/sched.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/struct_sched_param.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/cpu-set.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/time.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/time.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/timex.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/struct_tm.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/struct_itimerspec.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/setjmp.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/types/struct___jmp_buf_tag.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/atomic_word.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/sys/single_threaded.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ext/concurrence.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/exception
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/exception_ptr.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/cxxabi_init_exception.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/nested_exception.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_atomic.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/atomic_base.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/atomic_lockfree_defines.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/backward/auto_ptr.h
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/neon_utils.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/vsx_utils.hpp
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/assert.h
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/check.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/traits.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/matx.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/saturate.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/fast_math.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/types.hpp
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cfloat
  cargo:rerun-if-changed=/nix/store/d6ap27impzdj86wzkxdr82fk0zfyrp2b-clang-wrapper-16.0.6/resource-root/include/float.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/vector
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/stl_bvector.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/vector.tcc
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/mat.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/bufferpool.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/mat.inl.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/persistence.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/operations.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/cvstd.inl.hpp
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/complex
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/sstream
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/istream
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ios
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/ios_base.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/locale_classes.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/locale_classes.tcc
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/system_error
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/error_constants.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/stdexcept
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/streambuf
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/streambuf.tcc
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/basic_ios.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/locale_facets.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/cwctype
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/wctype.h
  cargo:rerun-if-changed=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/bits/wctype-wchar.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/ctype_base.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/streambuf_iterator.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/ctype_inline.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/locale_facets.tcc
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/basic_ios.tcc
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ostream
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/ostream.tcc
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/istream.tcc
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/sstream.tcc
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/utility.hpp
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/functional
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/std_function.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/mutex
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/chrono.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ratio
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/ctime
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/parse_numbers.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/std_mutex.h
  cargo:rerun-if-changed=/nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/bits/unique_lock.h
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/optim.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/ovx.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/imgcodecs.hpp
  cargo:rerun-if-changed=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/videoio.hpp
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("0")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("g++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("true")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("g++")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  running: "g++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "src" "-I" "/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4" "-I" "/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/include" "-Wall" "-Wextra" "-std=c++14" "-o" "/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/cced6682b91c82c9-gen0.o" "-c" "/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/cxx/gen0.cxx"
  cargo:warning=In file included from /nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,

  cargo:warning=                 from /nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:655,

  cargo:warning=                 from /nix/store/f94yr35af3xdiscbj6cp6kafvmn55gv9-gcc-12.3.0/include/c++/12.3.0/limits:42,

  cargo:warning=                 from /nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core/cvdef.h:185,

  cargo:warning=                 from /nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/core.hpp:52,

  cargo:warning=                 from /nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/highgui.hpp:46,

  cargo:warning=                 from /home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/cxx/gen0.cxx:1:

  cargo:warning=/nix/store/7yidkgqrcw7hg0n0qik1wwa0hycvwjb9-glibc-2.38-27-dev/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]

  cargo:warning=  414 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)

  cargo:warning=      |    ^~~~~~~

  cargo:warning=In file included from /home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/cxx/gen0.cxx:4:

  cargo:warning=/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/include/autocxxgen_ffi.h: In function ‘bool retrieve_autocxx_wrapper_0x527132579c94c79c(cv::VideoCapture&, const cv::_OutputArray*, int)’:

  cargo:warning=/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/include/autocxxgen_ffi.h:53:169: error: cannot convert ‘const cv::_OutputArray*’ to ‘cv::OutputArray’ {aka ‘const cv::_OutputArray&’}

  cargo:warning=   53 | inline bool retrieve_autocxx_wrapper_0x527132579c94c79c(cv::VideoCapture& autocxx_gen_this, const cv::_OutputArray* arg1, int arg2)  { return autocxx_gen_this.retrieve(arg1, arg2); }

  cargo:warning=      |                                                                                                                                                                         ^~~~

  cargo:warning=      |                                                                                                                                                                         |

  cargo:warning=      |                                                                                                                                                                         const cv::_OutputArray*

  cargo:warning=In file included from /nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/highgui.hpp:51:

  cargo:warning=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/videoio.hpp:876:47: note:   initializing argument 1 of ‘virtual bool cv::VideoCapture::retrieve(cv::OutputArray, int)’

  cargo:warning=  876 |     CV_WRAP virtual bool retrieve(OutputArray image, int flag = 0);

  cargo:warning=      |                                   ~~~~~~~~~~~~^~~~~

  cargo:warning=/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/include/autocxxgen_ffi.h: In function ‘bool read_autocxx_wrapper_0x527132579c94c79c(cv::VideoCapture&, const cv::_OutputArray*)’:

  cargo:warning=/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/include/autocxxgen_ffi.h:54:151: error: cannot convert ‘const cv::_OutputArray*’ to ‘cv::OutputArray’ {aka ‘const cv::_OutputArray&’}

  cargo:warning=   54 | inline bool read_autocxx_wrapper_0x527132579c94c79c(cv::VideoCapture& autocxx_gen_this, const cv::_OutputArray* arg1)  { return autocxx_gen_this.read(arg1); }

  cargo:warning=      |                                                                                                                                                       ^~~~

  cargo:warning=      |                                                                                                                                                       |

  cargo:warning=      |                                                                                                                                                       const cv::_OutputArray*

  cargo:warning=/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4/opencv2/videoio.hpp:902:43: note:   initializing argument 1 of ‘virtual bool cv::VideoCapture::read(cv::OutputArray)’

  cargo:warning=  902 |     CV_WRAP virtual bool read(OutputArray image);

  cargo:warning=      |                               ~~~~~~~~~~~~^~~~~

  exit status: 1

  --- stderr

  error occurred: Command "g++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "src" "-I" "/nix/store/xi8gh015y689yvbzr95vnxdxwx6yiak0-opencv-4.7.0/include/opencv4" "-I" "/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/include" "-Wall" "-Wextra" "-std=c++14" "-o" "/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/cced6682b91c82c9-gen0.o" "-c" "/home/denis/RustroverProjects/cpp_test/target/debug/build/cpp_test-643a7c4a6af543c5/out/autocxx-build-dir/cxx/gen0.cxx" with args "g++" did not execute successfully (status code exit status: 1).

Where main information I believe is:

error: cannot convert ‘const cv::_OutputArray*’ to ‘cv::OutputArray’ {aka ‘const cv::_OutputArray&’}
Dines97 commented 9 months ago

Because of reference type I believe this issue is related to https://github.com/dtolnay/cxx/issues/809