warning: unknown setting 'eval-cores' warning: unknown setting 'lazy-trees' this derivation will be built: /nix/store/bh1vzwghs58kxrr2bk86an09d77ckwqr-lint-0.1.0.drv building '/nix/store/bh1vzwghs58kxrr2bk86an09d77ckwqr-lint-0.1.0.drv' lint-0.1.0> Running phase: unpackPhase lint-0.1.0> unpacking source archive /nix/store/14vx7xm4f2b9sivhvcyfyl8k29xzgrgy-source lint-0.1.0> source root is source lint-0.1.0> Running phase: patchPhase lint-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase lint-0.1.0> Running phase: configurePhase lint-0.1.0> -- The C compiler identification is Clang 23.1.3 lint-0.1.0> -- The CXX compiler identification is Clang 23.1.3 lint-0.1.0> -- Detecting C compiler ABI info lint-0.1.0> -- Detecting C compiler ABI info - done lint-0.1.0> -- Check for working C compiler: /nix/store/q5hx5j4n0c1nyxaxfgd1dzca3r3q3c25-clang-wrapper-23.1.3/bin/clang - skipped lint-0.1.0> -- Detecting C compile features lint-0.1.0> -- Detecting C compile features - done lint-0.1.0> -- Detecting CXX compiler ABI info lint-0.1.0> -- Detecting CXX compiler ABI info - done lint-0.1.0> -- Check for working CXX compiler: /nix/store/q5hx5j4n0c1nyxaxfgd1dzca3r3q3c25-clang-wrapper-23.1.3/bin/clang++ - skipped lint-0.1.0> -- Detecting CXX compile features lint-0.1.0> -- Detecting CXX compile features - done lint-0.1.0> -- Found Vulkan: /nix/store/la62431p5qf1ggr3rdzql9dksv5fhicc-vulkan-loader-1.4.363.0/lib/libvulkan.so (found version "1.4.363") missing components: glslc glslangValidator lint-0.1.0> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD lint-0.1.0> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success lint-0.1.0> -- Found Threads: TRUE lint-0.1.0> -- Found PkgConfig: /nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") lint-0.1.0> -- Checking for module 'stb' lint-0.1.0> -- Found stb, version 1 lint-0.1.0> -- Configuring done (5.0s) lint-0.1.0> -- Generating done (0.2s) lint-0.1.0> -- Build files have been written to: /build/source/build lint-0.1.0> Running phase: buildPhase lint-0.1.0> Running clang-tidy in 16 threads for 21 files out of 21 in compilation database ... lint-0.1.0> [ 1/21][3.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string_reader.cpp lint-0.1.0> [ 2/21][7.2s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/src/geometry.cpp lint-0.1.0> [ 3/21][8.2s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string.cpp lint-0.1.0> [ 4/21][40.2s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/binary_reader.cpp lint-0.1.0> [ 5/21][42.5s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/input.cpp lint-0.1.0> [ 6/21][48.0s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/vector.cpp lint-0.1.0> [ 7/21][49.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/enums.cpp lint-0.1.0> [ 8/21][42.8s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/string_reader.cpp lint-0.1.0> [ 9/21][50.4s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/matrix.cpp lint-0.1.0> [10/21][53.5s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/geometry.cpp lint-0.1.0> [11/21][60.2s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/filesystem.cpp lint-0.1.0> [12/21][19.0s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/memory.cpp lint-0.1.0> [13/21][90.1s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/vulkan.cpp lint-0.1.0> [14/21][99.9s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/image.cpp lint-0.1.0> [15/21][102.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/buffer.cpp lint-0.1.0> [16/21][103.5s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/linux/window.cpp lint-0.1.0> /build/source/wren_platform/include/wren/platform/allocator.hpp:16:3: error: function 'handle' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] lint-0.1.0> 16 | auto handle() const { return handle_; } lint-0.1.0> | ^ lint-0.1.0> | [[nodiscard]] lint-0.1.0> /build/source/wren_platform/src/linux/vulkan.hpp:63:10: error: no matching conversion for static_cast from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to '::vk::ImageUsageFlags' (aka 'Flags') [clang-diagnostic-error] lint-0.1.0> 63 | return static_cast<::vk::ImageUsageFlags>(image_usage); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'vk::ImageUsageFlagBits' for 1st argument lint-0.1.0> 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} lint-0.1.0> | ^ ~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'const Flags' for 1st argument lint-0.1.0> 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; lint-0.1.0> | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'MaskType' (aka 'unsigned int') for 1st argument lint-0.1.0> 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} lint-0.1.0> | ^ ~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:38:26: note: candidate constructor not viable: requires 0 arguments, but 1 was provided lint-0.1.0> 38 | VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} lint-0.1.0> | ^ lint-0.1.0> Error while processing /build/source/wren_platform/src/linux/window.cpp. lint-0.1.0> lint-0.1.0> [17/21][104.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/application.cpp lint-0.1.0> /build/source/wren_platform/include/wren/platform/allocator.hpp:16:3: error: function 'handle' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] lint-0.1.0> 16 | auto handle() const { return handle_; } lint-0.1.0> | ^ lint-0.1.0> | [[nodiscard]] lint-0.1.0> lint-0.1.0> [18/21][104.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/linux/graphics_context.cpp lint-0.1.0> /build/source/wren_platform/include/wren/platform/allocator.hpp:16:3: error: function 'handle' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] lint-0.1.0> 16 | auto handle() const { return handle_; } lint-0.1.0> | ^ lint-0.1.0> | [[nodiscard]] lint-0.1.0> /build/source/wren_platform/src/linux/vulkan.hpp:63:10: error: no matching conversion for static_cast from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to '::vk::ImageUsageFlags' (aka 'Flags') [clang-diagnostic-error] lint-0.1.0> 63 | return static_cast<::vk::ImageUsageFlags>(image_usage); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'vk::ImageUsageFlagBits' for 1st argument lint-0.1.0> 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} lint-0.1.0> | ^ ~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'const Flags' for 1st argument lint-0.1.0> 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; lint-0.1.0> | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'MaskType' (aka 'unsigned int') for 1st argument lint-0.1.0> 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} lint-0.1.0> | ^ ~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:38:26: note: candidate constructor not viable: requires 0 arguments, but 1 was provided lint-0.1.0> 38 | VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} lint-0.1.0> | ^ lint-0.1.0> Error while processing /build/source/wren_platform/src/linux/graphics_context.cpp. lint-0.1.0> lint-0.1.0> [19/21][96.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_target.cpp lint-0.1.0> /build/source/wren/src/render_target.cpp:46:17: error: no member named 'get' in 'wren::platform::Image' [clang-diagnostic-error] lint-0.1.0> 46 | {}, image.get(), ::vk::ImageViewType::e2D, format, {}, lint-0.1.0> | ~~~~~ ^ lint-0.1.0> /build/source/wren/src/render_target.cpp:50:7: error: no member named 'to_expected' in namespace 'vk'; did you mean 'expected'? [clang-diagnostic-error] lint-0.1.0> 50 | vk::to_expected(ctx->graphics_context->device().get().createImageView( lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:59:1: note: 'expected' declared here lint-0.1.0> 59 | using expected = std::expected; lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/src/render_target.cpp:50:46: error: no member named 'device' in 'wren::platform::GraphicsContext' [clang-diagnostic-error] lint-0.1.0> 50 | vk::to_expected(ctx->graphics_context->device().get().createImageView( lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:180:26: note: expanded from macro 'TRY_RESULT' lint-0.1.0> 180 | (RESULT_UNIQUE_NAME(), __VA_ARGS__) lint-0.1.0> | ^~~~~~~~~~~ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:175:27: note: expanded from macro 'TRY_RESULT_2' lint-0.1.0> 175 | TRY_RESULT_IMPL(unique, expr) \ lint-0.1.0> | ^~~~ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: expanded from macro 'TRY_RESULT_IMPL' lint-0.1.0> 169 | auto(unique) = (expr); \ lint-0.1.0> | ^~~~ lint-0.1.0> /build/source/wren/src/render_target.cpp:70:74: error: cannot initialize a parameter of type 'Format' with an lvalue of type 'const ::vk::Format' [clang-diagnostic-error] lint-0.1.0> 70 | platform::Image::create(ctx->graphics_context->allocator(), format, lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_platform/include/wren/platform/image.hpp:23:57: note: passing argument to parameter 'format' here lint-0.1.0> 23 | static auto create(const Allocator& allocator, Format format, lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/src/render_target.cpp:102:7: error: no member named 'to_expected' in namespace 'vk'; did you mean 'expected'? [clang-diagnostic-error] lint-0.1.0> 102 | vk::to_expected(ctx->graphics_context->device().get().createImageView( lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:59:1: note: 'expected' declared here lint-0.1.0> 59 | using expected = std::expected; lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/src/render_target.cpp:102:46: error: no member named 'device' in 'wren::platform::GraphicsContext' [clang-diagnostic-error] lint-0.1.0> 102 | vk::to_expected(ctx->graphics_context->device().get().createImageView( lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:180:26: note: expanded from macro 'TRY_RESULT' lint-0.1.0> 180 | (RESULT_UNIQUE_NAME(), __VA_ARGS__) lint-0.1.0> | ^~~~~~~~~~~ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:175:27: note: expanded from macro 'TRY_RESULT_2' lint-0.1.0> 175 | TRY_RESULT_IMPL(unique, expr) \ lint-0.1.0> | ^~~~ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: expanded from macro 'TRY_RESULT_IMPL' lint-0.1.0> 169 | auto(unique) = (expr); \ lint-0.1.0> | ^~~~ lint-0.1.0> /build/source/wren/src/render_target.cpp:129:24: error: no member named 'create' in 'vk::Image'; did you mean simply 'create'? [clang-diagnostic-error] lint-0.1.0> 129 | TRY_RESULT(image_, vk::Image::create(ctx->graphics_context->allocator(), lint-0.1.0> | ^~~~~~~~~~~~~~~~~ lint-0.1.0> | create lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:180:26: note: expanded from macro 'TRY_RESULT' lint-0.1.0> 180 | (RESULT_UNIQUE_NAME(), __VA_ARGS__) lint-0.1.0> | ^~~~~~~~~~~ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:175:27: note: expanded from macro 'TRY_RESULT_2' lint-0.1.0> 175 | TRY_RESULT_IMPL(unique, expr) \ lint-0.1.0> | ^~~~ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: expanded from macro 'TRY_RESULT_IMPL' lint-0.1.0> 169 | auto(unique) = (expr); \ lint-0.1.0> | ^~~~ lint-0.1.0> /build/source/wren/src/render_target.cpp:5:20: note: 'create' declared here lint-0.1.0> 5 | auto RenderTarget::create(const std::shared_ptr& ctx) lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/src/render_target.cpp:129:35: error: too many arguments to function call, expected 1, have 4; did you mean 'platform::Image::create'? [clang-diagnostic-error] lint-0.1.0> 129 | TRY_RESULT(image_, vk::Image::create(ctx->graphics_context->allocator(), lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:180:26: note: expanded from macro 'TRY_RESULT' lint-0.1.0> 180 | (RESULT_UNIQUE_NAME(), __VA_ARGS__) lint-0.1.0> | ^~~~~~~~~~~ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:175:27: note: expanded from macro 'TRY_RESULT_2' lint-0.1.0> 175 | TRY_RESULT_IMPL(unique, expr) \ lint-0.1.0> | ^~~~ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: expanded from macro 'TRY_RESULT_IMPL' lint-0.1.0> 169 | auto(unique) = (expr); \ lint-0.1.0> | ^~~~ lint-0.1.0> /build/source/wren_platform/include/wren/platform/image.hpp:23:15: note: 'platform::Image::create' declared here lint-0.1.0> note: this fix will not be applied because it overlaps with another fix lint-0.1.0> 23 | static auto create(const Allocator& allocator, Format format, lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/src/render_target.cpp:137:21: error: no member named 'get' in 'vk::Image' [clang-diagnostic-error] lint-0.1.0> 137 | {}, image_->get(), ::vk::ImageViewType::e2D, format_, {}, lint-0.1.0> | ~~~~~~~~^ lint-0.1.0> /build/source/wren/src/render_target.cpp:140:23: error: no member named 'to_expected' in namespace 'vk'; did you mean 'expected'? [clang-diagnostic-error] lint-0.1.0> 140 | TRY_RESULT(view_, vk::to_expected( lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:59:1: note: 'expected' declared here lint-0.1.0> 59 | using expected = std::expected; lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/src/render_target.cpp:141:50: error: no member named 'device' in 'wren::platform::GraphicsContext' [clang-diagnostic-error] lint-0.1.0> 141 | ctx->graphics_context->device().get().createImageView( lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:180:26: note: expanded from macro 'TRY_RESULT' lint-0.1.0> 180 | (RESULT_UNIQUE_NAME(), __VA_ARGS__) lint-0.1.0> | ^~~~~~~~~~~ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:175:27: note: expanded from macro 'TRY_RESULT_2' lint-0.1.0> 175 | TRY_RESULT_IMPL(unique, expr) \ lint-0.1.0> | ^~~~ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: expanded from macro 'TRY_RESULT_IMPL' lint-0.1.0> 169 | auto(unique) = (expr); \ lint-0.1.0> | ^~~~ lint-0.1.0> /build/source/wren_platform/include/wren/platform/allocator.hpp:16:3: error: function 'handle' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] lint-0.1.0> 16 | auto handle() const { return handle_; } lint-0.1.0> | ^ lint-0.1.0> | [[nodiscard]] lint-0.1.0> /build/source/wren_utils/include/wren/utils/flags.hpp:45:22: error: use of a signed integer operand with a binary bitwise operator [bugprone-signed-bitwise,-warnings-as-errors] lint-0.1.0> 45 | return FlagsType(mask_ | rhs.mask_); lint-0.1.0> | ^~~~~ ~ lint-0.1.0> /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h:90:16: error: invalid application of 'sizeof' to an incomplete type 'wren::platform::Image::Impl' [clang-diagnostic-error] lint-0.1.0> 90 | static_assert(sizeof(_Tp)>0, lint-0.1.0> | ^~~~~~~~~~~ lint-0.1.0> /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h:408:4: note: in instantiation of member function 'std::default_delete::operator()' requested here lint-0.1.0> 408 | get_deleter()(std::move(__ptr)); lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_platform/include/wren/platform/image.hpp:17:7: note: in instantiation of member function 'std::unique_ptr::~unique_ptr' requested here lint-0.1.0> 17 | class Image { lint-0.1.0> | ^ lint-0.1.0> /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_construct.h:88:15: note: in implicit destructor for 'wren::platform::Image' first required here lint-0.1.0> 88 | __location->~_Tp(); lint-0.1.0> | ^ lint-0.1.0> /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/expected:579:9: note: in instantiation of function template specialization 'std::destroy_at' requested here lint-0.1.0> 579 | std::destroy_at(__builtin_addressof(_M_val)); lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/src/render_target.cpp:17:14: note: in instantiation of member function 'std::expected::~expected' requested here lint-0.1.0> 17 | platform::Image::create(ctx->graphics_context->allocator(), format, lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:180:26: note: expanded from macro 'TRY_RESULT' lint-0.1.0> 180 | (RESULT_UNIQUE_NAME(), __VA_ARGS__) lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:175:27: note: expanded from macro 'TRY_RESULT_2' lint-0.1.0> 175 | TRY_RESULT_IMPL(unique, expr) \ lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_utils/include/wren/utils/result.hpp:169:19: note: expanded from macro 'TRY_RESULT_IMPL' lint-0.1.0> 169 | auto(unique) = (expr); \ lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_platform/include/wren/platform/image.hpp:19:10: note: forward declaration of 'wren::platform::Image::Impl' lint-0.1.0> 19 | struct Impl; lint-0.1.0> | ^ lint-0.1.0> Error while processing /build/source/wren/src/render_target.cpp. lint-0.1.0> lint-0.1.0> [20/21][106.1s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/shader.cpp lint-0.1.0> [21/21][70.4s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/linux/image.cpp lint-0.1.0> /build/source/wren_platform/include/wren/platform/allocator.hpp:16:3: error: function 'handle' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] lint-0.1.0> 16 | auto handle() const { return handle_; } lint-0.1.0> | ^ lint-0.1.0> | [[nodiscard]] lint-0.1.0> /build/source/wren_platform/src/linux/image.cpp:18:66: error: no viable conversion from 'ImageUsageFlags' (aka 'wren::utils::Flags') to 'const ::vk::ImageUsageFlags' (aka 'const Flags') [clang-diagnostic-error] lint-0.1.0> 18 | vulkan::to_vk_format(format), size, image_usage)); lint-0.1.0> | ^ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: note: candidate constructor not viable: no known conversion from 'ImageUsageFlags' (aka 'wren::utils::Flags') to 'vk::ImageUsageFlagBits' for 1st argument lint-0.1.0> 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} lint-0.1.0> | ^ ~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: note: candidate constructor not viable: no known conversion from 'ImageUsageFlags' (aka 'wren::utils::Flags') to 'const Flags &' for 1st argument lint-0.1.0> 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; lint-0.1.0> | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: note: explicit constructor is not a candidate lint-0.1.0> 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_vk/include/wren/vk/image.hpp:15:51: note: passing argument to parameter 'usage' here lint-0.1.0> 15 | const ::vk::ImageUsageFlags& usage) -> expected; lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_platform/src/linux/image.cpp:21:7: error: no matching function for call to 'make_unique' [clang-diagnostic-error] lint-0.1.0> 21 | std::make_unique(Image::Impl{.image = std::move(image)}))); lint-0.1.0> | ^~~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h:1104:5: note: candidate template ignored: couldn't infer template argument '_Tp' lint-0.1.0> 1104 | make_unique(_Args&&... __args) lint-0.1.0> | ^ lint-0.1.0> /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h:1119:5: note: candidate template ignored: couldn't infer template argument '_Tp' lint-0.1.0> 1119 | make_unique(size_t __num) lint-0.1.0> | ^ lint-0.1.0> /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h:1129:5: note: candidate template ignored: couldn't infer template argument '_Tp' lint-0.1.0> 1129 | make_unique(_Args&&...) = delete; lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_platform/src/linux/vulkan.hpp:63:10: error: no matching conversion for static_cast from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to '::vk::ImageUsageFlags' (aka 'Flags') [clang-diagnostic-error] lint-0.1.0> 63 | return static_cast<::vk::ImageUsageFlags>(image_usage); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'vk::ImageUsageFlagBits' for 1st argument lint-0.1.0> 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} lint-0.1.0> | ^ ~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'const Flags' for 1st argument lint-0.1.0> 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; lint-0.1.0> | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'MaskType' (aka 'unsigned int') for 1st argument lint-0.1.0> 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} lint-0.1.0> | ^ ~~~~~~~~~~~~~~ lint-0.1.0> /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:38:26: note: candidate constructor not viable: requires 0 arguments, but 1 was provided lint-0.1.0> 38 | VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} lint-0.1.0> | ^ lint-0.1.0> Error while processing /build/source/wren_platform/src/linux/image.cpp. lint-0.1.0> error: Cannot build '/nix/store/bh1vzwghs58kxrr2bk86an09d77ckwqr-lint-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/9kz3ibs74x33b0g7c3q0d93m3g7pjgsf-lint-0.1.0 Last 25 log lines: > 1104 | make_unique(_Args&&... __args) > | ^ > /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h:1119:5: note: candidate template ignored: couldn't infer template argument '_Tp' > 1119 | make_unique(size_t __num) > | ^ > /nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/unique_ptr.h:1129:5: note: candidate template ignored: couldn't infer template argument '_Tp' > 1129 | make_unique(_Args&&...) = delete; > | ^ > /build/source/wren_platform/src/linux/vulkan.hpp:63:10: error: no matching conversion for static_cast from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to '::vk::ImageUsageFlags' (aka 'Flags') [clang-diagnostic-error] > 63 | return static_cast<::vk::ImageUsageFlags>(image_usage); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:40:26: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'vk::ImageUsageFlagBits' for 1st argument > 40 | VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} > | ^ ~~~~~~~~~~~ > /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:42:26: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'const Flags' for 1st argument > 42 | VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ > /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:44:35: note: candidate constructor not viable: no known conversion from 'platform::ImageUsageFlags' (aka 'wren::utils::Flags') to 'MaskType' (aka 'unsigned int') for 1st argument > 44 | VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} > | ^ ~~~~~~~~~~~~~~ > /nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:38:26: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > 38 | VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} > | ^ > Error while processing /build/source/wren_platform/src/linux/image.cpp. > For full logs, run: nix log /nix/store/bh1vzwghs58kxrr2bk86an09d77ckwqr-lint-0.1.0.drv