lint-0.1.0
checks.x86_64-linux.lint
· build #41
· raw
unpackPhase
1unpacking source archive /nix/store/2vgs953nl5qjz9dn8z7i73w2pmf7yb21-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 (13.3s)25-- Generating done (0.1s)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][3.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string_reader.cpp29[ 2/47][27.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/components/collider.cpp30[ 3/47][27.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/src/ray.cpp31[ 4/47][34.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/event.cpp32[ 5/47][35.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/input.cpp33[ 6/47][45.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/assets/manager.cpp34[ 7/47][49.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_text/tests/font.cpp35[ 8/47][16.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/memory.cpp36[ 9/47][56.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/tests/raycast.cpp37[10/47][41.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/enums.cpp38[11/47][55.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/vector.cpp39[12/47][50.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/filesystem.cpp40[13/47][44.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/binary_reader.cpp41[14/47][100.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/texture.cpp42[15/47][119.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/queue.cpp43[16/47][122.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh.cpp44/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]45 29 | staging_buffer->set_data_raw<Vertex>(data);46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~47/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]48 35 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),49 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~50 36 | device.command_pool(), staging_buffer,51 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~52 37 | vertex_buffer_, data.size_bytes());53 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~54/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]55 50 | staging_buffer->set_data_raw<uint16_t>(data);56 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~57/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]58 56 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~60 57 | device.command_pool(), staging_buffer,61 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~62 58 | index_buffer_, data.size_bytes());63 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~64/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]65 69 | uniform_buffer_->set_data_raw(&ubo, size);66 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6768[17/47][30.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/scene.cpp69[18/47][138.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graphics_context.cpp70[19/47][113.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/image.cpp71[20/47][148.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/examples/nand/main.cpp72/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]73 156 | buffer->set_data_raw(&data, sizeof(T));74 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~75/build/source/examples/nand/main.cpp:112:24: note: in instantiation of function template specialization 'wren::RenderPass::write_scratch_buffer<GLOBALS>' requested here76 112 | pass.write_scratch_buffer(cmd, 0, 0, ubo);77 | ^78/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]79 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS));80 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~8182[21/47][149.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh_loader.cpp83[22/47][149.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_gui/src/instance.cpp84/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]85 100 | staging_buffer->set_data_raw<Vertex>(data);86 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~87/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]88 106 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),89 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~90 107 | device.command_pool(), staging_buffer,91 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~92 108 | vertex_buffer_, data.size_bytes());93 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~94/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]95 119 | staging_buffer->set_data_raw<std::int16_t>(data);96 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~97/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]98 125 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(),99 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~100 126 | device.command_pool(), staging_buffer,101 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~102 127 | index_buffer_, data.size_bytes());103 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~104105[23/47][153.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/vulkan.cpp106/build/source/wren/src/utils/vulkan.cpp:46:3: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]107 46 | LOAD_VULKAN_PFN(pfnVkCmdPushConstants, vkCmdPushConstants);108 | ^109/build/source/wren/src/utils/vulkan.cpp:39:11: note: expanded from macro 'LOAD_VULKAN_PFN'110 39 | out = reinterpret_cast<PFN_##fn_name>(instance.getProcAddr(#fn_name)); \111 | ^112/build/source/wren/src/utils/vulkan.cpp:47:3: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]113 47 | LOAD_VULKAN_PFN(pfnVkCreateDebugUtilsMessengerEXT,114 | ^115/build/source/wren/src/utils/vulkan.cpp:39:11: note: expanded from macro 'LOAD_VULKAN_PFN'116 39 | out = reinterpret_cast<PFN_##fn_name>(instance.getProcAddr(#fn_name)); \117 | ^118119[24/47][7.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/src/geometry.cpp120[25/47][8.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string.cpp121[26/47][40.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_text/src/font.cpp122/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]123 34 | FcPattern* pat = FcNameParse((FcChar8* const)(font.data()));124 | ^125/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]126/build/source/wren_text/src/font.cpp:43:43: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]127 43 | font_path = std::filesystem::path{reinterpret_cast<char*>(file)};128 | ^129130[27/47][116.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/inspector_panel.cpp131/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]132 77 | mesh_renderer.update_mesh(ctx.project_path, new_file);133 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~134/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]135 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS));136 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~137138[28/47][51.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/geometry.cpp139[29/47][188.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/editor.cpp140/build/source/editor/src/editor.cpp:29:3: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]141 29 | editor->load_scene();142 | ^~~~~~~~~~~~~~~~~~~~143/build/source/editor/src/editor.cpp:51:3: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]144 51 | editor::ui::init(app->context());145 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~146/build/source/editor/src/editor.cpp:65:16: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]147 65 | editor->dset_[0] =148 | ^~~149/build/source/editor/src/editor.cpp:87:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]150 87 | mesh_pass->resize_target(scene_resized_.value());151 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~152/build/source/editor/src/editor.cpp:94:41: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]153 94 | ImGui_ImplVulkan_RemoveTexture(dset_[0]);154 | ^~~155/build/source/editor/src/editor.cpp:95:10: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]156 95 | dset_[0] = ImGui_ImplVulkan_AddTexture(157 | ^~~158/build/source/editor/src/editor.cpp:129:9: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]159 129 | wren::scene::serialize(scene_, file);160 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~161/build/source/editor/src/editor.cpp:186:21: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]162 186 | ImGui::Image(dset_[0], {static_cast<float>(last_scene_size_.x()),163 | ^~~164/build/source/editor/src/editor.cpp:207:3: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]165 207 | wren::scene::deserialize(editor_context_.project_path, "scene.wren", scene_);166 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~167/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]168 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS));169 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~170171[30/47][43.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/matrix.cpp172[31/47][100.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/vulkan.cpp173[32/47][162.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/main.cpp174/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]175 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS));176 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~177178[33/47][164.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/serialization.cpp179/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]180 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS));181 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~182183[34/47][25.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/string_reader.cpp184[35/47][27.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/filesystem_panel.cpp185[36/47][94.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/device.cpp186[37/47][17.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/scene_panel.cpp187[38/47][120.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/application.cpp188[39/47][130.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/renderer.cpp189/build/source/wren/src/renderer.cpp:44:7: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]190 44 | recreate_swapchain();191 | ^~~~~~~~~~~~~~~~~~~~192/build/source/wren/src/renderer.cpp:83:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]193 83 | recreate_swapchain();194 | ^~~~~~~~~~~~~~~~~~~~195/build/source/wren/src/renderer.cpp:118:9: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]196 118 | recreate_swapchain();197 | ^~~~~~~~~~~~~~~~~~~~198/build/source/wren/src/renderer.cpp:124:13: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]199 124 | n->render_pass->resize_target({w.width, w.height});200 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~201202[40/47][89.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_target.cpp203/build/source/wren/src/render_target.cpp:48:3: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]204 48 | target->transition_fn_(target.get());205 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~206/build/source/wren/src/render_target.cpp:103:3: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]207 103 | target->transition_fn_(target.get());208 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~209210[41/47][101.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/shader.cpp211[42/47][78.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/buffer.cpp212[43/47][78.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graph.cpp213[44/47][91.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/window.cpp214[45/47][81.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/deserialization.cpp215/build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]216 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS));217 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~218/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]219 23 | for (const auto& e : *table["entities"].as_array()) {220 | ^~~~~~~~~~~~221/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]222 26 | scene->create_entity(entity_table["name"].as_string()->get());223 | ^~~~~~~~224/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]225 45 | deserialize(*table["position"].as_table(), transform.position);226 | ^~~~~~~~~~~~227/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]228 46 | deserialize(*table["rotation"].as_table(), transform.rotation);229 | ^~~~~~~~~~~~230/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]231 47 | deserialize(*table["scale"].as_table(), transform.scale);232 | ^~~~~~~~~233/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]234 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());235 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~236/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]237 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());238 | ^~~~~~~~239/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]240 57 | vec.x(*table["x"].value<float>());241 | ^~~~~242/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]243 58 | vec.y(*table["y"].value<float>());244 | ^~~~~245/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]246 59 | vec.z(*table["z"].value<float>());247 | ^~~~~248249[46/47][58.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/ui.cpp250[47/47][45.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_pass.cpp251/build/source/wren/src/render_pass.cpp:111:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]252 111 | colour_target_->resize(ctx_, new_size);253 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~254/build/source/wren/src/render_pass.cpp:115:5: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]255 115 | depth_target_->resize(ctx_, new_size);256 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~257