warning: unknown setting 'eval-cores' warning: unknown setting 'lazy-trees' this derivation will be built: /nix/store/2j6rq5vjdd5lg6jh0iq273dg0y53v3gs-lint-0.1.0.drv building '/nix/store/2j6rq5vjdd5lg6jh0iq273dg0y53v3gs-lint-0.1.0.drv' lint-0.1.0> Running phase: unpackPhase lint-0.1.0> unpacking source archive /nix/store/3z33z607k8h7w32iz74zg105fm6wn4v2-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 23.1.3 lint-0.1.0> -- The CXX compiler identification is Clang 23.1.3 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/q5hx5j4n0c1nyxaxfgd1dzca3r3q3c25-clang-wrapper-23.1.3/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/q5hx5j4n0c1nyxaxfgd1dzca3r3q3c25-clang-wrapper-23.1.3/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 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> -- 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> -- 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 46 files out of 46 in compilation database ... lint-0.1.0> [ 1/46][26.8s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/scene.cpp lint-0.1.0> [ 2/46][27.4s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/components/collider.cpp lint-0.1.0> [ 3/46][34.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/event.cpp lint-0.1.0> [ 4/46][38.6s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/enums.cpp lint-0.1.0> [ 5/46][41.4s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/matrix.cpp lint-0.1.0> [ 6/46][42.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/vector.cpp lint-0.1.0> [ 7/46][7.1s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/src/geometry.cpp lint-0.1.0> [ 8/46][51.1s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/filesystem.cpp lint-0.1.0> [ 9/46][118.6s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/queue.cpp lint-0.1.0> /build/source/wren/src/utils/queue.cpp:46:70: error: missing field 'present_index' initializer [clang-diagnostic-missing-designated-field-initializers,-warnings-as-errors] lint-0.1.0> 46 | return QueueFamilyIndices{.graphics_index = graphics_family.value()}; lint-0.1.0> | ^ lint-0.1.0> lint-0.1.0> [10/46][126.2s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/image.cpp lint-0.1.0> [11/46][127.9s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/texture.cpp lint-0.1.0> [12/46][133.4s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh_loader.cpp lint-0.1.0> [13/46][141.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/application.cpp lint-0.1.0> [14/46][146.4s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/inspector_panel.cpp lint-0.1.0> [15/46][147.0s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_text/src/font.cpp lint-0.1.0> [16/46][149.5s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/ui.cpp lint-0.1.0> /build/source/editor/src/ui.cpp:252:3: error: use of a signed integer operand with a binary bitwise operator [bugprone-signed-bitwise,-warnings-as-errors] lint-0.1.0> 252 | io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; lint-0.1.0> | ^~~~~~~~~~~~~~ ~~ lint-0.1.0> lint-0.1.0> [17/46][8.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string.cpp lint-0.1.0> [18/46][135.8s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/assets/manager.cpp lint-0.1.0> [19/46][37.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/string_reader.cpp lint-0.1.0> [20/46][47.9s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/tests/raycast.cpp lint-0.1.0> [21/46][173.6s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/editor.cpp lint-0.1.0> /build/source/editor/src/editor.cpp:111:7: error: use of a signed integer operand with a binary bitwise operator [bugprone-signed-bitwise,-warnings-as-errors] lint-0.1.0> 111 | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoCollapse | lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> 112 | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | lint-0.1.0> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lint-0.1.0> 113 | ImGuiWindowFlags_NoBringToFrontOnFocus | ImGuiWindowFlags_NoNavFocus | lint-0.1.0> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ lint-0.1.0> /build/source/editor/src/editor.cpp:141:7: error: use of a signed integer operand with a binary bitwise operator [bugprone-signed-bitwise,-warnings-as-errors] lint-0.1.0> 141 | if (io.ConfigFlags & ImGuiConfigFlags_DockingEnable) { lint-0.1.0> | ^~~~~~~~~~~~~~ ~ lint-0.1.0> /build/source/editor/src/editor.cpp:151:33: error: use of a signed integer operand with a binary bitwise operator [bugprone-signed-bitwise,-warnings-as-errors] lint-0.1.0> 151 | dockspace_flags | ImGuiDockNodeFlags_DockSpace); lint-0.1.0> | ^~~~~~~~~~~~~~~ ~ lint-0.1.0> /build/source/editor/src/editor.hpp:32:3: error: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [cppcoreguidelines-explicit-constructor,-warnings-as-errors] lint-0.1.0> 32 | Editor(const std::shared_ptr& ctx); lint-0.1.0> | ^ lint-0.1.0> | explicit lint-0.1.0> lint-0.1.0> [22/46][132.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_pass.cpp lint-0.1.0> [23/46][128.5s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graphics_context.cpp lint-0.1.0> [24/46][151.8s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/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:168:55: error: use of a signed integer operand with a binary bitwise operator [bugprone-signed-bitwise,-warnings-as-errors] lint-0.1.0> 168 | pen_x += static_cast(character->advance >> 6); lint-0.1.0> | ~~ ^ lint-0.1.0> lint-0.1.0> [25/46][14.4s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/memory.cpp lint-0.1.0> [26/46][143.8s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_target.cpp lint-0.1.0> [27/46][36.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/binary_reader.cpp lint-0.1.0> [28/46][3.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string_reader.cpp lint-0.1.0> [29/46][151.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/renderer.cpp lint-0.1.0> [30/46][139.4s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/shader.cpp lint-0.1.0> [31/46][37.0s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/input.cpp lint-0.1.0> [32/46][27.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/src/ray.cpp lint-0.1.0> [33/46][27.8s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/scene_panel.cpp lint-0.1.0> [34/46][43.2s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/geometry.cpp lint-0.1.0> [35/46][104.2s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/vulkan.cpp lint-0.1.0> [36/46][72.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/vulkan.cpp lint-0.1.0> [37/46][119.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graph.cpp lint-0.1.0> [38/46][104.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/buffer.cpp lint-0.1.0> [39/46][96.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/device.cpp lint-0.1.0> [40/46][134.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/main.cpp lint-0.1.0> /build/source/editor/src/editor.hpp:32:3: error: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [cppcoreguidelines-explicit-constructor,-warnings-as-errors] lint-0.1.0> 32 | Editor(const std::shared_ptr& ctx); lint-0.1.0> | ^ lint-0.1.0> | explicit lint-0.1.0> lint-0.1.0> [41/46][88.9s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/filesystem_panel.cpp lint-0.1.0> /build/source/editor/src/filesystem_panel.cpp:17:31: error: use of a signed integer operand with a binary bitwise operator [bugprone-signed-bitwise,-warnings-as-errors] lint-0.1.0> 17 | if (!file.is_directory()) flags |= ImGuiTreeNodeFlags_Leaf; lint-0.1.0> | ^~~~~ ~~ lint-0.1.0> lint-0.1.0> [42/46][110.6s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/deserialization.cpp lint-0.1.0> [43/46][78.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh.cpp lint-0.1.0> [44/46][83.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/window.cpp lint-0.1.0> [45/46][96.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/examples/nand/main.cpp lint-0.1.0> [46/46][92.9s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/serialization.cpp error: Cannot build '/nix/store/2j6rq5vjdd5lg6jh0iq273dg0y53v3gs-lint-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/v48pzwcqwj0a29jfvmi18jcksnfzf7zy-lint-0.1.0 Last 25 log lines: > [31/46][37.0s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/input.cpp > [32/46][27.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/src/ray.cpp > [33/46][27.8s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/scene_panel.cpp > [34/46][43.2s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/geometry.cpp > [35/46][104.2s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/vulkan.cpp > [36/46][72.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/vulkan.cpp > [37/46][119.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graph.cpp > [38/46][104.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/buffer.cpp > [39/46][96.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/device.cpp > [40/46][134.3s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/main.cpp > /build/source/editor/src/editor.hpp:32:3: error: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [cppcoreguidelines-explicit-constructor,-warnings-as-errors] > 32 | Editor(const std::shared_ptr& ctx); > | ^ > | explicit > > [41/46][88.9s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/filesystem_panel.cpp > /build/source/editor/src/filesystem_panel.cpp:17:31: error: use of a signed integer operand with a binary bitwise operator [bugprone-signed-bitwise,-warnings-as-errors] > 17 | if (!file.is_directory()) flags |= ImGuiTreeNodeFlags_Leaf; > | ^~~~~ ~~ > > [42/46][110.6s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/deserialization.cpp > [43/46][78.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh.cpp > [44/46][83.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/window.cpp > [45/46][96.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/examples/nand/main.cpp > [46/46][92.9s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/serialization.cpp For full logs, run: nix log /nix/store/2j6rq5vjdd5lg6jh0iq273dg0y53v3gs-lint-0.1.0.drv