warning: unknown setting 'eval-cores' warning: unknown setting 'lazy-trees' this derivation will be built: /nix/store/ypnsji770lp2vln13j8v6gwcbcn79zaa-prek.drv building '/nix/store/ypnsji770lp2vln13j8v6gwcbcn79zaa-prek.drv' prek> cmake -S. -B/build/tmp.CTzyjuA53D -G Ninja prek> -- The C compiler identification is Clang 22.1.8 prek> -- The CXX compiler identification is Clang 22.1.8 prek> -- Detecting C compiler ABI info prek> -- Detecting C compiler ABI info - done prek> -- Check for working C compiler: /nix/store/dhj655ms136rgql2a7bs43xyn5h277r7-clang-wrapper-22.1.8/bin/clang - skipped prek> -- Detecting C compile features prek> -- Detecting C compile features - done prek> -- Detecting CXX compiler ABI info prek> -- Detecting CXX compiler ABI info - done prek> -- Check for working CXX compiler: /nix/store/dhj655ms136rgql2a7bs43xyn5h277r7-clang-wrapper-22.1.8/bin/clang++ - skipped prek> -- Detecting CXX compile features prek> -- Detecting CXX compile features - done prek> -- Found Vulkan: /nix/store/iahmf8kl215rjcvb3zz3l7i9w2sf9x5v-vulkan-loader-1.4.357.0/lib/libvulkan.so (found version "1.4.357") missing components: glslc glslangValidator prek> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD prek> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success prek> -- Found Threads: TRUE prek> -- Found Fontconfig: /nix/store/hrxf1fxrp7qwxrlv5k4aqxlwlam952aa-fontconfig-2.18.3-lib/lib/libfontconfig.so (found version "2.18.3") prek> -- Found Freetype: /nix/store/85v143gw8jcqjg04gxb38c4han2z7myb-freetype-2.14.3/lib/libfreetype.so (found version "2.14.3") prek> -- Found PkgConfig: /nix/store/29d1c5xk6w3rwl7yvdfwl90whslv5h54-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") prek> -- Checking for module 'stb' prek> -- Found stb, version 1 prek> -- Configuring done (4.4s) prek> -- Generating done (0.1s) prek> -- Build files have been written to: /build/tmp.CTzyjuA53D prek> Enabled checks: prek> cppcoreguidelines-avoid-c-arrays prek> cppcoreguidelines-avoid-capturing-lambda-coroutines prek> cppcoreguidelines-avoid-const-or-ref-data-members prek> cppcoreguidelines-avoid-goto prek> cppcoreguidelines-avoid-non-const-global-variables prek> cppcoreguidelines-avoid-reference-coroutine-parameters prek> cppcoreguidelines-c-copy-assignment-signature prek> cppcoreguidelines-explicit-virtual-functions prek> cppcoreguidelines-init-variables prek> cppcoreguidelines-interfaces-global-init prek> cppcoreguidelines-macro-to-enum prek> cppcoreguidelines-misleading-capture-default-by-value prek> cppcoreguidelines-missing-std-forward prek> cppcoreguidelines-narrowing-conversions prek> cppcoreguidelines-no-malloc prek> cppcoreguidelines-no-suspend-with-lock prek> cppcoreguidelines-noexcept-destructor prek> cppcoreguidelines-noexcept-move-operations prek> cppcoreguidelines-noexcept-swap prek> cppcoreguidelines-non-private-member-variables-in-classes prek> cppcoreguidelines-owning-memory prek> cppcoreguidelines-prefer-member-initializer prek> cppcoreguidelines-pro-bounds-array-to-pointer-decay prek> cppcoreguidelines-pro-bounds-avoid-unchecked-container-access prek> cppcoreguidelines-pro-bounds-constant-array-index prek> cppcoreguidelines-pro-bounds-pointer-arithmetic prek> cppcoreguidelines-pro-type-const-cast prek> cppcoreguidelines-pro-type-cstyle-cast prek> cppcoreguidelines-pro-type-member-init prek> cppcoreguidelines-pro-type-reinterpret-cast prek> cppcoreguidelines-pro-type-static-cast-downcast prek> cppcoreguidelines-pro-type-union-access prek> cppcoreguidelines-rvalue-reference-param-not-moved prek> cppcoreguidelines-slicing prek> cppcoreguidelines-special-member-functions prek> cppcoreguidelines-use-default-member-init prek> cppcoreguidelines-use-enum-class prek> cppcoreguidelines-virtual-class-destructor prek> modernize-avoid-bind prek> modernize-avoid-c-arrays prek> modernize-avoid-c-style-cast prek> modernize-avoid-setjmp-longjmp prek> modernize-avoid-variadic-functions prek> modernize-concat-nested-namespaces prek> modernize-deprecated-headers prek> modernize-deprecated-ios-base-aliases prek> modernize-loop-convert prek> modernize-macro-to-enum prek> modernize-make-shared prek> modernize-make-unique prek> modernize-min-max-use-initializer-list prek> modernize-pass-by-value prek> modernize-raw-string-literal prek> modernize-redundant-void-arg prek> modernize-replace-auto-ptr prek> modernize-replace-disallow-copy-and-assign-macro prek> modernize-replace-random-shuffle prek> modernize-return-braced-init-list prek> modernize-shrink-to-fit prek> modernize-type-traits prek> modernize-unary-static-assert prek> modernize-use-auto prek> modernize-use-bool-literals prek> modernize-use-constraints prek> modernize-use-default-member-init prek> modernize-use-designated-initializers prek> modernize-use-emplace prek> modernize-use-equals-default prek> modernize-use-equals-delete prek> modernize-use-integer-sign-comparison prek> modernize-use-nodiscard prek> modernize-use-noexcept prek> modernize-use-nullptr prek> modernize-use-override prek> modernize-use-ranges prek> modernize-use-scoped-lock prek> modernize-use-starts-ends-with prek> modernize-use-std-format prek> modernize-use-std-numbers prek> modernize-use-std-print prek> modernize-use-trailing-return-type prek> modernize-use-transparent-functors prek> modernize-use-uncaught-exceptions prek> modernize-use-using prek> readability-identifier-naming prek> prek> Running clang-tidy in 16 threads for 47 files out of 47 in compilation database ... prek> [ 1/47][0.1s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/filesystem_panel.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/context.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:10:7: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Manager { prek> | ^ prek> 11 | public: prek> 12 | Manager() = default; prek> 13 | Manager(const std::vector& asset_paths, prek> 14 | const std::optional& project_path = {}) prek> 15 | : asset_paths_(asset_paths), project_path_(project_path) {} prek> 16 | prek> 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const prek> 18 | -> expected; prek> 19 | prek> 20 | private: prek> 21 | std::vector asset_paths_; prek> | prek> | {} prek> 22 | std::optional project_path_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:13:3: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | Manager(const std::vector& asset_paths, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> 5 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/filesystem_panel.cpp. prek> 5 warnings treated as errors prek> prek> [ 2/47][0.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/src/filesystem.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/filesystem.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> 3 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/src/filesystem.cpp. prek> 3 warnings treated as errors prek> prek> [ 3/47][0.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/utils/queue.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:3:10: error: 'cstdint' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> 7 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/utils/queue.cpp. prek> 7 warnings treated as errors prek> prek> [ 4/47][0.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/enums.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/enums.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] prek> 1 | #include prek> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/enums.cpp:7:23: error: variable 'enums' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> 7 | BOOST_AUTO_TEST_SUITE(enums) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/enums.cpp:14:22: error: invalid case style for variable 'StringToEnumCaseSensitive' [readability-identifier-naming,-warnings-as-errors] prek> 14 | BOOST_AUTO_TEST_CASE(StringToEnumCaseSensitive) { prek> | ^~~~~~~~~~~~~~~~~~~~~~~~~ prek> | string_to_enum_case_sensitive prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/enums.cpp:14:22: error: variable 'StringToEnumCaseSensitive' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> 3 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/enums.cpp. prek> 3 warnings treated as errors prek> prek> [ 5/47][0.4s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_text/src/font.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_text/include/wren/text/font.hpp:3:10: error: 'array' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_text/src/font.cpp:11:1: error: constructor does not initialize these fields: path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | Font::Font(const std::filesystem::path& path) : path_(path) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> 4 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_text/src/font.cpp. prek> 4 warnings treated as errors prek> prek> [ 6/47][0.4s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/mesh_loader.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh_loader.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh_loader.hpp:9:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/mesh_loader.cpp:25:23: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 25 | utils::BinaryReader reader(std::as_bytes(s)); prek> | ~~~~~ ^ prek> | auto -> utils prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/binary_reader.hpp:12:3: error: constructor does not initialize these fields: data_, iterator [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 12 | BinaryReader(const std::span& data) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/binary_reader.hpp:55:31: error: invalid case style for private member 'iterator' [readability-identifier-naming,-warnings-as-errors] prek> 55 | std::span::iterator pos_; prek> | ^~~~~~~~ prek> | iterator_ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 35 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/mesh_loader.cpp. prek> 35 warnings treated as errors prek> prek> [ 7/47][0.4s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/scene/components/collider.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/components/collider.hpp:3:10: error: 'flecs.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 15 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/scene/components/collider.cpp. prek> 15 warnings treated as errors prek> prek> [ 8/47][0.4s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/scene_panel.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/scene_panel.hpp:3:10: error: 'memory' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:14:3: error: constructor does not initialize these fields: entity_, scene_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) prek> | ^ prek> 15 | : entity_(entity), scene_(scene) {} prek> 16 | prek> 17 | template prek> 18 | [[nodiscard]] auto has_component() const -> bool; prek> 19 | prek> 20 | template prek> 21 | auto get_component() -> T&; prek> 22 | prek> 23 | template prek> 24 | void add_component(Args&&... args); prek> 25 | prek> 26 | private: prek> 27 | flecs::entity entity_; prek> | prek> | {} prek> 28 | prek> 29 | std::shared_ptr scene_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:46:38: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 46 | void Entity::add_component(Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:11:7: error: constructor does not initialize these fields: ecs_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | class Scene : public std::enable_shared_from_this { prek> | ^ prek> 12 | public: prek> 13 | static auto create() { return std::shared_ptr(new Scene()); } prek> 14 | prek> 15 | auto create_entity(const std::string& name = "entity") -> Entity; prek> 16 | prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> 18 | auto world() -> flecs::world& { return ecs_; } prek> 19 | prek> 20 | private: prek> 21 | Scene() = default; prek> 22 | prek> 23 | flecs::world ecs_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 19 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/scene_panel.cpp. prek> 19 warnings treated as errors prek> prek> [ 9/47][0.5s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_text/tests/font.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_text/tests/font.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] prek> 1 | #include prek> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_text/tests/font.cpp:4:23: error: variable 'font_test_suite' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> 4 | BOOST_AUTO_TEST_SUITE(font_test_suite) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> 4 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_text/tests/font.cpp. prek> 4 warnings treated as errors prek> prek> [10/47][0.5s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/utils/device.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:3:10: error: 'vulkan/vulkan.hpp' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/utils/device.cpp:40:34: error: invalid case style for variable 'PhysicalDeviceImagelessFramebufferFeatures' [readability-identifier-naming,-warnings-as-errors] prek> 40 | ::vk::PhysicalDeviceImagelessFramebufferFeatures>(); prek> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prek> | physical_device_imageless_framebuffer_features prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> 8 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/utils/device.cpp. prek> 8 warnings treated as errors prek> prek> [11/47][0.6s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/render_pass.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:14:8: error: constructor does not initialize these fields: name, render_pass [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Node { prek> | ^ prek> 15 | std::string name; prek> | prek> | {} prek> 16 | std::shared_ptr render_pass; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:22:8: error: constructor does not initialize these fields: nodes, edges [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 22 | struct Graph { prek> | ^ prek> 23 | auto begin() { return nodes.begin(); } prek> 24 | auto end() { return nodes.end(); } prek> 25 | prek> 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { prek> 27 | const auto node = std::ranges::find_if( prek> 28 | nodes, [name](const node_t& node) { return name == node->name; }); prek> 29 | if (node != nodes.end()) return *node; prek> 30 | prek> 31 | return nullptr; prek> 32 | } prek> 33 | prek> 34 | std::vector nodes; prek> | prek> | {} prek> 35 | std::vector edges; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/pipeline.hpp:20:3: error: constructor does not initialize these fields: name_, shader_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 20 | Pipeline(std::string name, const std::shared_ptr& shader) prek> | ^ prek> 21 | : name_(std::move(name)), shader_(shader) {} prek> 22 | prek> 23 | std::string name_; prek> | prek> | {} prek> 24 | prek> 25 | std::shared_ptr shader_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:3:10: error: 'memory' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:25:3: error: constructor does not initialize these fields: target_prefix_, clear_colour_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 25 | PassResources(std::string target_prefix) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 51 | auto has_colour_target() const { return colour_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 52 | auto has_depth_target() const { return depth_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_target.hpp:14:7: error: constructor does not initialize these fields: transition_fn_, render_finished_semaphore_, image_, view_, image_usage_, aspect_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class RenderTarget { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 54 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/render_pass.cpp. prek> Suppressed 1 warnings (1 NOLINT). prek> 54 warnings treated as errors prek> prek> [12/47][0.6s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/utils/vulkan.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:3:10: error: 'vulkan/vk_platform.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> 18 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/utils/vulkan.cpp. prek> Suppressed 10 warnings (10 NOLINT). prek> 18 warnings treated as errors prek> prek> [13/47][0.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/binary_reader.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/binary_reader.hpp:3:10: error: 'bit' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/binary_reader.hpp:12:3: error: constructor does not initialize these fields: data_, iterator [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 12 | BinaryReader(const std::span& data) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/binary_reader.hpp:55:31: error: invalid case style for private member 'iterator' [readability-identifier-naming,-warnings-as-errors] prek> 55 | std::span::iterator pos_; prek> | ^~~~~~~~ prek> | iterator_ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/binary_reader.cpp:5:23: error: variable 'binary_reader' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> 5 | BOOST_AUTO_TEST_SUITE(binary_reader) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/binary_reader.cpp:58:1: error: invalid case style for function 'BOOST_AUTO_TEST_SUITE_END' [readability-identifier-naming,-warnings-as-errors] prek> 58 | BOOST_AUTO_TEST_SUITE_END(); prek> | ^~~~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_auto_test_suite_end prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/binary_reader.cpp:58:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 5 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/binary_reader.cpp. prek> 5 warnings treated as errors prek> prek> [14/47][0.5s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/graphics_context.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:3:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> 22 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/graphics_context.cpp. prek> 22 warnings treated as errors prek> prek> [15/47][0.7s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/scene/deserialization.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh_loader.hpp:9:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/components/mesh.hpp:13:7: error: constructor does not initialize these fields: mesh_, mesh_file_, ubo_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | class MeshRenderer { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/deserialization.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:14:3: error: constructor does not initialize these fields: entity_, scene_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) prek> | ^ prek> 15 | : entity_(entity), scene_(scene) {} prek> 16 | prek> 17 | template prek> 18 | [[nodiscard]] auto has_component() const -> bool; prek> 19 | prek> 20 | template prek> 21 | auto get_component() -> T&; prek> 22 | prek> 23 | template prek> 24 | void add_component(Args&&... args); prek> 25 | prek> 26 | private: prek> 27 | flecs::entity entity_; prek> | prek> | {} prek> 28 | prek> 29 | std::shared_ptr scene_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:46:38: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 46 | void Entity::add_component(Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:11:7: error: constructor does not initialize these fields: ecs_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | class Scene : public std::enable_shared_from_this { prek> | ^ prek> 12 | public: prek> 13 | static auto create() { return std::shared_ptr(new Scene()); } prek> 14 | prek> 15 | auto create_entity(const std::string& name = "entity") -> Entity; prek> 16 | prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> 18 | auto world() -> flecs::world& { return ecs_; } prek> 19 | prek> 20 | private: prek> 21 | Scene() = default; prek> 22 | prek> 23 | flecs::world ecs_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 46 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/scene/deserialization.cpp. prek> Suppressed 1 warnings (1 NOLINT). prek> 46 warnings treated as errors prek> prek> [16/47][0.8s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/application.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/application.hpp:3:10: error: 'memory' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:14:8: error: constructor does not initialize these fields: name, render_pass [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Node { prek> | ^ prek> 15 | std::string name; prek> | prek> | {} prek> 16 | std::shared_ptr render_pass; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:22:8: error: constructor does not initialize these fields: nodes, edges [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 22 | struct Graph { prek> | ^ prek> 23 | auto begin() { return nodes.begin(); } prek> 24 | auto end() { return nodes.end(); } prek> 25 | prek> 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { prek> 27 | const auto node = std::ranges::find_if( prek> 28 | nodes, [name](const node_t& node) { return name == node->name; }); prek> 29 | if (node != nodes.end()) return *node; prek> 30 | prek> 31 | return nullptr; prek> 32 | } prek> 33 | prek> 34 | std::vector nodes; prek> | prek> | {} prek> 35 | std::vector edges; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/pipeline.hpp:20:3: error: constructor does not initialize these fields: name_, shader_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 20 | Pipeline(std::string name, const std::shared_ptr& shader) prek> | ^ prek> 21 | : name_(std::move(name)), shader_(shader) {} prek> 22 | prek> 23 | std::string name_; prek> | prek> | {} prek> 24 | prek> 25 | std::shared_ptr shader_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:25:3: error: constructor does not initialize these fields: target_prefix_, clear_colour_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 25 | PassResources(std::string target_prefix) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 51 | auto has_colour_target() const { return colour_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 52 | auto has_depth_target() const { return depth_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_target.hpp:14:7: error: constructor does not initialize these fields: transition_fn_, render_finished_semaphore_, image_, view_, image_usage_, aspect_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class RenderTarget { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 60 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/application.cpp. prek> Suppressed 7 warnings (6 in non-user code, 1 NOLINT). prek> Use -header-filter=.* or leave it as default to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. prek> 54 warnings treated as errors prek> prek> [17/47][0.8s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/scene/scene.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/components/tag.hpp:7:8: error: constructor does not initialize these fields: tag [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 7 | struct Tag { prek> | ^ prek> 8 | std::string tag; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:14:3: error: constructor does not initialize these fields: entity_, scene_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) prek> | ^ prek> 15 | : entity_(entity), scene_(scene) {} prek> 16 | prek> 17 | template prek> 18 | [[nodiscard]] auto has_component() const -> bool; prek> 19 | prek> 20 | template prek> 21 | auto get_component() -> T&; prek> 22 | prek> 23 | template prek> 24 | void add_component(Args&&... args); prek> 25 | prek> 26 | private: prek> 27 | flecs::entity entity_; prek> | prek> | {} prek> 28 | prek> 29 | std::shared_ptr scene_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:46:38: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 46 | void Entity::add_component(Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:3:10: error: 'flecs.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:11:7: error: constructor does not initialize these fields: ecs_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | class Scene : public std::enable_shared_from_this { prek> | ^ prek> 12 | public: prek> 13 | static auto create() { return std::shared_ptr(new Scene()); } prek> 14 | prek> 15 | auto create_entity(const std::string& name = "entity") -> Entity; prek> 16 | prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> 18 | auto world() -> flecs::world& { return ecs_; } prek> 19 | prek> 20 | private: prek> 21 | Scene() = default; prek> 22 | prek> 23 | flecs::world ecs_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 20 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/scene/scene.cpp. prek> 20 warnings treated as errors prek> prek> [18/47][0.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/event.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:3:10: error: 'functional' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> 3 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/event.cpp. prek> Suppressed 1 warnings (1 NOLINT). prek> 3 warnings treated as errors prek> prek> [19/47][0.8s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/src/geometry.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:3:10: error: 'numbers' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/src/geometry.cpp:60:15: error: variable 'sin' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 2 | const float sin = std::sin(angle); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/src/geometry.cpp:61:15: error: variable 'cos' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 61 | const float cos = std::cos(angle); prek> | ^ prek> | = NAN prek> 13 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/src/geometry.cpp. prek> 13 warnings treated as errors prek> prek> [20/47][0.4s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/src/string_reader.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/string_reader.hpp:3:10: error: 'string_view' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/string_reader.hpp:9:3: error: constructor does not initialize these fields: input_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | StringReader(const std::string_view& input) : input_(input) {} prek> | ^ prek> 1 warning and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/src/string_reader.cpp. prek> 1 warning treated as error prek> prek> [21/47][0.4s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/string_reader.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/string_reader.hpp:9:3: error: constructor does not initialize these fields: input_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | StringReader(const std::string_view& input) : input_(input) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/string_reader.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] prek> 1 | #include prek> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/string_reader.cpp:4:23: error: variable 'string_reader' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> 4 | BOOST_AUTO_TEST_SUITE(string_reader) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/string_reader.cpp:36:1: error: invalid case style for function 'BOOST_AUTO_TEST_SUITE_END' [readability-identifier-naming,-warnings-as-errors] prek> 36 | BOOST_AUTO_TEST_SUITE_END(); prek> | ^~~~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_auto_test_suite_end prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/string_reader.cpp:36:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 4 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/tests/string_reader.cpp. prek> 4 warnings treated as errors prek> prek> [22/47][0.3s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_physics/src/ray.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_physics/include/wren/physics/ray.hpp:3:10: error: 'flecs.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~ prek> 15 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_physics/src/ray.cpp. prek> 15 warnings treated as errors prek> prek> [23/47][0.9s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/graph.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:3:10: error: 'memory' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:14:8: error: constructor does not initialize these fields: name, render_pass [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Node { prek> | ^ prek> 15 | std::string name; prek> | prek> | {} prek> 16 | std::shared_ptr render_pass; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/pipeline.hpp:20:3: error: constructor does not initialize these fields: name_, shader_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 20 | Pipeline(std::string name, const std::shared_ptr& shader) prek> | ^ prek> 21 | : name_(std::move(name)), shader_(shader) {} prek> 22 | prek> 23 | std::string name_; prek> | prek> | {} prek> 24 | prek> 25 | std::shared_ptr shader_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:25:3: error: constructor does not initialize these fields: target_prefix_, clear_colour_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 25 | PassResources(std::string target_prefix) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 51 | auto has_colour_target() const { return colour_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 52 | auto has_depth_target() const { return depth_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_target.hpp:14:7: error: constructor does not initialize these fields: transition_fn_, render_finished_semaphore_, image_, view_, image_usage_, aspect_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class RenderTarget { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 43 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/graph.cpp. prek> Suppressed 1 warnings (1 NOLINT). prek> 43 warnings treated as errors prek> prek> [24/47][0.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/input.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:3:10: error: 'unordered_map' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> 6 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/input.cpp. prek> Suppressed 1 warnings (1 NOLINT). prek> 6 warnings treated as errors prek> prek> [25/47][0.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/memory.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/memory.cpp:5:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] prek> 5 | #include prek> | ^~~~~~~~~~~~~~~~ prek> 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/memory.cpp. prek> Found compiler error(s). prek> prek> [26/47][0.7s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_physics/tests/raycast.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:14:3: error: constructor does not initialize these fields: entity_, scene_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) prek> | ^ prek> 15 | : entity_(entity), scene_(scene) {} prek> 16 | prek> 17 | template prek> 18 | [[nodiscard]] auto has_component() const -> bool; prek> 19 | prek> 20 | template prek> 21 | auto get_component() -> T&; prek> 22 | prek> 23 | template prek> 24 | void add_component(Args&&... args); prek> 25 | prek> 26 | private: prek> 27 | flecs::entity entity_; prek> | prek> | {} prek> 28 | prek> 29 | std::shared_ptr scene_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:46:38: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 46 | void Entity::add_component(Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:11:7: error: constructor does not initialize these fields: ecs_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | class Scene : public std::enable_shared_from_this { prek> | ^ prek> 12 | public: prek> 13 | static auto create() { return std::shared_ptr(new Scene()); } prek> 14 | prek> 15 | auto create_entity(const std::string& name = "entity") -> Entity; prek> 16 | prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> 18 | auto world() -> flecs::world& { return ecs_; } prek> 19 | prek> 20 | private: prek> 21 | Scene() = default; prek> 22 | prek> 23 | flecs::world ecs_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_physics/tests/raycast.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] prek> 1 | #include prek> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_physics/tests/raycast.cpp:13:23: error: variable 'raycasting' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> 13 | BOOST_AUTO_TEST_SUITE(raycasting) prek> | ^ prek> 20 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_physics/tests/raycast.cpp. prek> 20 warnings treated as errors prek> prek> [27/47][0.6s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/geometry.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/geometry.cpp:1:10: error: 'array' file not found [clang-diagnostic-error] prek> 1 | #include prek> | ^~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/geometry.cpp:13:23: error: variable 'geometry' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> 13 | BOOST_AUTO_TEST_SUITE(geometry) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/geometry.cpp:21:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 21 | BOOST_DESCRIBE_STRUCT(Translation, (), (pos)) prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/geometry.cpp:21:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/geometry.cpp:30:1: error: invalid case style for function 'BOOST_DATA_TEST_CASE' [readability-identifier-naming,-warnings-as-errors] prek> 30 | BOOST_DATA_TEST_CASE( prek> | ^~~~~~~~~~~~~~~~~~~~ prek> | boost_data_test_case prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/geometry.cpp:30:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/geometry.cpp:52:22: error: invalid case style for variable 'Ortho' [readability-identifier-naming,-warnings-as-errors] prek> 52 | BOOST_AUTO_TEST_CASE(Ortho) {} prek> | ^~~~~ prek> | ortho prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/geometry.cpp:52:22: error: variable 'Ortho' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> 19 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/geometry.cpp. prek> 19 warnings treated as errors prek> prek> [28/47][0.1s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/matrix.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/matrix.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] prek> 1 | #include prek> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/matrix.cpp:5:23: error: variable 'matrix' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> 5 | BOOST_AUTO_TEST_SUITE(matrix) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/matrix.cpp:20:22: error: invalid case style for variable 'Identity' [readability-identifier-naming,-warnings-as-errors] prek> 20 | BOOST_AUTO_TEST_CASE(Identity) { prek> | ^~~~~~~~ prek> | identity prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/matrix.cpp:20:22: error: variable 'Identity' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/matrix.cpp:76:22: error: invalid case style for variable 'MultiplicationMatVec' [readability-identifier-naming,-warnings-as-errors] prek> 76 | BOOST_AUTO_TEST_CASE(MultiplicationMatVec) { prek> | ^~~~~~~~~~~~~~~~~~~~ prek> | multiplication_mat_vec prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/matrix.cpp:76:22: error: variable 'MultiplicationMatVec' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> 16 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/matrix.cpp. prek> 16 warnings treated as errors prek> prek> [29/47][0.7s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_gui/src/instance.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_gui/include/wren/gui/instance.hpp:3:10: error: 'vulkan/vulkan.hpp' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_gui/include/wren/gui/ui.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(ElementKind, Panel, Text) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_gui/include/wren/gui/ui.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_gui/include/wren/gui/ui.hpp:15:8: error: constructor does not initialize these fields: kind, children [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 15 | struct Element { prek> | ^ prek> 16 | std::string kind; prek> | prek> | {} prek> 17 | prek> 18 | Colour colour = {0, 0, 0, 0}; prek> 19 | prek> 20 | float margin = 0; prek> 21 | float padding = 0; prek> 22 | prek> 23 | std::vector children; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_gui/src/instance.cpp:49:1: error: constructor does not initialize these fields: index_buffer_, vertex_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 49 | Instance::Instance() { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 34 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_gui/src/instance.cpp. prek> 34 warnings treated as errors prek> prek> [30/47][0.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/src/string.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/string.hpp:3:10: error: 'string' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~ prek> 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/src/string.cpp. prek> Found compiler error(s). prek> prek> [31/47][0.3s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/shader.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/string_reader.hpp:9:3: error: constructor does not initialize these fields: input_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | StringReader(const std::string_view& input) : input_(input) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/shader.cpp:49:1: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 49 | ShaderModule::ShaderModule(reflect::spirv_t spirv, prek> | ^ prek> 31 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/shader.cpp. prek> Suppressed 2 warnings (2 NOLINT). prek> 31 warnings treated as errors prek> prek> [32/47][0.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/vulkan.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/vulkan.cpp:1:10: error: 'vulkan/vulkan.hpp' file not found [clang-diagnostic-error] prek> 1 | #include prek> | ^~~~~~~~~~~~~~~~~~~ prek> 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/vulkan.cpp. prek> Found compiler error(s). prek> prek> [33/47][1.0s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/window.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:3:10: error: 'SDL3/SDL.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> 24 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/window.cpp. prek> Suppressed 7 warnings (6 in non-user code, 1 NOLINT). prek> Use -header-filter=.* or leave it as default to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. prek> 18 warnings treated as errors prek> prek> [34/47][1.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/inspector_panel.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/inspector_panel.hpp:3:10: error: 'imgui.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:10:7: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Manager { prek> | ^ prek> 11 | public: prek> 12 | Manager() = default; prek> 13 | Manager(const std::vector& asset_paths, prek> 14 | const std::optional& project_path = {}) prek> 15 | : asset_paths_(asset_paths), project_path_(project_path) {} prek> 16 | prek> 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const prek> 18 | -> expected; prek> 19 | prek> 20 | private: prek> 21 | std::vector asset_paths_; prek> | prek> | {} prek> 22 | std::optional project_path_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:13:3: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | Manager(const std::vector& asset_paths, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh_loader.hpp:9:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/components/mesh.hpp:13:7: error: constructor does not initialize these fields: mesh_, mesh_file_, ubo_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | class MeshRenderer { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:14:3: error: constructor does not initialize these fields: entity_, scene_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) prek> | ^ prek> 15 | : entity_(entity), scene_(scene) {} prek> 16 | prek> 17 | template prek> 18 | [[nodiscard]] auto has_component() const -> bool; prek> 19 | prek> 20 | template prek> 21 | auto get_component() -> T&; prek> 22 | prek> 23 | template prek> 24 | void add_component(Args&&... args); prek> 25 | prek> 26 | private: prek> 27 | flecs::entity entity_; prek> | prek> | {} prek> 28 | prek> 29 | std::shared_ptr scene_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:46:38: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 46 | void Entity::add_component(Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:11:7: error: constructor does not initialize these fields: ecs_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | class Scene : public std::enable_shared_from_this { prek> | ^ prek> 12 | public: prek> 13 | static auto create() { return std::shared_ptr(new Scene()); } prek> 14 | prek> 15 | auto create_entity(const std::string& name = "entity") -> Entity; prek> 16 | prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> 18 | auto world() -> flecs::world& { return ecs_; } prek> 19 | prek> 20 | private: prek> 21 | Scene() = default; prek> 22 | prek> 23 | flecs::world ecs_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 48 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/inspector_panel.cpp. prek> Suppressed 1 warnings (1 NOLINT). prek> 48 warnings treated as errors prek> prek> [35/47][0.5s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/render_target.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:14:8: error: constructor does not initialize these fields: name, render_pass [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Node { prek> | ^ prek> 15 | std::string name; prek> | prek> | {} prek> 16 | std::shared_ptr render_pass; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:22:8: error: constructor does not initialize these fields: nodes, edges [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 22 | struct Graph { prek> | ^ prek> 23 | auto begin() { return nodes.begin(); } prek> 24 | auto end() { return nodes.end(); } prek> 25 | prek> 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { prek> 27 | const auto node = std::ranges::find_if( prek> 28 | nodes, [name](const node_t& node) { return name == node->name; }); prek> 29 | if (node != nodes.end()) return *node; prek> 30 | prek> 31 | return nullptr; prek> 32 | } prek> 33 | prek> 34 | std::vector nodes; prek> | prek> | {} prek> 35 | std::vector edges; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/pipeline.hpp:20:3: error: constructor does not initialize these fields: name_, shader_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 20 | Pipeline(std::string name, const std::shared_ptr& shader) prek> | ^ prek> 21 | : name_(std::move(name)), shader_(shader) {} prek> 22 | prek> 23 | std::string name_; prek> | prek> | {} prek> 24 | prek> 25 | std::shared_ptr shader_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:25:3: error: constructor does not initialize these fields: target_prefix_, clear_colour_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 25 | PassResources(std::string target_prefix) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 51 | auto has_colour_target() const { return colour_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 52 | auto has_depth_target() const { return depth_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_target.hpp:3:10: error: 'vulkan/vulkan.hpp' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_target.hpp:14:7: error: constructor does not initialize these fields: transition_fn_, render_finished_semaphore_, image_, view_, image_usage_, aspect_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class RenderTarget { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 44 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/render_target.cpp. prek> Suppressed 1 warnings (1 NOLINT). prek> 44 warnings treated as errors prek> prek> [36/47][0.6s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/buffer.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/buffer.hpp:3:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> 6 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/buffer.cpp. prek> 6 warnings treated as errors prek> prek> [37/47][0.6s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/vector.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/vector.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] prek> 1 | #include prek> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/vector.cpp:5:23: error: variable 'vector_test_suite' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> 5 | BOOST_AUTO_TEST_SUITE(vector_test_suite) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/vector.cpp:46:22: error: invalid case style for variable 'MUL' [readability-identifier-naming,-warnings-as-errors] prek> 46 | BOOST_AUTO_TEST_CASE(MUL) { prek> | ^~~ prek> | mul prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/vector.cpp:46:22: error: variable 'MUL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/vector.cpp:92:22: error: invalid case style for variable 'CROSS' [readability-identifier-naming,-warnings-as-errors] prek> 92 | BOOST_AUTO_TEST_CASE(CROSS) { prek> | ^~~~~ prek> | cross prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/vector.cpp:92:22: error: variable 'CROSS' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> 16 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/tests/vector.cpp. prek> 16 warnings treated as errors prek> prek> [38/47][0.3s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/assets/manager.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:10:7: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Manager { prek> | ^ prek> 11 | public: prek> 12 | Manager() = default; prek> 13 | Manager(const std::vector& asset_paths, prek> 14 | const std::optional& project_path = {}) prek> 15 | : asset_paths_(asset_paths), project_path_(project_path) {} prek> 16 | prek> 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const prek> 18 | -> expected; prek> 19 | prek> 20 | private: prek> 21 | std::vector asset_paths_; prek> | prek> | {} prek> 22 | std::optional project_path_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:13:3: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | Manager(const std::vector& asset_paths, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> 5 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/assets/manager.cpp. prek> 5 warnings treated as errors prek> prek> [39/47][0.8s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/image.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:3:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/image.cpp:36:1: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 36 | Image::Image(Image&& other) noexcept prek> | ^ prek> 18 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/src/image.cpp. prek> 18 warnings treated as errors prek> prek> [40/47][0.5s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/scene/serialization.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh_loader.hpp:9:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/components/mesh.hpp:13:7: error: constructor does not initialize these fields: mesh_, mesh_file_, ubo_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | class MeshRenderer { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:14:3: error: constructor does not initialize these fields: entity_, scene_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) prek> | ^ prek> 15 | : entity_(entity), scene_(scene) {} prek> 16 | prek> 17 | template prek> 18 | [[nodiscard]] auto has_component() const -> bool; prek> 19 | prek> 20 | template prek> 21 | auto get_component() -> T&; prek> 22 | prek> 23 | template prek> 24 | void add_component(Args&&... args); prek> 25 | prek> 26 | private: prek> 27 | flecs::entity entity_; prek> | prek> | {} prek> 28 | prek> 29 | std::shared_ptr scene_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:46:38: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 46 | void Entity::add_component(Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:11:7: error: constructor does not initialize these fields: ecs_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | class Scene : public std::enable_shared_from_this { prek> | ^ prek> 12 | public: prek> 13 | static auto create() { return std::shared_ptr(new Scene()); } prek> 14 | prek> 15 | auto create_entity(const std::string& name = "entity") -> Entity; prek> 16 | prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> 18 | auto world() -> flecs::world& { return ecs_; } prek> 19 | prek> 20 | private: prek> 21 | Scene() = default; prek> 22 | prek> 23 | flecs::world ecs_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/serialization.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 56 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/scene/serialization.cpp. prek> Suppressed 1 warnings (1 NOLINT). prek> 56 warnings treated as errors prek> prek> [41/47][0.7s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/mesh.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:3:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/mesh.cpp:9:1: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | Mesh::Mesh(const vulkan::Device& device, VmaAllocator allocator) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/mesh.cpp:15:1: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 15 | Mesh::Mesh(const std::vector& vertices, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 24 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/mesh.cpp. prek> 24 warnings treated as errors prek> prek> [42/47][1.9s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/main.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/main.cpp:1:10: error: 'filesystem' file not found [clang-diagnostic-error] prek> 1 | #include prek> | ^~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:10:7: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Manager { prek> | ^ prek> 11 | public: prek> 12 | Manager() = default; prek> 13 | Manager(const std::vector& asset_paths, prek> 14 | const std::optional& project_path = {}) prek> 15 | : asset_paths_(asset_paths), project_path_(project_path) {} prek> 16 | prek> 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const prek> 18 | -> expected; prek> 19 | prek> 20 | private: prek> 21 | std::vector asset_paths_; prek> | prek> | {} prek> 22 | std::optional project_path_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:13:3: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | Manager(const std::vector& asset_paths, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:14:8: error: constructor does not initialize these fields: name, render_pass [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Node { prek> | ^ prek> 15 | std::string name; prek> | prek> | {} prek> 16 | std::shared_ptr render_pass; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:22:8: error: constructor does not initialize these fields: nodes, edges [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 22 | struct Graph { prek> | ^ prek> 23 | auto begin() { return nodes.begin(); } prek> 24 | auto end() { return nodes.end(); } prek> 25 | prek> 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { prek> 27 | const auto node = std::ranges::find_if( prek> 28 | nodes, [name](const node_t& node) { return name == node->name; }); prek> 29 | if (node != nodes.end()) return *node; prek> 30 | prek> 31 | return nullptr; prek> 32 | } prek> 33 | prek> 34 | std::vector nodes; prek> | prek> | {} prek> 35 | std::vector edges; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh_loader.hpp:9:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/pipeline.hpp:20:3: error: constructor does not initialize these fields: name_, shader_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 20 | Pipeline(std::string name, const std::shared_ptr& shader) prek> | ^ prek> 21 | : name_(std::move(name)), shader_(shader) {} prek> 22 | prek> 23 | std::string name_; prek> | prek> | {} prek> 24 | prek> 25 | std::shared_ptr shader_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:25:3: error: constructor does not initialize these fields: target_prefix_, clear_colour_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 25 | PassResources(std::string target_prefix) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 51 | auto has_colour_target() const { return colour_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 52 | auto has_depth_target() const { return depth_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_target.hpp:14:7: error: constructor does not initialize these fields: transition_fn_, render_finished_semaphore_, image_, view_, image_usage_, aspect_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class RenderTarget { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/components/mesh.hpp:13:7: error: constructor does not initialize these fields: mesh_, mesh_file_, ubo_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | class MeshRenderer { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:11:7: error: constructor does not initialize these fields: ecs_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | class Scene : public std::enable_shared_from_this { prek> | ^ prek> 12 | public: prek> 13 | static auto create() { return std::shared_ptr(new Scene()); } prek> 14 | prek> 15 | auto create_entity(const std::string& name = "entity") -> Entity; prek> 16 | prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> 18 | auto world() -> flecs::world& { return ecs_; } prek> 19 | prek> 20 | private: prek> 21 | Scene() = default; prek> 22 | prek> 23 | flecs::world ecs_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/matrix.hpp:20:24: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 4 | for (size_t i = 0; i < Rows; ++i) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/matrix.hpp:44:26: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 44 | for (size_t row = 0; row < Cols; ++row) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/matrix.hpp:45:28: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 45 | for (size_t col = 0; col < Rows; ++col) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/matrix.hpp:47:28: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 47 | for (size_t k = 0; k < Cols; ++k) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:21:24: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 6 | prek> 7 | namespace wren::math { prek> 8 | prek> 9 | template prek> 10 | struct Vec { prek> 11 | using vec_t = Vec; prek> 12 | prek> 13 | static auto unit_x() { return vec_t{1.0f}; } prek> 14 | static auto unit_y() { return vec_t{0.0f, 1.0f}; } prek> 15 | static auto unit_z() { return vec_t{0.0f, 0.0f, 1.0f}; } prek> 16 | prek> 17 | ~Vec() = default; prek> 18 | constexpr Vec() : data() {} prek> 19 | prek> 20 | Vec(const Vec& other) { prek> 21 | for (size_t i = 0; i < N; ++i) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:37:24: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 37 | for (size_t i = 0; i < N; ++i) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 76 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/main.cpp. prek> Suppressed 7 warnings (6 in non-user code, 1 NOLINT). prek> Use -header-filter=.* or leave it as default to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. prek> 70 warnings treated as errors prek> prek> [43/47][0.8s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/texture.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/texture.hpp:17:3: error: constructor does not initialize these fields: sampler_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 17 | Texture(vk::Image& image, const ::vk::Sampler& sampler) prek> | ^ prek> 18 | : image_(std::move(image)), sampler_(sampler) {} prek> 19 | prek> 20 | vk::Image image_; prek> 21 | ::vk::Sampler sampler_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:3:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> 18 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/texture.cpp. prek> 18 warnings treated as errors prek> prek> [44/47][1.2s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/ui.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:14:8: error: constructor does not initialize these fields: name, render_pass [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Node { prek> | ^ prek> 15 | std::string name; prek> | prek> | {} prek> 16 | std::shared_ptr render_pass; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:22:8: error: constructor does not initialize these fields: nodes, edges [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 22 | struct Graph { prek> | ^ prek> 23 | auto begin() { return nodes.begin(); } prek> 24 | auto end() { return nodes.end(); } prek> 25 | prek> 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { prek> 27 | const auto node = std::ranges::find_if( prek> 28 | nodes, [name](const node_t& node) { return name == node->name; }); prek> 29 | if (node != nodes.end()) return *node; prek> 30 | prek> 31 | return nullptr; prek> 32 | } prek> 33 | prek> 34 | std::vector nodes; prek> | prek> | {} prek> 35 | std::vector edges; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/pipeline.hpp:20:3: error: constructor does not initialize these fields: name_, shader_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 20 | Pipeline(std::string name, const std::shared_ptr& shader) prek> | ^ prek> 21 | : name_(std::move(name)), shader_(shader) {} prek> 22 | prek> 23 | std::string name_; prek> | prek> | {} prek> 24 | prek> 25 | std::shared_ptr shader_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:25:3: error: constructor does not initialize these fields: target_prefix_, clear_colour_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 25 | PassResources(std::string target_prefix) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 51 | auto has_colour_target() const { return colour_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 52 | auto has_depth_target() const { return depth_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_target.hpp:14:7: error: constructor does not initialize these fields: transition_fn_, render_finished_semaphore_, image_, view_, image_usage_, aspect_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class RenderTarget { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:3:10: error: 'boost/describe.hpp' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~~~~~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 54 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/ui.cpp. prek> Suppressed 1 warnings (1 NOLINT). prek> 54 warnings treated as errors prek> prek> [45/47][1.8s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/examples/nand/main.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/examples/nand/main.cpp:1:10: error: 'cstdlib' file not found [clang-diagnostic-error] prek> 1 | #include prek> | ^~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/examples/nand/main.cpp:19:8: error: constructor does not initialize these fields: app, scene [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct GameData { prek> | ^ prek> 20 | std::shared_ptr app; prek> | prek> | {} prek> 21 | std::shared_ptr scene; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/examples/nand/main.cpp:49:25: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 49 | wren::assets::Manager asset_manager(asset_paths); prek> | ~~~~~~~~~~~~~~~~~~~~~ ^ prek> | auto -> wren::assets::Manager prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:10:7: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Manager { prek> | ^ prek> 11 | public: prek> 12 | Manager() = default; prek> 13 | Manager(const std::vector& asset_paths, prek> 14 | const std::optional& project_path = {}) prek> 15 | : asset_paths_(asset_paths), project_path_(project_path) {} prek> 16 | prek> 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const prek> 18 | -> expected; prek> 19 | prek> 20 | private: prek> 21 | std::vector asset_paths_; prek> | prek> | {} prek> 22 | std::optional project_path_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:13:3: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | Manager(const std::vector& asset_paths, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:14:8: error: constructor does not initialize these fields: name, render_pass [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Node { prek> | ^ prek> 15 | std::string name; prek> | prek> | {} prek> 16 | std::shared_ptr render_pass; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:22:8: error: constructor does not initialize these fields: nodes, edges [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 22 | struct Graph { prek> | ^ prek> 23 | auto begin() { return nodes.begin(); } prek> 24 | auto end() { return nodes.end(); } prek> 25 | prek> 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { prek> 27 | const auto node = std::ranges::find_if( prek> 28 | nodes, [name](const node_t& node) { return name == node->name; }); prek> 29 | if (node != nodes.end()) return *node; prek> 30 | prek> 31 | return nullptr; prek> 32 | } prek> 33 | prek> 34 | std::vector nodes; prek> | prek> | {} prek> 35 | std::vector edges; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh_loader.hpp:9:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/pipeline.hpp:20:3: error: constructor does not initialize these fields: name_, shader_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 20 | Pipeline(std::string name, const std::shared_ptr& shader) prek> | ^ prek> 21 | : name_(std::move(name)), shader_(shader) {} prek> 22 | prek> 23 | std::string name_; prek> | prek> | {} prek> 24 | prek> 25 | std::shared_ptr shader_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:25:3: error: constructor does not initialize these fields: target_prefix_, clear_colour_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 25 | PassResources(std::string target_prefix) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 51 | auto has_colour_target() const { return colour_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 52 | auto has_depth_target() const { return depth_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_target.hpp:14:7: error: constructor does not initialize these fields: transition_fn_, render_finished_semaphore_, image_, view_, image_usage_, aspect_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class RenderTarget { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/components/mesh.hpp:13:7: error: constructor does not initialize these fields: mesh_, mesh_file_, ubo_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | class MeshRenderer { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:14:3: error: constructor does not initialize these fields: entity_, scene_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) prek> | ^ prek> 15 | : entity_(entity), scene_(scene) {} prek> 16 | prek> 17 | template prek> 18 | [[nodiscard]] auto has_component() const -> bool; prek> 19 | prek> 20 | template prek> 21 | auto get_component() -> T&; prek> 22 | prek> 23 | template prek> 24 | void add_component(Args&&... args); prek> 25 | prek> 26 | private: prek> 27 | flecs::entity entity_; prek> | prek> | {} prek> 28 | prek> 29 | std::shared_ptr scene_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:46:38: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 46 | void Entity::add_component(Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:11:7: error: constructor does not initialize these fields: ecs_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | class Scene : public std::enable_shared_from_this { prek> | ^ prek> 12 | public: prek> 13 | static auto create() { return std::shared_ptr(new Scene()); } prek> 14 | prek> 15 | auto create_entity(const std::string& name = "entity") -> Entity; prek> 16 | prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> 18 | auto world() -> flecs::world& { return ecs_; } prek> 19 | prek> 20 | private: prek> 21 | Scene() = default; prek> 22 | prek> 23 | flecs::world ecs_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/texture.hpp:17:3: error: constructor does not initialize these fields: sampler_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 17 | Texture(vk::Image& image, const ::vk::Sampler& sampler) prek> | ^ prek> 18 | : image_(std::move(image)), sampler_(sampler) {} prek> 19 | prek> 20 | vk::Image image_; prek> 21 | ::vk::Sampler sampler_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_gui/include/wren/gui/ui.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(ElementKind, Panel, Text) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_gui/include/wren/gui/ui.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_gui/include/wren/gui/ui.hpp:15:8: error: constructor does not initialize these fields: kind, children [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 15 | struct Element { prek> | ^ prek> 16 | std::string kind; prek> | prek> | {} prek> 17 | prek> 18 | Colour colour = {0, 0, 0, 0}; prek> 19 | prek> 20 | float margin = 0; prek> 21 | float padding = 0; prek> 22 | prek> 23 | std::vector children; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 109 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/examples/nand/main.cpp. prek> Suppressed 37 warnings (36 in non-user code, 1 NOLINT). prek> Use -header-filter=.* or leave it as default to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. prek> 73 warnings treated as errors prek> prek> [46/47][1.7s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/renderer.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:14:8: error: constructor does not initialize these fields: name, render_pass [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Node { prek> | ^ prek> 15 | std::string name; prek> | prek> | {} prek> 16 | std::shared_ptr render_pass; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:22:8: error: constructor does not initialize these fields: nodes, edges [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 22 | struct Graph { prek> | ^ prek> 23 | auto begin() { return nodes.begin(); } prek> 24 | auto end() { return nodes.end(); } prek> 25 | prek> 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { prek> 27 | const auto node = std::ranges::find_if( prek> 28 | nodes, [name](const node_t& node) { return name == node->name; }); prek> 29 | if (node != nodes.end()) return *node; prek> 30 | prek> 31 | return nullptr; prek> 32 | } prek> 33 | prek> 34 | std::vector nodes; prek> | prek> | {} prek> 35 | std::vector edges; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/pipeline.hpp:20:3: error: constructor does not initialize these fields: name_, shader_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 20 | Pipeline(std::string name, const std::shared_ptr& shader) prek> | ^ prek> 21 | : name_(std::move(name)), shader_(shader) {} prek> 22 | prek> 23 | std::string name_; prek> | prek> | {} prek> 24 | prek> 25 | std::shared_ptr shader_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:25:3: error: constructor does not initialize these fields: target_prefix_, clear_colour_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 25 | PassResources(std::string target_prefix) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 51 | auto has_colour_target() const { return colour_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 52 | auto has_depth_target() const { return depth_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_target.hpp:14:7: error: constructor does not initialize these fields: transition_fn_, render_finished_semaphore_, image_, view_, image_usage_, aspect_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class RenderTarget { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/renderer.hpp:3:10: error: 'memory' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/queue.hpp:11:8: error: constructor does not initialize these fields: graphics_index, present_index [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | struct QueueFamilyIndices { prek> | ^ prek> 12 | uint32_t graphics_index; prek> | prek> | {} prek> 13 | uint32_t present_index; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/renderer.cpp:52:10: error: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined [cppcoreguidelines-narrowing-conversions,-warnings-as-errors] prek> 52 | return image_index; prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/renderer.cpp:114:1: error: constructor does not initialize these fields: ctx_, swapchain_, swapchain_images_, swapchain_image_views_, swapchain_extent_, image_available_, render_finished_semaphores_, in_flight_fence_, command_pool_, one_time_cmd_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 114 | Renderer::Renderer(const std::shared_ptr& ctx) : ctx_(ctx) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 62 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/src/renderer.cpp. prek> Suppressed 7 warnings (6 in non-user code, 1 NOLINT). prek> Use -header-filter=.* or leave it as default to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. prek> 56 warnings treated as errors prek> prek> [47/47][2.1s] /nix/store/qhlmk9q9vma1xb24d2abazvdqsrp73w3-clang-22.1.8/bin/clang-tidy --use-color -p=/build/tmp.CTzyjuA53D /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/editor.cpp prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/editor.hpp:3:10: error: 'imgui.h' file not found [clang-diagnostic-error] prek> 3 | #include prek> | ^~~~~~~~~ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:10:7: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Manager { prek> | ^ prek> 11 | public: prek> 12 | Manager() = default; prek> 13 | Manager(const std::vector& asset_paths, prek> 14 | const std::optional& project_path = {}) prek> 15 | : asset_paths_(asset_paths), project_path_(project_path) {} prek> 16 | prek> 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const prek> 18 | -> expected; prek> 19 | prek> 20 | private: prek> 21 | std::vector asset_paths_; prek> | prek> | {} prek> 22 | std::optional project_path_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/assets/manager.hpp:13:3: error: constructor does not initialize these fields: asset_paths_, project_path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | Manager(const std::vector& asset_paths, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/context.hpp:14:8: error: constructor does not initialize these fields: graphics_context, renderer [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Context { prek> | ^ prek> 15 | Window window; prek> 16 | event::Dispatcher event_dispatcher; prek> 17 | Input input; prek> 18 | prek> 19 | std::shared_ptr graphics_context; prek> | prek> | {} prek> 20 | std::shared_ptr renderer; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:13:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 70 | struct KeyTyped { prek> | ^ prek> 71 | std::string_view text; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:14:8: error: constructor does not initialize these fields: name, render_pass [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | struct Node { prek> | ^ prek> 15 | std::string name; prek> | prek> | {} prek> 16 | std::shared_ptr render_pass; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:22:8: error: constructor does not initialize these fields: nodes, edges [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 22 | struct Graph { prek> | ^ prek> 23 | auto begin() { return nodes.begin(); } prek> 24 | auto end() { return nodes.end(); } prek> 25 | prek> 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { prek> 27 | const auto node = std::ranges::find_if( prek> 28 | nodes, [name](const node_t& node) { return name == node->name; }); prek> 29 | if (node != nodes.end()) return *node; prek> 30 | prek> 31 | return nullptr; prek> 32 | } prek> 33 | prek> 34 | std::vector nodes; prek> | prek> | {} prek> 35 | std::vector edges; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/graphics_context.hpp:14:7: error: constructor does not initialize these fields: instance_, physical_device_, surface_, debug_messenger_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class GraphicsContext { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 10 | class Input { prek> | ^ prek> 11 | public: prek> 12 | void initialize(event::Dispatcher& dispatcher); prek> 13 | prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> 16 | prek> 17 | auto end_frame() { pressed_down_.clear(); } prek> 18 | prek> 19 | private: prek> 20 | std::unordered_map pressed_; prek> | prek> | {} prek> 21 | std::unordered_map pressed_down_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 14 | auto is_pressed(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 15 | auto is_pressed_down(KeyCode key) const -> bool; prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh.hpp:57:7: error: constructor does not initialize these fields: shader_, vertices_, indices_, index_buffer_, vertex_buffer_, uniform_buffer_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 57 | class Mesh { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/mesh_loader.hpp:9:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/pipeline.hpp:20:3: error: constructor does not initialize these fields: name_, shader_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 20 | Pipeline(std::string name, const std::shared_ptr& shader) prek> | ^ prek> 21 | : name_(std::move(name)), shader_(shader) {} prek> 22 | prek> 23 | std::string name_; prek> | prek> | {} prek> 24 | prek> 25 | std::shared_ptr shader_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:25:3: error: constructor does not initialize these fields: target_prefix_, clear_colour_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 25 | PassResources(std::string target_prefix) prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 51 | auto has_colour_target() const { return colour_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 52 | auto has_depth_target() const { return depth_target_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/render_target.hpp:14:7: error: constructor does not initialize these fields: transition_fn_, render_finished_semaphore_, image_, view_, image_usage_, aspect_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class RenderTarget { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/components/mesh.hpp:13:7: error: constructor does not initialize these fields: mesh_, mesh_file_, ubo_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 13 | class MeshRenderer { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:14:3: error: constructor does not initialize these fields: entity_, scene_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) prek> | ^ prek> 15 | : entity_(entity), scene_(scene) {} prek> 16 | prek> 17 | template prek> 18 | [[nodiscard]] auto has_component() const -> bool; prek> 19 | prek> 20 | template prek> 21 | auto get_component() -> T&; prek> 22 | prek> 23 | template prek> 24 | void add_component(Args&&... args); prek> 25 | prek> 26 | private: prek> 27 | flecs::entity entity_; prek> | prek> | {} prek> 28 | prek> 29 | std::shared_ptr scene_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/entity.hpp:46:38: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 46 | void Entity::add_component(Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:11:7: error: constructor does not initialize these fields: ecs_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 11 | class Scene : public std::enable_shared_from_this { prek> | ^ prek> 12 | public: prek> 13 | static auto create() { return std::shared_ptr(new Scene()); } prek> 14 | prek> 15 | auto create_entity(const std::string& name = "entity") -> Entity; prek> 16 | prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> 18 | auto world() -> flecs::world& { return ecs_; } prek> 19 | prek> 20 | private: prek> 21 | Scene() = default; prek> 22 | prek> 23 | flecs::world ecs_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] prek> 17 | auto world() const -> const flecs::world& { return ecs_; } prek> | ^ prek> | [[nodiscard]] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/device.hpp:9:7: error: constructor does not initialize these fields: command_pool_, descriptor_pool_, device_, graphics_queue_, present_queue_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 9 | class Device { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:19:8: error: constructor does not initialize these fields: surface_capabilites, surface_formats, present_modes [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 19 | struct SwapchainSupportDetails { prek> | ^ prek> 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; prek> | prek> | {} prek> 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; prek> | prek> | {} prek> 22 | std::vector<::vk::PresentModeKHR> present_modes; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] prek> 31 | VKAPI_ATTR auto VKAPI_CALL prek> | ^~~~~~~~~~ prek> | vkapi_call prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/utils/vulkan.hpp:31:17: error: variable 'VKAPI_CALL' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:14:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 40 | explicit Window(SDL_Window* window) : window_(window) {} prek> | ^ prek> 41 | prek> 42 | SDL_Window* window_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] prek> 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); prek> | ^ prek> | = NAN prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/matrix.hpp:20:24: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 4 | for (size_t i = 0; i < Rows; ++i) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/matrix.hpp:44:26: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 44 | for (size_t row = 0; row < Cols; ++row) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/matrix.hpp:45:28: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 45 | for (size_t col = 0; col < Rows; ++col) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/matrix.hpp:47:28: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 47 | for (size_t k = 0; k < Cols; ++k) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:81:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/quaternion.hpp:84:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:18:13: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 18 | constexpr Vec() : data() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:21:24: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 6 | prek> 7 | namespace wren::math { prek> 8 | prek> 9 | template prek> 10 | struct Vec { prek> 11 | using vec_t = Vec; prek> 12 | prek> 13 | static auto unit_x() { return vec_t{1.0f}; } prek> 14 | static auto unit_y() { return vec_t{0.0f, 1.0f}; } prek> 15 | static auto unit_z() { return vec_t{0.0f, 0.0f, 1.0f}; } prek> 16 | prek> 17 | ~Vec() = default; prek> 18 | constexpr Vec() : data() {} prek> 19 | prek> 20 | Vec(const Vec& other) { prek> 21 | for (size_t i = 0; i < N; ++i) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:37:24: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] prek> 37 | for (size_t i = 0; i < N; ++i) { prek> | ^ ~ prek> | std::cmp_less( , ) prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:168:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 168 | Vec2f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:178:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:181:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 181 | Vec3f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:196:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:199:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] prek> 199 | Vec4f() : Vec() {} prek> | ^ ~~ prek> | = default; prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] prek> 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | boost_describe_struct prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_math/include/wren/math/vector.hpp:213:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/ansi.hpp:20:16: error: invalid case style for constexpr variable 'make_ansi_colour_code' [readability-identifier-naming,-warnings-as-errors] prek> 20 | consteval auto make_ansi_colour_code(std::vector args) { prek> | ^~~~~~~~~~~~~~~~~~~~~ prek> | kMakeAnsiColourCode prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:23:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:41:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 41 | void trace(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:49:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 49 | void debug(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:57:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 57 | void info(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:65:61: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 65 | void warn(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:73:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 73 | void error(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/logging/log.hpp:81:62: error: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward,-warnings-as-errors] prek> 81 | void fatal(const std::format_string& fmt, Args&&... args) { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] prek> 12 | struct std::formatter { prek> | ^~~~~~~~~ prek> | Formatter prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:14:7: error: constructor does not initialize these fields: extra_message_, loc_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 14 | class Err { prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:37:30: error: invalid case style for public member 'extra_message_' [readability-identifier-naming,-warnings-as-errors] prek> 37 | std::optional extra_message_; prek> | ^~~~~~~~~~~~~~ prek> | extra_message prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] prek> 39 | std::source_location loc_; prek> | ^~~~ prek> | loc prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/image.hpp:29:3: error: constructor does not initialize these fields: image_, view_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, prek> | ^ prek> 30 | ::vk::ImageView view) prek> 31 | : allocator_(allocator), prek> 32 | allocation_(allocation), prek> 33 | image_(image), prek> 34 | view_(view) {} prek> 35 | prek> 36 | void destroy() noexcept; prek> 37 | prek> 38 | VmaAllocator allocator_{}; prek> 39 | VmaAllocation allocation_{}; prek> 40 | ::vk::Image image_; prek> | prek> | {} prek> 41 | ::vk::ImageView view_; prek> | prek> | {} prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] prek> 12 | BOOST_DESCRIBE_ENUM( prek> | ^~~~~~~~~~~~~~~~~~~ prek> | boost_describe_enum prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' prek> 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ prek> | ^ prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] prek> 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); prek> | ^~~~~~~~~~~~~~~~~~~~~~~ prek> | boost_define_enum_class prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] prek> /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] prek> 26 | class ShaderModule { prek> | ^ prek> 78 warnings and 1 error generated. prek> Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/editor.cpp. prek> Suppressed 7 warnings (6 in non-user code, 1 NOLINT). prek> Use -header-filter=.* or leave it as default to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. prek> 72 warnings treated as errors prek> error: Cannot build '/nix/store/ypnsji770lp2vln13j8v6gwcbcn79zaa-prek.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/rh598hvwf6clxvmrqpa4l8an9rbcnwrn-prek Last 25 log lines: > /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: invalid case style for function 'BOOST_DESCRIBE_ENUM' [readability-identifier-naming,-warnings-as-errors] > 12 | BOOST_DESCRIBE_ENUM( > | ^~~~~~~~~~~~~~~~~~~ > | boost_describe_enum > /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:12:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] > /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/result.hpp:42:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] > 42 | DEFINE_ERROR("VulkanError", VulkanErrors, NoDevicesFound, > | ^ > /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_utils/include/wren/utils/result.hpp:106:3: note: expanded from macro 'DEFINE_ERROR' > 106 | BOOST_DEFINE_ENUM_CLASS(name, __VA_ARGS__); \ > | ^ > /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] > 24 | BOOST_DEFINE_ENUM_CLASS(ShaderType, Vertex, Fragment); > | ^~~~~~~~~~~~~~~~~~~~~~~ > | boost_define_enum_class > /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:24:1: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] > /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/wren_vk/include/wren/vk/shader.hpp:26:7: error: constructor does not initialize these fields: spirv_, module_, reflection_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] > 26 | class ShaderModule { > | ^ > 78 warnings and 1 error generated. > Error while processing /nix/store/sv86z04dvyzbyfgr8db77ls1ilg53jy9-q527jqqfa5s3aqlhshc0h0810yy5dwcr-source/editor/src/editor.cpp. > Suppressed 7 warnings (6 in non-user code, 1 NOLINT). > Use -header-filter=.* or leave it as default to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. > 72 warnings treated as errors > For full logs, run: nix log /nix/store/ypnsji770lp2vln13j8v6gwcbcn79zaa-prek.drv