Running phase: unpackPhase unpacking source archive /nix/store/yh6z9qazza5nrc1l45cjdiy365mkszc5-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase -- The C compiler identification is Clang 22.1.8 -- The CXX compiler identification is Clang 22.1.8 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/aa0fqrgffl8ijza9mmx9apxy973215wz-clang-wrapper-22.1.8/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/aa0fqrgffl8ijza9mmx9apxy973215wz-clang-wrapper-22.1.8/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Vulkan: /nix/store/la62431p5qf1ggr3rdzql9dksv5fhicc-vulkan-loader-1.4.363.0/lib/libvulkan.so (found version "1.4.363") missing components: glslc glslangValidator -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found Fontconfig: /nix/store/p3y4rk4gjnhs80339qq7jixjbhplqc16-fontconfig-2.18.3-lib/lib/libfontconfig.so (found version "2.18.3") -- Found Freetype: /nix/store/zj7yb55h1zpmxmw6dp817n6y0370wji0-freetype-2.14.3/lib/libfreetype.so (found version "2.14.3") -- Found PkgConfig: /nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") -- Checking for module 'stb' -- Found stb, version 1 -- Configuring done (5.2s) -- Generating done (0.3s) -- Build files have been written to: /build/source/build Running phase: buildPhase Running clang-tidy in 16 threads for 47 files out of 47 in compilation database ... [ 1/47][6.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/src/geometry.cpp [ 2/47][18.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/src/ray.cpp [ 3/47][36.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/event.cpp [ 4/47][39.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/binary_reader.cpp [ 5/47][48.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_text/tests/font.cpp [ 6/47][50.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/vector.cpp [ 7/47][13.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string.cpp [ 8/47][54.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/geometry.cpp [ 9/47][17.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/memory.cpp [10/47][83.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/image.cpp [11/47][48.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_text/src/font.cpp /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] 34 | FcPattern* pat = FcNameParse((FcChar8* const)(font.data())); | ^ /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] /build/source/wren_text/src/font.cpp:43:43: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors] 43 | font_path = std::filesystem::path{reinterpret_cast(file)}; | ^ [12/47][42.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/input.cpp [13/47][107.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/device.cpp [14/47][28.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/scene_panel.cpp [15/47][125.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_target.cpp /build/source/wren/src/render_target.cpp:48:3: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 48 | target->transition_fn_(target.get()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren/src/render_target.cpp:103:3: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 103 | target->transition_fn_(target.get()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [16/47][128.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graphics_context.cpp [17/47][130.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graph.cpp [18/47][133.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh.cpp /build/source/wren/src/mesh.cpp:29:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 29 | staging_buffer->set_data_raw(data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren/src/mesh.cpp:35:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 35 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 | device.command_pool(), staging_buffer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | vertex_buffer_, data.size_bytes()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren/src/mesh.cpp:50:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 50 | staging_buffer->set_data_raw(data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren/src/mesh.cpp:56:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 56 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 57 | device.command_pool(), staging_buffer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | index_buffer_, data.size_bytes()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren/src/mesh.cpp:69:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 69 | uniform_buffer_->set_data_raw(&ubo, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [19/47][136.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh_loader.cpp [20/47][89.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/vulkan.cpp [21/47][140.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/shader.cpp [22/47][149.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/vulkan.cpp /build/source/wren/src/utils/vulkan.cpp:46:3: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors] 46 | LOAD_VULKAN_PFN(pfnVkCmdPushConstants, vkCmdPushConstants); | ^ /build/source/wren/src/utils/vulkan.cpp:39:11: note: expanded from macro 'LOAD_VULKAN_PFN' 39 | out = reinterpret_cast(instance.getProcAddr(#fn_name)); \ | ^ /build/source/wren/src/utils/vulkan.cpp:47:3: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors] 47 | LOAD_VULKAN_PFN(pfnVkCreateDebugUtilsMessengerEXT, | ^ /build/source/wren/src/utils/vulkan.cpp:39:11: note: expanded from macro 'LOAD_VULKAN_PFN' 39 | out = reinterpret_cast(instance.getProcAddr(#fn_name)); \ | ^ [23/47][23.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/components/collider.cpp [24/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.cpp [25/47][157.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/renderer.cpp /build/source/wren/src/renderer.cpp:44:7: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 44 | recreate_swapchain(); | ^~~~~~~~~~~~~~~~~~~~ /build/source/wren/src/renderer.cpp:83:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 83 | recreate_swapchain(); | ^~~~~~~~~~~~~~~~~~~~ /build/source/wren/src/renderer.cpp:118:9: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 118 | recreate_swapchain(); | ^~~~~~~~~~~~~~~~~~~~ /build/source/wren/src/renderer.cpp:124:13: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 124 | n->render_pass->resize_target({w.width, w.height}); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [26/47][26.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/scene.cpp [27/47][147.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/examples/nand/main.cpp /build/source/wren/include/wren/render_pass.hpp:156:3: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 156 | buffer->set_data_raw(&data, sizeof(T)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/examples/nand/main.cpp:112:24: note: in instantiation of function template specialization 'wren::RenderPass::write_scratch_buffer' requested here 112 | pass.write_scratch_buffer(cmd, 0, 0, ubo); | ^ /build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [28/47][36.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/string_reader.cpp [29/47][46.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/assets/manager.cpp [30/47][43.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/enums.cpp [31/47][47.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/tests/raycast.cpp [32/47][45.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/filesystem_panel.cpp [33/47][40.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/filesystem.cpp [34/47][155.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_pass.cpp /build/source/wren/src/render_pass.cpp:111:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 111 | colour_target_->resize(ctx_, new_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren/src/render_pass.cpp:115:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 115 | depth_target_->resize(ctx_, new_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [35/47][44.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/matrix.cpp [36/47][155.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/deserialization.cpp /build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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] 23 | for (const auto& e : *table["entities"].as_array()) { | ^~~~~~~~~~~~ /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] 26 | scene->create_entity(entity_table["name"].as_string()->get()); | ^~~~~~~~ /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] 45 | deserialize(*table["position"].as_table(), transform.position); | ^~~~~~~~~~~~ /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] 46 | deserialize(*table["rotation"].as_table(), transform.rotation); | ^~~~~~~~~~~~ /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] 47 | deserialize(*table["scale"].as_table(), transform.scale); | ^~~~~~~~~ /build/source/wren/src/scene/deserialization.cpp:53:3: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 53 | mesh_renderer.update_mesh(project_root, *table["path"].value()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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] 53 | mesh_renderer.update_mesh(project_root, *table["path"].value()); | ^~~~~~~~ /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] 57 | vec.x(*table["x"].value()); | ^~~~~ /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] 58 | vec.y(*table["y"].value()); | ^~~~~ /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] 59 | vec.z(*table["z"].value()); | ^~~~~ [37/47][145.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/ui.cpp [38/47][106.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_gui/src/instance.cpp /build/source/wren_gui/src/instance.cpp:100:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 100 | staging_buffer->set_data_raw(data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren_gui/src/instance.cpp:106:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 106 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | device.command_pool(), staging_buffer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | vertex_buffer_, data.size_bytes()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren_gui/src/instance.cpp:119:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 119 | staging_buffer->set_data_raw(data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren_gui/src/instance.cpp:125:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 125 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | device.command_pool(), staging_buffer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | index_buffer_, data.size_bytes()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [39/47][155.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/editor.cpp /build/source/editor/src/editor.cpp:29:3: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 29 | editor->load_scene(); | ^~~~~~~~~~~~~~~~~~~~ /build/source/editor/src/editor.cpp:51:3: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 51 | editor::ui::init(app->context()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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] 65 | editor->dset_[0] = | ^~~ /build/source/editor/src/editor.cpp:87:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 87 | mesh_pass->resize_target(scene_resized_.value()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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] 94 | ImGui_ImplVulkan_RemoveTexture(dset_[0]); | ^~~ /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] 95 | dset_[0] = ImGui_ImplVulkan_AddTexture( | ^~~ /build/source/editor/src/editor.cpp:129:9: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 129 | wren::scene::serialize(scene_, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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] 186 | ImGui::Image(dset_[0], {static_cast(last_scene_size_.x()), | ^~~ /build/source/editor/src/editor.cpp:207:3: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 207 | wren::scene::deserialize(editor_context_.project_path, "scene.wren", scene_); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [40/47][83.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/queue.cpp [41/47][73.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/texture.cpp [42/47][106.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/inspector_panel.cpp /build/source/editor/src/inspector_panel.cpp:77:7: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 77 | mesh_renderer.update_mesh(ctx.project_path, new_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [43/47][96.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/application.cpp [44/47][132.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/main.cpp /build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [45/47][59.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/buffer.cpp [46/47][84.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/window.cpp [47/47][84.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/serialization.cpp /build/source/wren/include/wren/scene/components/mesh.hpp:41:5: error: ignoring return value of type 'expected' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors] 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~