We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a problem on ubuntu-latest to build opencv:
--- stderr === Crate version: Some("0.83.0") === Environment configuration: === OPENCV_PACKAGE_NAME = None === OPENCV_PKGCONFIG_NAME = None === OPENCV_CMAKE_NAME = None === OPENCV_CMAKE_BIN = None === OPENCV_VCPKG_NAME = None === OPENCV_LINK_LIBS = None === OPENCV_LINK_PATHS = None === OPENCV_INCLUDE_PATHS = None === OPENCV_DISABLE_PROBES = None === CMAKE_PREFIX_PATH = None === OpenCV_DIR = None === PKG_CONFIG_PATH = None === VCPKG_ROOT = None === VCPKGRS_DYNAMIC = None === OCVRS_DOCS_GENERATE_DIR = None === DOCS_RS = None === PATH = Some("/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin") === Enabled features: === HIGHGUI === IMGPROC === VIDEOIO === 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 === Successfully probed using: pkg_config === OpenCV library configuration: Library { include_paths: [ "/usr/include/opencv4", ], version: Version { major: 4, minor: 6, patch: 0, }, cargo_metadata: [ "cargo:rustc-link-search=/usr/lib/x86_64-linux-gnu", "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_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_shape", "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_ml", "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_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", ], } === Detected OpenCV module header dir at: /usr/include/opencv4/opencv2 === Found OpenCV version: 4.6.0 in headers located at: /usr/include/opencv4 === Generating code in: /home/runner/work/metadata-portal/metadata-portal/target/release/build/opencv-41913bd610a10fdd/out === Placing generated bindings into: /home/runner/work/metadata-portal/metadata-portal/target/release/build/opencv-41913bd610a10fdd/out/opencv === Using OpenCV headers from: /usr/include/opencv4 === Clang: Ubuntu clang version 18.1.3 (1ubuntu1) === Clang command line args: [ "-isystem/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14", "-isystem/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/x86_64-linux-gnu/c++/14", "-isystem/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/backward", "-isystem/usr/lib/llvm-18/lib/clang/18/include", "-isystem/usr/local/include", "-isystem/usr/include/x86_64-linux-gnu", "-isystem/usr/include", "-I/usr/include/opencv4", "-F/usr/include/opencv4", "-I/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.83.0/src_cpp", "-F/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.83.0/src_cpp", "-DOCVRS_PARSING_HEADERS", "-includeocvrs_ephemeral.hpp", "-std=c++14", ] === Available jobs from the environment created jobserver is: 0 or there is an error reading that value === Creating a new job server with num_jobs: 4 === Running: "/home/runner/work/metadata-portal/metadata-portal/target/release/build/opencv-e5893152c366c06f/build-script-build" "/usr/include/opencv4" "/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.83.0/src_cpp" "/home/runner/work/metadata-portal/metadata-portal/target/release/build/opencv-41913bd610a10fdd/out" "core" "" === Running: "/home/runner/work/metadata-portal/metadata-portal/target/release/build/opencv-e5893152c366c06f/build-script-build" "/usr/include/opencv4" "/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.83.0/src_cpp" "/home/runner/work/metadata-portal/metadata-portal/target/release/build/opencv-41913bd610a10fdd/out" "imgproc" "" === Running: "/home/runner/work/metadata-portal/metadata-portal/target/release/build/opencv-e5893152c366c06f/build-script-build" "/usr/include/opencv4" "/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.83.0/src_cpp" "/home/runner/work/metadata-portal/metadata-portal/target/release/build/opencv-41913bd610a10fdd/out" "videoio" "" === Running: "/home/runner/work/metadata-portal/metadata-portal/target/release/build/opencv-e5893152c366c06f/build-script-build" "/usr/include/opencv4" "/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.83.0/src_cpp" "/home/runner/work/metadata-portal/metadata-portal/target/release/build/opencv-41913bd610a10fdd/out" "highgui" "" thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-binding-generator-0.67.0/src/element.rs:71:21: internal error: entered unreachable code: Can't get kind of parent for cpp namespace: Entity { kind: LinkageSpec, display_name: None, location: Some( SourceLocation { file: Some( File { path: "/usr/include/x86_64-linux-gnu/sys/types.h", }, ), line: 27, column: 1, offset: 931, }, ), } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'main' panicked at core/src/panicking.rs:221:5: panic in a function that cannot unwind stack backtrace: 0: 0x56364604ae9a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b6bd5631a6d1f6b 1: 0x5636460738f3 - core::fmt::write::h7550c97b06c86515 2: 0x5636460471f3 - std::io::Write::write_fmt::h7b09c64fe0be9c84 3: 0x56364604ace2 - std::sys::backtrace::BacktraceLock::print::h[23](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:24)95ccd2c84ba3aa 4: 0x56364604beac - std::panicking::default_hook::{{closure}}::he19d4c7230e07961 5: 0x56364604bcf2 - std::panicking::default_hook::hf614597d3c67bbdb 6: 0x56364604c487 - std::panicking::rust_panic_with_hook::h8942133a8b252070 7: 0x56364604c2e6 - std::panicking::begin_panic_handler::{{closure}}::hb5f5963570096b29 8: 0x56364604b379 - std::sys::backtrace::__rust_end_short_backtrace::h6208cedc1922feda 9: 0x56364604bfac - rust_begin_unwind 10: 0x563645bb4cfd - core::panicking::panic_nounwind_fmt::h357fc035dc231634 11: 0x563645bb4d92 - core::panicking::panic_nounwind::hd0dad372654c389a 12: 0x563645bb4e55 - core::panicking::panic_cannot_unwind::h65aefd062253eb19 13: 0x563645feef21 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b 14: 0x7f489cc299d6 - <unknown> 15: 0x7f489cc29b78 - <unknown> 16: 0x7f489cc2ad39 - <unknown> 17: 0x7f489cc283a4 - <unknown> 18: 0x7f489cc33fda - clang_visitChildren 19: 0x563645de95af - clang::Entity::visit_children::hca95f9c0ae68d3e6 20: 0x563645da1bd9 - <&mut opencv_binding_generator::generator::EphemeralGenerator as opencv_binding_generator::walker::EntityWalkerVisitor>::visit_entity::hff067265b4946068 21: 0x563645be94fc - opencv_binding_generator::walker::EntityWalker::visit_cv_namespace::{{closure}}::h3f870d740afaa6b0 22: 0x563645bed88d - <F as clang::Entity::visit_children::EntityCallback>::call::hd43b548e699c39a2 23: 0x563645feefc6 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b [24](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:25): 0x7f489cc299d6 - <unknown> [25](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:26): 0x7f489cc29b78 - <unknown> [26](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:27): 0x7f489cc283a4 - <unknown> [27](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:28): 0x7f489cc33fda - clang_visitChildren [28](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:29): 0x563645bf6ad9 - clang::Entity::visit_children::h4eb1ee9eb42d4ccc [29](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:30): 0x563645be9226 - opencv_binding_generator::walker::EntityWalker::visit_cv_namespace::h5f8591d53d21cf06 [30](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:31): 0x563645be9c9a - opencv_binding_generator::walker::EntityWalker::walk_opencv_entities::{{closure}}::h13d35dbeb8a24888 [31](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:32): 0x563645bed76d - <F as clang::Entity::visit_children::EntityCallback>::call::h[32](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:33)fbfaf3f509e69e 32: 0x563645feefc6 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b [33](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:34): 0x7f489cc299d6 - <unknown> [34](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:35): 0x7f489cc2873f - <unknown> [35](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:36): 0x7f489cc33fda - clang_visitChildren [36](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:37): 0x563645bf6ec9 - clang::Entity::visit_children::hf51ad0951057f504 [37](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:38): 0x563645be98e0 - opencv_binding_generator::walker::EntityWalker::walk_opencv_entities::hf8eff00f6def8315 [38](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:39): 0x563645bec335 - opencv_binding_generator::generator::Generator::process_module::hba0bf86faae8a5cc [39](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:40): 0x563645bec7f8 - opencv_binding_generator::generator::Generator::process_opencv_module::hedd0bfe1e2dafea2 [40](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:41): 0x563645bf8d7e - build_script_build::binding_generator::run::h57469827ed865d71 [41](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:42): 0x563645bf82aa - build_script_build::binding_generator::handle_running_binding_generator::h3d8b1b177b4c8df9 [42](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:43): 0x563645bcbeb7 - build_script_build::main::hb7ec9be2f86449f4 [43](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:44): 0x563645bd9cb3 - core::ops::function::FnOnce::call_once::h084376b0778e3be8 [44](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:45): 0x563645bcddc6 - std::sys::backtrace::__rust_begin_short_backtrace::hdc78df331edcd913 [45](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:46): 0x563645bc7989 - std::rt::lang_start::{{closure}}::h8b6fd[46](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:47)a98b47174 46: 0x56364604230e - std::rt::lang_start_internal::h1c66660c99c8424c [47](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:48): 0x563645bc7967 - std::rt::lang_start::h5c5e9fc9deced58e [48](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:49): 0x563645bcd9c5 - main [49](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:50): 0x7f489c42a1ca - <unknown> [50](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:51): 0x7f489c42a28b - __libc_start_main [51](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:52): 0x563645bb5425 - _start 52: 0x0 - <unknown> thread caused non-unwinding panic. aborting. thread '<unnamed>' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.83.0/build/generator.rs:106:25: Failed to run the bindings generator for module: core note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.83.0/build/generator.rs:115:32: Generator process panicked: Any { .. } thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-binding-generator-0.67.0/src/element.rs:71:21: internal error: entered unreachable code: Can't get kind of parent for cpp namespace: Entity { kind: LinkageSpec, display_name: None, location: Some( SourceLocation { file: Some( File { path: "/usr/include/x86_64-linux-gnu/sys/types.h", }, ), line: 27, column: 1, offset: 931, }, ), } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'main' panicked at core/src/panicking.rs:221:5: panic in a function that cannot unwind stack backtrace: 0: 0x557cf5955e9a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b6bd5631a6d1f6b 1: 0x557cf597e8f3 - core::fmt::write::h7550c97b06c86515 2: 0x557cf59[52](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:53)1f3 - std::io::Write::write_fmt::h7b09c64fe0be9c84 3: 0x557cf5955ce2 - std::sys::backtrace::BacktraceLock::print::h2395ccd2c84ba3aa 4: 0x557cf5956eac - std::panicking::default_hook::{{closure}}::he19d4c7230e07961 5: 0x557cf5956cf2 - std::panicking::default_hook::hf614597d3c67bbdb 6: 0x557cf5957487 - std::panicking::rust_panic_with_hook::h8942133a8b252070 7: 0x557cf59572e6 - std::panicking::begin_panic_handler::{{closure}}::hb5f5963570096b29 8: 0x557cf5956379 - std::sys::backtrace::__rust_end_short_backtrace::h6208cedc1922feda 9: 0x557cf5956fac - rust_begin_unwind 10: 0x557cf54bfcfd - core::panicking::panic_nounwind_fmt::h357fc035dc231634 11: 0x557cf54bfd92 - core::panicking::panic_nounwind::hd0dad372654c389a 12: 0x557cf54bfe55 - core::panicking::panic_cannot_unwind::h65aefd0622[53](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:54)eb19 13: 0x557cf58f9f21 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b 14: 0x7f6076c299d6 - <unknown> 15: 0x7f6076c29b78 - <unknown> 16: 0x7f6076c2ad39 - <unknown> 17: 0x7f6076c283a4 - <unknown> 18: 0x7f6076c33fda - clang_visitChildren 19: 0x557cf56f347f - clang::Entity::visit_children::h47ecc335bbd6afc9 20: 0x557cf5676b74 - <opencv_binding_generator::generator_env::DbPopulator as opencv_binding_generator::walker::EntityWalkerVisitor>::visit_entity::hfd4e0e236adf0b6e 21: 0x557cf565114c - opencv_binding_generator::walker::EntityWalker::visit_cv_namespace::{{closure}}::hb3ef72fb78a9685d 22: 0x557cf5634f9e - <F as clang::Entity::visit_children::EntityCallback>::call::hd94e2731fa2db9c8 23: 0x557cf58f9fc6 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b 24: 0x7f6076c299d6 - <unknown> 25: 0x7f6076c29b78 - <unknown> 26: 0x7f6076c283a4 - <unknown> 27: 0x7f6076c33fda - clang_visitChildren 28: 0x557cf56f2f29 - clang::Entity::visit_children::h35300eadaa7e4747 29: 0x557cf5650e77 - opencv_binding_generator::walker::EntityWalker::visit_cv_namespace::hd048510f2aed5561 30: 0x557cf5651583 - opencv_binding_generator::walker::EntityWalker::walk_opencv_entities::{{closure}}::hed6a53dcce03acc5 31: 0x557cf5634f3e - <F as clang::Entity::visit_children::EntityCallback>::call::h52ad92e670fcd4f4 32: 0x557cf58f9fc6 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b 33: 0x7f6076c299d6 - <unknown> 34: 0x7f6076c2873f - <unknown> 35: 0x7f6076c33fda - clang_visitChildren 36: 0x557cf56f4709 - clang::Entity::visit_children::hd120462c1d870baf 37: 0x557cf56511c4 - opencv_binding_generator::walker::EntityWalker::walk_opencv_entities::h6c78a04262cbd036 38: 0x557cf567731d - opencv_binding_generator::generator_env::GeneratorEnv::new::h4c8e3c0602aae4df 39: 0x557cf[54](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:55)f78e3 - opencv_binding_generator::generator::Generator::process_opencv_module::{{closure}}::h8db76b8f02426eaa 40: 0x[55](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:56)7cf54f7639 - opencv_binding_generator::generator::Generator::process_module::hba0bf86faae8a5cc 41: 0x557cf54f77f8 - opencv_binding_generator::generator::Generator::process_opencv_module::hedd0bfe1e2dafea2 42: 0x557cf5503d7e - build_script_build::binding_generator::run::h57469827ed865d71 43: 0x557cf55032aa - build_script_build::binding_generator::handle_running_binding_generator::h3d8b1b177b4c8df9 44: 0x557cf54d6eb7 - build_script_build::main::hb7ec9be2f86449f4 45: 0x557cf54e4cb3 - core::ops::function::FnOnce::call_once::h084376b0778e3be8 46: 0x557cf54d8dc6 - std::sys::backtrace::__rust_begin_short_backtrace::hdc78df331edcd913 47: 0x557cf54d2989 - std::rt::lang_start::{{closure}}::h8b6fd46a98b47174 48: 0x557cf594d30e - std::rt::lang_start_internal::h1c66660c99c8424c 49: 0x557cf54d2967 - std::rt::lang_start::h5c5e9fc9deced58e 50: 0x557cf54d89c5 - main 51: 0x7f607642a1ca - <unknown> 52: 0x7f607642a28b - __libc_start_main 53: 0x557cf54c0425 - _start 54: 0x0 - <unknown> thread caused non-unwinding panic. aborting. thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-binding-generator-0.67.0/src/element.rs:71:21: internal error: entered unreachable code: Can't get kind of parent for cpp namespace: Entity { kind: LinkageSpec, display_name: None, location: Some( SourceLocation { file: Some( File { path: "/usr/include/x86_64-linux-gnu/sys/types.h", }, ), line: 27, column: 1, offset: 931, }, ), } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'main' panicked at core/src/panicking.rs:221:5: panic in a function that cannot unwind stack backtrace: 0: 0x557ffa034e9a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b6bd[56](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:57)31a6d1f6b 1: 0x557ffa05d8f3 - core::fmt::write::h7550c97b06c86515 2: 0x5[57](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:58)ffa0311f3 - std::io::Write::write_fmt::h7b09c64fe0be9c84 3: 0x557ffa034ce2 - std::sys::backtrace::BacktraceLock::print::h2395ccd2c84ba3aa 4: 0x557ffa035eac - std::panicking::default_hook::{{closure}}::he19d4c7230e07961 5: 0x557ffa035cf2 - std::panicking::default_hook::hf614597d3c67bbdb 6: 0x557ffa036487 - std::panicking::rust_panic_with_hook::h8942133a8b252070 7: 0x557ffa0362e6 - std::panicking::begin_panic_handler::{{closure}}::hb5f5963570096b29 8: 0x557ffa035379 - std::sys::backtrace::__rust_end_short_backtrace::h6208cedc1922feda 9: 0x557ffa035fac - rust_begin_unwind 10: 0x557ff9b9ecfd - core::panicking::panic_nounwind_fmt::h357fc035dc231634 11: 0x557ff9b9ed92 - core::panicking::panic_nounwind::hd0dad372654c389a 12: 0x557ff9b9ee55 - core::panicking::panic_cannot_unwind::h65aefd062253eb19 13: 0x557ff9fd8f21 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b 14: 0x7f5229e299d6 - <unknown> 15: 0x7f5229e29b78 - <unknown> 16: 0x7f5229e2ad39 - <unknown> 17: 0x7f5229e283a4 - <unknown> 18: 0x7f5229e33fda - clang_visitChildren 19: 0x557ff9dd247f - clang::Entity::visit_children::h47ecc335bbd6afc9 20: 0x557ff9d55b74 - <opencv_binding_generator::generator_env::DbPopulator as opencv_binding_generator::walker::EntityWalkerVisitor>::visit_entity::hfd4e0e236adf0b6e 21: 0x557ff9d3014c - opencv_binding_generator::walker::EntityWalker::visit_cv_namespace::{{closure}}::hb3ef72fb78a9685d 22: 0x557ff9d13f9e - <F as clang::Entity::visit_children::EntityCallback>::call::hd94e2731fa2db9c8 23: 0x557ff9fd8fc6 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b 24: 0x7f5229e299d6 - <unknown> 25: 0x7f5229e29b78 - <unknown> 26: 0x7f5229e283a4 - <unknown> 27: 0x7f5229e33fda - clang_visitChildren 28: 0x557ff9dd1f29 - clang::Entity::visit_children::h35300eadaa7e4747 29: 0x557ff9d2fe77 - opencv_binding_generator::walker::EntityWalker::visit_cv_namespace::hd048510f2aed5561 30: 0x557ff9d30[58](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:59)3 - opencv_binding_generator::walker::EntityWalker::walk_opencv_entities::{{closure}}::hed6a53dcce03acc5 31: 0x557ff9d13f3e - <F as clang::Entity::visit_children::EntityCallback>::call::h52ad92e670fcd4f4 32: 0x557ff9fd8fc6 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b 33: 0x7f5229e299d6 - <unknown> 34: 0x7f5229e2873f - <unknown> 35: 0x7f5229e33fda - clang_visitChildren 36: 0x557ff9dd3709 - clang::Entity::visit_children::hd120462c1d870baf 37: 0x557ff9d301c4 - opencv_binding_generator::walker::EntityWalker::walk_opencv_entities::h6c78a04262cbd036 38: 0x557ff9d5631d - opencv_binding_generator::generator_env::GeneratorEnv::new::h4c8e3c0602aae4df 39: 0x557ff9bd68e3 - opencv_binding_generator::generator::Generator::process_opencv_module::{{closure}}::h8db76b8f02426eaa 40: 0x557ff9bd6639 - opencv_binding_generator::generator::Generator::process_module::hba0bf86faae8a5cc 41: 0x557ff9bd67f8 - opencv_binding_generator::generator::Generator::process_opencv_module::hedd0bfe1e2dafea2 42: 0x557ff9be2d7e - build_script_build::binding_generator::run::h57469827ed865d71 43: 0x557ff9be22aa - build_script_build::binding_generator::handle_running_binding_generator::h3d8b1b177b4c8df9 44: 0x557ff9bb5eb7 - build_script_build::main::hb7ec9be2f86449f4 45: 0x557ff9bc3cb3 - core::ops::function::FnOnce::call_once::h084376b0778e3be8 46: 0x557ff9bb7dc6 - std::sys::backtrace::__rust_begin_short_backtrace::hdc78df331edcd913 47: 0x557ff9bb1989 - std::rt::lang_start::{{closure}}::h8b6fd46a98b47174 48: 0x557ffa02c30e - std::rt::lang_start_internal::h1c66660c99c8424c 49: 0x557ff9bb1967 - std::rt::lang_start::h5c5e9fc9deced58e 50: 0x557ff9bb79c5 - main 51: 0x7f522962a1ca - <unknown> 52: 0x7f522962a28b - __libc_start_main 53: 0x557ff9b9f425 - _start 54: 0x0 - <unknown> thread caused non-unwinding panic. aborting. thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-binding-generator-0.67.0/src/element.rs:71:21: internal error: entered unreachable code: Can't get kind of parent for cpp namespace: Entity { kind: LinkageSpec, display_name: None, location: Some( SourceLocation { file: Some( File { path: "/usr/include/x86_64-linux-gnu/sys/types.h", }, ), line: 27, column: 1, offset: 931, }, ), } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'main' panicked at core/src/panicking.rs:221:5: panic in a function that cannot unwind stack backtrace: 0: 0x5646da2a4e9a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b6bd5631a6d1f6b 1: 0x5646da2cd8f3 - core::fmt::write::h7550c97b06c86515 2: 0x5646da2a11f3 - std::io::Write::write_fmt::h7b09c64fe0be9c84 3: 0x5646da2a4ce2 - std::sys::backtrace::BacktraceLock::print::h2395ccd2c84ba3aa 4: 0x5646da2a5eac - std::panicking::default_hook::{{closure}}::he19d4c7230e07961 5: 0x5646da2a5cf2 - std::panicking::default_hook::hf614[59](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:60)7d3c67bbdb 6: 0x5646da2a6487 - std::panicking::rust_panic_with_hook::h8942133a8b252070 7: 0x5646da2a62e6 - std::panicking::begin_panic_handler::{{closure}}::hb5f5963570096b29 8: 0x5646da2a5379 - std::sys::backtrace::__rust_end_short_backtrace::h6208cedc1922feda 9: 0x5646da2a5fac - rust_begin_unwind 10: 0x5646d9e0ecfd - core::panicking::panic_nounwind_fmt::h357fc035dc231634 11: 0x5646d9e0ed92 - core::panicking::panic_nounwind::hd0dad372654c389a 12: 0x5646d9e0ee55 - core::panicking::panic_cannot_unwind::h65aefd062253eb19 13: 0x5646da248f21 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b 14: 0x7f4f09a299d6 - <unknown> 15: 0x7f4f09a29b78 - <unknown> 16: 0x7f4f09a2ad39 - <unknown> 17: 0x7f4f09a283a4 - <unknown> 18: 0x7f4f09a33fda - clang_visitChildren 19: 0x5646da04247f - clang::Entity::visit_children::h47ecc335bbd6afc9 20: 0x5646d9fc5b74 - <opencv_binding_generator::generator_env::DbPopulator as opencv_binding_generator::walker::EntityWalkerVisitor>::visit_entity::hfd4e0e236adf0b6e 21: 0x5646d9fa014c - opencv_binding_generator::walker::EntityWalker::visit_cv_namespace::{{closure}}::hb3ef72fb78a9685d 22: 0x5646d9f83f9e - <F as clang::Entity::visit_children::EntityCallback>::call::hd94e2731fa2db9c8 23: 0x5646da248fc6 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b 24: 0x7f4f09a299d6 - <unknown> 25: 0x7f4f09a29b78 - <unknown> 26: 0x7f4f09a283a4 - <unknown> 27: 0x7f4f09a33fda - clang_visitChildren 28: 0x5646da041f29 - clang::Entity::visit_children::h35300eadaa7e4747 29: 0x5646d9f9fe77 - opencv_binding_generator::walker::EntityWalker::visit_cv_namespace::hd048510f2aed5561 30: 0x5646d9fa0583 - opencv_binding_generator::walker::EntityWalker::walk_opencv_entities::{{closure}}::hed6a53dcce03acc5 31: 0x5646d9f83f3e - <F as clang::Entity::visit_children::EntityCallback>::call::h52ad92e670fcd4f4 32: 0x5646da248fc6 - clang::Entity::visit_children::visit::h30cd4a3fd22ef61b 33: 0x7f4f09a299d6 - <unknown> 34: 0x7f4f09a2873f - <unknown> 35: 0x7f4f09a33fda - clang_visitChildren 36: 0x5646da043709 - clang::Entity::visit_children::hd120462c1d870baf 37: 0x5646d9fa01c4 - opencv_binding_generator::walker::EntityWalker::walk_opencv_entities::h6c78a04262cbd036 38: 0x5646d9fc631d - opencv_binding_generator::generator_env::GeneratorEnv::new::h4c8e3c0[60](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:61)2aae4df 39: 0x5646d9e468e3 - opencv_binding_generator::generator::Generator::process_opencv_module::{{closure}}::h8db76b8f02426eaa 40: 0x5646d9e46[63](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:64)9 - opencv_binding_generator::generator::Generator::process_module::hba0bf86faae8a5cc 41: 0x5[64](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:65)6d9e467f8 - opencv_binding_generator::generator::Generator::process_opencv_module::hedd0bfe1e2dafea2 42: 0x5646d9e52d7e - build_script_build::binding_generator::run::h57469827ed8[65](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:66)d71 43: 0x5646d9e522aa - build_script_build::binding_generator::handle_running_binding_generator::h3d8b1b177b4c8df9 44: 0x5646d9e25eb7 - build_script_build::main::hb7ec9be2f86449f4 45: 0x5646d9e33cb3 - core::ops::function::FnOnce::call_once::h084376b0778e3be8 46: 0x5646d9e27dc6 - std::sys::backtrace::__rust_begin_short_backtrace::hdc78df331edcd913 47: 0x5646d9e21989 - std::rt::lang_start::{{closure}}::h8b6fd46a98b47174 48: 0x5646da29c30e - std::rt::lang_start_internal::h1c[66](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:67)660c99c8424c 49: 0x5646d9e219[67](https://github.com/novasamatech/metadata-portal/actions/runs/12479506141/job/34828792184#step:4:68) - std::rt::lang_start::h5c5e9fc9deced58e 50: 0x5646d9e279c5 - main 51: 0x7f4f0922a1ca - <unknown> 52: 0x7f4f0922a28b - __libc_start_main 53: 0x5646d9e0f425 - _start 54: 0x0 - <unknown> thread caused non-unwinding panic. aborting. warning: build failed, waiting for other jobs to finish... Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Error: Process completed with exit code 101.
Temporary fixed with downgrade to ubuntu-20.04. Need to fix dependency and update workflow
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is a problem on ubuntu-latest to build opencv:
Temporary fixed with downgrade to ubuntu-20.04.
Need to fix dependency and update workflow
The text was updated successfully, but these errors were encountered: