warning: unknown setting 'eval-cores' warning: unknown setting 'lazy-trees' this derivation will be built: /nix/store/5gyy6vzr8f584daql79ivphn8bpjiv1f-lint-0.1.0.drv building '/nix/store/5gyy6vzr8f584daql79ivphn8bpjiv1f-lint-0.1.0.drv' lint-0.1.0> Running phase: unpackPhase lint-0.1.0> unpacking source archive /nix/store/yh6z9qazza5nrc1l45cjdiy365mkszc5-source lint-0.1.0> source root is source lint-0.1.0> Running phase: patchPhase lint-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase lint-0.1.0> Running phase: configurePhase lint-0.1.0> -- The C compiler identification is Clang 22.1.8 lint-0.1.0> -- The CXX compiler identification is Clang 22.1.8 lint-0.1.0> -- Detecting C compiler ABI info lint-0.1.0> -- Detecting C compiler ABI info - done lint-0.1.0> -- Check for working C compiler: /nix/store/aa0fqrgffl8ijza9mmx9apxy973215wz-clang-wrapper-22.1.8/bin/clang - skipped lint-0.1.0> -- Detecting C compile features lint-0.1.0> -- Detecting C compile features - done lint-0.1.0> -- Detecting CXX compiler ABI info lint-0.1.0> -- Detecting CXX compiler ABI info - done lint-0.1.0> -- Check for working CXX compiler: /nix/store/aa0fqrgffl8ijza9mmx9apxy973215wz-clang-wrapper-22.1.8/bin/clang++ - skipped lint-0.1.0> -- Detecting CXX compile features lint-0.1.0> -- Detecting CXX compile features - done lint-0.1.0> -- Found Vulkan: /nix/store/la62431p5qf1ggr3rdzql9dksv5fhicc-vulkan-loader-1.4.363.0/lib/libvulkan.so (found version "1.4.363") missing components: glslc glslangValidator lint-0.1.0> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD lint-0.1.0> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success lint-0.1.0> -- Found Threads: TRUE lint-0.1.0> -- Found Fontconfig: /nix/store/p3y4rk4gjnhs80339qq7jixjbhplqc16-fontconfig-2.18.3-lib/lib/libfontconfig.so (found version "2.18.3") lint-0.1.0> -- Found Freetype: /nix/store/zj7yb55h1zpmxmw6dp817n6y0370wji0-freetype-2.14.3/lib/libfreetype.so (found version "2.14.3") lint-0.1.0> -- Found PkgConfig: /nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") lint-0.1.0> -- Checking for module 'stb' lint-0.1.0> -- Found stb, version 1 lint-0.1.0> -- Configuring done (5.2s) lint-0.1.0> -- Generating done (0.3s) lint-0.1.0> -- Build files have been written to: /build/source/build lint-0.1.0> Running phase: buildPhase lint-0.1.0> Running clang-tidy in 16 threads for 47 files out of 47 in compilation database ... lint-0.1.0> [ 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 lint-0.1.0> [ 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 lint-0.1.0> [ 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 lint-0.1.0> [ 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 lint-0.1.0> [ 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 lint-0.1.0> [ 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 lint-0.1.0> [ 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 lint-0.1.0> [ 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 lint-0.1.0> [ 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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 34 | FcPattern* pat = FcNameParse((FcChar8* const)(font.data())); lint-0.1.0> | ^ lint-0.1.0> /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] lint-0.1.0> /build/source/wren_text/src/font.cpp:43:43: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors] lint-0.1.0> 43 | font_path = std::filesystem::path{reinterpret_cast(file)}; lint-0.1.0> | ^ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 48 | target->transition_fn_(target.get()); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 103 | target->transition_fn_(target.get()); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 29 | staging_buffer->set_data_raw(data); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 35 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(), lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> 36 | device.command_pool(), staging_buffer, lint-0.1.0> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> 37 | vertex_buffer_, data.size_bytes()); lint-0.1.0> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 50 | staging_buffer->set_data_raw(data); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 56 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(), lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> 57 | device.command_pool(), staging_buffer, lint-0.1.0> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> 58 | index_buffer_, data.size_bytes()); lint-0.1.0> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 69 | uniform_buffer_->set_data_raw(&ubo, size); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /build/source/wren/src/utils/vulkan.cpp:46:3: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors] lint-0.1.0> 46 | LOAD_VULKAN_PFN(pfnVkCmdPushConstants, vkCmdPushConstants); lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/src/utils/vulkan.cpp:39:11: note: expanded from macro 'LOAD_VULKAN_PFN' lint-0.1.0> 39 | out = reinterpret_cast(instance.getProcAddr(#fn_name)); \ lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/src/utils/vulkan.cpp:47:3: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors] lint-0.1.0> 47 | LOAD_VULKAN_PFN(pfnVkCreateDebugUtilsMessengerEXT, lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/src/utils/vulkan.cpp:39:11: note: expanded from macro 'LOAD_VULKAN_PFN' lint-0.1.0> 39 | out = reinterpret_cast(instance.getProcAddr(#fn_name)); \ lint-0.1.0> | ^ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 44 | recreate_swapchain(); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 83 | recreate_swapchain(); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 118 | recreate_swapchain(); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 124 | n->render_pass->resize_target({w.width, w.height}); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 156 | buffer->set_data_raw(&data, sizeof(T)); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /build/source/examples/nand/main.cpp:112:24: note: in instantiation of function template specialization 'wren::RenderPass::write_scratch_buffer' requested here lint-0.1.0> 112 | pass.write_scratch_buffer(cmd, 0, 0, ubo); lint-0.1.0> | ^ lint-0.1.0> /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] lint-0.1.0> 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 111 | colour_target_->resize(ctx_, new_size); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 115 | depth_target_->resize(ctx_, new_size); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 23 | for (const auto& e : *table["entities"].as_array()) { lint-0.1.0> | ^~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 26 | scene->create_entity(entity_table["name"].as_string()->get()); lint-0.1.0> | ^~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 45 | deserialize(*table["position"].as_table(), transform.position); lint-0.1.0> | ^~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 46 | deserialize(*table["rotation"].as_table(), transform.rotation); lint-0.1.0> | ^~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 47 | deserialize(*table["scale"].as_table(), transform.scale); lint-0.1.0> | ^~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 53 | mesh_renderer.update_mesh(project_root, *table["path"].value()); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 53 | mesh_renderer.update_mesh(project_root, *table["path"].value()); lint-0.1.0> | ^~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 57 | vec.x(*table["x"].value()); lint-0.1.0> | ^~~~~ lint-0.1.0> /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] lint-0.1.0> 58 | vec.y(*table["y"].value()); lint-0.1.0> | ^~~~~ lint-0.1.0> /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] lint-0.1.0> 59 | vec.z(*table["z"].value()); lint-0.1.0> | ^~~~~ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 100 | staging_buffer->set_data_raw(data); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 106 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(), lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> 107 | device.command_pool(), staging_buffer, lint-0.1.0> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> 108 | vertex_buffer_, data.size_bytes()); lint-0.1.0> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 119 | staging_buffer->set_data_raw(data); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 125 | vk::Buffer::copy_buffer(device.get(), device.get_graphics_queue(), lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> 126 | device.command_pool(), staging_buffer, lint-0.1.0> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> 127 | index_buffer_, data.size_bytes()); lint-0.1.0> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 29 | editor->load_scene(); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 51 | editor::ui::init(app->context()); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 65 | editor->dset_[0] = lint-0.1.0> | ^~~ lint-0.1.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] lint-0.1.0> 87 | mesh_pass->resize_target(scene_resized_.value()); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 94 | ImGui_ImplVulkan_RemoveTexture(dset_[0]); lint-0.1.0> | ^~~ lint-0.1.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] lint-0.1.0> 95 | dset_[0] = ImGui_ImplVulkan_AddTexture( lint-0.1.0> | ^~~ lint-0.1.0> /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] lint-0.1.0> 129 | wren::scene::serialize(scene_, file); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 186 | ImGui::Image(dset_[0], {static_cast(last_scene_size_.x()), lint-0.1.0> | ^~~ lint-0.1.0> /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] lint-0.1.0> 207 | wren::scene::deserialize(editor_context_.project_path, "scene.wren", scene_); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 77 | mesh_renderer.update_mesh(ctx.project_path, new_file); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> /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] lint-0.1.0> 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> [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 lint-0.1.0> /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] lint-0.1.0> 41 | ubo_->set_data_raw(&ubo, sizeof(LOCALS)); lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> error: Cannot build '/nix/store/5gyy6vzr8f584daql79ivphn8bpjiv1f-lint-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/m795b8d6vnygqz2j2kw42m9ddvq5y5ai-lint-0.1.0 Last 25 log lines: > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > [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)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > For full logs, run: nix log /nix/store/5gyy6vzr8f584daql79ivphn8bpjiv1f-lint-0.1.0.drv