lint-0.1.0
checks.x86_64-linux.lint
· build #46
· raw
unpackPhase
1unpacking source archive /nix/store/y1syn85h26dk7smpl4izl5454q9yvjcy-source2source root is sourceconfigurePhase
3-- The C compiler identification is Clang 22.1.84-- The CXX compiler identification is Clang 22.1.85-- Detecting C compiler ABI info6-- Detecting C compiler ABI info - done7-- Check for working C compiler: /nix/store/aa0fqrgffl8ijza9mmx9apxy973215wz-clang-wrapper-22.1.8/bin/clang - skipped8-- Detecting C compile features9-- Detecting C compile features - done10-- Detecting CXX compiler ABI info11-- Detecting CXX compiler ABI info - done12-- Check for working CXX compiler: /nix/store/aa0fqrgffl8ijza9mmx9apxy973215wz-clang-wrapper-22.1.8/bin/clang++ - skipped13-- Detecting CXX compile features14-- Detecting CXX compile features - done15-- Found Vulkan: /nix/store/la62431p5qf1ggr3rdzql9dksv5fhicc-vulkan-loader-1.4.363.0/lib/libvulkan.so (found version "1.4.363") missing components: glslc glslangValidator16-- Performing Test CMAKE_HAVE_LIBC_PTHREAD17-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success18-- Found Threads: TRUE19-- Found Fontconfig: /nix/store/p3y4rk4gjnhs80339qq7jixjbhplqc16-fontconfig-2.18.3-lib/lib/libfontconfig.so (found version "2.18.3")20-- Found Freetype: /nix/store/zj7yb55h1zpmxmw6dp817n6y0370wji0-freetype-2.14.3/lib/libfreetype.so (found version "2.14.3")21-- Found PkgConfig: /nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")22-- Checking for module 'stb'23-- Found stb, version 124-- Configuring done (5.2s)25-- Generating done (0.3s)26-- Build files have been written to: /build/source/buildbuildPhase
27Running clang-tidy in 16 threads for 47 files out of 47 in compilation database ...28[ 1/47][26.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/components/collider.cpp29/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]30 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}31 | ^32/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here33 198 | struct Vec4f : Vec<float, 4> {34 | ^35/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here3637[ 2/47][27.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/scene_panel.cpp38/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]39 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}40 | ^41/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here42 198 | struct Vec4f : Vec<float, 4> {43 | ^44/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here4546[ 3/47][27.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/src/ray.cpp47/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]48 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}49 | ^50/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here51 198 | struct Vec4f : Vec<float, 4> {52 | ^53/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here5455[ 4/47][36.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/string_reader.cpp56[ 5/47][41.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/binary_reader.cpp57[ 6/47][42.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_text/src/font.cpp58/build/source/wren_text/src/font.cpp:34:34: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [modernize-avoid-c-style-cast,-warnings-as-errors]59 34 | FcPattern* pat = FcNameParse((FcChar8* const)(font.data()));60 | ^61/build/source/wren_text/src/font.cpp:34:34: error: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast,-warnings-as-errors]62/build/source/wren_text/src/font.cpp:43:43: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]63 43 | font_path = std::filesystem::path{reinterpret_cast<char*>(file)};64 | ^65/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]66 32 | if (case_insensitive && boost::iequals(name, described)) {67 | ^68/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original69 35 | } else if (!case_insensitive && name == described) {70 | ^71/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here72 35 | } else if (!case_insensitive && name == described) {73 | ^7475[ 7/47][45.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/filesystem.cpp76/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]77 32 | if (case_insensitive && boost::iequals(name, described)) {78 | ^79/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original80 35 | } else if (!case_insensitive && name == described) {81 | ^82/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here83 35 | } else if (!case_insensitive && name == described) {84 | ^8586[ 8/47][46.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/matrix.cpp87/build/source/wren_math/include/wren/math/format.hpp:11:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]88 11 | struct std::formatter<wren::math::Vec<T, N>, char> {89 | ^90/build/source/wren_math/include/wren/math/format.hpp:29:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]91 29 | struct std::formatter<wren::math::Mat<T, Rows, Cols>, char> {92 | ^93/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]94 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}95 | ^96/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here97 198 | struct Vec4f : Vec<float, 4> {98 | ^99/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here100/build/source/wren_math/tests/matrix.cpp:21:21: error: performing an implicit widening conversion to type 'std::size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result,-warnings-as-errors]101 21 | std::array<float, 4 * 4> identity = {102 | ^103/build/source/wren_math/tests/matrix.cpp:21:21: note: make conversion explicit to silence this warning104 2 | std::array<float, 4 * 4> identity = {105 | ^~~~~106 | static_cast<std::size_t>( )107/build/source/wren_math/tests/matrix.cpp:21:21: note: perform multiplication in a wider type108 21 | std::array<float, 4 * 4> identity = {109 | ^110 | static_cast<long>( )111/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]112 12 | struct std::formatter<T, char> {113 | ^114/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]115 66 | struct std::formatter<T, char> {116 | ^117/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]118 97 | struct std::formatter<std::vector<T>, char> {119 | ^120/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]121 126 | struct std::formatter<std::array<T, N>, char> {122 | ^123/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]124 155 | struct std::formatter<std::map<Key, Val>, char> {125 | ^126/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]127 184 | struct std::formatter<std::filesystem::path, char> {128 | ^129130[ 9/47][7.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/src/geometry.cpp131/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]132 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}133 | ^134/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here135 198 | struct Vec4f : Vec<float, 4> {136 | ^137/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here138139[10/47][3.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string_reader.cpp140[11/47][16.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/memory.cpp141[12/47][52.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/geometry.cpp142/build/source/wren_math/include/wren/math/format.hpp:11:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]143 11 | struct std::formatter<wren::math::Vec<T, N>, char> {144 | ^145/build/source/wren_math/include/wren/math/format.hpp:29:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]146 29 | struct std::formatter<wren::math::Mat<T, Rows, Cols>, char> {147 | ^148/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]149 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}150 | ^151/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here152 198 | struct Vec4f : Vec<float, 4> {153 | ^154/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here155/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]156 12 | struct std::formatter<T, char> {157 | ^158/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]159 66 | struct std::formatter<T, char> {160 | ^161/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]162 97 | struct std::formatter<std::vector<T>, char> {163 | ^164/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]165 126 | struct std::formatter<std::array<T, N>, char> {166 | ^167/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]168 155 | struct std::formatter<std::map<Key, Val>, char> {169 | ^170/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]171 184 | struct std::formatter<std::filesystem::path, char> {172 | ^173174[13/47][55.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/tests/raycast.cpp175/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]176 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}177 | ^178/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here179 198 | struct Vec4f : Vec<float, 4> {180 | ^181/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here182183[14/47][38.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/event.cpp184/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]185 32 | if (case_insensitive && boost::iequals(name, described)) {186 | ^187/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original188 35 | } else if (!case_insensitive && name == described) {189 | ^190/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here191 35 | } else if (!case_insensitive && name == described) {192 | ^193194[15/47][36.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/input.cpp195/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]196 32 | if (case_insensitive && boost::iequals(name, described)) {197 | ^198/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original199 35 | } else if (!case_insensitive && name == described) {200 | ^201/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here202 35 | } else if (!case_insensitive && name == described) {203 | ^204205[16/47][43.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/assets/manager.cpp206/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]207 32 | if (case_insensitive && boost::iequals(name, described)) {208 | ^209/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original210 35 | } else if (!case_insensitive && name == described) {211 | ^212/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here213 35 | } else if (!case_insensitive && name == described) {214 | ^215216[17/47][116.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/device.cpp217/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]218 32 | if (case_insensitive && boost::iequals(name, described)) {219 | ^220/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original221 35 | } else if (!case_insensitive && name == described) {222 | ^223/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here224 35 | } else if (!case_insensitive && name == described) {225 | ^226/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]227 166 | // NOLINTBEGIN(bugprone-macro-parentheses)228 | ^229Error while processing /build/source/wren/src/utils/device.cpp.230231[18/47][118.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/queue.cpp232/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]233 32 | if (case_insensitive && boost::iequals(name, described)) {234 | ^235/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original236 35 | } else if (!case_insensitive && name == described) {237 | ^238/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here239 35 | } else if (!case_insensitive && name == described) {240 | ^241/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]242 166 | // NOLINTBEGIN(bugprone-macro-parentheses)243 | ^244Error while processing /build/source/wren/src/utils/queue.cpp.245246[19/47][123.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/texture.cpp247/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]248 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}249 | ^250/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here251 198 | struct Vec4f : Vec<float, 4> {252 | ^253/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here254/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]255 32 | if (case_insensitive && boost::iequals(name, described)) {256 | ^257/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original258 35 | } else if (!case_insensitive && name == described) {259 | ^260/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here261 35 | } else if (!case_insensitive && name == described) {262 | ^263/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]264 166 | // NOLINTBEGIN(bugprone-macro-parentheses)265 | ^266Error while processing /build/source/wren/src/texture.cpp.267268[20/47][98.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/vulkan.cpp269[21/47][127.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh.cpp270/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]271 26 | const std::array kTriangleVertices = {272 | ^273/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here274 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}275 | ^276/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]277 32 | const std::array kQuadVertices = {278 | ^279/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here280 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}281 | ^282/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]283 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};284 | ^285/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here286 698 | vector(initializer_list<value_type> __l,287 | ^288/build/source/wren/src/mesh.cpp:29:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]289 29 | staging_buffer->set_data_raw<Vertex>(data);290 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~291/build/source/wren/src/mesh.cpp:29:5: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]292 29 | staging_buffer->set_data_raw<Vertex>(data);293 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~294/build/source/wren/src/mesh.cpp:35:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]295 35 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),296 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~297 36 | device.command_pool(), staging_buffer,298 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~299 37 | vertex_buffer_, data.size_bytes());300 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~301/build/source/wren/src/mesh.cpp:35:5: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]302 35 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),303 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~304 36 | device.command_pool(), staging_buffer,305 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~306 37 | vertex_buffer_, data.size_bytes());307 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~308/build/source/wren/src/mesh.cpp:50:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]309 50 | staging_buffer->set_data_raw<uint16_t>(data);310 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~311/build/source/wren/src/mesh.cpp:50:5: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]312 50 | staging_buffer->set_data_raw<uint16_t>(data);313 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~314/build/source/wren/src/mesh.cpp:56:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]315 56 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),316 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~317 57 | device.command_pool(), staging_buffer,318 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~319 58 | index_buffer_, data.size_bytes());320 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~321/build/source/wren/src/mesh.cpp:56:5: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]322 56 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),323 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~324 57 | device.command_pool(), staging_buffer,325 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~326 58 | index_buffer_, data.size_bytes());327 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~328/build/source/wren/src/mesh.cpp:69:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]329 69 | uniform_buffer_->set_data_raw(&ubo, size);330 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~331/build/source/wren/src/mesh.cpp:69:5: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]332 69 | uniform_buffer_->set_data_raw(&ubo, size);333 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~334/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]335 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}336 | ^337/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here338 198 | struct Vec4f : Vec<float, 4> {339 | ^340/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here341/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]342 32 | if (case_insensitive && boost::iequals(name, described)) {343 | ^344/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original345 35 | } else if (!case_insensitive && name == described) {346 | ^347/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here348 35 | } else if (!case_insensitive && name == described) {349 | ^350/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]351 166 | // NOLINTBEGIN(bugprone-macro-parentheses)352 | ^353Error while processing /build/source/wren/src/mesh.cpp.354355[22/47][149.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/shader.cpp356/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]357 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}358 | ^359/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here360 198 | struct Vec4f : Vec<float, 4> {361 | ^362/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here363/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]364 37 | return level.value();365 | ^~~~~366/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]367 32 | if (case_insensitive && boost::iequals(name, described)) {368 | ^369/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original370 35 | } else if (!case_insensitive && name == described) {371 | ^372/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here373 35 | } else if (!case_insensitive && name == described) {374 | ^375/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]376 12 | struct std::formatter<T, char> {377 | ^378/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]379 66 | struct std::formatter<T, char> {380 | ^381/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]382 97 | struct std::formatter<std::vector<T>, char> {383 | ^384/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]385 126 | struct std::formatter<std::array<T, N>, char> {386 | ^387/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]388 155 | struct std::formatter<std::map<Key, Val>, char> {389 | ^390/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]391 184 | struct std::formatter<std::filesystem::path, char> {392 | ^393/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]394 166 | // NOLINTBEGIN(bugprone-macro-parentheses)395 | ^396Error while processing /build/source/wren_vk/src/shader.cpp.397398[23/47][153.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/ui.cpp399/build/source/editor/src/ui.cpp:47:5: error: switch has 10 consecutive identical branches [bugprone-branch-clone,-warnings-as-errors]400 47 | case wren::KeyCode::KExclaim:401 | ^402/build/source/editor/src/ui.cpp:66:37: note: last of these clones ends here403 66 | return ImGuiKey::ImGuiKey_None; // FIXME404 | ^405/build/source/editor/src/ui.cpp:102:5: error: switch has 2 consecutive identical branches [bugprone-branch-clone,-warnings-as-errors]406 102 | case wren::KeyCode::KQuestion:407 | ^408/build/source/editor/src/ui.cpp:105:37: note: last of these clones ends here409 105 | return ImGuiKey::ImGuiKey_None; // FIXME410 | ^411/build/source/editor/src/ui.cpp:114:5: error: switch has 2 consecutive identical branches [bugprone-branch-clone,-warnings-as-errors]412 114 | case wren::KeyCode::KUnderscore:413 | ^414/build/source/editor/src/ui.cpp:117:37: note: last of these clones ends here415 117 | return ImGuiKey::ImGuiKey_None;416 | ^417/build/source/editor/src/ui.cpp:283:63: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]418 283 | [&io](const auto& e) { io.AddInputCharactersUTF8(e.text.data()); });419 | ~~~~~~~^~~~420/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]421 26 | const std::array kTriangleVertices = {422 | ^423/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here424 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}425 | ^426/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]427 32 | const std::array kQuadVertices = {428 | ^429/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here430 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}431 | ^432/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]433 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};434 | ^435/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here436 698 | vector(initializer_list<value_type> __l,437 | ^438/build/source/wren/include/wren/render_target.hpp:67:42: error: enum value of type 'SampleCountFlagBits' initialized with invalid value of 0, enum doesn't have a zero-value enumerator [bugprone-invalid-enum-default-initialization,-warnings-as-errors]439 67 | ::vk::SampleCountFlagBits sample_count_{};440 | ^441/nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:2655:14: note: enum is defined here442 2655 | enum class SampleCountFlagBits : VkSampleCountFlags443 | ^444/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]445 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {446 | ^ 447 | != 0448/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]449 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {450 | ~~~~~^~~~451/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]452 56 | if (std::strcmp(ext.layerName, name.data())) {453 | ^ 454 | != 0455/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]456 56 | if (std::strcmp(ext.layerName, name.data())) {457 | ~~~~~^~~~458/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]459 71 | if (std::strcmp(ext.extensionName, name.data())) {460 | ^ 461 | != 0462/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]463 71 | if (std::strcmp(ext.extensionName, name.data())) {464 | ~~~~~^~~~465/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]466 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}467 | ^468/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here469 198 | struct Vec4f : Vec<float, 4> {470 | ^471/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here472/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]473 37 | return level.value();474 | ^~~~~475/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]476 32 | if (case_insensitive && boost::iequals(name, described)) {477 | ^478/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original479 35 | } else if (!case_insensitive && name == described) {480 | ^481/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here482 35 | } else if (!case_insensitive && name == described) {483 | ^484/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]485 12 | struct std::formatter<T, char> {486 | ^487/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]488 66 | struct std::formatter<T, char> {489 | ^490/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]491 97 | struct std::formatter<std::vector<T>, char> {492 | ^493/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]494 126 | struct std::formatter<std::array<T, N>, char> {495 | ^496/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]497 155 | struct std::formatter<std::map<Key, Val>, char> {498 | ^499/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]500 184 | struct std::formatter<std::filesystem::path, char> {501 | ^502/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]503 166 | // NOLINTBEGIN(bugprone-macro-parentheses)504 | ^505Error while processing /build/source/editor/src/ui.cpp.506507[24/47][42.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_text/tests/font.cpp508/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]509 32 | if (case_insensitive && boost::iequals(name, described)) {510 | ^511/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original512 35 | } else if (!case_insensitive && name == described) {513 | ^514/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here515 35 | } else if (!case_insensitive && name == described) {516 | ^517518[25/47][134.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graph.cpp519/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]520 26 | const std::array kTriangleVertices = {521 | ^522/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here523 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}524 | ^525/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]526 32 | const std::array kQuadVertices = {527 | ^528/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here529 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}530 | ^531/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]532 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};533 | ^534/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here535 698 | vector(initializer_list<value_type> __l,536 | ^537/build/source/wren/include/wren/render_target.hpp:67:42: error: enum value of type 'SampleCountFlagBits' initialized with invalid value of 0, enum doesn't have a zero-value enumerator [bugprone-invalid-enum-default-initialization,-warnings-as-errors]538 67 | ::vk::SampleCountFlagBits sample_count_{};539 | ^540/nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:2655:14: note: enum is defined here541 2655 | enum class SampleCountFlagBits : VkSampleCountFlags542 | ^543/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]544 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {545 | ^ 546 | != 0547/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]548 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {549 | ~~~~~^~~~550/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]551 56 | if (std::strcmp(ext.layerName, name.data())) {552 | ^ 553 | != 0554/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]555 56 | if (std::strcmp(ext.layerName, name.data())) {556 | ~~~~~^~~~557/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]558 71 | if (std::strcmp(ext.extensionName, name.data())) {559 | ^ 560 | != 0561/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]562 71 | if (std::strcmp(ext.extensionName, name.data())) {563 | ~~~~~^~~~564/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]565 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}566 | ^567/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here568 198 | struct Vec4f : Vec<float, 4> {569 | ^570/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here571/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]572 32 | if (case_insensitive && boost::iequals(name, described)) {573 | ^574/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original575 35 | } else if (!case_insensitive && name == described) {576 | ^577/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here578 35 | } else if (!case_insensitive && name == described) {579 | ^580/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]581 166 | // NOLINTBEGIN(bugprone-macro-parentheses)582 | ^583Error while processing /build/source/wren/src/graph.cpp.584585[26/47][45.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/enums.cpp586/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]587 32 | if (case_insensitive && boost::iequals(name, described)) {588 | ^589/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original590 35 | } else if (!case_insensitive && name == described) {591 | ^592/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here593 35 | } else if (!case_insensitive && name == described) {594 | ^595/build/source/wren_utils/tests/enums.cpp:20:14: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]596 20 | BOOST_TEST(res.value() == TestEnums::Case1);597 | ^598/build/source/wren_utils/tests/enums.cpp:26:14: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]599 26 | BOOST_TEST(res.value() == TestEnums::Case2);600 | ^601/build/source/wren_utils/tests/enums.cpp:30:14: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]602 30 | BOOST_TEST(res.value() == TestEnums::Case1);603 | ^604605[27/47][6.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string.cpp606[28/47][127.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_target.cpp607/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]608 26 | const std::array kTriangleVertices = {609 | ^610/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here611 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}612 | ^613/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]614 32 | const std::array kQuadVertices = {615 | ^616/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here617 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}618 | ^619/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]620 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};621 | ^622/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here623 698 | vector(initializer_list<value_type> __l,624 | ^625/build/source/wren/include/wren/render_target.hpp:67:42: error: enum value of type 'SampleCountFlagBits' initialized with invalid value of 0, enum doesn't have a zero-value enumerator [bugprone-invalid-enum-default-initialization,-warnings-as-errors]626 67 | ::vk::SampleCountFlagBits sample_count_{};627 | ^628/nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:2655:14: note: enum is defined here629 2655 | enum class SampleCountFlagBits : VkSampleCountFlags630 | ^631/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]632 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {633 | ^ 634 | != 0635/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]636 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {637 | ~~~~~^~~~638/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]639 56 | if (std::strcmp(ext.layerName, name.data())) {640 | ^ 641 | != 0642/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]643 56 | if (std::strcmp(ext.layerName, name.data())) {644 | ~~~~~^~~~645/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]646 71 | if (std::strcmp(ext.extensionName, name.data())) {647 | ^ 648 | != 0649/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]650 71 | if (std::strcmp(ext.extensionName, name.data())) {651 | ~~~~~^~~~652/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]653 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}654 | ^655/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here656 198 | struct Vec4f : Vec<float, 4> {657 | ^658/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here659/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]660 32 | if (case_insensitive && boost::iequals(name, described)) {661 | ^662/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original663 35 | } else if (!case_insensitive && name == described) {664 | ^665/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here666 35 | } else if (!case_insensitive && name == described) {667 | ^668/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]669 166 | // NOLINTBEGIN(bugprone-macro-parentheses)670 | ^671Error while processing /build/source/wren/src/render_target.cpp.672673[29/47][50.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/vector.cpp674/build/source/wren_math/include/wren/math/format.hpp:11:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]675 11 | struct std::formatter<wren::math::Vec<T, N>, char> {676 | ^677/build/source/wren_math/include/wren/math/format.hpp:29:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]678 29 | struct std::formatter<wren::math::Mat<T, Rows, Cols>, char> {679 | ^680/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]681 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}682 | ^683/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here684 198 | struct Vec4f : Vec<float, 4> {685 | ^686/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here687/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]688 12 | struct std::formatter<T, char> {689 | ^690/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]691 66 | struct std::formatter<T, char> {692 | ^693/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]694 97 | struct std::formatter<std::vector<T>, char> {695 | ^696/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]697 126 | struct std::formatter<std::array<T, N>, char> {698 | ^699/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]700 155 | struct std::formatter<std::map<Key, Val>, char> {701 | ^702/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]703 184 | struct std::formatter<std::filesystem::path, char> {704 | ^705706[30/47][147.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/window.cpp707/build/source/wren/src/window.cpp:283:5: error: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case,-warnings-as-errors]708 283 | switch (event.type) {709 | ^710/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]711 37 | return level.value();712 | ^~~~~713/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]714 32 | if (case_insensitive && boost::iequals(name, described)) {715 | ^716/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original717 35 | } else if (!case_insensitive && name == described) {718 | ^719/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here720 35 | } else if (!case_insensitive && name == described) {721 | ^722/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]723 12 | struct std::formatter<T, char> {724 | ^725/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]726 66 | struct std::formatter<T, char> {727 | ^728/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]729 97 | struct std::formatter<std::vector<T>, char> {730 | ^731/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]732 126 | struct std::formatter<std::array<T, N>, char> {733 | ^734/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]735 155 | struct std::formatter<std::map<Key, Val>, char> {736 | ^737/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]738 184 | struct std::formatter<std::filesystem::path, char> {739 | ^740/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]741 166 | // NOLINTBEGIN(bugprone-macro-parentheses)742 | ^743Error while processing /build/source/wren/src/window.cpp.744745[31/47][43.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/filesystem_panel.cpp746/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]747 32 | if (case_insensitive && boost::iequals(name, described)) {748 | ^749/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original750 35 | } else if (!case_insensitive && name == described) {751 | ^752/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here753 35 | } else if (!case_insensitive && name == described) {754 | ^755756[32/47][153.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_pass.cpp757/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]758 26 | const std::array kTriangleVertices = {759 | ^760/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here761 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}762 | ^763/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]764 32 | const std::array kQuadVertices = {765 | ^766/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here767 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}768 | ^769/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]770 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};771 | ^772/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here773 698 | vector(initializer_list<value_type> __l,774 | ^775/build/source/wren/include/wren/render_target.hpp:67:42: error: enum value of type 'SampleCountFlagBits' initialized with invalid value of 0, enum doesn't have a zero-value enumerator [bugprone-invalid-enum-default-initialization,-warnings-as-errors]776 67 | ::vk::SampleCountFlagBits sample_count_{};777 | ^778/nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:2655:14: note: enum is defined here779 2655 | enum class SampleCountFlagBits : VkSampleCountFlags780 | ^781/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]782 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {783 | ^ 784 | != 0785/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]786 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {787 | ~~~~~^~~~788/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]789 56 | if (std::strcmp(ext.layerName, name.data())) {790 | ^ 791 | != 0792/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]793 56 | if (std::strcmp(ext.layerName, name.data())) {794 | ~~~~~^~~~795/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]796 71 | if (std::strcmp(ext.extensionName, name.data())) {797 | ^ 798 | != 0799/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]800 71 | if (std::strcmp(ext.extensionName, name.data())) {801 | ~~~~~^~~~802/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]803 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}804 | ^805/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here806 198 | struct Vec4f : Vec<float, 4> {807 | ^808/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here809/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]810 37 | return level.value();811 | ^~~~~812/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]813 32 | if (case_insensitive && boost::iequals(name, described)) {814 | ^815/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original816 35 | } else if (!case_insensitive && name == described) {817 | ^818/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here819 35 | } else if (!case_insensitive && name == described) {820 | ^821/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]822 12 | struct std::formatter<T, char> {823 | ^824/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]825 66 | struct std::formatter<T, char> {826 | ^827/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]828 97 | struct std::formatter<std::vector<T>, char> {829 | ^830/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]831 126 | struct std::formatter<std::array<T, N>, char> {832 | ^833/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]834 155 | struct std::formatter<std::map<Key, Val>, char> {835 | ^836/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]837 184 | struct std::formatter<std::filesystem::path, char> {838 | ^839/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]840 166 | // NOLINTBEGIN(bugprone-macro-parentheses)841 | ^842Error while processing /build/source/wren/src/render_pass.cpp.843844[33/47][22.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/scene.cpp845/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]846 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}847 | ^848/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here849 198 | struct Vec4f : Vec<float, 4> {850 | ^851/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here852853[34/47][117.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/image.cpp854/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]855 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}856 | ^857/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here858 198 | struct Vec4f : Vec<float, 4> {859 | ^860/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here861/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]862 32 | if (case_insensitive && boost::iequals(name, described)) {863 | ^864/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original865 35 | } else if (!case_insensitive && name == described) {866 | ^867/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here868 35 | } else if (!case_insensitive && name == described) {869 | ^870/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]871 166 | // NOLINTBEGIN(bugprone-macro-parentheses)872 | ^873Error while processing /build/source/wren_vk/src/image.cpp.874875[35/47][173.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/main.cpp876/build/source/editor/src/main.cpp:14:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]877 14 | auto main(int argc, char** argv) -> int {878 | ^879/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/expected:824:2: note: frame #0: unhandled exception of type 'std::bad_expected_access<wren::Err>' may be thrown in function 'value' here880 824 | _GLIBCXX_THROW_OR_ABORT(bad_expected_access<_Er>(_M_unex));881 | ^882/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/x86_64-unknown-linux-gnu/bits/c++config.h:262:42: note: expanded from macro '_GLIBCXX_THROW_OR_ABORT'883 262 | # define _GLIBCXX_THROW_OR_ABORT(_EXC) (throw (_EXC))884 | ^885/build/source/editor/src/main.cpp:46:21: note: frame #1: function 'main' calls function 'value' here886 46 | const auto& app = err.value();887 | ^888/build/source/editor/src/main.cpp:52:48: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]889 52 | const auto res = editor::Editor::create(app, project_path.value());890 | ^~~~~~~~~~~~891/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]892 26 | const std::array kTriangleVertices = {893 | ^894/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here895 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}896 | ^897/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]898 32 | const std::array kQuadVertices = {899 | ^900/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here901 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}902 | ^903/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]904 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};905 | ^906/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here907 698 | vector(initializer_list<value_type> __l,908 | ^909/build/source/wren/include/wren/render_target.hpp:67:42: error: enum value of type 'SampleCountFlagBits' initialized with invalid value of 0, enum doesn't have a zero-value enumerator [bugprone-invalid-enum-default-initialization,-warnings-as-errors]910 67 | ::vk::SampleCountFlagBits sample_count_{};911 | ^912/nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:2655:14: note: enum is defined here913 2655 | enum class SampleCountFlagBits : VkSampleCountFlags914 | ^915/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: thrown exception type is not nothrow copy constructible [bugprone-exception-copy-constructor-throws,-warnings-as-errors]916 41 | TRY_RESULT_VOID(ubo_->set_data_raw(&ubo, sizeof(LOCALS)));917 | ^918/build/source/wren_utils/include/wren/utils/result.hpp:189:3: note: expanded from macro 'TRY_RESULT_VOID'919 189 | BOOST_PP_OVERLOAD(TRY_RESULT_VOID_, __VA_ARGS__) \920 | ^921/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/facilities/overload.hpp:21:41: note: expanded from macro 'BOOST_PP_OVERLOAD'922 21 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__))923 | ^924/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'925note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)926note: expanded from here927 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)928 | ^929/build/source/wren_utils/include/wren/utils/result.hpp:184:41: note: expanded from macro 'TRY_RESULT_VOID_1'930 184 | #define TRY_RESULT_VOID_1(unique, expr) TRY_RESULT_VOID_IMPL(unique, expr)931 | ^932/build/source/wren_utils/include/wren/utils/result.hpp:182:35: note: expanded from macro 'TRY_RESULT_VOID_IMPL'933 182 | if (!(unique).has_value()) throw(unique).error();934 | ^935/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]936 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {937 | ^ 938 | != 0939/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]940 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {941 | ~~~~~^~~~942/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]943 56 | if (std::strcmp(ext.layerName, name.data())) {944 | ^ 945 | != 0946/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]947 56 | if (std::strcmp(ext.layerName, name.data())) {948 | ~~~~~^~~~949/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]950 71 | if (std::strcmp(ext.extensionName, name.data())) {951 | ^ 952 | != 0953/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]954 71 | if (std::strcmp(ext.extensionName, name.data())) {955 | ~~~~~^~~~956/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]957 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}958 | ^959/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here960 198 | struct Vec4f : Vec<float, 4> {961 | ^962/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here963/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]964 37 | return level.value();965 | ^~~~~966/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]967 32 | if (case_insensitive && boost::iequals(name, described)) {968 | ^969/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original970 35 | } else if (!case_insensitive && name == described) {971 | ^972/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here973 35 | } else if (!case_insensitive && name == described) {974 | ^975/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]976 12 | struct std::formatter<T, char> {977 | ^978/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]979 66 | struct std::formatter<T, char> {980 | ^981/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]982 97 | struct std::formatter<std::vector<T>, char> {983 | ^984/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]985 126 | struct std::formatter<std::array<T, N>, char> {986 | ^987/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]988 155 | struct std::formatter<std::map<Key, Val>, char> {989 | ^990/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]991 184 | struct std::formatter<std::filesystem::path, char> {992 | ^993/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]994 166 | // NOLINTBEGIN(bugprone-macro-parentheses)995 | ^996Error while processing /build/source/editor/src/main.cpp.997998[36/47][130.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/inspector_panel.cpp999/build/source/editor/src/inspector_panel.cpp:77:7: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]1000 77 | mesh_renderer.update_mesh(ctx.project_path, new_file);1001 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1002/build/source/editor/src/inspector_panel.cpp:77:7: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]1003 77 | mesh_renderer.update_mesh(ctx.project_path, new_file);1004 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1005/build/source/editor/src/inspector_panel.cpp:91:40: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1006 91 | ImGui::LabelText("##name", "%s", tag.data());1007 | ~~~~^~~~1008/build/source/editor/src/inspector_panel.cpp:96:49: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1009 96 | if (ImGui::DragFloat(("##x" + std::string(tag.data())).c_str(), &x, 0.1F))1010 | ~~~~^~~~1011/build/source/editor/src/inspector_panel.cpp:103:49: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1012 103 | if (ImGui::DragFloat(("##y" + std::string(tag.data())).c_str(), &y, 0.1F))1013 | ~~~~^~~~1014/build/source/editor/src/inspector_panel.cpp:110:49: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1015 110 | if (ImGui::DragFloat(("##z" + std::string(tag.data())).c_str(), &z, 0.1F))1016 | ~~~~^~~~1017/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1018 26 | const std::array kTriangleVertices = {1019 | ^1020/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1021 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1022 | ^1023/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1024 32 | const std::array kQuadVertices = {1025 | ^1026/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1027 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1028 | ^1029/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1030 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};1031 | ^1032/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here1033 698 | vector(initializer_list<value_type> __l,1034 | ^1035/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: thrown exception type is not nothrow copy constructible [bugprone-exception-copy-constructor-throws,-warnings-as-errors]1036 41 | TRY_RESULT_VOID(ubo_->set_data_raw(&ubo, sizeof(LOCALS)));1037 | ^1038/build/source/wren_utils/include/wren/utils/result.hpp:189:3: note: expanded from macro 'TRY_RESULT_VOID'1039 189 | BOOST_PP_OVERLOAD(TRY_RESULT_VOID_, __VA_ARGS__) \1040 | ^1041/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/facilities/overload.hpp:21:41: note: expanded from macro 'BOOST_PP_OVERLOAD'1042 21 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__))1043 | ^1044/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'1045note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)1046note: expanded from here1047 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)1048 | ^1049/build/source/wren_utils/include/wren/utils/result.hpp:184:41: note: expanded from macro 'TRY_RESULT_VOID_1'1050 184 | #define TRY_RESULT_VOID_1(unique, expr) TRY_RESULT_VOID_IMPL(unique, expr)1051 | ^1052/build/source/wren_utils/include/wren/utils/result.hpp:182:35: note: expanded from macro 'TRY_RESULT_VOID_IMPL'1053 182 | if (!(unique).has_value()) throw(unique).error();1054 | ^1055/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1056 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1057 | ^ 1058 | != 01059/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1060 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1061 | ~~~~~^~~~1062/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1063 56 | if (std::strcmp(ext.layerName, name.data())) {1064 | ^ 1065 | != 01066/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1067 56 | if (std::strcmp(ext.layerName, name.data())) {1068 | ~~~~~^~~~1069/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1070 71 | if (std::strcmp(ext.extensionName, name.data())) {1071 | ^ 1072 | != 01073/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1074 71 | if (std::strcmp(ext.extensionName, name.data())) {1075 | ~~~~~^~~~1076/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]1077 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}1078 | ^1079/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here1080 198 | struct Vec4f : Vec<float, 4> {1081 | ^1082/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here1083/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1084 32 | if (case_insensitive && boost::iequals(name, described)) {1085 | ^1086/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1087 35 | } else if (!case_insensitive && name == described) {1088 | ^1089/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1090 35 | } else if (!case_insensitive && name == described) {1091 | ^1092/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]1093 166 | // NOLINTBEGIN(bugprone-macro-parentheses)1094 | ^1095Error while processing /build/source/editor/src/inspector_panel.cpp.10961097[37/47][172.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/editor.cpp1098/build/source/editor/src/editor.cpp:87:5: error: thrown exception type is not nothrow copy constructible [bugprone-exception-copy-constructor-throws,-warnings-as-errors]1099 87 | TRY_RESULT_VOID(mesh_pass->resize_target(scene_resized_.value()));1100 | ^1101/build/source/wren_utils/include/wren/utils/result.hpp:189:3: note: expanded from macro 'TRY_RESULT_VOID'1102 189 | BOOST_PP_OVERLOAD(TRY_RESULT_VOID_, __VA_ARGS__) \1103 | ^1104/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/facilities/overload.hpp:21:41: note: expanded from macro 'BOOST_PP_OVERLOAD'1105 21 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__))1106 | ^1107/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'1108note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)1109note: expanded from here1110 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)1111 | ^1112/build/source/wren_utils/include/wren/utils/result.hpp:184:41: note: expanded from macro 'TRY_RESULT_VOID_1'1113 184 | #define TRY_RESULT_VOID_1(unique, expr) TRY_RESULT_VOID_IMPL(unique, expr)1114 | ^1115/build/source/wren_utils/include/wren/utils/result.hpp:182:35: note: expanded from macro 'TRY_RESULT_VOID_IMPL'1116 182 | if (!(unique).has_value()) throw(unique).error();1117 | ^1118/build/source/editor/src/editor.cpp:129:9: error: thrown exception type is not nothrow copy constructible [bugprone-exception-copy-constructor-throws,-warnings-as-errors]1119 129 | TRY_RESULT_VOID(wren::scene::serialize(scene_, file));1120 | ^1121/build/source/wren_utils/include/wren/utils/result.hpp:189:3: note: expanded from macro 'TRY_RESULT_VOID'1122 189 | BOOST_PP_OVERLOAD(TRY_RESULT_VOID_, __VA_ARGS__) \1123 | ^1124/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/facilities/overload.hpp:21:41: note: expanded from macro 'BOOST_PP_OVERLOAD'1125 21 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__))1126 | ^1127/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'1128note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)1129note: expanded from here1130 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)1131 | ^1132/build/source/wren_utils/include/wren/utils/result.hpp:184:41: note: expanded from macro 'TRY_RESULT_VOID_1'1133 184 | #define TRY_RESULT_VOID_1(unique, expr) TRY_RESULT_VOID_IMPL(unique, expr)1134 | ^1135/build/source/wren_utils/include/wren/utils/result.hpp:182:35: note: expanded from macro 'TRY_RESULT_VOID_IMPL'1136 182 | if (!(unique).has_value()) throw(unique).error();1137 | ^1138/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1139 26 | const std::array kTriangleVertices = {1140 | ^1141/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1142 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1143 | ^1144/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1145 32 | const std::array kQuadVertices = {1146 | ^1147/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1148 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1149 | ^1150/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1151 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};1152 | ^1153/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here1154 698 | vector(initializer_list<value_type> __l,1155 | ^1156/build/source/wren/include/wren/render_target.hpp:67:42: error: enum value of type 'SampleCountFlagBits' initialized with invalid value of 0, enum doesn't have a zero-value enumerator [bugprone-invalid-enum-default-initialization,-warnings-as-errors]1157 67 | ::vk::SampleCountFlagBits sample_count_{};1158 | ^1159/nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:2655:14: note: enum is defined here1160 2655 | enum class SampleCountFlagBits : VkSampleCountFlags1161 | ^1162/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: thrown exception type is not nothrow copy constructible [bugprone-exception-copy-constructor-throws,-warnings-as-errors]1163 41 | TRY_RESULT_VOID(ubo_->set_data_raw(&ubo, sizeof(LOCALS)));1164 | ^1165/build/source/wren_utils/include/wren/utils/result.hpp:189:3: note: expanded from macro 'TRY_RESULT_VOID'1166 189 | BOOST_PP_OVERLOAD(TRY_RESULT_VOID_, __VA_ARGS__) \1167 | ^1168/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/facilities/overload.hpp:21:41: note: expanded from macro 'BOOST_PP_OVERLOAD'1169 21 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__))1170 | ^1171/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'1172note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)1173note: expanded from here1174 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)1175 | ^1176/build/source/wren_utils/include/wren/utils/result.hpp:184:41: note: expanded from macro 'TRY_RESULT_VOID_1'1177 184 | #define TRY_RESULT_VOID_1(unique, expr) TRY_RESULT_VOID_IMPL(unique, expr)1178 | ^1179/build/source/wren_utils/include/wren/utils/result.hpp:182:35: note: expanded from macro 'TRY_RESULT_VOID_IMPL'1180 182 | if (!(unique).has_value()) throw(unique).error();1181 | ^1182/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1183 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1184 | ^ 1185 | != 01186/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1187 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1188 | ~~~~~^~~~1189/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1190 56 | if (std::strcmp(ext.layerName, name.data())) {1191 | ^ 1192 | != 01193/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1194 56 | if (std::strcmp(ext.layerName, name.data())) {1195 | ~~~~~^~~~1196/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1197 71 | if (std::strcmp(ext.extensionName, name.data())) {1198 | ^ 1199 | != 01200/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1201 71 | if (std::strcmp(ext.extensionName, name.data())) {1202 | ~~~~~^~~~1203/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]1204 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}1205 | ^1206/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here1207 198 | struct Vec4f : Vec<float, 4> {1208 | ^1209/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here1210/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1211 37 | return level.value();1212 | ^~~~~1213/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1214 32 | if (case_insensitive && boost::iequals(name, described)) {1215 | ^1216/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1217 35 | } else if (!case_insensitive && name == described) {1218 | ^1219/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1220 35 | } else if (!case_insensitive && name == described) {1221 | ^1222/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1223 12 | struct std::formatter<T, char> {1224 | ^1225/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1226 66 | struct std::formatter<T, char> {1227 | ^1228/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1229 97 | struct std::formatter<std::vector<T>, char> {1230 | ^1231/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1232 126 | struct std::formatter<std::array<T, N>, char> {1233 | ^1234/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1235 155 | struct std::formatter<std::map<Key, Val>, char> {1236 | ^1237/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1238 184 | struct std::formatter<std::filesystem::path, char> {1239 | ^1240/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]1241 166 | // NOLINTBEGIN(bugprone-macro-parentheses)1242 | ^1243Error while processing /build/source/editor/src/editor.cpp.12441245[38/47][160.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/examples/nand/main.cpp1246/build/source/examples/nand/main.cpp:62:29: error: performing an implicit widening conversion to type 'VkDeviceSize' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result,-warnings-as-errors]1247 62 | VkDeviceSize image_size = tex_width * tex_height * tex_channels;1248 | ^1249/build/source/examples/nand/main.cpp:62:29: note: make conversion explicit to silence this warning1250 1 | VkDeviceSize image_size = tex_width * tex_height * tex_channels;1251 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1252 | static_cast<VkDeviceSize>( )1253/build/source/examples/nand/main.cpp:62:29: note: perform multiplication in a wider type1254 62 | VkDeviceSize image_size = tex_width * tex_height * tex_channels;1255 | ^~~~~~~~~~~~~~~~~~~~~~1256 | static_cast<long>( )1257/build/source/examples/nand/main.cpp:146:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]1258 146 | auto main() -> int {1259 | ^1260/build/source/examples/nand/main.cpp:64:5: note: frame #0: unhandled exception of type 'std::runtime_error' may be thrown in function 'initialize' here1261 64 | throw std::runtime_error("Failed to load texture");1262 | ^1263/build/source/examples/nand/main.cpp:170:25: note: frame #1: function 'main' calls function 'initialize' here1264 170 | const auto init_err = initialize(data);1265 | ^1266/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1267 26 | const std::array kTriangleVertices = {1268 | ^1269/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1270 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1271 | ^1272/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1273 32 | const std::array kQuadVertices = {1274 | ^1275/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1276 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1277 | ^1278/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1279 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};1280 | ^1281/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here1282 698 | vector(initializer_list<value_type> __l,1283 | ^1284/build/source/wren/include/wren/render_pass.hpp:156:3: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]1285 156 | buffer->set_data_raw(&data, sizeof(T));1286 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1287/build/source/examples/nand/main.cpp:112:24: note: in instantiation of function template specialization 'wren::RenderPass::write_scratch_buffer<GLOBALS>' requested here1288 112 | pass.write_scratch_buffer(cmd, 0, 0, ubo);1289 | ^1290/build/source/wren/include/wren/render_target.hpp:67:42: error: enum value of type 'SampleCountFlagBits' initialized with invalid value of 0, enum doesn't have a zero-value enumerator [bugprone-invalid-enum-default-initialization,-warnings-as-errors]1291 67 | ::vk::SampleCountFlagBits sample_count_{};1292 | ^1293/nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:2655:14: note: enum is defined here1294 2655 | enum class SampleCountFlagBits : VkSampleCountFlags1295 | ^1296/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: thrown exception type is not nothrow copy constructible [bugprone-exception-copy-constructor-throws,-warnings-as-errors]1297 41 | TRY_RESULT_VOID(ubo_->set_data_raw(&ubo, sizeof(LOCALS)));1298 | ^1299/build/source/wren_utils/include/wren/utils/result.hpp:189:3: note: expanded from macro 'TRY_RESULT_VOID'1300 189 | BOOST_PP_OVERLOAD(TRY_RESULT_VOID_, __VA_ARGS__) \1301 | ^1302/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/facilities/overload.hpp:21:41: note: expanded from macro 'BOOST_PP_OVERLOAD'1303 21 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__))1304 | ^1305/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'1306note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)1307note: expanded from here1308 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)1309 | ^1310/build/source/wren_utils/include/wren/utils/result.hpp:184:41: note: expanded from macro 'TRY_RESULT_VOID_1'1311 184 | #define TRY_RESULT_VOID_1(unique, expr) TRY_RESULT_VOID_IMPL(unique, expr)1312 | ^1313/build/source/wren_utils/include/wren/utils/result.hpp:182:35: note: expanded from macro 'TRY_RESULT_VOID_IMPL'1314 182 | if (!(unique).has_value()) throw(unique).error();1315 | ^1316/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1317 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1318 | ^ 1319 | != 01320/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1321 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1322 | ~~~~~^~~~1323/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1324 56 | if (std::strcmp(ext.layerName, name.data())) {1325 | ^ 1326 | != 01327/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1328 56 | if (std::strcmp(ext.layerName, name.data())) {1329 | ~~~~~^~~~1330/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1331 71 | if (std::strcmp(ext.extensionName, name.data())) {1332 | ^ 1333 | != 01334/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1335 71 | if (std::strcmp(ext.extensionName, name.data())) {1336 | ~~~~~^~~~1337/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]1338 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}1339 | ^1340/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here1341 198 | struct Vec4f : Vec<float, 4> {1342 | ^1343/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here1344/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1345 37 | return level.value();1346 | ^~~~~1347/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1348 32 | if (case_insensitive && boost::iequals(name, described)) {1349 | ^1350/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1351 35 | } else if (!case_insensitive && name == described) {1352 | ^1353/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1354 35 | } else if (!case_insensitive && name == described) {1355 | ^1356/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1357 12 | struct std::formatter<T, char> {1358 | ^1359/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1360 66 | struct std::formatter<T, char> {1361 | ^1362/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1363 97 | struct std::formatter<std::vector<T>, char> {1364 | ^1365/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1366 126 | struct std::formatter<std::array<T, N>, char> {1367 | ^1368/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1369 155 | struct std::formatter<std::map<Key, Val>, char> {1370 | ^1371/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1372 184 | struct std::formatter<std::filesystem::path, char> {1373 | ^1374/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]1375 166 | // NOLINTBEGIN(bugprone-macro-parentheses)1376 | ^1377Error while processing /build/source/examples/nand/main.cpp.13781379[39/47][104.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/buffer.cpp1380/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1381 32 | if (case_insensitive && boost::iequals(name, described)) {1382 | ^1383/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1384 35 | } else if (!case_insensitive && name == described) {1385 | ^1386/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1387 35 | } else if (!case_insensitive && name == described) {1388 | ^1389/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]1390 166 | // NOLINTBEGIN(bugprone-macro-parentheses)1391 | ^1392Error while processing /build/source/wren_vk/src/buffer.cpp.13931394[40/47][108.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/vulkan.cpp1395/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1396 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1397 | ^ 1398 | != 01399/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1400 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1401 | ~~~~~^~~~1402/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1403 56 | if (std::strcmp(ext.layerName, name.data())) {1404 | ^ 1405 | != 01406/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1407 56 | if (std::strcmp(ext.layerName, name.data())) {1408 | ~~~~~^~~~1409/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1410 71 | if (std::strcmp(ext.extensionName, name.data())) {1411 | ^ 1412 | != 01413/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1414 71 | if (std::strcmp(ext.extensionName, name.data())) {1415 | ~~~~~^~~~1416/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1417 37 | return level.value();1418 | ^~~~~1419/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1420 32 | if (case_insensitive && boost::iequals(name, described)) {1421 | ^1422/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1423 35 | } else if (!case_insensitive && name == described) {1424 | ^1425/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1426 35 | } else if (!case_insensitive && name == described) {1427 | ^1428/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1429 12 | struct std::formatter<T, char> {1430 | ^1431/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1432 66 | struct std::formatter<T, char> {1433 | ^1434/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1435 97 | struct std::formatter<std::vector<T>, char> {1436 | ^1437/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1438 126 | struct std::formatter<std::array<T, N>, char> {1439 | ^1440/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1441 155 | struct std::formatter<std::map<Key, Val>, char> {1442 | ^1443/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1444 184 | struct std::formatter<std::filesystem::path, char> {1445 | ^1446/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]1447 166 | // NOLINTBEGIN(bugprone-macro-parentheses)1448 | ^1449Error while processing /build/source/wren/src/utils/vulkan.cpp.14501451[41/47][86.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graphics_context.cpp1452/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1453 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1454 | ^ 1455 | != 01456/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1457 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1458 | ~~~~~^~~~1459/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1460 56 | if (std::strcmp(ext.layerName, name.data())) {1461 | ^ 1462 | != 01463/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1464 56 | if (std::strcmp(ext.layerName, name.data())) {1465 | ~~~~~^~~~1466/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1467 71 | if (std::strcmp(ext.extensionName, name.data())) {1468 | ^ 1469 | != 01470/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1471 71 | if (std::strcmp(ext.extensionName, name.data())) {1472 | ~~~~~^~~~1473/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1474 37 | return level.value();1475 | ^~~~~1476/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1477 32 | if (case_insensitive && boost::iequals(name, described)) {1478 | ^1479/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1480 35 | } else if (!case_insensitive && name == described) {1481 | ^1482/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1483 35 | } else if (!case_insensitive && name == described) {1484 | ^1485/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1486 12 | struct std::formatter<T, char> {1487 | ^1488/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1489 66 | struct std::formatter<T, char> {1490 | ^1491/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1492 97 | struct std::formatter<std::vector<T>, char> {1493 | ^1494/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1495 126 | struct std::formatter<std::array<T, N>, char> {1496 | ^1497/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1498 155 | struct std::formatter<std::map<Key, Val>, char> {1499 | ^1500/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1501 184 | struct std::formatter<std::filesystem::path, char> {1502 | ^1503/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]1504 166 | // NOLINTBEGIN(bugprone-macro-parentheses)1505 | ^1506Error while processing /build/source/wren/src/graphics_context.cpp.15071508[42/47][91.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/deserialization.cpp1509/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1510 26 | const std::array kTriangleVertices = {1511 | ^1512/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1513 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1514 | ^1515/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1516 32 | const std::array kQuadVertices = {1517 | ^1518/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1519 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1520 | ^1521/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1522 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};1523 | ^1524/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here1525 698 | vector(initializer_list<value_type> __l,1526 | ^1527/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: thrown exception type is not nothrow copy constructible [bugprone-exception-copy-constructor-throws,-warnings-as-errors]1528 41 | TRY_RESULT_VOID(ubo_->set_data_raw(&ubo, sizeof(LOCALS)));1529 | ^1530/build/source/wren_utils/include/wren/utils/result.hpp:189:3: note: expanded from macro 'TRY_RESULT_VOID'1531 189 | BOOST_PP_OVERLOAD(TRY_RESULT_VOID_, __VA_ARGS__) \1532 | ^1533/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/facilities/overload.hpp:21:41: note: expanded from macro 'BOOST_PP_OVERLOAD'1534 21 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__))1535 | ^1536/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'1537note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)1538note: expanded from here1539 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)1540 | ^1541/build/source/wren_utils/include/wren/utils/result.hpp:184:41: note: expanded from macro 'TRY_RESULT_VOID_1'1542 184 | #define TRY_RESULT_VOID_1(unique, expr) TRY_RESULT_VOID_IMPL(unique, expr)1543 | ^1544/build/source/wren_utils/include/wren/utils/result.hpp:182:35: note: expanded from macro 'TRY_RESULT_VOID_IMPL'1545 182 | if (!(unique).has_value()) throw(unique).error();1546 | ^1547/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1548 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1549 | ^ 1550 | != 01551/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1552 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1553 | ~~~~~^~~~1554/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1555 56 | if (std::strcmp(ext.layerName, name.data())) {1556 | ^ 1557 | != 01558/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1559 56 | if (std::strcmp(ext.layerName, name.data())) {1560 | ~~~~~^~~~1561/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1562 71 | if (std::strcmp(ext.extensionName, name.data())) {1563 | ^ 1564 | != 01565/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1566 71 | if (std::strcmp(ext.extensionName, name.data())) {1567 | ~~~~~^~~~1568/build/source/wren/src/scene/deserialization.cpp:23:32: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1569 23 | for (const auto& e : *table["entities"].as_array()) {1570 | ^~~~~~~~~~~~1571/build/source/wren/src/scene/deserialization.cpp:26:44: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1572 26 | scene->create_entity(entity_table["name"].as_string()->get());1573 | ^~~~~~~~1574/build/source/wren/src/scene/deserialization.cpp:45:21: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1575 45 | deserialize(*table["position"].as_table(), transform.position);1576 | ^~~~~~~~~~~~1577/build/source/wren/src/scene/deserialization.cpp:46:21: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1578 46 | deserialize(*table["rotation"].as_table(), transform.rotation);1579 | ^~~~~~~~~~~~1580/build/source/wren/src/scene/deserialization.cpp:47:21: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1581 47 | deserialize(*table["scale"].as_table(), transform.scale);1582 | ^~~~~~~~~1583/build/source/wren/src/scene/deserialization.cpp:53:3: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]1584 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());1585 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1586/build/source/wren/src/scene/deserialization.cpp:53:3: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]1587 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());1588 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1589/build/source/wren/src/scene/deserialization.cpp:53:44: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1590 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());1591 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1592/build/source/wren/src/scene/deserialization.cpp:53:49: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1593 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());1594 | ^~~~~~~~1595/build/source/wren/src/scene/deserialization.cpp:57:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1596 57 | vec.x(*table["x"].value<float>());1597 | ^~~~~~~~~~~~~~~~~~~~~~~~~1598/build/source/wren/src/scene/deserialization.cpp:57:15: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1599 57 | vec.x(*table["x"].value<float>());1600 | ^~~~~1601/build/source/wren/src/scene/deserialization.cpp:58:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1602 58 | vec.y(*table["y"].value<float>());1603 | ^~~~~~~~~~~~~~~~~~~~~~~~~1604/build/source/wren/src/scene/deserialization.cpp:58:15: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1605 58 | vec.y(*table["y"].value<float>());1606 | ^~~~~1607/build/source/wren/src/scene/deserialization.cpp:59:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1608 59 | vec.z(*table["z"].value<float>());1609 | ^~~~~~~~~~~~~~~~~~~~~~~~~1610/build/source/wren/src/scene/deserialization.cpp:59:15: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1611 59 | vec.z(*table["z"].value<float>());1612 | ^~~~~1613/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]1614 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}1615 | ^1616/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here1617 198 | struct Vec4f : Vec<float, 4> {1618 | ^1619/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here1620/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1621 32 | if (case_insensitive && boost::iequals(name, described)) {1622 | ^1623/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1624 35 | } else if (!case_insensitive && name == described) {1625 | ^1626/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1627 35 | } else if (!case_insensitive && name == described) {1628 | ^1629/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]1630 166 | // NOLINTBEGIN(bugprone-macro-parentheses)1631 | ^1632Error while processing /build/source/wren/src/scene/deserialization.cpp.16331634[43/47][71.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_gui/src/instance.cpp1635/build/source/wren_gui/src/instance.cpp:37:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1636 37 | const std::vector<uint16_t> kQuadIndices = {0, 1, 3, 3, 1, 2};1637 | ^1638/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here1639 698 | vector(initializer_list<value_type> __l,1640 | ^1641/build/source/wren_gui/src/instance.cpp:50:3: error: thrown exception type is not nothrow copy constructible [bugprone-exception-copy-constructor-throws,-warnings-as-errors]1642 50 | TRY_RESULT_VOID(const auto font, text::load_default_font());1643 | ^1644/build/source/wren_utils/include/wren/utils/result.hpp:189:3: note: expanded from macro 'TRY_RESULT_VOID'1645 189 | BOOST_PP_OVERLOAD(TRY_RESULT_VOID_, __VA_ARGS__) \1646 | ^1647/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/facilities/overload.hpp:21:41: note: expanded from macro 'BOOST_PP_OVERLOAD'1648 21 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__))1649 | ^1650/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'1651note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)1652note: expanded from here1653 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)1654 | ^1655/build/source/wren_utils/include/wren/utils/result.hpp:186:3: note: expanded from macro 'TRY_RESULT_VOID_2'1656 186 | TRY_RESULT_VOID_IMPL(unique, expr) \1657 | ^1658/build/source/wren_utils/include/wren/utils/result.hpp:182:35: note: expanded from macro 'TRY_RESULT_VOID_IMPL'1659 182 | if (!(unique).has_value()) throw(unique).error();1660 | ^1661/build/source/wren_gui/src/instance.cpp:100:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]1662 100 | staging_buffer->set_data_raw<Vertex>(data);1663 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1664/build/source/wren_gui/src/instance.cpp:100:5: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]1665 100 | staging_buffer->set_data_raw<Vertex>(data);1666 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1667/build/source/wren_gui/src/instance.cpp:106:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]1668 106 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),1669 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1670 107 | device.command_pool(), staging_buffer,1671 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1672 108 | vertex_buffer_, data.size_bytes());1673 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1674/build/source/wren_gui/src/instance.cpp:106:5: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]1675 106 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),1676 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1677 107 | device.command_pool(), staging_buffer,1678 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1679 108 | vertex_buffer_, data.size_bytes());1680 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1681/build/source/wren_gui/src/instance.cpp:119:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]1682 119 | staging_buffer->set_data_raw<std::int16_t>(data);1683 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1684/build/source/wren_gui/src/instance.cpp:119:5: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]1685 119 | staging_buffer->set_data_raw<std::int16_t>(data);1686 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1687/build/source/wren_gui/src/instance.cpp:125:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]1688 125 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),1689 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1690 126 | device.command_pool(), staging_buffer,1691 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1692 127 | index_buffer_, data.size_bytes());1693 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1694/build/source/wren_gui/src/instance.cpp:125:5: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]1695 125 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),1696 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1697 126 | device.command_pool(), staging_buffer,1698 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1699 127 | index_buffer_, data.size_bytes());1700 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1701/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]1702 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}1703 | ^1704/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here1705 198 | struct Vec4f : Vec<float, 4> {1706 | ^1707/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here1708/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1709 37 | return level.value();1710 | ^~~~~1711/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1712 32 | if (case_insensitive && boost::iequals(name, described)) {1713 | ^1714/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1715 35 | } else if (!case_insensitive && name == described) {1716 | ^1717/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1718 35 | } else if (!case_insensitive && name == described) {1719 | ^1720/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1721 12 | struct std::formatter<T, char> {1722 | ^1723/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1724 66 | struct std::formatter<T, char> {1725 | ^1726/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1727 97 | struct std::formatter<std::vector<T>, char> {1728 | ^1729/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1730 126 | struct std::formatter<std::array<T, N>, char> {1731 | ^1732/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1733 155 | struct std::formatter<std::map<Key, Val>, char> {1734 | ^1735/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1736 184 | struct std::formatter<std::filesystem::path, char> {1737 | ^1738/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]1739 166 | // NOLINTBEGIN(bugprone-macro-parentheses)1740 | ^1741Error while processing /build/source/wren_gui/src/instance.cpp.17421743[44/47][96.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/application.cpp1744/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1745 26 | const std::array kTriangleVertices = {1746 | ^1747/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1748 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1749 | ^1750/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1751 32 | const std::array kQuadVertices = {1752 | ^1753/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1754 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1755 | ^1756/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1757 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};1758 | ^1759/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here1760 698 | vector(initializer_list<value_type> __l,1761 | ^1762/build/source/wren/include/wren/render_target.hpp:67:42: error: enum value of type 'SampleCountFlagBits' initialized with invalid value of 0, enum doesn't have a zero-value enumerator [bugprone-invalid-enum-default-initialization,-warnings-as-errors]1763 67 | ::vk::SampleCountFlagBits sample_count_{};1764 | ^1765/nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:2655:14: note: enum is defined here1766 2655 | enum class SampleCountFlagBits : VkSampleCountFlags1767 | ^1768/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1769 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1770 | ^ 1771 | != 01772/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1773 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1774 | ~~~~~^~~~1775/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1776 56 | if (std::strcmp(ext.layerName, name.data())) {1777 | ^ 1778 | != 01779/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1780 56 | if (std::strcmp(ext.layerName, name.data())) {1781 | ~~~~~^~~~1782/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1783 71 | if (std::strcmp(ext.extensionName, name.data())) {1784 | ^ 1785 | != 01786/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1787 71 | if (std::strcmp(ext.extensionName, name.data())) {1788 | ~~~~~^~~~1789/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]1790 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}1791 | ^1792/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here1793 198 | struct Vec4f : Vec<float, 4> {1794 | ^1795/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here1796/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1797 37 | return level.value();1798 | ^~~~~1799/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1800 32 | if (case_insensitive && boost::iequals(name, described)) {1801 | ^1802/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1803 35 | } else if (!case_insensitive && name == described) {1804 | ^1805/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1806 35 | } else if (!case_insensitive && name == described) {1807 | ^1808/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1809 12 | struct std::formatter<T, char> {1810 | ^1811/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1812 66 | struct std::formatter<T, char> {1813 | ^1814/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1815 97 | struct std::formatter<std::vector<T>, char> {1816 | ^1817/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1818 126 | struct std::formatter<std::array<T, N>, char> {1819 | ^1820/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1821 155 | struct std::formatter<std::map<Key, Val>, char> {1822 | ^1823/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1824 184 | struct std::formatter<std::filesystem::path, char> {1825 | ^1826/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]1827 166 | // NOLINTBEGIN(bugprone-macro-parentheses)1828 | ^1829Error while processing /build/source/wren/src/application.cpp.18301831[45/47][80.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/renderer.cpp1832/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1833 26 | const std::array kTriangleVertices = {1834 | ^1835/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1836 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1837 | ^1838/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1839 32 | const std::array kQuadVertices = {1840 | ^1841/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1842 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1843 | ^1844/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1845 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};1846 | ^1847/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here1848 698 | vector(initializer_list<value_type> __l,1849 | ^1850/build/source/wren/include/wren/render_target.hpp:67:42: error: enum value of type 'SampleCountFlagBits' initialized with invalid value of 0, enum doesn't have a zero-value enumerator [bugprone-invalid-enum-default-initialization,-warnings-as-errors]1851 67 | ::vk::SampleCountFlagBits sample_count_{};1852 | ^1853/nix/store/wj32fr9qda2anncv77ah46vxkhdz22qv-vulkan-headers-1.4.363.0/include/vulkan/vulkan_enums.hpp:2655:14: note: enum is defined here1854 2655 | enum class SampleCountFlagBits : VkSampleCountFlags1855 | ^1856/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1857 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1858 | ^ 1859 | != 01860/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1861 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {1862 | ~~~~~^~~~1863/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1864 56 | if (std::strcmp(ext.layerName, name.data())) {1865 | ^ 1866 | != 01867/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1868 56 | if (std::strcmp(ext.layerName, name.data())) {1869 | ~~~~~^~~~1870/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]1871 71 | if (std::strcmp(ext.extensionName, name.data())) {1872 | ^ 1873 | != 01874/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1875 71 | if (std::strcmp(ext.extensionName, name.data())) {1876 | ~~~~~^~~~1877/build/source/wren/src/renderer.cpp:49:49: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1878 49 | render_targets_.at(kSwapchainRendertargetName.data())1879 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~1880/build/source/wren/src/renderer.cpp:83:5: error: thrown exception type is not nothrow copy constructible [bugprone-exception-copy-constructor-throws,-warnings-as-errors]1881 83 | TRY_RESULT_VOID(recreate_swapchain());1882 | ^1883/build/source/wren_utils/include/wren/utils/result.hpp:189:3: note: expanded from macro 'TRY_RESULT_VOID'1884 189 | BOOST_PP_OVERLOAD(TRY_RESULT_VOID_, __VA_ARGS__) \1885 | ^1886/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/facilities/overload.hpp:21:41: note: expanded from macro 'BOOST_PP_OVERLOAD'1887 21 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__))1888 | ^1889/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'1890note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)1891note: expanded from here1892 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)1893 | ^1894/build/source/wren_utils/include/wren/utils/result.hpp:184:41: note: expanded from macro 'TRY_RESULT_VOID_1'1895 184 | #define TRY_RESULT_VOID_1(unique, expr) TRY_RESULT_VOID_IMPL(unique, expr)1896 | ^1897/build/source/wren_utils/include/wren/utils/result.hpp:182:35: note: expanded from macro 'TRY_RESULT_VOID_IMPL'1898 182 | if (!(unique).has_value()) throw(unique).error();1899 | ^1900/build/source/wren/src/renderer.cpp:197:59: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1901 197 | if (render_targets_.contains(kSwapchainRendertargetName.data())) {1902 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~1903/build/source/wren/src/renderer.cpp:291:60: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1904 291 | if (!render_targets_.contains(kSwapchainRendertargetName.data())) {1905 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~1906/build/source/wren/src/renderer.cpp:302:72: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]1907 302 | const auto& target = render_targets_.at(kSwapchainRendertargetName.data());1908 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~1909/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]1910 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}1911 | ^1912/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here1913 198 | struct Vec4f : Vec<float, 4> {1914 | ^1915/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here1916/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1917 37 | return level.value();1918 | ^~~~~1919/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1920 32 | if (case_insensitive && boost::iequals(name, described)) {1921 | ^1922/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1923 35 | } else if (!case_insensitive && name == described) {1924 | ^1925/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1926 35 | } else if (!case_insensitive && name == described) {1927 | ^1928/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1929 12 | struct std::formatter<T, char> {1930 | ^1931/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1932 66 | struct std::formatter<T, char> {1933 | ^1934/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1935 97 | struct std::formatter<std::vector<T>, char> {1936 | ^1937/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1938 126 | struct std::formatter<std::array<T, N>, char> {1939 | ^1940/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1941 155 | struct std::formatter<std::map<Key, Val>, char> {1942 | ^1943/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]1944 184 | struct std::formatter<std::filesystem::path, char> {1945 | ^1946/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]1947 166 | // NOLINTBEGIN(bugprone-macro-parentheses)1948 | ^1949Error while processing /build/source/wren/src/renderer.cpp.19501951[46/47][58.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh_loader.cpp1952/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1953 26 | const std::array kTriangleVertices = {1954 | ^1955/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1956 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1957 | ^1958/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1959 32 | const std::array kQuadVertices = {1960 | ^1961/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here1962 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}1963 | ^1964/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]1965 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};1966 | ^1967/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here1968 698 | vector(initializer_list<value_type> __l,1969 | ^1970/build/source/wren/src/mesh_loader.cpp:33:20: error: performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result,-warnings-as-errors]1971 33 | vertices.reserve(triangles * 3);1972 | ^1973/build/source/wren/src/mesh_loader.cpp:33:20: note: make conversion explicit to silence this warning1974 4 | vertices.reserve(triangles * 3);1975 | ^~~~~~~~~~~~~1976 | static_cast<size_type>( )1977/build/source/wren/src/mesh_loader.cpp:33:20: note: perform multiplication in a wider type1978 33 | vertices.reserve(triangles * 3);1979 | ^~~~~~~~~1980 | static_cast<size_type>( )1981/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]1982 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}1983 | ^1984/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here1985 198 | struct Vec4f : Vec<float, 4> {1986 | ^1987/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here1988/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]1989 37 | return level.value();1990 | ^~~~~1991/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]1992 32 | if (case_insensitive && boost::iequals(name, described)) {1993 | ^1994/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original1995 35 | } else if (!case_insensitive && name == described) {1996 | ^1997/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here1998 35 | } else if (!case_insensitive && name == described) {1999 | ^2000/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2001 12 | struct std::formatter<T, char> {2002 | ^2003/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2004 66 | struct std::formatter<T, char> {2005 | ^2006/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2007 97 | struct std::formatter<std::vector<T>, char> {2008 | ^2009/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2010 126 | struct std::formatter<std::array<T, N>, char> {2011 | ^2012/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2013 155 | struct std::formatter<std::map<Key, Val>, char> {2014 | ^2015/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2016 184 | struct std::formatter<std::filesystem::path, char> {2017 | ^2018/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]2019 166 | // NOLINTBEGIN(bugprone-macro-parentheses)2020 | ^2021Error while processing /build/source/wren/src/mesh_loader.cpp.20222023[47/47][81.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/serialization.cpp2024/build/source/wren/include/wren/mesh.hpp:26:18: error: initialization of 'kTriangleVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]2025 26 | const std::array kTriangleVertices = {2026 | ^2027/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here2028 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}2029 | ^2030/build/source/wren/include/wren/mesh.hpp:32:18: error: initialization of 'kQuadVertices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]2031 32 | const std::array kQuadVertices = {2032 | ^2033/build/source/wren_math/include/wren/math/vector.hpp:184:3: note: possibly throwing constructor declared here2034 184 | Vec3f(float x, float y, float z) : Vec<float, 3>(x, y, z) {}2035 | ^2036/build/source/wren/include/wren/mesh.hpp:55:29: error: initialization of 'kQuadIndices' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,-warnings-as-errors]2037 55 | const std::vector<uint16_t> kQuadIndices = {0, 2, 1, 0, 3, 2};2038 | ^2039/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/bits/stl_vector.h:698:7: note: possibly throwing constructor declared here2040 698 | vector(initializer_list<value_type> __l,2041 | ^2042/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: thrown exception type is not nothrow copy constructible [bugprone-exception-copy-constructor-throws,-warnings-as-errors]2043 41 | TRY_RESULT_VOID(ubo_->set_data_raw(&ubo, sizeof(LOCALS)));2044 | ^2045/build/source/wren_utils/include/wren/utils/result.hpp:189:3: note: expanded from macro 'TRY_RESULT_VOID'2046 189 | BOOST_PP_OVERLOAD(TRY_RESULT_VOID_, __VA_ARGS__) \2047 | ^2048/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/facilities/overload.hpp:21:41: note: expanded from macro 'BOOST_PP_OVERLOAD'2049 21 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__))2050 | ^2051/nix/store/428klbrlimd8zlxwxsx0pgvaqfybi2rm-boost-1.89.0-dev/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'2052note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)2053note: expanded from here2054 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)2055 | ^2056/build/source/wren_utils/include/wren/utils/result.hpp:184:41: note: expanded from macro 'TRY_RESULT_VOID_1'2057 184 | #define TRY_RESULT_VOID_1(unique, expr) TRY_RESULT_VOID_IMPL(unique, expr)2058 | ^2059/build/source/wren_utils/include/wren/utils/result.hpp:182:35: note: expanded from macro 'TRY_RESULT_VOID_IMPL'2060 182 | if (!(unique).has_value()) throw(unique).error();2061 | ^2062/build/source/wren/include/wren/utils/vulkan.hpp:42:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]2063 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {2064 | ^ 2065 | != 02066/build/source/wren/include/wren/utils/vulkan.hpp:42:52: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]2067 42 | if (std::strcmp(ext.extensionName.data(), name.data())) {2068 | ~~~~~^~~~2069/build/source/wren/include/wren/utils/vulkan.hpp:56:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]2070 56 | if (std::strcmp(ext.layerName, name.data())) {2071 | ^ 2072 | != 02073/build/source/wren/include/wren/utils/vulkan.hpp:56:41: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]2074 56 | if (std::strcmp(ext.layerName, name.data())) {2075 | ~~~~~^~~~2076/build/source/wren/include/wren/utils/vulkan.hpp:71:9: error: function 'strcmp' is called without explicitly comparing result [bugprone-suspicious-string-compare,-warnings-as-errors]2077 71 | if (std::strcmp(ext.extensionName, name.data())) {2078 | ^ 2079 | != 02080/build/source/wren/include/wren/utils/vulkan.hpp:71:45: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]2081 71 | if (std::strcmp(ext.extensionName, name.data())) {2082 | ~~~~~^~~~2083/build/source/wren_math/include/wren/math/vector.hpp:201:3: error: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload,-warnings-as-errors]2084 201 | Vec4f(auto&& other) : Vec<float, 4>(other) {}2085 | ^2086/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: copy constructor declared here2087 198 | struct Vec4f : Vec<float, 4> {2088 | ^2089/build/source/wren_math/include/wren/math/vector.hpp:198:8: note: move constructor declared here2090/build/source/wren_utils/include/wren/logging/log.hpp:37:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]2091 37 | return level.value();2092 | ^~~~~2093/build/source/wren_utils/include/wren/utils/enums.hpp:32:68: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]2094 32 | if (case_insensitive && boost::iequals(name, described)) {2095 | ^2096/build/source/wren_utils/include/wren/utils/enums.hpp:35:12: note: end of the original2097 35 | } else if (!case_insensitive && name == described) {2098 | ^2099/build/source/wren_utils/include/wren/utils/enums.hpp:35:62: note: clone 1 starts here2100 35 | } else if (!case_insensitive && name == described) {2101 | ^2102/build/source/wren_utils/include/wren/utils/format.hpp:12:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2103 12 | struct std::formatter<T, char> {2104 | ^2105/build/source/wren_utils/include/wren/utils/format.hpp:66:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2106 66 | struct std::formatter<T, char> {2107 | ^2108/build/source/wren_utils/include/wren/utils/format.hpp:97:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2109 97 | struct std::formatter<std::vector<T>, char> {2110 | ^2111/build/source/wren_utils/include/wren/utils/format.hpp:126:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2112 126 | struct std::formatter<std::array<T, N>, char> {2113 | ^2114/build/source/wren_utils/include/wren/utils/format.hpp:155:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2115 155 | struct std::formatter<std::map<Key, Val>, char> {2116 | ^2117/build/source/wren_utils/include/wren/utils/format.hpp:184:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]2118 184 | struct std::formatter<std::filesystem::path, char> {2119 | ^2120/build/source/wren_utils/include/wren/utils/result.hpp:166:4: error: unmatched 'NOLINTBEGIN' comment without a subsequent 'NOLINTEND' comment [clang-tidy-nolint]2121 166 | // NOLINTBEGIN(bugprone-macro-parentheses)2122 | ^2123Error while processing /build/source/wren/src/scene/serialization.cpp.2124