❯ RUST_LOG=debug CXX=g++ cargo xtask build-server --release warning: unused variable: `is_nightly` --> alvr/xtask/src/main.rs:105:39 | 105 | pub fn build_server(is_release: bool, is_nightly: bool, fetch_crates: bool, bundle_ffmpeg: bool) { | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_nightly` | = note: `#[warn(unused_variables)]` on by default warning: 1 warning emitted Finished dev [unoptimized + debuginfo] target(s) in 0.06s Running `target/debug/alvr_xtask build-server --release` > cargo build --release Finished release [optimized] target(s) in 0.06s > cargo build --release --no-default-features --features default Compiling alvr_server v16.0.0-rc2 (/home/matteo/alvr-shit/ALVR/alvr/server) warning: In file included from src/bindings.cpp:1: warning: src/openvr_driver_capi.h:157:10: warning: 'DriverDirectModeComponent::CreateSwapTextureSet' hides overloaded virtual function [-Woverloaded-virtual] warning: void CreateSwapTextureSet(uint32_t unPid, warning: ^ warning: include/openvr_driver.h:2786:16: note: hidden overloaded virtual function 'vr::IVRDriverDirectModeComponent::CreateSwapTextureSet' declared here: type mismatch at 3rd parameter ('vr::IVRDriverDirectModeComponent::SwapTextureSet_t *' vs 'vr::SharedTextureHandle_t (*)[3]') warning: virtual void CreateSwapTextureSet( uint32_t unPid, const SwapTextureSetDesc_t *pSwapTextureSetDesc, SwapTextureSet_t *pOutSwapTextureSet ) {} warning: ^ warning: In file included from src/bindings.cpp:1: warning: src/openvr_driver_capi.h:175:10: warning: 'DriverDirectModeComponent::SubmitLayer' hides overloaded virtual function [-Woverloaded-virtual] warning: void SubmitLayer(const SubmitLayerPerEye_t (&perEye)[2], const HmdMatrix34_t *pPose) { warning: ^ warning: include/openvr_driver.h:2813:16: note: hidden overloaded virtual function 'vr::IVRDriverDirectModeComponent::SubmitLayer' declared here: different number of parameters (1 vs 2) warning: virtual void SubmitLayer( const SubmitLayerPerEye_t( &perEye )[ 2 ] ) {} warning: ^ warning: 2 warnings generated. The following warnings were emitted during compilation: warning: In file included from /usr/include/c++/11.1.0/cassert:44, warning: from /usr/include/vulkan/vulkan.hpp:75, warning: from cpp/platform/linux/ffmpeg_helper.h:3, warning: from cpp/platform/linux/ffmpeg_helper.cpp:1: warning: /usr/include/vulkan/vulkan_funcs.hpp: In instantiation of ‘vk::ResultValueType::type vk::Device::importSemaphoreFdKHR(const vk::ImportSemaphoreFdInfoKHR&, const Dispatch&) const [with Dispatch = alvr::VkContext::dispatch; vk::ResultValueType::type = void]’: warning: cpp/platform/linux/ffmpeg_helper.cpp:143:30: required from here warning: /usr/include/vulkan/vulkan_funcs.hpp:11062:5: error: ‘const struct alvr::VkContext::dispatch’ has no member named ‘getVkHeaderVersion’ warning: 11062 | VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); warning: | ^~~~~~~~~~~~~~~~~ error: failed to run custom build command for `alvr_server v16.0.0-rc2 (/home/matteo/alvr-shit/ALVR/alvr/server)` Caused by: process didn't exit successfully: `/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-f5e047348eb17fb9/build-script-build` (exit status: 1) --- stdout TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("x86_64-unknown-linux-gnu") CXX_x86_64-unknown-linux-gnu = None CXX_x86_64_unknown_linux_gnu = None HOST_CXX = None CXX = Some("g++") CXXFLAGS_x86_64-unknown-linux-gnu = None CXXFLAGS_x86_64_unknown_linux_gnu = None HOST_CXXFLAGS = None CXXFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") CXX_x86_64-unknown-linux-gnu = None CXX_x86_64_unknown_linux_gnu = None HOST_CXX = None CXX = Some("g++") CXXFLAGS_x86_64-unknown-linux-gnu = None CXXFLAGS_x86_64_unknown_linux_gnu = None HOST_CXXFLAGS = None CXXFLAGS = None CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") CXX_x86_64-unknown-linux-gnu = None CXX_x86_64_unknown_linux_gnu = None HOST_CXX = None CXX = Some("g++") CXXFLAGS_x86_64-unknown-linux-gnu = None CXXFLAGS_x86_64_unknown_linux_gnu = None HOST_CXXFLAGS = None CXXFLAGS = None CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/ChaperoneUpdater.o" "-c" "cpp/alvr_server/ChaperoneUpdater.cpp" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/IDRScheduler.o" "-c" "cpp/alvr_server/IDRScheduler.cpp" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/ALVR-common/reedsolomon/rs.o" "-c" "cpp/ALVR-common/reedsolomon/rs.c" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/PoseHistory.o" "-c" "cpp/alvr_server/PoseHistory.cpp" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/OvrController.o" "-c" "cpp/alvr_server/OvrController.cpp" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/OvrHMD.o" "-c" "cpp/alvr_server/OvrHMD.cpp" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/ALVR-common/common-utils.o" "-c" "cpp/ALVR-common/common-utils.cpp" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/OvrViveTrackerProxy.o" "-c" "cpp/alvr_server/OvrViveTrackerProxy.cpp" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/ClientConnection.o" "-c" "cpp/alvr_server/ClientConnection.cpp" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/OvrDisplayComponent.o" "-c" "cpp/alvr_server/OvrDisplayComponent.cpp" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/Logger.o" "-c" "cpp/alvr_server/Logger.cpp" running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/ALVR-common/exception.o" "-c" "cpp/ALVR-common/exception.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/Settings.o" "-c" "cpp/alvr_server/Settings.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/Utils.o" "-c" "cpp/alvr_server/Utils.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/VSyncThread.o" "-c" "cpp/alvr_server/VSyncThread.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/alvr_server.o" "-c" "cpp/alvr_server/alvr_server.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/alvr_server/driverlog.o" "-c" "cpp/alvr_server/driverlog.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/shared/threadtools.o" "-c" "cpp/shared/threadtools.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/platform/linux/CEncoder.o" "-c" "cpp/platform/linux/CEncoder.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/platform/linux/EncodePipeline.o" "-c" "cpp/platform/linux/EncodePipeline.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/platform/linux/EncodePipelineSW.o" "-c" "cpp/platform/linux/EncodePipelineSW.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/platform/linux/EncodePipelineVAAPI.o" "-c" "cpp/platform/linux/EncodePipelineVAAPI.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/platform/linux/ffmpeg_helper.o" "-c" "cpp/platform/linux/ffmpeg_helper.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/platform/linux/generated/avcodec_loader.o" "-c" "cpp/platform/linux/generated/avcodec_loader.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/platform/linux/generated/avfilter_loader.o" "-c" "cpp/platform/linux/generated/avfilter_loader.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/platform/linux/generated/avutil_loader.o" "-c" "cpp/platform/linux/generated/avutil_loader.cpp" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/platform/linux/generated/swscale_loader.o" "-c" "cpp/platform/linux/generated/swscale_loader.cpp" exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 cargo:warning=In file included from /usr/include/c++/11.1.0/cassert:44, cargo:warning= from /usr/include/vulkan/vulkan.hpp:75, cargo:warning= from cpp/platform/linux/ffmpeg_helper.h:3, cargo:warning= from cpp/platform/linux/ffmpeg_helper.cpp:1: cargo:warning=/usr/include/vulkan/vulkan_funcs.hpp: In instantiation of ‘vk::ResultValueType::type vk::Device::importSemaphoreFdKHR(const vk::ImportSemaphoreFdInfoKHR&, const Dispatch&) const [with Dispatch = alvr::VkContext::dispatch; vk::ResultValueType::type = void]’: cargo:warning=cpp/platform/linux/ffmpeg_helper.cpp:143:30: required from here cargo:warning=/usr/include/vulkan/vulkan_funcs.hpp:11062:5: error: ‘const struct alvr::VkContext::dispatch’ has no member named ‘getVkHeaderVersion’ cargo:warning=11062 | VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); cargo:warning= | ^~~~~~~~~~~~~~~~~ exit status: 0 exit status: 0 exit status: 1 exit status: 0 exit status: 0 --- stderr error occurred: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "cpp/openvr/headers" "-I" "cpp" "-Wall" "-Wextra" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/matteo/alvr-shit/ALVR/target/release/build/alvr_server-ff4837df5311dfd6/out/cpp/platform/linux/ffmpeg_helper.o" "-c" "cpp/platform/linux/ffmpeg_helper.cpp" with args "g++" did not execute successfully (status code exit status: 1). thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Command failed: "', alvr/xtask/src/main.rs:202:10 stack backtrace: 0: rust_begin_unwind at /rustc/a1411de9de38e0fed728874580218338160eb185/library/std/src/panicking.rs:515:5 1: core::panicking::panic_fmt at /rustc/a1411de9de38e0fed728874580218338160eb185/library/core/src/panicking.rs:92:14 2: core::result::unwrap_failed at /rustc/a1411de9de38e0fed728874580218338160eb185/library/core/src/result.rs:1355:5 3: core::result::Result::unwrap at /rustc/a1411de9de38e0fed728874580218338160eb185/library/core/src/result.rs:1037:23 4: alvr_xtask::build_server at ./alvr/xtask/src/main.rs:194:9 5: alvr_xtask::main at ./alvr/xtask/src/main.rs:563:35 6: core::ops::function::FnOnce::call_once at /rustc/a1411de9de38e0fed728874580218338160eb185/library/core/src/ops/function.rs:227:5 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.