cmake -S. -B/build/tmp.8Ab3FZ7ZWZ -G Ninja -- The C compiler identification is Clang 21.1.8 -- The CXX compiler identification is Clang 21.1.8 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/mn2y6cydn5phwf2hxgfc3n7zjf48d5xg-clang-wrapper-21.1.8/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/mn2y6cydn5phwf2hxgfc3n7zjf48d5xg-clang-wrapper-21.1.8/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Vulkan: /nix/store/iahmf8kl215rjcvb3zz3l7i9w2sf9x5v-vulkan-loader-1.4.357.0/lib/libvulkan.so (found version "1.4.357") missing components: glslc glslangValidator -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found Fontconfig: /nix/store/hrxf1fxrp7qwxrlv5k4aqxlwlam952aa-fontconfig-2.18.3-lib/lib/libfontconfig.so (found version "2.18.3") -- Found Freetype: /nix/store/85v143gw8jcqjg04gxb38c4han2z7myb-freetype-2.14.3/lib/libfreetype.so (found version "2.14.3") -- Found PkgConfig: /nix/store/29d1c5xk6w3rwl7yvdfwl90whslv5h54-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") -- Checking for module 'stb' -- Found stb, version 1 -- Configuring done (15.8s) -- Generating done (0.3s) -- Build files have been written to: /build/tmp.8Ab3FZ7ZWZ Enabled checks: cppcoreguidelines-avoid-c-arrays cppcoreguidelines-avoid-capturing-lambda-coroutines cppcoreguidelines-avoid-const-or-ref-data-members cppcoreguidelines-avoid-goto cppcoreguidelines-avoid-non-const-global-variables cppcoreguidelines-avoid-reference-coroutine-parameters cppcoreguidelines-c-copy-assignment-signature cppcoreguidelines-explicit-virtual-functions cppcoreguidelines-init-variables cppcoreguidelines-interfaces-global-init cppcoreguidelines-macro-to-enum cppcoreguidelines-misleading-capture-default-by-value cppcoreguidelines-missing-std-forward cppcoreguidelines-narrowing-conversions cppcoreguidelines-no-malloc cppcoreguidelines-no-suspend-with-lock cppcoreguidelines-noexcept-destructor cppcoreguidelines-noexcept-move-operations cppcoreguidelines-noexcept-swap cppcoreguidelines-non-private-member-variables-in-classes cppcoreguidelines-owning-memory cppcoreguidelines-prefer-member-initializer cppcoreguidelines-pro-bounds-array-to-pointer-decay cppcoreguidelines-pro-bounds-avoid-unchecked-container-access cppcoreguidelines-pro-bounds-constant-array-index cppcoreguidelines-pro-bounds-pointer-arithmetic cppcoreguidelines-pro-type-const-cast cppcoreguidelines-pro-type-cstyle-cast cppcoreguidelines-pro-type-member-init cppcoreguidelines-pro-type-reinterpret-cast cppcoreguidelines-pro-type-static-cast-downcast cppcoreguidelines-pro-type-union-access cppcoreguidelines-rvalue-reference-param-not-moved cppcoreguidelines-slicing cppcoreguidelines-special-member-functions cppcoreguidelines-use-default-member-init cppcoreguidelines-use-enum-class cppcoreguidelines-virtual-class-destructor modernize-avoid-bind modernize-avoid-c-arrays modernize-avoid-c-style-cast modernize-avoid-setjmp-longjmp modernize-avoid-variadic-functions modernize-concat-nested-namespaces modernize-deprecated-headers modernize-deprecated-ios-base-aliases modernize-loop-convert modernize-macro-to-enum modernize-make-shared modernize-make-unique modernize-min-max-use-initializer-list modernize-pass-by-value modernize-raw-string-literal modernize-redundant-void-arg modernize-replace-auto-ptr modernize-replace-disallow-copy-and-assign-macro modernize-replace-random-shuffle modernize-return-braced-init-list modernize-shrink-to-fit modernize-type-traits modernize-unary-static-assert modernize-use-auto modernize-use-bool-literals modernize-use-constraints modernize-use-default-member-init modernize-use-designated-initializers modernize-use-emplace modernize-use-equals-default modernize-use-equals-delete modernize-use-integer-sign-comparison modernize-use-nodiscard modernize-use-noexcept modernize-use-nullptr modernize-use-override modernize-use-ranges modernize-use-scoped-lock modernize-use-starts-ends-with modernize-use-std-format modernize-use-std-numbers modernize-use-std-print modernize-use-trailing-return-type modernize-use-transparent-functors modernize-use-uncaught-exceptions modernize-use-using readability-identifier-naming /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found Running clang-tidy in 16 threads for 47 files out of 47 in compilation database ... [ 1/47][3.2s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/src/geometry.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:3:10: error: 'numbers' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/src/geometry.cpp:60:15: error: variable 'sin' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 2 | const float sin = std::sin(angle); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/src/geometry.cpp:61:15: error: variable 'cos' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 61 | const float cos = std::cos(angle); | ^ | = NAN /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 13 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/src/geometry.cpp. 13 warnings treated as errors [ 2/47][3.3s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/memory.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/memory.cpp:5:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] 5 | #include | ^~~~~~~~~~~~~~~~ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/memory.cpp. Found compiler error(s). [ 3/47][4.2s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_physics/src/ray.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_physics/include/wren/physics/ray.hpp:3:10: error: 'flecs.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 15 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_physics/src/ray.cpp. 15 warnings treated as errors [ 4/47][4.4s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/tests/string_reader.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | StringReader(const std::string_view& input) : input_(input) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/tests/string_reader.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] 1 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 4 | BOOST_AUTO_TEST_SUITE(string_reader) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 36 | BOOST_AUTO_TEST_SUITE_END(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | boost_auto_test_suite_end /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 4 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/tests/string_reader.cpp. 4 warnings treated as errors [ 5/47][4.8s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/tests/binary_reader.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/binary_reader.hpp:3:10: error: 'bit' file not found [clang-diagnostic-error] 3 | #include | ^~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 12 | BinaryReader(const std::span& data) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 55 | std::span::iterator pos_; | ^~~~~~~~ | iterator_ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 5 | BOOST_AUTO_TEST_SUITE(binary_reader) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 58 | BOOST_AUTO_TEST_SUITE_END(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | boost_auto_test_suite_end /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 5 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/tests/binary_reader.cpp. 5 warnings treated as errors [ 6/47][5.3s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/geometry.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/geometry.cpp:1:10: error: 'array' file not found [clang-diagnostic-error] 1 | #include | ^~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | BOOST_AUTO_TEST_SUITE(geometry) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/geometry.cpp:21:1: error: invalid case style for function 'BOOST_DESCRIBE_STRUCT' [readability-identifier-naming,-warnings-as-errors] 21 | BOOST_DESCRIBE_STRUCT(Translation, (), (pos)) | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/geometry.cpp:30:1: error: invalid case style for function 'BOOST_DATA_TEST_CASE' [readability-identifier-naming,-warnings-as-errors] 30 | BOOST_DATA_TEST_CASE( | ^~~~~~~~~~~~~~~~~~~~ | boost_data_test_case /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/geometry.cpp:52:22: error: invalid case style for variable 'Ortho' [readability-identifier-naming,-warnings-as-errors] 52 | BOOST_AUTO_TEST_CASE(Ortho) {} | ^~~~~ | ortho /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 19 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/geometry.cpp. 19 warnings treated as errors [ 7/47][5.5s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/vector.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/vector.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] 1 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 5 | BOOST_AUTO_TEST_SUITE(vector_test_suite) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/vector.cpp:46:22: error: invalid case style for variable 'MUL' [readability-identifier-naming,-warnings-as-errors] 46 | BOOST_AUTO_TEST_CASE(MUL) { | ^~~ | mul /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/vector.cpp:92:22: error: invalid case style for variable 'CROSS' [readability-identifier-naming,-warnings-as-errors] 92 | BOOST_AUTO_TEST_CASE(CROSS) { | ^~~~~ | cross /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 16 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/vector.cpp. 16 warnings treated as errors [ 8/47][2.5s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/src/string_reader.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/string_reader.hpp:3:10: error: 'string_view' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | StringReader(const std::string_view& input) : input_(input) {} | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 1 warning and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/src/string_reader.cpp. 1 warning treated as error [ 9/47][6.1s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/input.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:3:10: error: 'unordered_map' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 6 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/input.cpp. Suppressed 1 warnings (1 NOLINT). 6 warnings treated as errors [10/47][6.2s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/event.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:3:10: error: 'functional' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 3 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/event.cpp. Suppressed 1 warnings (1 NOLINT). 3 warnings treated as errors [11/47][7.1s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/tests/enums.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/tests/enums.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] 1 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 7 | BOOST_AUTO_TEST_SUITE(enums) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/tests/enums.cpp:14:22: error: invalid case style for variable 'StringToEnumCaseSensitive' [readability-identifier-naming,-warnings-as-errors] 14 | BOOST_AUTO_TEST_CASE(StringToEnumCaseSensitive) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | string_to_enum_case_sensitive /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 3 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/tests/enums.cpp. 3 warnings treated as errors [12/47][7.9s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/render_pass.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Node { | ^ 15 | std::string name; | | {} 16 | std::shared_ptr render_pass; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 22 | struct Graph { | ^ 23 | auto begin() { return nodes.begin(); } 24 | auto end() { return nodes.end(); } 25 | 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { 27 | const auto node = std::ranges::find_if( 28 | nodes, [name](const node_t& node) { return name == node->name; }); 29 | if (node != nodes.end()) return *node; 30 | 31 | return nullptr; 32 | } 33 | 34 | std::vector nodes; | | {} 35 | std::vector edges; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | Pipeline(std::string name, const std::shared_ptr& shader) | ^ 21 | : name_(std::move(name)), shader_(shader) {} 22 | 23 | std::string name_; | | {} 24 | 25 | std::shared_ptr shader_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:3:10: error: 'memory' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 25 | PassResources(std::string target_prefix) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 51 | auto has_colour_target() const { return colour_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 52 | auto has_depth_target() const { return depth_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class RenderTarget { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 54 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/render_pass.cpp. Suppressed 1 warnings (1 NOLINT). 54 warnings treated as errors [13/47][8.2s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/texture.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/texture.hpp:17:3: error: constructor does not initialize these fields: sampler_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 17 | Texture(vk::Image& image, const ::vk::Sampler& sampler) | ^ 18 | : image_(std::move(image)), sampler_(sampler) {} 19 | 20 | vk::Image image_; 21 | ::vk::Sampler sampler_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/include/wren/vk/image.hpp:3:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 18 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/texture.cpp. 18 warnings treated as errors [14/47][8.9s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/utils/vulkan.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:3:10: error: 'vulkan/vk_platform.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 18 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/utils/vulkan.cpp. Suppressed 10 warnings (10 NOLINT). 18 warnings treated as errors [15/47][10.0s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/ui.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Node { | ^ 15 | std::string name; | | {} 16 | std::shared_ptr render_pass; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 22 | struct Graph { | ^ 23 | auto begin() { return nodes.begin(); } 24 | auto end() { return nodes.end(); } 25 | 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { 27 | const auto node = std::ranges::find_if( 28 | nodes, [name](const node_t& node) { return name == node->name; }); 29 | if (node != nodes.end()) return *node; 30 | 31 | return nullptr; 32 | } 33 | 34 | std::vector nodes; | | {} 35 | std::vector edges; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | Pipeline(std::string name, const std::shared_ptr& shader) | ^ 21 | : name_(std::move(name)), shader_(shader) {} 22 | 23 | std::string name_; | | {} 24 | 25 | std::shared_ptr shader_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 25 | PassResources(std::string target_prefix) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 51 | auto has_colour_target() const { return colour_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 52 | auto has_depth_target() const { return depth_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class RenderTarget { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:3:10: error: 'boost/describe.hpp' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 54 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/ui.cpp. Suppressed 1 warnings (1 NOLINT). 54 warnings treated as errors [16/47][10.3s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/graph.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graph.hpp:3:10: error: 'memory' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Node { | ^ 15 | std::string name; | | {} 16 | std::shared_ptr render_pass; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | Pipeline(std::string name, const std::shared_ptr& shader) | ^ 21 | : name_(std::move(name)), shader_(shader) {} 22 | 23 | std::string name_; | | {} 24 | 25 | std::shared_ptr shader_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 25 | PassResources(std::string target_prefix) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 51 | auto has_colour_target() const { return colour_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 52 | auto has_depth_target() const { return depth_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class RenderTarget { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 43 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/graph.cpp. Suppressed 1 warnings (1 NOLINT). 43 warnings treated as errors [17/47][11.1s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/application.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/application.hpp:3:10: error: 'memory' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Node { | ^ 15 | std::string name; | | {} 16 | std::shared_ptr render_pass; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 22 | struct Graph { | ^ 23 | auto begin() { return nodes.begin(); } 24 | auto end() { return nodes.end(); } 25 | 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { 27 | const auto node = std::ranges::find_if( 28 | nodes, [name](const node_t& node) { return name == node->name; }); 29 | if (node != nodes.end()) return *node; 30 | 31 | return nullptr; 32 | } 33 | 34 | std::vector nodes; | | {} 35 | std::vector edges; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | Pipeline(std::string name, const std::shared_ptr& shader) | ^ 21 | : name_(std::move(name)), shader_(shader) {} 22 | 23 | std::string name_; | | {} 24 | 25 | std::shared_ptr shader_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 25 | PassResources(std::string target_prefix) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 51 | auto has_colour_target() const { return colour_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 52 | auto has_depth_target() const { return depth_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class RenderTarget { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 60 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/application.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. 54 warnings treated as errors [18/47][6.4s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_text/src/font.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_text/include/wren/text/font.hpp:3:10: error: 'array' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_text/src/font.cpp:11:1: error: constructor does not initialize these fields: path_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 11 | Font::Font(const std::filesystem::path& path) : path_(path) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 4 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_text/src/font.cpp. 4 warnings treated as errors [19/47][9.3s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/buffer.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/include/wren/vk/buffer.hpp:3:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 6 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/buffer.cpp. 6 warnings treated as errors [20/47][5.4s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/matrix.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/matrix.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] 1 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 5 | BOOST_AUTO_TEST_SUITE(matrix) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/matrix.cpp:20:22: error: invalid case style for variable 'Identity' [readability-identifier-naming,-warnings-as-errors] 20 | BOOST_AUTO_TEST_CASE(Identity) { | ^~~~~~~~ | identity /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/matrix.cpp:76:22: error: invalid case style for variable 'MultiplicationMatVec' [readability-identifier-naming,-warnings-as-errors] 76 | BOOST_AUTO_TEST_CASE(MultiplicationMatVec) { | ^~~~~~~~~~~~~~~~~~~~ | multiplication_mat_vec /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 16 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/tests/matrix.cpp. 16 warnings treated as errors [21/47][9.2s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/utils/device.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/device.hpp:3:10: error: 'vulkan/vulkan.hpp' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/utils/device.cpp:40:34: error: invalid case style for variable 'PhysicalDeviceImagelessFramebufferFeatures' [readability-identifier-naming,-warnings-as-errors] 40 | ::vk::PhysicalDeviceImagelessFramebufferFeatures>(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | physical_device_imageless_framebuffer_features /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 8 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/utils/device.cpp. 8 warnings treated as errors [22/47][4.1s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/scene/components/collider.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/components/collider.hpp:3:10: error: 'flecs.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 15 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/scene/components/collider.cpp. 15 warnings treated as errors [23/47][10.4s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/mesh.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/mesh.hpp:3:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | Mesh::Mesh(const vulkan::Device& device, VmaAllocator allocator) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 15 | Mesh::Mesh(const std::vector& vertices, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 24 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/mesh.cpp. 24 warnings treated as errors [24/47][8.3s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_gui/src/instance.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_gui/include/wren/gui/instance.hpp:3:10: error: 'vulkan/vulkan.hpp' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | BOOST_DEFINE_ENUM_CLASS(ElementKind, Panel, Text) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 15 | struct Element { | ^ 16 | std::string kind; | | {} 17 | 18 | Colour colour = {0, 0, 0, 0}; 19 | 20 | float margin = 0; 21 | float padding = 0; 22 | 23 | std::vector children; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | Instance::Instance() { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 34 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_gui/src/instance.cpp. 34 warnings treated as errors [25/47][3.1s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/src/string.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/string.hpp:3:10: error: 'string' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/src/string.cpp. Found compiler error(s). [26/47][10.9s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/render_target.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Node { | ^ 15 | std::string name; | | {} 16 | std::shared_ptr render_pass; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 22 | struct Graph { | ^ 23 | auto begin() { return nodes.begin(); } 24 | auto end() { return nodes.end(); } 25 | 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { 27 | const auto node = std::ranges::find_if( 28 | nodes, [name](const node_t& node) { return name == node->name; }); 29 | if (node != nodes.end()) return *node; 30 | 31 | return nullptr; 32 | } 33 | 34 | std::vector nodes; | | {} 35 | std::vector edges; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | Pipeline(std::string name, const std::shared_ptr& shader) | ^ 21 | : name_(std::move(name)), shader_(shader) {} 22 | 23 | std::string name_; | | {} 24 | 25 | std::shared_ptr shader_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 25 | PassResources(std::string target_prefix) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 51 | auto has_colour_target() const { return colour_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 52 | auto has_depth_target() const { return depth_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_target.hpp:3:10: error: 'vulkan/vulkan.hpp' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class RenderTarget { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 44 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/render_target.cpp. Suppressed 1 warnings (1 NOLINT). 44 warnings treated as errors [27/47][10.6s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/window.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:3:10: error: 'SDL3/SDL.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 24 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/window.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. 18 warnings treated as errors [28/47][10.6s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/scene/deserialization.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | class MeshRenderer { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/deserialization.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) | ^ 15 | : entity_(entity), scene_(scene) {} 16 | 17 | template 18 | [[nodiscard]] auto has_component() const -> bool; 19 | 20 | template 21 | auto get_component() -> T&; 22 | 23 | template 24 | void add_component(Args&&... args); 25 | 26 | private: 27 | flecs::entity entity_; | | {} 28 | 29 | std::shared_ptr scene_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 46 | void Entity::add_component(Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | class Scene : public std::enable_shared_from_this { | ^ 12 | public: 13 | static auto create() { return std::shared_ptr(new Scene()); } 14 | 15 | auto create_entity(const std::string& name = "entity") -> Entity; 16 | 17 | auto world() const -> const flecs::world& { return ecs_; } 18 | auto world() -> flecs::world& { return ecs_; } 19 | 20 | private: 21 | Scene() = default; 22 | 23 | flecs::world ecs_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 17 | auto world() const -> const flecs::world& { return ecs_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 46 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/scene/deserialization.cpp. Suppressed 1 warnings (1 NOLINT). 46 warnings treated as errors [29/47][12.1s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/scene/serialization.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | class MeshRenderer { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) | ^ 15 | : entity_(entity), scene_(scene) {} 16 | 17 | template 18 | [[nodiscard]] auto has_component() const -> bool; 19 | 20 | template 21 | auto get_component() -> T&; 22 | 23 | template 24 | void add_component(Args&&... args); 25 | 26 | private: 27 | flecs::entity entity_; | | {} 28 | 29 | std::shared_ptr scene_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 46 | void Entity::add_component(Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | class Scene : public std::enable_shared_from_this { | ^ 12 | public: 13 | static auto create() { return std::shared_ptr(new Scene()); } 14 | 15 | auto create_entity(const std::string& name = "entity") -> Entity; 16 | 17 | auto world() const -> const flecs::world& { return ecs_; } 18 | auto world() -> flecs::world& { return ecs_; } 19 | 20 | private: 21 | Scene() = default; 22 | 23 | flecs::world ecs_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 17 | auto world() const -> const flecs::world& { return ecs_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/serialization.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 56 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/scene/serialization.cpp. Suppressed 1 warnings (1 NOLINT). 56 warnings treated as errors [30/47][10.0s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/shader.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | StringReader(const std::string_view& input) : input_(input) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/include/wren/vk/shader.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | ShaderModule::ShaderModule(reflect::spirv_t spirv, | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 31 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/shader.cpp. Suppressed 2 warnings (2 NOLINT). 31 warnings treated as errors [31/47][4.3s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/scene_panel.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/scene_panel.hpp:3:10: error: 'memory' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) | ^ 15 | : entity_(entity), scene_(scene) {} 16 | 17 | template 18 | [[nodiscard]] auto has_component() const -> bool; 19 | 20 | template 21 | auto get_component() -> T&; 22 | 23 | template 24 | void add_component(Args&&... args); 25 | 26 | private: 27 | flecs::entity entity_; | | {} 28 | 29 | std::shared_ptr scene_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 46 | void Entity::add_component(Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | class Scene : public std::enable_shared_from_this { | ^ 12 | public: 13 | static auto create() { return std::shared_ptr(new Scene()); } 14 | 15 | auto create_entity(const std::string& name = "entity") -> Entity; 16 | 17 | auto world() const -> const flecs::world& { return ecs_; } 18 | auto world() -> flecs::world& { return ecs_; } 19 | 20 | private: 21 | Scene() = default; 22 | 23 | flecs::world ecs_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 17 | auto world() const -> const flecs::world& { return ecs_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 19 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/scene_panel.cpp. 19 warnings treated as errors [32/47][6.1s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_text/tests/font.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_text/tests/font.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] 1 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 4 | BOOST_AUTO_TEST_SUITE(font_test_suite) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 4 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_text/tests/font.cpp. 4 warnings treated as errors [33/47][13.5s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/main.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/main.cpp:1:10: error: 'filesystem' file not found [clang-diagnostic-error] 1 | #include | ^~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Manager { | ^ 11 | public: 12 | Manager() = default; 13 | Manager(const std::vector& asset_paths, 14 | const std::optional& project_path = {}) 15 | : asset_paths_(asset_paths), project_path_(project_path) {} 16 | 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const 18 | -> expected; 19 | 20 | private: 21 | std::vector asset_paths_; | | {} 22 | std::optional project_path_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | Manager(const std::vector& asset_paths, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Node { | ^ 15 | std::string name; | | {} 16 | std::shared_ptr render_pass; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 22 | struct Graph { | ^ 23 | auto begin() { return nodes.begin(); } 24 | auto end() { return nodes.end(); } 25 | 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { 27 | const auto node = std::ranges::find_if( 28 | nodes, [name](const node_t& node) { return name == node->name; }); 29 | if (node != nodes.end()) return *node; 30 | 31 | return nullptr; 32 | } 33 | 34 | std::vector nodes; | | {} 35 | std::vector edges; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | Pipeline(std::string name, const std::shared_ptr& shader) | ^ 21 | : name_(std::move(name)), shader_(shader) {} 22 | 23 | std::string name_; | | {} 24 | 25 | std::shared_ptr shader_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 25 | PassResources(std::string target_prefix) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 51 | auto has_colour_target() const { return colour_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 52 | auto has_depth_target() const { return depth_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class RenderTarget { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | class MeshRenderer { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | class Scene : public std::enable_shared_from_this { | ^ 12 | public: 13 | static auto create() { return std::shared_ptr(new Scene()); } 14 | 15 | auto create_entity(const std::string& name = "entity") -> Entity; 16 | 17 | auto world() const -> const flecs::world& { return ecs_; } 18 | auto world() -> flecs::world& { return ecs_; } 19 | 20 | private: 21 | Scene() = default; 22 | 23 | flecs::world ecs_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 17 | auto world() const -> const flecs::world& { return ecs_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 4 | for (size_t i = 0; i < Rows; ++i) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 44 | for (size_t row = 0; row < Cols; ++row) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 45 | for (size_t col = 0; col < Rows; ++col) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 47 | for (size_t k = 0; k < Cols; ++k) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 6 | 7 | namespace wren::math { 8 | 9 | template 10 | struct Vec { 11 | using vec_t = Vec; 12 | 13 | static auto unit_x() { return vec_t{1.0f}; } 14 | static auto unit_y() { return vec_t{0.0f, 1.0f}; } 15 | static auto unit_z() { return vec_t{0.0f, 0.0f, 1.0f}; } 16 | 17 | ~Vec() = default; 18 | constexpr Vec() : data() {} 19 | 20 | Vec(const Vec& other) { 21 | for (size_t i = 0; i < N; ++i) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | for (size_t i = 0; i < N; ++i) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 76 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/main.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. 70 warnings treated as errors [34/47][6.6s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/vulkan.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/vulkan.cpp:1:10: error: 'vulkan/vulkan.hpp' file not found [clang-diagnostic-error] 1 | #include | ^~~~~~~~~~~~~~~~~~~ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/vulkan.cpp. Found compiler error(s). [35/47][5.9s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/src/filesystem.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/filesystem.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 3 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/src/filesystem.cpp. 3 warnings treated as errors [36/47][10.6s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/graphics_context.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graphics_context.hpp:3:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 22 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/graphics_context.cpp. 22 warnings treated as errors [37/47][4.5s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/scene/scene.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 7 | struct Tag { | ^ 8 | std::string tag; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) | ^ 15 | : entity_(entity), scene_(scene) {} 16 | 17 | template 18 | [[nodiscard]] auto has_component() const -> bool; 19 | 20 | template 21 | auto get_component() -> T&; 22 | 23 | template 24 | void add_component(Args&&... args); 25 | 26 | private: 27 | flecs::entity entity_; | | {} 28 | 29 | std::shared_ptr scene_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 46 | void Entity::add_component(Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/scene.hpp:3:10: error: 'flecs.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | class Scene : public std::enable_shared_from_this { | ^ 12 | public: 13 | static auto create() { return std::shared_ptr(new Scene()); } 14 | 15 | auto create_entity(const std::string& name = "entity") -> Entity; 16 | 17 | auto world() const -> const flecs::world& { return ecs_; } 18 | auto world() -> flecs::world& { return ecs_; } 19 | 20 | private: 21 | Scene() = default; 22 | 23 | flecs::world ecs_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 17 | auto world() const -> const flecs::world& { return ecs_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 20 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/scene/scene.cpp. 20 warnings treated as errors [38/47][7.0s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_physics/tests/raycast.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) | ^ 15 | : entity_(entity), scene_(scene) {} 16 | 17 | template 18 | [[nodiscard]] auto has_component() const -> bool; 19 | 20 | template 21 | auto get_component() -> T&; 22 | 23 | template 24 | void add_component(Args&&... args); 25 | 26 | private: 27 | flecs::entity entity_; | | {} 28 | 29 | std::shared_ptr scene_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 46 | void Entity::add_component(Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | class Scene : public std::enable_shared_from_this { | ^ 12 | public: 13 | static auto create() { return std::shared_ptr(new Scene()); } 14 | 15 | auto create_entity(const std::string& name = "entity") -> Entity; 16 | 17 | auto world() const -> const flecs::world& { return ecs_; } 18 | auto world() -> flecs::world& { return ecs_; } 19 | 20 | private: 21 | Scene() = default; 22 | 23 | flecs::world ecs_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 17 | auto world() const -> const flecs::world& { return ecs_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_physics/tests/raycast.cpp:1:10: error: 'boost/test/unit_test.hpp' file not found [clang-diagnostic-error] 1 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | BOOST_AUTO_TEST_SUITE(raycasting) | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 20 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_physics/tests/raycast.cpp. 20 warnings treated as errors [39/47][6.2s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/assets/manager.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/assets/manager.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Manager { | ^ 11 | public: 12 | Manager() = default; 13 | Manager(const std::vector& asset_paths, 14 | const std::optional& project_path = {}) 15 | : asset_paths_(asset_paths), project_path_(project_path) {} 16 | 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const 18 | -> expected; 19 | 20 | private: 21 | std::vector asset_paths_; | | {} 22 | std::optional project_path_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | Manager(const std::vector& asset_paths, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 5 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/assets/manager.cpp. 5 warnings treated as errors [40/47][10.8s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/editor.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/editor.hpp:3:10: error: 'imgui.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Manager { | ^ 11 | public: 12 | Manager() = default; 13 | Manager(const std::vector& asset_paths, 14 | const std::optional& project_path = {}) 15 | : asset_paths_(asset_paths), project_path_(project_path) {} 16 | 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const 18 | -> expected; 19 | 20 | private: 21 | std::vector asset_paths_; | | {} 22 | std::optional project_path_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | Manager(const std::vector& asset_paths, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Node { | ^ 15 | std::string name; | | {} 16 | std::shared_ptr render_pass; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 22 | struct Graph { | ^ 23 | auto begin() { return nodes.begin(); } 24 | auto end() { return nodes.end(); } 25 | 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { 27 | const auto node = std::ranges::find_if( 28 | nodes, [name](const node_t& node) { return name == node->name; }); 29 | if (node != nodes.end()) return *node; 30 | 31 | return nullptr; 32 | } 33 | 34 | std::vector nodes; | | {} 35 | std::vector edges; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | Pipeline(std::string name, const std::shared_ptr& shader) | ^ 21 | : name_(std::move(name)), shader_(shader) {} 22 | 23 | std::string name_; | | {} 24 | 25 | std::shared_ptr shader_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 25 | PassResources(std::string target_prefix) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 51 | auto has_colour_target() const { return colour_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 52 | auto has_depth_target() const { return depth_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class RenderTarget { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | class MeshRenderer { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) | ^ 15 | : entity_(entity), scene_(scene) {} 16 | 17 | template 18 | [[nodiscard]] auto has_component() const -> bool; 19 | 20 | template 21 | auto get_component() -> T&; 22 | 23 | template 24 | void add_component(Args&&... args); 25 | 26 | private: 27 | flecs::entity entity_; | | {} 28 | 29 | std::shared_ptr scene_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 46 | void Entity::add_component(Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | class Scene : public std::enable_shared_from_this { | ^ 12 | public: 13 | static auto create() { return std::shared_ptr(new Scene()); } 14 | 15 | auto create_entity(const std::string& name = "entity") -> Entity; 16 | 17 | auto world() const -> const flecs::world& { return ecs_; } 18 | auto world() -> flecs::world& { return ecs_; } 19 | 20 | private: 21 | Scene() = default; 22 | 23 | flecs::world ecs_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 17 | auto world() const -> const flecs::world& { return ecs_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 4 | for (size_t i = 0; i < Rows; ++i) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 44 | for (size_t row = 0; row < Cols; ++row) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 45 | for (size_t col = 0; col < Rows; ++col) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 47 | for (size_t k = 0; k < Cols; ++k) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 6 | 7 | namespace wren::math { 8 | 9 | template 10 | struct Vec { 11 | using vec_t = Vec; 12 | 13 | static auto unit_x() { return vec_t{1.0f}; } 14 | static auto unit_y() { return vec_t{0.0f, 1.0f}; } 15 | static auto unit_z() { return vec_t{0.0f, 0.0f, 1.0f}; } 16 | 17 | ~Vec() = default; 18 | constexpr Vec() : data() {} 19 | 20 | Vec(const Vec& other) { 21 | for (size_t i = 0; i < N; ++i) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | for (size_t i = 0; i < N; ++i) { | ^ ~ | std::cmp_less( , ) /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 78 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 [41/47][8.5s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/utils/queue.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/queue.hpp:3:10: error: 'cstdint' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 7 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/utils/queue.cpp. 7 warnings treated as errors [42/47][15.6s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/examples/nand/main.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/examples/nand/main.cpp:1:10: error: 'cstdlib' file not found [clang-diagnostic-error] 1 | #include | ^~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/examples/nand/main.cpp:19:8: error: constructor does not initialize these fields: app, scene [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 19 | struct GameData { | ^ 20 | std::shared_ptr app; | | {} 21 | std::shared_ptr scene; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/examples/nand/main.cpp:49:25: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] 49 | wren::assets::Manager asset_manager(asset_paths); | ~~~~~~~~~~~~~~~~~~~~~ ^ | auto -> wren::assets::Manager /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Manager { | ^ 11 | public: 12 | Manager() = default; 13 | Manager(const std::vector& asset_paths, 14 | const std::optional& project_path = {}) 15 | : asset_paths_(asset_paths), project_path_(project_path) {} 16 | 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const 18 | -> expected; 19 | 20 | private: 21 | std::vector asset_paths_; | | {} 22 | std::optional project_path_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | Manager(const std::vector& asset_paths, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Node { | ^ 15 | std::string name; | | {} 16 | std::shared_ptr render_pass; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 22 | struct Graph { | ^ 23 | auto begin() { return nodes.begin(); } 24 | auto end() { return nodes.end(); } 25 | 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { 27 | const auto node = std::ranges::find_if( 28 | nodes, [name](const node_t& node) { return name == node->name; }); 29 | if (node != nodes.end()) return *node; 30 | 31 | return nullptr; 32 | } 33 | 34 | std::vector nodes; | | {} 35 | std::vector edges; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | Pipeline(std::string name, const std::shared_ptr& shader) | ^ 21 | : name_(std::move(name)), shader_(shader) {} 22 | 23 | std::string name_; | | {} 24 | 25 | std::shared_ptr shader_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 25 | PassResources(std::string target_prefix) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 51 | auto has_colour_target() const { return colour_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 52 | auto has_depth_target() const { return depth_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class RenderTarget { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | class MeshRenderer { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) | ^ 15 | : entity_(entity), scene_(scene) {} 16 | 17 | template 18 | [[nodiscard]] auto has_component() const -> bool; 19 | 20 | template 21 | auto get_component() -> T&; 22 | 23 | template 24 | void add_component(Args&&... args); 25 | 26 | private: 27 | flecs::entity entity_; | | {} 28 | 29 | std::shared_ptr scene_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 46 | void Entity::add_component(Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | class Scene : public std::enable_shared_from_this { | ^ 12 | public: 13 | static auto create() { return std::shared_ptr(new Scene()); } 14 | 15 | auto create_entity(const std::string& name = "entity") -> Entity; 16 | 17 | auto world() const -> const flecs::world& { return ecs_; } 18 | auto world() -> flecs::world& { return ecs_; } 19 | 20 | private: 21 | Scene() = default; 22 | 23 | flecs::world ecs_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 17 | auto world() const -> const flecs::world& { return ecs_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/texture.hpp:17:3: error: constructor does not initialize these fields: sampler_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 17 | Texture(vk::Image& image, const ::vk::Sampler& sampler) | ^ 18 | : image_(std::move(image)), sampler_(sampler) {} 19 | 20 | vk::Image image_; 21 | ::vk::Sampler sampler_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | BOOST_DEFINE_ENUM_CLASS(ElementKind, Panel, Text) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 15 | struct Element { | ^ 16 | std::string kind; | | {} 17 | 18 | Colour colour = {0, 0, 0, 0}; 19 | 20 | float margin = 0; 21 | float padding = 0; 22 | 23 | std::vector children; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 109 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/examples/nand/main.cpp. Suppressed 37 warnings (36 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. 73 warnings treated as errors [43/47][6.8s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/filesystem_panel.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/context.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Manager { | ^ 11 | public: 12 | Manager() = default; 13 | Manager(const std::vector& asset_paths, 14 | const std::optional& project_path = {}) 15 | : asset_paths_(asset_paths), project_path_(project_path) {} 16 | 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const 18 | -> expected; 19 | 20 | private: 21 | std::vector asset_paths_; | | {} 22 | std::optional project_path_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | Manager(const std::vector& asset_paths, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 5 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/filesystem_panel.cpp. 5 warnings treated as errors [44/47][7.4s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/image.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/include/wren/vk/image.hpp:3:10: error: 'vk_mem_alloc.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 36 | Image::Image(Image&& other) noexcept | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 18 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_vk/src/image.cpp. 18 warnings treated as errors [45/47][8.6s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/inspector_panel.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/inspector_panel.hpp:3:10: error: 'imgui.h' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Manager { | ^ 11 | public: 12 | Manager() = default; 13 | Manager(const std::vector& asset_paths, 14 | const std::optional& project_path = {}) 15 | : asset_paths_(asset_paths), project_path_(project_path) {} 16 | 17 | [[nodiscard]] auto find_asset(const std::filesystem::path&) const 18 | -> expected; 19 | 20 | private: 21 | std::vector asset_paths_; | | {} 22 | std::optional project_path_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | Manager(const std::vector& asset_paths, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 13 | class MeshRenderer { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | Entity(flecs::entity entity, const std::shared_ptr& scene) | ^ 15 | : entity_(entity), scene_(scene) {} 16 | 17 | template 18 | [[nodiscard]] auto has_component() const -> bool; 19 | 20 | template 21 | auto get_component() -> T&; 22 | 23 | template 24 | void add_component(Args&&... args); 25 | 26 | private: 27 | flecs::entity entity_; | | {} 28 | 29 | std::shared_ptr scene_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 46 | void Entity::add_component(Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | class Scene : public std::enable_shared_from_this { | ^ 12 | public: 13 | static auto create() { return std::shared_ptr(new Scene()); } 14 | 15 | auto create_entity(const std::string& name = "entity") -> Entity; 16 | 17 | auto world() const -> const flecs::world& { return ecs_; } 18 | auto world() -> flecs::world& { return ecs_; } 19 | 20 | private: 21 | Scene() = default; 22 | 23 | flecs::world ecs_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/scene/scene.hpp:17:3: error: function 'world' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 17 | auto world() const -> const flecs::world& { return ecs_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_math/include/wren/math/geometry.hpp:60:15: error: variable 'focal_length' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 3 | const float focal_length = 1.0f / std::tan(fov_y / 2.0f); | ^ | = NAN /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | BOOST_DESCRIBE_STRUCT(Quaternionf, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 84 | BOOST_DESCRIBE_STRUCT(Quaterniond, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 48 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/editor/src/inspector_panel.cpp. Suppressed 1 warnings (1 NOLINT). 48 warnings treated as errors [46/47][9.9s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/mesh_loader.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/mesh_loader.hpp:3:10: error: 'filesystem' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 25 | utils::BinaryReader reader(std::as_bytes(s)); | ~~~~~ ^ | auto -> utils /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 12 | BinaryReader(const std::span& data) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 55 | std::span::iterator pos_; | ^~~~~~~~ | iterator_ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 35 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/mesh_loader.cpp. 35 warnings treated as errors [47/47][9.5s] /nix/store/q7sr08jvgzwdcla5q5zb4r5rc72wxdik-clang-tidy/bin/clang-tidy --use-color -p=/build/tmp.8Ab3FZ7ZWZ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/renderer.cpp /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Context { | ^ 15 | Window window; 16 | event::Dispatcher event_dispatcher; 17 | Input input; 18 | 19 | std::shared_ptr graphics_context; | | {} 20 | std::shared_ptr renderer; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:13:1: error: invalid case style for function 'BOOST_DEFINE_ENUM_CLASS' [readability-identifier-naming,-warnings-as-errors] 13 | BOOST_DEFINE_ENUM_CLASS(Category, WINDOW, KEYBOARD, MOUSE) | ^~~~~~~~~~~~~~~~~~~~~~~ | boost_define_enum_class /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/event.hpp:70:8: error: constructor does not initialize these fields: text [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 70 | struct KeyTyped { | ^ 71 | std::string_view text; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | struct Node { | ^ 15 | std::string name; | | {} 16 | std::shared_ptr render_pass; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 22 | struct Graph { | ^ 23 | auto begin() { return nodes.begin(); } 24 | auto end() { return nodes.end(); } 25 | 26 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { 27 | const auto node = std::ranges::find_if( 28 | nodes, [name](const node_t& node) { return name == node->name; }); 29 | if (node != nodes.end()) return *node; 30 | 31 | return nullptr; 32 | } 33 | 34 | std::vector nodes; | | {} 35 | std::vector edges; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/graph.hpp:40:3: error: constructor does not initialize these fields: ctx_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class GraphicsContext { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 10 | class Input { | ^ 11 | public: 12 | void initialize(event::Dispatcher& dispatcher); 13 | 14 | auto is_pressed(KeyCode key) const -> bool; 15 | auto is_pressed_down(KeyCode key) const -> bool; 16 | 17 | auto end_frame() { pressed_down_.clear(); } 18 | 19 | private: 20 | std::unordered_map pressed_; | | {} 21 | std::unordered_map pressed_down_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:14:3: error: function 'is_pressed' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 14 | auto is_pressed(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/input.hpp:15:3: error: function 'is_pressed_down' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 15 | auto is_pressed_down(KeyCode key) const -> bool; | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | class Mesh { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | Pipeline(std::string name, const std::shared_ptr& shader) | ^ 21 | : name_(std::move(name)), shader_(shader) {} 22 | 23 | std::string name_; | | {} 24 | 25 | std::shared_ptr shader_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 25 | PassResources(std::string target_prefix) | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:51:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 51 | auto has_colour_target() const { return colour_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] 52 | auto has_depth_target() const { return depth_target_; } | ^ | [[nodiscard]] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class RenderTarget { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/renderer.hpp:3:10: error: 'memory' file not found [clang-diagnostic-error] 3 | #include | ^~~~~~~~ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 9 | class Device { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 11 | struct QueueFamilyIndices { | ^ 12 | uint32_t graphics_index; | | {} 13 | uint32_t present_index; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 19 | struct SwapchainSupportDetails { | ^ 20 | ::vk::SurfaceCapabilitiesKHR surface_capabilites; | | {} 21 | std::vector<::vk::SurfaceFormatKHR> surface_formats; | | {} 22 | std::vector<::vk::PresentModeKHR> present_modes; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/utils/vulkan.hpp:31:17: error: invalid case style for variable 'VKAPI_CALL' [readability-identifier-naming,-warnings-as-errors] 31 | VKAPI_ATTR auto VKAPI_CALL | ^~~~~~~~~~ | vkapi_call /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | DEFINE_ERROR("WindowErrors", WindowErrors, SdlInit, SdlWindow, | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/include/wren/window.hpp:40:3: error: constructor does not initialize these fields: window_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] 40 | explicit Window(SDL_Window* window) : window_(window) {} | ^ 41 | 42 | SDL_Window* window_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 52 | return image_index; | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 114 | Renderer::Renderer(const std::shared_ptr& ctx) : ctx_(ctx) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 18 | constexpr Vec() : data() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 168 | Vec2f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 178 | BOOST_DESCRIBE_STRUCT(Vec2f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 181 | Vec3f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 196 | BOOST_DESCRIBE_STRUCT(Vec3f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 199 | Vec4f() : Vec() {} | ^ ~~ | = default; /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 213 | BOOST_DESCRIBE_STRUCT(Vec4f, (), (data)); | ^~~~~~~~~~~~~~~~~~~~~ | boost_describe_struct /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 20 | consteval auto make_ansi_colour_code(std::vector args) { | ^~~~~~~~~~~~~~~~~~~~~ | kMakeAnsiColourCode /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 23 | BOOST_DESCRIBE_ENUM(LogLevel, Trace, Debug, Info, Warn, Error, Fatal) | ^~~~~~~~~~~~~~~~~~~ | boost_describe_enum /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 41 | void trace(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 49 | void debug(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 57 | void info(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 65 | void warn(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 73 | void error(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 81 | void fatal(const std::format_string& fmt, Args&&... args) { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/format.hpp:12:13: error: invalid case style for class 'formatter' [readability-identifier-naming,-warnings-as-errors] 12 | struct std::formatter { | ^~~~~~~~~ | Formatter /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 14 | class Err { | ^ /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 37 | std::optional extra_message_; | ^~~~~~~~~~~~~~ | extra_message /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren_utils/include/wren/utils/result.hpp:39:24: error: invalid case style for public member 'loc_' [readability-identifier-naming,-warnings-as-errors] 39 | std::source_location loc_; | ^~~~ | loc /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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] 29 | Image(VmaAllocator allocator, VmaAllocation allocation, ::vk::Image image, | ^ 30 | ::vk::ImageView view) 31 | : allocator_(allocator), 32 | allocation_(allocation), 33 | image_(image), 34 | view_(view) {} 35 | 36 | void destroy() noexcept; 37 | 38 | VmaAllocator allocator_{}; 39 | VmaAllocation allocation_{}; 40 | ::vk::Image image_; | | {} 41 | ::vk::ImageView view_; | | {} /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-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 { | ^ /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 5: 139: not found /nix/store/82lxfl0n7xgxbigbbj84w73qcy4ps0i8-clang-tools-22.1.8/bin/clang-tidy: line 23: 139: not found 62 warnings and 1 error generated. Error while processing /nix/store/l7in82pb6dwgw3462890aivdjj15gr10-47glkj07sw6y9pfc35f132yhsggy748s-source/wren/src/renderer.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. 56 warnings treated as errors