warning: unknown setting 'eval-cores' warning: unknown setting 'lazy-trees' this derivation will be built: /nix/store/sb7bfdl91md7w9fm0wah4rq2y9jrc2n1-lint-0.1.0.drv building '/nix/store/sb7bfdl91md7w9fm0wah4rq2y9jrc2n1-lint-0.1.0.drv' lint-0.1.0> Running phase: unpackPhase lint-0.1.0> unpacking source archive /nix/store/95y29irhrvwzhym8q63rrw6pab0snvwr-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> -- Configuring done (5.1s) 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 20 files out of 20 in compilation database ... lint-0.1.0> [ 1/20][7.5s] /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> [ 2/20][9.0s] /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> [ 3/20][18.0s] /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> [ 4/20][3.9s] /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> [ 5/20][39.1s] /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> [ 6/20][39.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/input.cpp lint-0.1.0> [ 7/20][41.2s] /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> [ 8/20][46.5s] /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> [ 9/20][46.6s] /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> [10/20][48.2s] /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> [11/20][48.5s] /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> [12/20][58.0s] /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> [13/20][81.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> [14/20][91.4s] /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> /build/source/wren/include/wren/graph.hpp:21:8: error: constructor does not initialize these fields: nodes, edges [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] lint-0.1.0> 21 | struct Graph { lint-0.1.0> | ^ lint-0.1.0> 22 | auto begin() { return nodes.begin(); } lint-0.1.0> 23 | auto end() { return nodes.end(); } lint-0.1.0> 24 | lint-0.1.0> 25 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t { lint-0.1.0> 26 | const auto node = std::ranges::find_if( lint-0.1.0> 27 | nodes, [name](const node_t& node) { return name == node->name; }); lint-0.1.0> 28 | if (node != nodes.end()) return *node; lint-0.1.0> 29 | lint-0.1.0> 30 | return nullptr; lint-0.1.0> 31 | } lint-0.1.0> 32 | lint-0.1.0> 33 | std::vector nodes; lint-0.1.0> | lint-0.1.0> | {} lint-0.1.0> 34 | std::vector edges; lint-0.1.0> | lint-0.1.0> | {} lint-0.1.0> /build/source/wren/include/wren/graph.hpp:39:3: error: constructor does not initialize these fields: passes_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] lint-0.1.0> 39 | explicit GraphBuilder(const std::shared_ptr& ctx) : ctx_(ctx) {} lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/include/wren/pipeline.hpp:20:3: error: constructor does not initialize these fields: shader_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] lint-0.1.0> 20 | Pipeline(std::string name, const std::shared_ptr& shader) lint-0.1.0> | ^ lint-0.1.0> 21 | : name_(std::move(name)), shader_(shader) {} lint-0.1.0> 22 | lint-0.1.0> 23 | std::string name_; lint-0.1.0> 24 | lint-0.1.0> 25 | std::shared_ptr shader_; lint-0.1.0> | lint-0.1.0> | {} lint-0.1.0> /build/source/wren/include/wren/render_pass.hpp:26:3: error: constructor does not initialize these fields: shaders_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] lint-0.1.0> 26 | explicit PassResources(std::string target_prefix) lint-0.1.0> | ^ lint-0.1.0> /build/source/wren/include/wren/render_pass.hpp:52:3: error: function 'has_colour_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] lint-0.1.0> 52 | auto has_colour_target() const { return colour_target_; } lint-0.1.0> | ^ lint-0.1.0> | [[nodiscard]] lint-0.1.0> /build/source/wren/include/wren/render_pass.hpp:53:3: error: function 'has_depth_target' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] lint-0.1.0> 53 | auto has_depth_target() const { return depth_target_; } lint-0.1.0> | ^ lint-0.1.0> | [[nodiscard]] lint-0.1.0> /build/source/wren/include/wren/render_pass.hpp:55:3: error: function 'target_prefix' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] lint-0.1.0> 55 | auto target_prefix() const { return target_prefix_; } lint-0.1.0> | ^ lint-0.1.0> | [[nodiscard]] lint-0.1.0> /build/source/wren/include/wren/render_pass.hpp:93:3: error: function 'output_size' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] lint-0.1.0> 93 | auto output_size() const { return size_; } lint-0.1.0> | ^ lint-0.1.0> | [[nodiscard]] lint-0.1.0> /build/source/wren/include/wren/render_target.hpp:9:10: error: 'wren/vk/image.hpp' file not found [clang-diagnostic-error] lint-0.1.0> 9 | #include lint-0.1.0> | ^~~~~~~~~~~~~~~~~~~ lint-0.1.0> /build/source/wren/include/wren/render_target.hpp:61:3: error: constructor does not initialize these fields: transition_fn_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] lint-0.1.0> 61 | RenderTarget(math::Vec2i size, ::vk::SampleCountFlagBits sample_count, lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_platform/include/wren/platform/event.hpp:75:7: error: constructor does not initialize these fields: handlers_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] lint-0.1.0> 75 | class Dispatcher { lint-0.1.0> | ^ lint-0.1.0> 76 | public: lint-0.1.0> 77 | template lint-0.1.0> 78 | void dispatch(T&& value) const; lint-0.1.0> 79 | template lint-0.1.0> 80 | void on(std::function cb); lint-0.1.0> 81 | lint-0.1.0> 82 | private: lint-0.1.0> 83 | std::unordered_map>> handlers_; lint-0.1.0> | lint-0.1.0> | {} lint-0.1.0> /build/source/wren_platform/include/wren/platform/graphics_context.hpp:23:7: error: constructor does not initialize these fields: impl_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] lint-0.1.0> 23 | class GraphicsContext { lint-0.1.0> | ^ lint-0.1.0> /build/source/wren_platform/include/wren/platform/input.hpp:10:7: error: constructor does not initialize these fields: pressed_, pressed_down_ [cppcoreguidelines-pro-type-member-init,-warnings-as-errors] lint-0.1.0> 10 | class Input { lint-0.1.0> | ^ lint-0.1.0> 11 | public: lint-0.1.0> 12 | void initialize(event::Dispatcher& dispatcher); lint-0.1.0> 13 | lint-0.1.0> 14 | [[nodiscard]] auto is_pressed(KeyCode key) const -> bool; lint-0.1.0> 15 | [[nodiscard]] auto is_pressed_down(KeyCode key) const -> bool; lint-0.1.0> 16 | lint-0.1.0> 17 | auto end_frame() { pressed_down_.clear(); } lint-0.1.0> 18 | lint-0.1.0> 19 | private: lint-0.1.0> 20 | std::unordered_map pressed_; lint-0.1.0> | lint-0.1.0> | {} lint-0.1.0> 21 | std::unordered_map pressed_down_; lint-0.1.0> | lint-0.1.0> | {} lint-0.1.0> Error while processing /build/source/wren/src/render_target.cpp. lint-0.1.0> lint-0.1.0> [15/20][94.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> [16/20][96.0s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/linux/window.cpp lint-0.1.0> [17/20][97.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> [18/20][99.0s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/linux/graphics_context.cpp lint-0.1.0> [19/20][87.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> [20/20][82.8s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/application.cpp error: Cannot build '/nix/store/sb7bfdl91md7w9fm0wah4rq2y9jrc2n1-lint-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/hc8qzflwi659hfbd17i1zm57k0qinnnx-lint-0.1.0 Last 25 log lines: > 10 | class Input { > | ^ > 11 | public: > 12 | void initialize(event::Dispatcher& dispatcher); > 13 | > 14 | [[nodiscard]] auto is_pressed(KeyCode key) const -> bool; > 15 | [[nodiscard]] auto is_pressed_down(KeyCode key) const -> bool; > 16 | > 17 | auto end_frame() { pressed_down_.clear(); } > 18 | > 19 | private: > 20 | std::unordered_map pressed_; > | > | {} > 21 | std::unordered_map pressed_down_; > | > | {} > Error while processing /build/source/wren/src/render_target.cpp. > > [15/20][94.7s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/buffer.cpp > [16/20][96.0s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/linux/window.cpp > [17/20][97.2s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/image.cpp > [18/20][99.0s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/linux/graphics_context.cpp > [19/20][87.4s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/shader.cpp > [20/20][82.8s] /nix/store/065b08l7x6wkfl80si3yyjcjk87ivmya-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/application.cpp For full logs, run: nix log /nix/store/sb7bfdl91md7w9fm0wah4rq2y9jrc2n1-lint-0.1.0.drv