Running phase: unpackPhase unpacking source archive /nix/store/14vx7xm4f2b9sivhvcyfyl8k29xzgrgy-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren/share/doc/wren -DCMAKE_INSTALL_INFODIR=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren/include -DCMAKE_INSTALL_SBINDIR=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren/lib -DCMAKE_STRIP=/nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/ranlib -DCMAKE_AR=/nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren -- The C compiler identification is GNU 16.2.0 -- The CXX compiler identification is GNU 16.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Vulkan: /nix/store/la62431p5qf1ggr3rdzql9dksv5fhicc-vulkan-loader-1.4.363.0/lib/libvulkan.so (found version "1.4.363") missing components: glslc glslangValidator -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found PkgConfig: /nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") -- Checking for module 'stb' -- Found stb, version 1 -- Configuring done (3.8s) -- Generating done (0.1s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_SBINDIR -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j16 [1/32] Building CXX object wren_utils/CMakeFiles/wren_utils.dir/src/string_reader.cpp.o [2/32] Building CXX object wren_math/CMakeFiles/wren_math.dir/src/geometry.cpp.o [3/32] Linking CXX static library wren_math/libwren_math.a [4/32] Building CXX object wren_utils/CMakeFiles/wren_utils.dir/src/string.cpp.o [5/32] Building CXX object wren_platform/CMakeFiles/wren_platform.dir/src/input.cpp.o [6/32] Building CXX object wren_utils/tests/CMakeFiles/binary_reader.dir/binary_reader.cpp.o [7/32] Building CXX object wren_utils/tests/CMakeFiles/string_reader.dir/string_reader.cpp.o [8/32] Building CXX object wren_utils/CMakeFiles/wren_utils.dir/src/filesystem.cpp.o [9/32] Linking CXX static library wren_utils/libwren_utils.a [10/32] Linking CXX executable wren_utils/tests/string_reader [11/32] Linking CXX executable wren_utils/tests/binary_reader [12/32] Building CXX object wren_utils/tests/CMakeFiles/enums.dir/enums.cpp.o [13/32] Linking CXX executable wren_utils/tests/enums [14/32] Building CXX object wren_vk/CMakeFiles/wren_vk.dir/src/memory.cpp.o [15/32] Building CXX object wren_vk/CMakeFiles/wren_vk.dir/src/vulkan.cpp.o [16/32] Building CXX object wren_math/tests/CMakeFiles/vector.dir/vector.cpp.o [17/32] Building CXX object wren_vk/CMakeFiles/wren_vk.dir/src/image.cpp.o [18/32] Building CXX object wren_math/tests/CMakeFiles/matrix.dir/matrix.cpp.o [19/32] Linking CXX executable wren_math/tests/vector [20/32] Linking CXX executable wren_math/tests/matrix [21/32] Building CXX object wren_platform/CMakeFiles/wren_platform.dir/src/linux/graphics_context.cpp.o FAILED: [code=1] wren_platform/CMakeFiles/wren_platform.dir/src/linux/graphics_context.cpp.o /nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/g++ -DSLANG_DYNAMIC -DVULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 -DVULKAN_HPP_NO_EXCEPTIONS -DWREN_DEBUG -I/build/source/wren_platform/include -I/build/source/wren_platform/include/wren -I/build/source/wren_platform/src -I/build/source/wren_math/include -I/build/source/wren_utils/include -I/build/source/wren_vk/include -O3 -DNDEBUG -std=gnu++26 -fdiagnostics-color=always -fno-exceptions -Wall -Wextra -MD -MT wren_platform/CMakeFiles/wren_platform.dir/src/linux/graphics_context.cpp.o -MF wren_platform/CMakeFiles/wren_platform.dir/src/linux/graphics_context.cpp.o.d -o wren_platform/CMakeFiles/wren_platform.dir/src/linux/graphics_context.cpp.o -c /build/source/wren_platform/src/linux/graphics_context.cpp In file included from /build/source/wren_platform/src/linux/graphics_context.cpp:18: /build/source/wren_platform/src/linux/vulkan.hpp: In function 'constexpr auto wren::vulkan::to_vk_image_usage_flags(wren::platform::ImageUsageFlags)': /build/source/wren_platform/src/linux/vulkan.hpp:63:56: error: no matching function for call to 'vk::Flags::Flags(wren::platform::ImageUsageFlags&)' 63 | return static_cast<::vk::ImageUsageFlags>(image_usage); | ^ • there are 4 candidates In file included from /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp:8636, from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:7, from /build/source/wren_platform/src/linux/graphics_context.cpp:1: • candidate 1: 'constexpr vk::Flags::Flags(MaskType) [with BitType = vk::ImageUsageFlagBits; MaskType = unsigned int]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} | ^~~~~ • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::Flags::MaskType' {aka 'unsigned int'} /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:51: 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} | ~~~~~~~~~^~~~~ • candidate 2: 'constexpr vk::Flags::Flags(const vk::Flags&) [with BitType = vk::ImageUsageFlagBits]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; | ^~~~~ • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'const vk::Flags&' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:56: 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ • candidate 3: 'constexpr vk::Flags::Flags(BitType) [with BitType = vk::ImageUsageFlagBits]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} | ^~~~~ • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::ImageUsageFlagBits' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:41: 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} | ~~~~~~~~^~~ • candidate 4: 'constexpr vk::Flags::Flags() [with BitType = vk::ImageUsageFlagBits]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:38:26: 38 | VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} | ^~~~~ • candidate expects 0 arguments, 1 provided In file included from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:9: /build/source/wren_platform/src/linux/graphics_context.cpp: In function 'wren::expected wren::platform::{anonymous}::create_instance(const std::string&, const std::vector >&, const std::vector >&)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:89:3: note: in expansion of macro 'TRY_RESULT' 89 | TRY_RESULT(const auto instance, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:89:3: note: in expansion of macro 'TRY_RESULT' 89 | TRY_RESULT(const auto instance, | ^~~~~~~~~~ /build/source/wren_platform/src/linux/graphics_context.cpp: In function 'wren::expected wren::platform::{anonymous}::create_debug_messenger(vk::Instance)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp1' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:127:3: note: in expansion of macro 'TRY_RESULT' 127 | TRY_RESULT(const auto debug_messenger, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:127:3: note: in expansion of macro 'TRY_RESULT' 127 | TRY_RESULT(const auto debug_messenger, | ^~~~~~~~~~ /build/source/wren_platform/src/linux/graphics_context.cpp: In function 'wren::expected wren::platform::{anonymous}::is_device_suitable(const vk::PhysicalDevice&, const vk::SurfaceKHR&)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp2' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:137:3: note: in expansion of macro 'TRY_RESULT' 137 | TRY_RESULT(vulkan::Queue::find_queue_family_indices(device)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:137:3: note: in expansion of macro 'TRY_RESULT' 137 | TRY_RESULT(vulkan::Queue::find_queue_family_indices(device)); | ^~~~~~~~~~ /build/source/wren_platform/src/linux/graphics_context.cpp: In static member function 'static wren::expected > wren::platform::GraphicsContext::create(const std::string&, const std::shared_ptr&)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp3' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:181:3: note: in expansion of macro 'TRY_RESULT' 181 | TRY_RESULT(const auto instance, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:181:3: note: in expansion of macro 'TRY_RESULT' 181 | TRY_RESULT(const auto instance, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp4' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:187:3: note: in expansion of macro 'TRY_RESULT' 187 | TRY_RESULT(const auto debug_messenger, create_debug_messenger(instance)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:187:3: note: in expansion of macro 'TRY_RESULT' 187 | TRY_RESULT(const auto debug_messenger, create_debug_messenger(instance)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp5' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:196:3: note: in expansion of macro 'TRY_RESULT' 196 | TRY_RESULT(const auto& surface, window->create_surface(gpu_instance)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:196:3: note: in expansion of macro 'TRY_RESULT' 196 | TRY_RESULT(const auto& surface, window->create_surface(gpu_instance)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp6' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:198:3: note: in expansion of macro 'TRY_RESULT' 198 | TRY_RESULT(impl->setup_device(surface)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:198:3: note: in expansion of macro 'TRY_RESULT' 198 | TRY_RESULT(impl->setup_device(surface)); | ^~~~~~~~~~ /build/source/wren_platform/src/linux/graphics_context.cpp: In member function 'wren::expected wren::platform::GraphicsContext::Impl::setup_device(const wren::platform::SurfaceHandle&)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp7' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:221:3: note: in expansion of macro 'TRY_RESULT' 221 | TRY_RESULT(pick_physical_device(surface)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:221:3: note: in expansion of macro 'TRY_RESULT' 221 | TRY_RESULT(pick_physical_device(surface)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp8' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:225:3: note: in expansion of macro 'TRY_RESULT' 225 | TRY_RESULT(create_device(surface)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:225:3: note: in expansion of macro 'TRY_RESULT' 225 | TRY_RESULT(create_device(surface)); | ^~~~~~~~~~ /build/source/wren_platform/src/linux/graphics_context.cpp: In member function 'wren::expected wren::platform::GraphicsContext::Impl::create_device(const wren::platform::SurfaceHandle&)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp9' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:263:3: note: in expansion of macro 'TRY_RESULT' 263 | TRY_RESULT(device, vulkan::Device::create(physical_device, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/graphics_context.cpp:263:3: note: in expansion of macro 'TRY_RESULT' 263 | TRY_RESULT(device, vulkan::Device::create(physical_device, | ^~~~~~~~~~ [22/32] Building CXX object wren_platform/CMakeFiles/wren_platform.dir/src/linux/image.cpp.o FAILED: [code=1] wren_platform/CMakeFiles/wren_platform.dir/src/linux/image.cpp.o /nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/g++ -DSLANG_DYNAMIC -DVULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 -DVULKAN_HPP_NO_EXCEPTIONS -DWREN_DEBUG -I/build/source/wren_platform/include -I/build/source/wren_platform/include/wren -I/build/source/wren_platform/src -I/build/source/wren_math/include -I/build/source/wren_utils/include -I/build/source/wren_vk/include -O3 -DNDEBUG -std=gnu++26 -fdiagnostics-color=always -fno-exceptions -Wall -Wextra -MD -MT wren_platform/CMakeFiles/wren_platform.dir/src/linux/image.cpp.o -MF wren_platform/CMakeFiles/wren_platform.dir/src/linux/image.cpp.o.d -o wren_platform/CMakeFiles/wren_platform.dir/src/linux/image.cpp.o -c /build/source/wren_platform/src/linux/image.cpp In file included from /build/source/wren_platform/src/linux/image.cpp:5: /build/source/wren_platform/src/linux/vulkan.hpp: In function 'constexpr auto wren::vulkan::to_vk_image_usage_flags(wren::platform::ImageUsageFlags)': /build/source/wren_platform/src/linux/vulkan.hpp:63:56: error: no matching function for call to 'vk::Flags::Flags(wren::platform::ImageUsageFlags&)' 63 | return static_cast<::vk::ImageUsageFlags>(image_usage); | ^ • there are 4 candidates In file included from /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp:8636, from /build/source/wren_vk/include/wren/vk/image.hpp:5, from /build/source/wren_platform/src/linux/image.cpp:3: • candidate 1: 'constexpr vk::Flags::Flags(MaskType) [with BitType = vk::ImageUsageFlagBits; MaskType = unsigned int]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} | ^~~~~ • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::Flags::MaskType' {aka 'unsigned int'} /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:51: 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} | ~~~~~~~~~^~~~~ • candidate 2: 'constexpr vk::Flags::Flags(const vk::Flags&) [with BitType = vk::ImageUsageFlagBits]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; | ^~~~~ • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'const vk::Flags&' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:56: 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ • candidate 3: 'constexpr vk::Flags::Flags(BitType) [with BitType = vk::ImageUsageFlagBits]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} | ^~~~~ • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::ImageUsageFlagBits' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:41: 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} | ~~~~~~~~^~~ • candidate 4: 'constexpr vk::Flags::Flags() [with BitType = vk::ImageUsageFlagBits]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:38:26: 38 | VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} | ^~~~~ • candidate expects 0 arguments, 1 provided In file included from /build/source/wren_platform/include/wren/platform/image.hpp:9, from /build/source/wren_platform/src/linux/image.cpp:1: /build/source/wren_platform/src/linux/image.cpp: In static member function 'static wren::expected wren::platform::Image::create(const wren::platform::Allocator&, wren::platform::Format, const wren::math::Vec2i&, wren::platform::ImageUsageFlags)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/image.cpp:16:3: note: in expansion of macro 'TRY_RESULT' 16 | TRY_RESULT(auto image, vk::Image::create( | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/image.cpp:16:3: note: in expansion of macro 'TRY_RESULT' 16 | TRY_RESULT(auto image, vk::Image::create( | ^~~~~~~~~~ /build/source/wren_platform/src/linux/image.cpp:18:66: error: cannot convert 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'const vk::ImageUsageFlags&' {aka 'const vk::Flags&'} 18 | vulkan::to_vk_format(format), size, image_usage)); | ^~~~~~~~~~~ | | | wren::platform::ImageUsageFlags {aka wren::utils::Flags} /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' 169 | auto(unique) = (expr); \ | ^~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_platform/src/linux/image.cpp:16:3: note: in expansion of macro 'TRY_RESULT' 16 | TRY_RESULT(auto image, vk::Image::create( | ^~~~~~~~~~ /build/source/wren_vk/include/wren/vk/image.hpp:15:51: note: initializing argument 4 of 'static wren::expected wren::vk::Image::create(VmaAllocator_T* const&, const vk::Format&, const wren::math::Vec2i&, const vk::ImageUsageFlags&)' 15 | const ::vk::ImageUsageFlags& usage) -> expected; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [23/32] Building CXX object wren_math/tests/CMakeFiles/geometry.dir/geometry.cpp.o [24/32] Building CXX object wren_platform/CMakeFiles/wren_platform.dir/src/linux/window.cpp.o FAILED: [code=1] wren_platform/CMakeFiles/wren_platform.dir/src/linux/window.cpp.o /nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/g++ -DSLANG_DYNAMIC -DVULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 -DVULKAN_HPP_NO_EXCEPTIONS -DWREN_DEBUG -I/build/source/wren_platform/include -I/build/source/wren_platform/include/wren -I/build/source/wren_platform/src -I/build/source/wren_math/include -I/build/source/wren_utils/include -I/build/source/wren_vk/include -O3 -DNDEBUG -std=gnu++26 -fdiagnostics-color=always -fno-exceptions -Wall -Wextra -MD -MT wren_platform/CMakeFiles/wren_platform.dir/src/linux/window.cpp.o -MF wren_platform/CMakeFiles/wren_platform.dir/src/linux/window.cpp.o.d -o wren_platform/CMakeFiles/wren_platform.dir/src/linux/window.cpp.o -c /build/source/wren_platform/src/linux/window.cpp In file included from /build/source/wren_platform/src/linux/window.cpp:12: /build/source/wren_platform/src/linux/vulkan.hpp: In function 'constexpr auto wren::vulkan::to_vk_image_usage_flags(wren::platform::ImageUsageFlags)': /build/source/wren_platform/src/linux/vulkan.hpp:63:56: error: no matching function for call to 'vk::Flags::Flags(wren::platform::ImageUsageFlags&)' 63 | return static_cast<::vk::ImageUsageFlags>(image_usage); | ^ • there are 4 candidates In file included from /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp:8636, from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:7, from /build/source/wren_platform/include/wren/platform/window.hpp:9, from /build/source/wren_platform/src/linux/window.cpp:1: • candidate 1: 'constexpr vk::Flags::Flags(MaskType) [with BitType = vk::ImageUsageFlagBits; MaskType = unsigned int]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} | ^~~~~ • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::Flags::MaskType' {aka 'unsigned int'} /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:51: 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} | ~~~~~~~~~^~~~~ • candidate 2: 'constexpr vk::Flags::Flags(const vk::Flags&) [with BitType = vk::ImageUsageFlagBits]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; | ^~~~~ • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'const vk::Flags&' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:56: 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ • candidate 3: 'constexpr vk::Flags::Flags(BitType) [with BitType = vk::ImageUsageFlagBits]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} | ^~~~~ • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::ImageUsageFlagBits' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:41: 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} | ~~~~~~~~^~~ • candidate 4: 'constexpr vk::Flags::Flags() [with BitType = vk::ImageUsageFlagBits]' /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:38:26: 38 | VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} | ^~~~~ • candidate expects 0 arguments, 1 provided [25/32] Building CXX object wren_vk/CMakeFiles/wren_vk.dir/src/buffer.cpp.o In file included from /build/source/wren_vk/include/wren/vk/result.hpp:8, from /build/source/wren_vk/include/wren/vk/buffer.hpp:9, from /build/source/wren_vk/src/buffer.cpp:1: /build/source/wren_vk/include/wren/vk/buffer.hpp: In member function 'wren::expected wren::vk::Buffer::set_data_raw(std::span)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/include/wren/vk/buffer.hpp:65:3: note: in expansion of macro 'TRY_RESULT' 65 | TRY_RESULT(to_expected(static_cast<::vk::Result>(vmaCopyMemoryToAllocation( | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/include/wren/vk/buffer.hpp:65:3: note: in expansion of macro 'TRY_RESULT' 65 | TRY_RESULT(to_expected(static_cast<::vk::Result>(vmaCopyMemoryToAllocation( | ^~~~~~~~~~ /build/source/wren_vk/src/buffer.cpp: In member function 'wren::expected wren::vk::Buffer::set_data_raw(const void*, std::size_t)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp1' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:42:3: note: in expansion of macro 'TRY_RESULT' 42 | TRY_RESULT(to_expected( | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:42:3: note: in expansion of macro 'TRY_RESULT' 42 | TRY_RESULT(to_expected( | ^~~~~~~~~~ /build/source/wren_vk/src/buffer.cpp: In static member function 'static wren::expected wren::vk::Buffer::copy_buffer(const vk::Device&, const vk::Queue&, const vk::CommandPool&, const std::shared_ptr&, const std::shared_ptr&, size_t)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp2' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:57:3: note: in expansion of macro 'TRY_RESULT' 57 | TRY_RESULT(const auto cmd_bufs, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:57:3: note: in expansion of macro 'TRY_RESULT' 57 | TRY_RESULT(const auto cmd_bufs, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp3' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:65:3: note: in expansion of macro 'TRY_RESULT' 65 | TRY_RESULT(to_expected(cmd_buf.begin(begin_info))); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:65:3: note: in expansion of macro 'TRY_RESULT' 65 | TRY_RESULT(to_expected(cmd_buf.begin(begin_info))); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp4' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:69:3: note: in expansion of macro 'TRY_RESULT' 69 | TRY_RESULT(to_expected(cmd_buf.end())); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:69:3: note: in expansion of macro 'TRY_RESULT' 69 | TRY_RESULT(to_expected(cmd_buf.end())); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp5' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:72:3: note: in expansion of macro 'TRY_RESULT' 72 | TRY_RESULT(to_expected(submit_queue.submit(submit_info))); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:72:3: note: in expansion of macro 'TRY_RESULT' 72 | TRY_RESULT(to_expected(submit_queue.submit(submit_info))); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp6' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:73:3: note: in expansion of macro 'TRY_RESULT' 73 | TRY_RESULT(to_expected(submit_queue.waitIdle())); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/buffer.cpp:73:3: note: in expansion of macro 'TRY_RESULT' 73 | TRY_RESULT(to_expected(submit_queue.waitIdle())); | ^~~~~~~~~~ [26/32] Building CXX object wren/CMakeFiles/wren.dir/src/render_target.cpp.o FAILED: [code=1] wren/CMakeFiles/wren.dir/src/render_target.cpp.o /nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/g++ -DTRACY_ENABLE -DTRACY_IMPORTS -DWREN_DEBUG -I/build/source/wren/include -I/build/source/wren/include/wren -I/build/source/wren_platform/include -I/build/source/wren_utils/include -I/build/source/wren_math/include -isystem /nix/store/sz7ddakdygzgh53lbfwrgjq951ahzwpq-tracy-0.13.1/include/tracy -isystem /nix/store/xk945rn4hvsb2wp5bkfa4dm9rah5vjp6-stb-0-unstable-2026-04-15/include/stb -O3 -DNDEBUG -std=gnu++26 -fdiagnostics-color=always -fno-exceptions -Wall -Wextra -MD -MT wren/CMakeFiles/wren.dir/src/render_target.cpp.o -MF wren/CMakeFiles/wren.dir/src/render_target.cpp.o.d -o wren/CMakeFiles/wren.dir/src/render_target.cpp.o -c /build/source/wren/src/render_target.cpp In file included from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:7, from /build/source/wren/include/wren/context.hpp:5, from /build/source/wren/include/wren/render_target.hpp:9, from /build/source/wren/src/render_target.cpp:1: /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp: In function 'void vk::detail::throwResultException(vk::Result, const char*)': /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp:9061:104: error: exception handling disabled, use '-fexceptions' to enable 9061 | case Result::eErrorOutOfHostMemory : throw OutOfHostMemoryError( message ); | ^ In file included from /build/source/wren_platform/include/wren/platform/image.hpp:9, from /build/source/wren/include/wren/render_target.hpp:5: /build/source/wren/src/render_target.cpp: In static member function 'static wren::expected > wren::RenderTarget::create(const std::shared_ptr&)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:16:3: note: in expansion of macro 'TRY_RESULT' 16 | TRY_RESULT(auto image, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:16:3: note: in expansion of macro 'TRY_RESULT' 16 | TRY_RESULT(auto image, | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp:46:17: error: 'class wren::platform::Image' has no member named 'get' 46 | {}, image.get(), ::vk::ImageViewType::e2D, format, {}, | ^~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp1' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:48:3: note: in expansion of macro 'TRY_RESULT' 48 | TRY_RESULT( | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:48:3: note: in expansion of macro 'TRY_RESULT' 48 | TRY_RESULT( | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp:50:11: error: 'to_expected' is not a member of 'vk' 50 | vk::to_expected(ctx->graphics_context->device().get().createImageView( | ^~~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' 169 | auto(unique) = (expr); \ | ^~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:48:3: note: in expansion of macro 'TRY_RESULT' 48 | TRY_RESULT( | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp:50:46: error: 'using std::__shared_ptr_access::element_type = class wren::platform::GraphicsContext' {aka 'class wren::platform::GraphicsContext'} has no member named 'device' 50 | vk::to_expected(ctx->graphics_context->device().get().createImageView( | ^~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' 169 | auto(unique) = (expr); \ | ^~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:48:3: note: in expansion of macro 'TRY_RESULT' 48 | TRY_RESULT( | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp: In static member function 'static wren::expected > wren::RenderTarget::create_depth(const std::shared_ptr&)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp2' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:69:3: note: in expansion of macro 'TRY_RESULT' 69 | TRY_RESULT(auto image, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:69:3: note: in expansion of macro 'TRY_RESULT' 69 | TRY_RESULT(auto image, | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp:70:74: error: cannot convert 'const vk::Format' to 'wren::platform::Format' 70 | platform::Image::create(ctx->graphics_context->allocator(), format, | ^~~~~~ | | | const vk::Format /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' 169 | auto(unique) = (expr); \ | ^~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:69:3: note: in expansion of macro 'TRY_RESULT' 69 | TRY_RESULT(auto image, | ^~~~~~~~~~ /build/source/wren_platform/include/wren/platform/image.hpp:23:57: note: initializing argument 2 of 'static wren::expected wren::platform::Image::create(const wren::platform::Allocator&, wren::platform::Format, const wren::math::Vec2i&, wren::platform::ImageUsageFlags)' 23 | static auto create(const Allocator& allocator, Format format, | ~~~~~~~^~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp3' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:100:3: note: in expansion of macro 'TRY_RESULT' 100 | TRY_RESULT( | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:100:3: note: in expansion of macro 'TRY_RESULT' 100 | TRY_RESULT( | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp:102:11: error: 'to_expected' is not a member of 'vk' 102 | vk::to_expected(ctx->graphics_context->device().get().createImageView( | ^~~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' 169 | auto(unique) = (expr); \ | ^~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:100:3: note: in expansion of macro 'TRY_RESULT' 100 | TRY_RESULT( | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp:102:46: error: 'using std::__shared_ptr_access::element_type = class wren::platform::GraphicsContext' {aka 'class wren::platform::GraphicsContext'} has no member named 'device' 102 | vk::to_expected(ctx->graphics_context->device().get().createImageView( | ^~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' 169 | auto(unique) = (expr); \ | ^~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:100:3: note: in expansion of macro 'TRY_RESULT' 100 | TRY_RESULT( | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp: In member function 'wren::expected wren::RenderTarget::resize(const std::shared_ptr&, const wren::math::Vec2i&)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp4' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:129:5: note: in expansion of macro 'TRY_RESULT' 129 | TRY_RESULT(image_, vk::Image::create(ctx->graphics_context->allocator(), | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:129:5: note: in expansion of macro 'TRY_RESULT' 129 | TRY_RESULT(image_, vk::Image::create(ctx->graphics_context->allocator(), | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp:129:35: error: 'create' is not a member of 'vk::Image' 129 | TRY_RESULT(image_, vk::Image::create(ctx->graphics_context->allocator(), | ^~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' 169 | auto(unique) = (expr); \ | ^~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:129:5: note: in expansion of macro 'TRY_RESULT' 129 | TRY_RESULT(image_, vk::Image::create(ctx->graphics_context->allocator(), | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp5' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:133:7: note: in expansion of macro 'TRY_RESULT' 133 | TRY_RESULT(transition_fn_(this)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:133:7: note: in expansion of macro 'TRY_RESULT' 133 | TRY_RESULT(transition_fn_(this)); | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp:137:21: error: 'class vk::Image' has no member named 'get' 137 | {}, image_->get(), ::vk::ImageViewType::e2D, format_, {}, | ^~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp6' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:140:5: note: in expansion of macro 'TRY_RESULT' 140 | TRY_RESULT(view_, vk::to_expected( | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:140:5: note: in expansion of macro 'TRY_RESULT' 140 | TRY_RESULT(view_, vk::to_expected( | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp:140:27: error: 'to_expected' is not a member of 'vk' 140 | TRY_RESULT(view_, vk::to_expected( | ^~~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' 169 | auto(unique) = (expr); \ | ^~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:140:5: note: in expansion of macro 'TRY_RESULT' 140 | TRY_RESULT(view_, vk::to_expected( | ^~~~~~~~~~ /build/source/wren/src/render_target.cpp:141:50: error: 'using std::__shared_ptr_access::element_type = class wren::platform::GraphicsContext' {aka 'class wren::platform::GraphicsContext'} has no member named 'device' 141 | ctx->graphics_context->device().get().createImageView( | ^~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' 169 | auto(unique) = (expr); \ | ^~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/render_target.cpp:140:5: note: in expansion of macro 'TRY_RESULT' 140 | TRY_RESULT(view_, vk::to_expected( | ^~~~~~~~~~ In file included from /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/memory:80, from /build/source/wren_platform/include/wren/platform/image.hpp:4: /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h: In instantiation of 'constexpr void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = wren::platform::Image::Impl]': /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h:408:17: required from 'constexpr std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = wren::platform::Image::Impl; _Dp = std::default_delete]' 408 | get_deleter()(std::move(__ptr)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /build/source/wren_platform/include/wren/platform/image.hpp:17:7: required from here 17 | class Image { | ^~~~~ /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h:90:23: error: invalid application of 'sizeof' to incomplete type 'wren::platform::Image::Impl' 90 | static_assert(sizeof(_Tp)>0, | ^~~~~~~~~~~ /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h:92:9: error: operator 'delete' used on incomplete type [-Wdelete-incomplete] 92 | delete __ptr; | ^~~~~~~~~~~~ /build/source/wren_platform/include/wren/platform/image.hpp:19:10: note: forward declaration of 'struct wren::platform::Image::Impl' 19 | struct Impl; | ^~~~ [27/32] Building CXX object wren/CMakeFiles/wren.dir/src/application.cpp.o FAILED: [code=1] wren/CMakeFiles/wren.dir/src/application.cpp.o /nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/g++ -DTRACY_ENABLE -DTRACY_IMPORTS -DWREN_DEBUG -I/build/source/wren/include -I/build/source/wren/include/wren -I/build/source/wren_platform/include -I/build/source/wren_utils/include -I/build/source/wren_math/include -isystem /nix/store/sz7ddakdygzgh53lbfwrgjq951ahzwpq-tracy-0.13.1/include/tracy -isystem /nix/store/xk945rn4hvsb2wp5bkfa4dm9rah5vjp6-stb-0-unstable-2026-04-15/include/stb -O3 -DNDEBUG -std=gnu++26 -fdiagnostics-color=always -fno-exceptions -Wall -Wextra -MD -MT wren/CMakeFiles/wren.dir/src/application.cpp.o -MF wren/CMakeFiles/wren.dir/src/application.cpp.o.d -o wren/CMakeFiles/wren.dir/src/application.cpp.o -c /build/source/wren/src/application.cpp In file included from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:7, from /build/source/wren/include/wren/context.hpp:5, from /build/source/wren/include/wren/application.hpp:6, from /build/source/wren/src/application.cpp:1: /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp: In function 'void vk::detail::throwResultException(vk::Result, const char*)': /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp:9061:104: error: exception handling disabled, use '-fexceptions' to enable 9061 | case Result::eErrorOutOfHostMemory : throw OutOfHostMemoryError( message ); | ^ In file included from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:9: /build/source/wren/src/application.cpp: In static member function 'static wren::expected > wren::Application::create(const std::string&)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/application.cpp:24:3: note: in expansion of macro 'TRY_RESULT' 24 | TRY_RESULT(auto window, platform::Window::create(application_name)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/application.cpp:24:3: note: in expansion of macro 'TRY_RESULT' 24 | TRY_RESULT(auto window, platform::Window::create(application_name)); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp1' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/application.cpp:26:3: note: in expansion of macro 'TRY_RESULT' 26 | TRY_RESULT(auto graphics_context, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren/src/application.cpp:26:3: note: in expansion of macro 'TRY_RESULT' 26 | TRY_RESULT(auto graphics_context, | ^~~~~~~~~~ [28/32] Building CXX object wren_vk/CMakeFiles/wren_vk.dir/src/shader.cpp.o In file included from /build/source/wren_vk/include/wren/vk/shader.hpp:12, from /build/source/wren_vk/src/shader.cpp:1: /build/source/wren_vk/src/shader.cpp: In lambda function: /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/shader.cpp:223:5: note: in expansion of macro 'TRY_RESULT' 223 | TRY_RESULT(const auto module, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/shader.cpp:223:5: note: in expansion of macro 'TRY_RESULT' 223 | TRY_RESULT(const auto module, | ^~~~~~~~~~ /build/source/wren_vk/src/shader.cpp: In static member function 'static wren::expected > wren::vk::Shader::create(const vk::Device&, const std::filesystem::__cxx11::path&)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp1' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/shader.cpp:239:3: note: in expansion of macro 'TRY_RESULT' 239 | TRY_RESULT(const auto& v_module, compile_shader("vertexMain")); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/shader.cpp:239:3: note: in expansion of macro 'TRY_RESULT' 239 | TRY_RESULT(const auto& v_module, compile_shader("vertexMain")); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp2' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/shader.cpp:242:3: note: in expansion of macro 'TRY_RESULT' 242 | TRY_RESULT(const auto& f_module, compile_shader("fragmentMain")); | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/shader.cpp:242:3: note: in expansion of macro 'TRY_RESULT' 242 | TRY_RESULT(const auto& f_module, compile_shader("fragmentMain")); | ^~~~~~~~~~ /build/source/wren_vk/src/shader.cpp: In member function 'wren::expected wren::vk::Shader::create_graphics_pipeline(const vk::Device&, const vk::DescriptorPool&, const vk::RenderPass&, const wren::math::Vec2i&, bool)': /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp3' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/shader.cpp:306:3: note: in expansion of macro 'TRY_RESULT' 306 | TRY_RESULT(pipeline_layout_, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/shader.cpp:306:3: note: in expansion of macro 'TRY_RESULT' 306 | TRY_RESULT(pipeline_layout_, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp4' [-Wparentheses] 169 | auto(unique) = (expr); \ | ^~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/shader.cpp:374:3: note: in expansion of macro 'TRY_RESULT' 374 | TRY_RESULT(pipeline_, | ^~~~~~~~~~ /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' 175 | TRY_RESULT_IMPL(unique, expr) \ | ^~~~~~~~~~~~~~~ /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' 29 | # define BOOST_PP_CAT_I(a, b) a ## b | ^ /build/source/wren_vk/src/shader.cpp:374:3: note: in expansion of macro 'TRY_RESULT' 374 | TRY_RESULT(pipeline_, | ^~~~~~~~~~ ninja: build stopped: subcommand failed.