warning: unknown setting 'eval-cores' warning: unknown setting 'lazy-trees' this derivation will be built: /nix/store/m9nj3zjar6nq8w58mgm05dgv5rs8i363-wren.drv building '/nix/store/m9nj3zjar6nq8w58mgm05dgv5rs8i363-wren.drv' wren> Running phase: unpackPhase wren> unpacking source archive /nix/store/14vx7xm4f2b9sivhvcyfyl8k29xzgrgy-source wren> source root is source wren> Running phase: patchPhase wren> Running phase: updateAutotoolsGnuConfigScriptsPhase wren> Running phase: configurePhase wren> 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 wren> -- The C compiler identification is GNU 16.2.0 wren> -- The CXX compiler identification is GNU 16.2.0 wren> -- Detecting C compiler ABI info wren> -- Detecting C compiler ABI info - done wren> -- Check for working C compiler: /nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/gcc - skipped wren> -- Detecting C compile features wren> -- Detecting C compile features - done wren> -- Detecting CXX compiler ABI info wren> -- Detecting CXX compiler ABI info - done wren> -- Check for working CXX compiler: /nix/store/r5ri78axx1qggkjq3vawywlzglg70b5w-gcc-wrapper-16.2.0/bin/g++ - skipped wren> -- Detecting CXX compile features wren> -- Detecting CXX compile features - done wren> -- Found Vulkan: /nix/store/la62431p5qf1ggr3rdzql9dksv5fhicc-vulkan-loader-1.4.363.0/lib/libvulkan.so (found version "1.4.363") missing components: glslc glslangValidator wren> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD wren> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success wren> -- Found Threads: TRUE wren> -- Found PkgConfig: /nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") wren> -- Checking for module 'stb' wren> -- Found stb, version 1 wren> -- Configuring done (3.8s) wren> -- Generating done (0.1s) wren> CMake Warning (unused-cli): wren> Manually-specified variables were not used by the project: wren> wren> CMAKE_EXPORT_NO_PACKAGE_REGISTRY wren> CMAKE_INSTALL_BINDIR wren> CMAKE_INSTALL_DOCDIR wren> CMAKE_INSTALL_INCLUDEDIR wren> CMAKE_INSTALL_INFODIR wren> CMAKE_INSTALL_LIBEXECDIR wren> CMAKE_INSTALL_LOCALEDIR wren> CMAKE_INSTALL_MANDIR wren> CMAKE_INSTALL_SBINDIR wren> wren> wren> -- Build files have been written to: /build/source/build wren> cmake: enabled parallel building wren> cmake: enabled parallel installing wren> Running phase: buildPhase wren> build flags: -j16 wren> [1/32] Building CXX object wren_utils/CMakeFiles/wren_utils.dir/src/string_reader.cpp.o wren> [2/32] Building CXX object wren_math/CMakeFiles/wren_math.dir/src/geometry.cpp.o wren> [3/32] Linking CXX static library wren_math/libwren_math.a wren> [4/32] Building CXX object wren_utils/CMakeFiles/wren_utils.dir/src/string.cpp.o wren> [5/32] Building CXX object wren_platform/CMakeFiles/wren_platform.dir/src/input.cpp.o wren> [6/32] Building CXX object wren_utils/tests/CMakeFiles/binary_reader.dir/binary_reader.cpp.o wren> [7/32] Building CXX object wren_utils/tests/CMakeFiles/string_reader.dir/string_reader.cpp.o wren> [8/32] Building CXX object wren_utils/CMakeFiles/wren_utils.dir/src/filesystem.cpp.o wren> [9/32] Linking CXX static library wren_utils/libwren_utils.a wren> [10/32] Linking CXX executable wren_utils/tests/string_reader wren> [11/32] Linking CXX executable wren_utils/tests/binary_reader wren> [12/32] Building CXX object wren_utils/tests/CMakeFiles/enums.dir/enums.cpp.o wren> [13/32] Linking CXX executable wren_utils/tests/enums wren> [14/32] Building CXX object wren_vk/CMakeFiles/wren_vk.dir/src/memory.cpp.o wren> [15/32] Building CXX object wren_vk/CMakeFiles/wren_vk.dir/src/vulkan.cpp.o wren> [16/32] Building CXX object wren_math/tests/CMakeFiles/vector.dir/vector.cpp.o wren> [17/32] Building CXX object wren_vk/CMakeFiles/wren_vk.dir/src/image.cpp.o wren> [18/32] Building CXX object wren_math/tests/CMakeFiles/matrix.dir/matrix.cpp.o wren> [19/32] Linking CXX executable wren_math/tests/vector wren> [20/32] Linking CXX executable wren_math/tests/matrix wren> [21/32] Building CXX object wren_platform/CMakeFiles/wren_platform.dir/src/linux/graphics_context.cpp.o wren> FAILED: [code=1] wren_platform/CMakeFiles/wren_platform.dir/src/linux/graphics_context.cpp.o wren> /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 wren> In file included from /build/source/wren_platform/src/linux/graphics_context.cpp:18: wren> /build/source/wren_platform/src/linux/vulkan.hpp: In function 'constexpr auto wren::vulkan::to_vk_image_usage_flags(wren::platform::ImageUsageFlags)': wren> /build/source/wren_platform/src/linux/vulkan.hpp:63:56: error: no matching function for call to 'vk::Flags::Flags(wren::platform::ImageUsageFlags&)' wren> 63 | return static_cast<::vk::ImageUsageFlags>(image_usage); wren> | ^ wren> • there are 4 candidates wren> In file included from /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp:8636, wren> from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:7, wren> from /build/source/wren_platform/src/linux/graphics_context.cpp:1: wren> • candidate 1: 'constexpr vk::Flags::Flags(MaskType) [with BitType = vk::ImageUsageFlagBits; MaskType = unsigned int]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: wren> 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} wren> | ^~~~~ wren> • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::Flags::MaskType' {aka 'unsigned int'} wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:51: wren> 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} wren> | ~~~~~~~~~^~~~~ wren> • candidate 2: 'constexpr vk::Flags::Flags(const vk::Flags&) [with BitType = vk::ImageUsageFlagBits]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: wren> 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; wren> | ^~~~~ wren> • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'const vk::Flags&' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:56: wren> 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; wren> | ~~~~~~~~~~~~~~~~~~~~~~~^~~ wren> • candidate 3: 'constexpr vk::Flags::Flags(BitType) [with BitType = vk::ImageUsageFlagBits]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: wren> 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} wren> | ^~~~~ wren> • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::ImageUsageFlagBits' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:41: wren> 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} wren> | ~~~~~~~~^~~ wren> • candidate 4: 'constexpr vk::Flags::Flags() [with BitType = vk::ImageUsageFlagBits]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:38:26: wren> 38 | VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} wren> | ^~~~~ wren> • candidate expects 0 arguments, 1 provided wren> In file included from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:9: wren> /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 >&)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:89:3: note: in expansion of macro 'TRY_RESULT' wren> 89 | TRY_RESULT(const auto instance, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:89:3: note: in expansion of macro 'TRY_RESULT' wren> 89 | TRY_RESULT(const auto instance, wren> | ^~~~~~~~~~ wren> /build/source/wren_platform/src/linux/graphics_context.cpp: In function 'wren::expected wren::platform::{anonymous}::create_debug_messenger(vk::Instance)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp1' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:127:3: note: in expansion of macro 'TRY_RESULT' wren> 127 | TRY_RESULT(const auto debug_messenger, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:127:3: note: in expansion of macro 'TRY_RESULT' wren> 127 | TRY_RESULT(const auto debug_messenger, wren> | ^~~~~~~~~~ wren> /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&)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp2' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:137:3: note: in expansion of macro 'TRY_RESULT' wren> 137 | TRY_RESULT(vulkan::Queue::find_queue_family_indices(device)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:137:3: note: in expansion of macro 'TRY_RESULT' wren> 137 | TRY_RESULT(vulkan::Queue::find_queue_family_indices(device)); wren> | ^~~~~~~~~~ wren> /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&)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp3' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:181:3: note: in expansion of macro 'TRY_RESULT' wren> 181 | TRY_RESULT(const auto instance, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:181:3: note: in expansion of macro 'TRY_RESULT' wren> 181 | TRY_RESULT(const auto instance, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp4' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:187:3: note: in expansion of macro 'TRY_RESULT' wren> 187 | TRY_RESULT(const auto debug_messenger, create_debug_messenger(instance)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:187:3: note: in expansion of macro 'TRY_RESULT' wren> 187 | TRY_RESULT(const auto debug_messenger, create_debug_messenger(instance)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp5' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:196:3: note: in expansion of macro 'TRY_RESULT' wren> 196 | TRY_RESULT(const auto& surface, window->create_surface(gpu_instance)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:196:3: note: in expansion of macro 'TRY_RESULT' wren> 196 | TRY_RESULT(const auto& surface, window->create_surface(gpu_instance)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp6' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:198:3: note: in expansion of macro 'TRY_RESULT' wren> 198 | TRY_RESULT(impl->setup_device(surface)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:198:3: note: in expansion of macro 'TRY_RESULT' wren> 198 | TRY_RESULT(impl->setup_device(surface)); wren> | ^~~~~~~~~~ wren> /build/source/wren_platform/src/linux/graphics_context.cpp: In member function 'wren::expected wren::platform::GraphicsContext::Impl::setup_device(const wren::platform::SurfaceHandle&)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp7' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:221:3: note: in expansion of macro 'TRY_RESULT' wren> 221 | TRY_RESULT(pick_physical_device(surface)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:221:3: note: in expansion of macro 'TRY_RESULT' wren> 221 | TRY_RESULT(pick_physical_device(surface)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp8' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:225:3: note: in expansion of macro 'TRY_RESULT' wren> 225 | TRY_RESULT(create_device(surface)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:225:3: note: in expansion of macro 'TRY_RESULT' wren> 225 | TRY_RESULT(create_device(surface)); wren> | ^~~~~~~~~~ wren> /build/source/wren_platform/src/linux/graphics_context.cpp: In member function 'wren::expected wren::platform::GraphicsContext::Impl::create_device(const wren::platform::SurfaceHandle&)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp9' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:263:3: note: in expansion of macro 'TRY_RESULT' wren> 263 | TRY_RESULT(device, vulkan::Device::create(physical_device, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/graphics_context.cpp:263:3: note: in expansion of macro 'TRY_RESULT' wren> 263 | TRY_RESULT(device, vulkan::Device::create(physical_device, wren> | ^~~~~~~~~~ wren> [22/32] Building CXX object wren_platform/CMakeFiles/wren_platform.dir/src/linux/image.cpp.o wren> FAILED: [code=1] wren_platform/CMakeFiles/wren_platform.dir/src/linux/image.cpp.o wren> /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 wren> In file included from /build/source/wren_platform/src/linux/image.cpp:5: wren> /build/source/wren_platform/src/linux/vulkan.hpp: In function 'constexpr auto wren::vulkan::to_vk_image_usage_flags(wren::platform::ImageUsageFlags)': wren> /build/source/wren_platform/src/linux/vulkan.hpp:63:56: error: no matching function for call to 'vk::Flags::Flags(wren::platform::ImageUsageFlags&)' wren> 63 | return static_cast<::vk::ImageUsageFlags>(image_usage); wren> | ^ wren> • there are 4 candidates wren> In file included from /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp:8636, wren> from /build/source/wren_vk/include/wren/vk/image.hpp:5, wren> from /build/source/wren_platform/src/linux/image.cpp:3: wren> • candidate 1: 'constexpr vk::Flags::Flags(MaskType) [with BitType = vk::ImageUsageFlagBits; MaskType = unsigned int]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: wren> 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} wren> | ^~~~~ wren> • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::Flags::MaskType' {aka 'unsigned int'} wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:51: wren> 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} wren> | ~~~~~~~~~^~~~~ wren> • candidate 2: 'constexpr vk::Flags::Flags(const vk::Flags&) [with BitType = vk::ImageUsageFlagBits]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: wren> 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; wren> | ^~~~~ wren> • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'const vk::Flags&' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:56: wren> 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; wren> | ~~~~~~~~~~~~~~~~~~~~~~~^~~ wren> • candidate 3: 'constexpr vk::Flags::Flags(BitType) [with BitType = vk::ImageUsageFlagBits]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: wren> 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} wren> | ^~~~~ wren> • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::ImageUsageFlagBits' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:41: wren> 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} wren> | ~~~~~~~~^~~ wren> • candidate 4: 'constexpr vk::Flags::Flags() [with BitType = vk::ImageUsageFlagBits]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:38:26: wren> 38 | VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} wren> | ^~~~~ wren> • candidate expects 0 arguments, 1 provided wren> In file included from /build/source/wren_platform/include/wren/platform/image.hpp:9, wren> from /build/source/wren_platform/src/linux/image.cpp:1: wren> /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)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/image.cpp:16:3: note: in expansion of macro 'TRY_RESULT' wren> 16 | TRY_RESULT(auto image, vk::Image::create( wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/image.cpp:16:3: note: in expansion of macro 'TRY_RESULT' wren> 16 | TRY_RESULT(auto image, vk::Image::create( wren> | ^~~~~~~~~~ wren> /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&'} wren> 18 | vulkan::to_vk_format(format), size, image_usage)); wren> | ^~~~~~~~~~~ wren> | | wren> | wren::platform::ImageUsageFlags {aka wren::utils::Flags} wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' wren> 169 | auto(unique) = (expr); \ wren> | ^~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_platform/src/linux/image.cpp:16:3: note: in expansion of macro 'TRY_RESULT' wren> 16 | TRY_RESULT(auto image, vk::Image::create( wren> | ^~~~~~~~~~ wren> /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&)' wren> 15 | const ::vk::ImageUsageFlags& usage) -> expected; wren> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ wren> [23/32] Building CXX object wren_math/tests/CMakeFiles/geometry.dir/geometry.cpp.o wren> [24/32] Building CXX object wren_platform/CMakeFiles/wren_platform.dir/src/linux/window.cpp.o wren> FAILED: [code=1] wren_platform/CMakeFiles/wren_platform.dir/src/linux/window.cpp.o wren> /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 wren> In file included from /build/source/wren_platform/src/linux/window.cpp:12: wren> /build/source/wren_platform/src/linux/vulkan.hpp: In function 'constexpr auto wren::vulkan::to_vk_image_usage_flags(wren::platform::ImageUsageFlags)': wren> /build/source/wren_platform/src/linux/vulkan.hpp:63:56: error: no matching function for call to 'vk::Flags::Flags(wren::platform::ImageUsageFlags&)' wren> 63 | return static_cast<::vk::ImageUsageFlags>(image_usage); wren> | ^ wren> • there are 4 candidates wren> In file included from /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp:8636, wren> from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:7, wren> from /build/source/wren_platform/include/wren/platform/window.hpp:9, wren> from /build/source/wren_platform/src/linux/window.cpp:1: wren> • candidate 1: 'constexpr vk::Flags::Flags(MaskType) [with BitType = vk::ImageUsageFlagBits; MaskType = unsigned int]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: wren> 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} wren> | ^~~~~ wren> • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::Flags::MaskType' {aka 'unsigned int'} wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:51: wren> 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} wren> | ~~~~~~~~~^~~~~ wren> • candidate 2: 'constexpr vk::Flags::Flags(const vk::Flags&) [with BitType = vk::ImageUsageFlagBits]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: wren> 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; wren> | ^~~~~ wren> • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'const vk::Flags&' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:56: wren> 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; wren> | ~~~~~~~~~~~~~~~~~~~~~~~^~~ wren> • candidate 3: 'constexpr vk::Flags::Flags(BitType) [with BitType = vk::ImageUsageFlagBits]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: wren> 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} wren> | ^~~~~ wren> • no known conversion for argument 1 from 'wren::platform::ImageUsageFlags' {aka 'wren::utils::Flags'} to 'vk::ImageUsageFlagBits' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:41: wren> 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} wren> | ~~~~~~~~^~~ wren> • candidate 4: 'constexpr vk::Flags::Flags() [with BitType = vk::ImageUsageFlagBits]' wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:38:26: wren> 38 | VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} wren> | ^~~~~ wren> • candidate expects 0 arguments, 1 provided wren> [25/32] Building CXX object wren_vk/CMakeFiles/wren_vk.dir/src/buffer.cpp.o wren> In file included from /build/source/wren_vk/include/wren/vk/result.hpp:8, wren> from /build/source/wren_vk/include/wren/vk/buffer.hpp:9, wren> from /build/source/wren_vk/src/buffer.cpp:1: wren> /build/source/wren_vk/include/wren/vk/buffer.hpp: In member function 'wren::expected wren::vk::Buffer::set_data_raw(std::span)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/include/wren/vk/buffer.hpp:65:3: note: in expansion of macro 'TRY_RESULT' wren> 65 | TRY_RESULT(to_expected(static_cast<::vk::Result>(vmaCopyMemoryToAllocation( wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/include/wren/vk/buffer.hpp:65:3: note: in expansion of macro 'TRY_RESULT' wren> 65 | TRY_RESULT(to_expected(static_cast<::vk::Result>(vmaCopyMemoryToAllocation( wren> | ^~~~~~~~~~ wren> /build/source/wren_vk/src/buffer.cpp: In member function 'wren::expected wren::vk::Buffer::set_data_raw(const void*, std::size_t)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp1' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:42:3: note: in expansion of macro 'TRY_RESULT' wren> 42 | TRY_RESULT(to_expected( wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:42:3: note: in expansion of macro 'TRY_RESULT' wren> 42 | TRY_RESULT(to_expected( wren> | ^~~~~~~~~~ wren> /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)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp2' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:57:3: note: in expansion of macro 'TRY_RESULT' wren> 57 | TRY_RESULT(const auto cmd_bufs, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:57:3: note: in expansion of macro 'TRY_RESULT' wren> 57 | TRY_RESULT(const auto cmd_bufs, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp3' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:65:3: note: in expansion of macro 'TRY_RESULT' wren> 65 | TRY_RESULT(to_expected(cmd_buf.begin(begin_info))); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:65:3: note: in expansion of macro 'TRY_RESULT' wren> 65 | TRY_RESULT(to_expected(cmd_buf.begin(begin_info))); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp4' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:69:3: note: in expansion of macro 'TRY_RESULT' wren> 69 | TRY_RESULT(to_expected(cmd_buf.end())); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:69:3: note: in expansion of macro 'TRY_RESULT' wren> 69 | TRY_RESULT(to_expected(cmd_buf.end())); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp5' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:72:3: note: in expansion of macro 'TRY_RESULT' wren> 72 | TRY_RESULT(to_expected(submit_queue.submit(submit_info))); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:72:3: note: in expansion of macro 'TRY_RESULT' wren> 72 | TRY_RESULT(to_expected(submit_queue.submit(submit_info))); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp6' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:73:3: note: in expansion of macro 'TRY_RESULT' wren> 73 | TRY_RESULT(to_expected(submit_queue.waitIdle())); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/buffer.cpp:73:3: note: in expansion of macro 'TRY_RESULT' wren> 73 | TRY_RESULT(to_expected(submit_queue.waitIdle())); wren> | ^~~~~~~~~~ wren> [26/32] Building CXX object wren/CMakeFiles/wren.dir/src/render_target.cpp.o wren> FAILED: [code=1] wren/CMakeFiles/wren.dir/src/render_target.cpp.o wren> /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 wren> In file included from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:7, wren> from /build/source/wren/include/wren/context.hpp:5, wren> from /build/source/wren/include/wren/render_target.hpp:9, wren> from /build/source/wren/src/render_target.cpp:1: wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp: In function 'void vk::detail::throwResultException(vk::Result, const char*)': wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp:9061:104: error: exception handling disabled, use '-fexceptions' to enable wren> 9061 | case Result::eErrorOutOfHostMemory : throw OutOfHostMemoryError( message ); wren> | ^ wren> In file included from /build/source/wren_platform/include/wren/platform/image.hpp:9, wren> from /build/source/wren/include/wren/render_target.hpp:5: wren> /build/source/wren/src/render_target.cpp: In static member function 'static wren::expected > wren::RenderTarget::create(const std::shared_ptr&)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:16:3: note: in expansion of macro 'TRY_RESULT' wren> 16 | TRY_RESULT(auto image, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:16:3: note: in expansion of macro 'TRY_RESULT' wren> 16 | TRY_RESULT(auto image, wren> | ^~~~~~~~~~ wren> /build/source/wren/src/render_target.cpp:46:17: error: 'class wren::platform::Image' has no member named 'get' wren> 46 | {}, image.get(), ::vk::ImageViewType::e2D, format, {}, wren> | ^~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp1' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:48:3: note: in expansion of macro 'TRY_RESULT' wren> 48 | TRY_RESULT( wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:48:3: note: in expansion of macro 'TRY_RESULT' wren> 48 | TRY_RESULT( wren> | ^~~~~~~~~~ wren> /build/source/wren/src/render_target.cpp:50:11: error: 'to_expected' is not a member of 'vk' wren> 50 | vk::to_expected(ctx->graphics_context->device().get().createImageView( wren> | ^~~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' wren> 169 | auto(unique) = (expr); \ wren> | ^~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:48:3: note: in expansion of macro 'TRY_RESULT' wren> 48 | TRY_RESULT( wren> | ^~~~~~~~~~ wren> /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' wren> 50 | vk::to_expected(ctx->graphics_context->device().get().createImageView( wren> | ^~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' wren> 169 | auto(unique) = (expr); \ wren> | ^~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:48:3: note: in expansion of macro 'TRY_RESULT' wren> 48 | TRY_RESULT( wren> | ^~~~~~~~~~ wren> /build/source/wren/src/render_target.cpp: In static member function 'static wren::expected > wren::RenderTarget::create_depth(const std::shared_ptr&)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp2' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:69:3: note: in expansion of macro 'TRY_RESULT' wren> 69 | TRY_RESULT(auto image, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:69:3: note: in expansion of macro 'TRY_RESULT' wren> 69 | TRY_RESULT(auto image, wren> | ^~~~~~~~~~ wren> /build/source/wren/src/render_target.cpp:70:74: error: cannot convert 'const vk::Format' to 'wren::platform::Format' wren> 70 | platform::Image::create(ctx->graphics_context->allocator(), format, wren> | ^~~~~~ wren> | | wren> | const vk::Format wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' wren> 169 | auto(unique) = (expr); \ wren> | ^~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:69:3: note: in expansion of macro 'TRY_RESULT' wren> 69 | TRY_RESULT(auto image, wren> | ^~~~~~~~~~ wren> /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)' wren> 23 | static auto create(const Allocator& allocator, Format format, wren> | ~~~~~~~^~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp3' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:100:3: note: in expansion of macro 'TRY_RESULT' wren> 100 | TRY_RESULT( wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:100:3: note: in expansion of macro 'TRY_RESULT' wren> 100 | TRY_RESULT( wren> | ^~~~~~~~~~ wren> /build/source/wren/src/render_target.cpp:102:11: error: 'to_expected' is not a member of 'vk' wren> 102 | vk::to_expected(ctx->graphics_context->device().get().createImageView( wren> | ^~~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' wren> 169 | auto(unique) = (expr); \ wren> | ^~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:100:3: note: in expansion of macro 'TRY_RESULT' wren> 100 | TRY_RESULT( wren> | ^~~~~~~~~~ wren> /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' wren> 102 | vk::to_expected(ctx->graphics_context->device().get().createImageView( wren> | ^~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' wren> 169 | auto(unique) = (expr); \ wren> | ^~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:100:3: note: in expansion of macro 'TRY_RESULT' wren> 100 | TRY_RESULT( wren> | ^~~~~~~~~~ wren> /build/source/wren/src/render_target.cpp: In member function 'wren::expected wren::RenderTarget::resize(const std::shared_ptr&, const wren::math::Vec2i&)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp4' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:129:5: note: in expansion of macro 'TRY_RESULT' wren> 129 | TRY_RESULT(image_, vk::Image::create(ctx->graphics_context->allocator(), wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:129:5: note: in expansion of macro 'TRY_RESULT' wren> 129 | TRY_RESULT(image_, vk::Image::create(ctx->graphics_context->allocator(), wren> | ^~~~~~~~~~ wren> /build/source/wren/src/render_target.cpp:129:35: error: 'create' is not a member of 'vk::Image' wren> 129 | TRY_RESULT(image_, vk::Image::create(ctx->graphics_context->allocator(), wren> | ^~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' wren> 169 | auto(unique) = (expr); \ wren> | ^~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:129:5: note: in expansion of macro 'TRY_RESULT' wren> 129 | TRY_RESULT(image_, vk::Image::create(ctx->graphics_context->allocator(), wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp5' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:133:7: note: in expansion of macro 'TRY_RESULT' wren> 133 | TRY_RESULT(transition_fn_(this)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:173:36: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 173 | #define TRY_RESULT_1(unique, expr) TRY_RESULT_IMPL(unique, expr) wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_1' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:133:7: note: in expansion of macro 'TRY_RESULT' wren> 133 | TRY_RESULT(transition_fn_(this)); wren> | ^~~~~~~~~~ wren> /build/source/wren/src/render_target.cpp:137:21: error: 'class vk::Image' has no member named 'get' wren> 137 | {}, image_->get(), ::vk::ImageViewType::e2D, format_, {}, wren> | ^~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp6' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:140:5: note: in expansion of macro 'TRY_RESULT' wren> 140 | TRY_RESULT(view_, vk::to_expected( wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:140:5: note: in expansion of macro 'TRY_RESULT' wren> 140 | TRY_RESULT(view_, vk::to_expected( wren> | ^~~~~~~~~~ wren> /build/source/wren/src/render_target.cpp:140:27: error: 'to_expected' is not a member of 'vk' wren> 140 | TRY_RESULT(view_, vk::to_expected( wren> | ^~~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' wren> 169 | auto(unique) = (expr); \ wren> | ^~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:140:5: note: in expansion of macro 'TRY_RESULT' wren> 140 | TRY_RESULT(view_, vk::to_expected( wren> | ^~~~~~~~~~ wren> /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' wren> 141 | ctx->graphics_context->device().get().createImageView( wren> | ^~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: in definition of macro 'TRY_RESULT_IMPL' wren> 169 | auto(unique) = (expr); \ wren> | ^~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/render_target.cpp:140:5: note: in expansion of macro 'TRY_RESULT' wren> 140 | TRY_RESULT(view_, vk::to_expected( wren> | ^~~~~~~~~~ wren> In file included from /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/memory:80, wren> from /build/source/wren_platform/include/wren/platform/image.hpp:4: wren> /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]': wren> /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]' wren> 408 | get_deleter()(std::move(__ptr)); wren> | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ wren> /build/source/wren_platform/include/wren/platform/image.hpp:17:7: required from here wren> 17 | class Image { wren> | ^~~~~ wren> /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' wren> 90 | static_assert(sizeof(_Tp)>0, wren> | ^~~~~~~~~~~ wren> /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] wren> 92 | delete __ptr; wren> | ^~~~~~~~~~~~ wren> /build/source/wren_platform/include/wren/platform/image.hpp:19:10: note: forward declaration of 'struct wren::platform::Image::Impl' wren> 19 | struct Impl; wren> | ^~~~ wren> [27/32] Building CXX object wren/CMakeFiles/wren.dir/src/application.cpp.o wren> FAILED: [code=1] wren/CMakeFiles/wren.dir/src/application.cpp.o wren> /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 wren> In file included from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:7, wren> from /build/source/wren/include/wren/context.hpp:5, wren> from /build/source/wren/include/wren/application.hpp:6, wren> from /build/source/wren/src/application.cpp:1: wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp: In function 'void vk::detail::throwResultException(vk::Result, const char*)': wren> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan.hpp:9061:104: error: exception handling disabled, use '-fexceptions' to enable wren> 9061 | case Result::eErrorOutOfHostMemory : throw OutOfHostMemoryError( message ); wren> | ^ wren> In file included from /build/source/wren_platform/include/wren/platform/graphics_context.hpp:9: wren> /build/source/wren/src/application.cpp: In static member function 'static wren::expected > wren::Application::create(const std::string&)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/application.cpp:24:3: note: in expansion of macro 'TRY_RESULT' wren> 24 | TRY_RESULT(auto window, platform::Window::create(application_name)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/application.cpp:24:3: note: in expansion of macro 'TRY_RESULT' wren> 24 | TRY_RESULT(auto window, platform::Window::create(application_name)); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp1' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/application.cpp:26:3: note: in expansion of macro 'TRY_RESULT' wren> 26 | TRY_RESULT(auto graphics_context, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren/src/application.cpp:26:3: note: in expansion of macro 'TRY_RESULT' wren> 26 | TRY_RESULT(auto graphics_context, wren> | ^~~~~~~~~~ wren> [28/32] Building CXX object wren_vk/CMakeFiles/wren_vk.dir/src/shader.cpp.o wren> In file included from /build/source/wren_vk/include/wren/vk/shader.hpp:12, wren> from /build/source/wren_vk/src/shader.cpp:1: wren> /build/source/wren_vk/src/shader.cpp: In lambda function: wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp0' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/shader.cpp:223:5: note: in expansion of macro 'TRY_RESULT' wren> 223 | TRY_RESULT(const auto module, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/shader.cpp:223:5: note: in expansion of macro 'TRY_RESULT' wren> 223 | TRY_RESULT(const auto module, wren> | ^~~~~~~~~~ wren> /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&)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp1' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/shader.cpp:239:3: note: in expansion of macro 'TRY_RESULT' wren> 239 | TRY_RESULT(const auto& v_module, compile_shader("vertexMain")); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/shader.cpp:239:3: note: in expansion of macro 'TRY_RESULT' wren> 239 | TRY_RESULT(const auto& v_module, compile_shader("vertexMain")); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp2' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/shader.cpp:242:3: note: in expansion of macro 'TRY_RESULT' wren> 242 | TRY_RESULT(const auto& f_module, compile_shader("fragmentMain")); wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/shader.cpp:242:3: note: in expansion of macro 'TRY_RESULT' wren> 242 | TRY_RESULT(const auto& f_module, compile_shader("fragmentMain")); wren> | ^~~~~~~~~~ wren> /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)': wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp3' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/shader.cpp:306:3: note: in expansion of macro 'TRY_RESULT' wren> 306 | TRY_RESULT(pipeline_layout_, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/shader.cpp:306:3: note: in expansion of macro 'TRY_RESULT' wren> 306 | TRY_RESULT(pipeline_layout_, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: warning: unnecessary parentheses in declaration of '__result_tmp4' [-Wparentheses] wren> 169 | auto(unique) = (expr); \ wren> | ^~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/shader.cpp:374:3: note: in expansion of macro 'TRY_RESULT' wren> 374 | TRY_RESULT(pipeline_, wren> | ^~~~~~~~~~ wren> /build/source/wren_utils/include/wren/utils/result.hpp:169:7: note: remove parentheses wren> /build/source/wren_utils/include/wren/utils/result.hpp:175:3: note: in expansion of macro 'TRY_RESULT_IMPL' wren> 175 | TRY_RESULT_IMPL(unique, expr) \ wren> | ^~~~~~~~~~~~~~~ wren> /nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:29:34: note: in expansion of macro 'TRY_RESULT_2' wren> 29 | # define BOOST_PP_CAT_I(a, b) a ## b wren> | ^ wren> /build/source/wren_vk/src/shader.cpp:374:3: note: in expansion of macro 'TRY_RESULT' wren> 374 | TRY_RESULT(pipeline_, wren> | ^~~~~~~~~~ wren> ninja: build stopped: subcommand failed. error: Cannot build '/nix/store/m9nj3zjar6nq8w58mgm05dgv5rs8i363-wren.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/bhzd2zp7xbjjgw18ivz4s7435vb10xgg-wren Last 25 log lines: > 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. For full logs, run: nix log /nix/store/m9nj3zjar6nq8w58mgm05dgv5rs8i363-wren.drv