OtaK / hide-my-mess-rs

Webcam virtual backgrounds with Rust, Tensorflow & RobustVideoMatting
Apache License 2.0
11 stars 1 forks source link

Doesn't compile anymore #7

Open raffaem opened 1 year ago

raffaem commented 1 year ago
CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true RUST_BACKTRACE=full cargo build --release > log.log 2>&1
   Compiling v4l2-sys-mit v0.2.0
   Compiling tensorflow-sys v0.20.0
error: failed to run custom build command for `v4l2-sys-mit v0.2.0`

Caused by:
  process didn't exit successfully: `[HIDEMYMESSFOLDER]/target/release/build/v4l2-sys-mit-cddf3c7d05aee122/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at '"v4l2_pix_format_union_(anonymous_at_/usr/include/linux/videodev2_h_500_2)" is not a valid Ident', /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/src/fallback.rs:708:9
  stack backtrace:
     0:     0x55a406c84671 - std::backtrace_rs::backtrace::libunwind::trace::h1cb2a54659b2d8a4
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
     1:     0x55a406c84671 - std::backtrace_rs::backtrace::trace_unsynchronized::h76d9b43baff5e1ba
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
     2:     0x55a406c84671 - std::sys_common::backtrace::_print_fmt::h9858dfa8000ab115
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/sys_common/backtrace.rs:65:5
     3:     0x55a406c84671 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3281c22ec3ef534c
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/sys_common/backtrace.rs:44:22
     4:     0x55a406caacaf - core::fmt::rt::Argument::fmt::h8a5c7e28a9d48ecc
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/core/src/fmt/rt.rs:138:9
     5:     0x55a406caacaf - core::fmt::write::hcc5e459946fcfffe
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/core/src/fmt/mod.rs:1094:21
     6:     0x55a406c81cf1 - std::io::Write::write_fmt::h30872c7d192052a8
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/io/mod.rs:1713:15
     7:     0x55a406c84485 - std::sys_common::backtrace::_print::hdb7ef21d6874c110
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/sys_common/backtrace.rs:47:5
     8:     0x55a406c84485 - std::sys_common::backtrace::print::h30c3ea7e57a08595
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/sys_common/backtrace.rs:34:9
     9:     0x55a406c85927 - std::panicking::default_hook::{{closure}}::h6fae674bf933b19b
    10:     0x55a406c85714 - std::panicking::default_hook::hf39d3db91071d582
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/panicking.rs:288:9
    11:     0x55a406c85ddc - std::panicking::rust_panic_with_hook::hacfe619e7af6bb8f
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/panicking.rs:705:13
    12:     0x55a406c85cd7 - std::panicking::begin_panic_handler::{{closure}}::h5b50c9802ebfe147
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/panicking.rs:597:13
    13:     0x55a406c84aa6 - std::sys_common::backtrace::__rust_end_short_backtrace::hc8b1c8919dee9e70
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/sys_common/backtrace.rs:151:18
    14:     0x55a406c85a22 - rust_begin_unwind
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/panicking.rs:593:5
    15:     0x55a406817333 - core::panicking::panic_fmt::hef92db43137535a9
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/core/src/panicking.rs:67:14
    16:     0x55a406c4820f - proc_macro2::fallback::validate_ident::hf716b8ab2c54ef46
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/src/fallback.rs:708:9
    17:     0x55a406c47e21 - proc_macro2::fallback::Ident::_new::hce918a0f408ef502
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/src/fallback.rs:642:9
    18:     0x55a406c47e8c - proc_macro2::fallback::Ident::new::h8231cefdcada217e
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/src/fallback.rs:652:9
    19:     0x55a406c4a947 - proc_macro2::imp::Ident::new::h0a2e41f190b1baa4
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/src/wrapper.rs:691:50
    20:     0x55a406c3dc35 - proc_macro2::Ident::new::h04d2bfe15e824649
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/src/lib.rs:952:21
    21:     0x55a40692a022 - bindgen::ir::context::BindgenContext::rust_ident_raw::hd1fdbdf8e17672ab
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/ir/context.rs:846:9
    22:     0x55a406929bfa - bindgen::ir::context::BindgenContext::rust_ident::h2c744bb0edb524f5
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/ir/context.rs:838:9
    23:     0x55a40683f7aa - <bindgen::ir::comp::CompInfo as bindgen::codegen::CodeGenerator>::codegen::h76560afd3212de31
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:1656:31
    24:     0x55a4068744c3 - <bindgen::ir::ty::Type as bindgen::codegen::CodeGenerator>::codegen::he0fb35bc3b25e570
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:768:39
    25:     0x55a4068996ce - <bindgen::ir::item::Item as bindgen::codegen::CodeGenerator>::codegen::h09547ed325defe21
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:476:17
    26:     0x55a406845c86 - <bindgen::ir::comp::CompInfo as bindgen::codegen::CodeGenerator>::codegen::h76560afd3212de31
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:1957:13
    27:     0x55a4068744c3 - <bindgen::ir::ty::Type as bindgen::codegen::CodeGenerator>::codegen::he0fb35bc3b25e570
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:768:39
    28:     0x55a4068996ce - <bindgen::ir::item::Item as bindgen::codegen::CodeGenerator>::codegen::h09547ed325defe21
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:476:17
    29:     0x55a406901a5a - <bindgen::ir::module::Module as bindgen::codegen::CodeGenerator>::codegen::{{closure}}::h722b3918d933bd74
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:498:21
    30:     0x55a406873a93 - <bindgen::ir::module::Module as bindgen::codegen::CodeGenerator>::codegen::h448e83513a55562d
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:528:13
    31:     0x55a4068996a8 - <bindgen::ir::item::Item as bindgen::codegen::CodeGenerator>::codegen::h09547ed325defe21
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:467:17
    32:     0x55a40690b2f5 - bindgen::codegen::codegen::{{closure}}::hae2b7a653c81f1c2
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:4105:9
    33:     0x55a40692c892 - bindgen::ir::context::BindgenContext::gen::h800436886ff9809d
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/ir/context.rs:1159:19
    34:     0x55a40690aa9d - bindgen::codegen::codegen::hde7818bdc3a54acf
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/codegen/mod.rs:4079:5
    35:     0x55a4069132ae - bindgen::Bindings::generate::hea72719597ce1b12
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/lib.rs:2146:32
    36:     0x55a406910666 - bindgen::Builder::generate::hc7c2a6fab54b002b
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/lib.rs:1335:9
    37:     0x55a406818d66 - build_script_build::main::hb073efc3f0d89833
                                 at /home/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v4l2-sys-mit-0.2.0/build.rs:7:20
    38:     0x55a4068180fb - core::ops::function::FnOnce::call_once::h267ae928c3d07596
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/core/src/ops/function.rs:250:5
    39:     0x55a406818f2e - std::sys_common::backtrace::__rust_begin_short_backtrace::hd8d4f79c38ae558f
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/sys_common/backtrace.rs:135:18
    40:     0x55a406818941 - std::rt::lang_start::{{closure}}::h6b14cc1ff5e74b5b
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/rt.rs:166:18
    41:     0x55a406c7de45 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h0c782962261767da
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/core/src/ops/function.rs:284:13
    42:     0x55a406c7de45 - std::panicking::try::do_call::hb0139c359c8ca7f8
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/panicking.rs:500:40
    43:     0x55a406c7de45 - std::panicking::try::h2660f70640eebec6
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/panicking.rs:464:19
    44:     0x55a406c7de45 - std::panic::catch_unwind::hb49ffdf1cb513db2
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/panic.rs:142:14
    45:     0x55a406c7de45 - std::rt::lang_start_internal::{{closure}}::hb02f7629b4bb037f
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/rt.rs:148:48
    46:     0x55a406c7de45 - std::panicking::try::do_call::h509325ac206e80d8
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/panicking.rs:500:40
    47:     0x55a406c7de45 - std::panicking::try::h2878637911537fa1
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/panicking.rs:464:19
    48:     0x55a406c7de45 - std::panic::catch_unwind::hd6288c01e9dd3779
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/panic.rs:142:14
    49:     0x55a406c7de45 - std::rt::lang_start_internal::h9a2c6754c2f9f959
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/rt.rs:148:20
    50:     0x55a40681891a - std::rt::lang_start::h1f36d15cfe0c0457
                                 at /rustc/871b5952023139738f72eba235063575062bc2e9/library/std/src/rt.rs:165:17
    51:     0x55a406818f0e - main
    52:     0x7f402ce27cd0 - <unknown>
    53:     0x7f402ce27d8a - __libc_start_main
    54:     0x55a406817ad5 - _start
    55:                0x0 - <unknown>
warning: build failed, waiting for other jobs to finish...