lint-0.1.0
checks.x86_64-linux.lint
· build #93
· raw
unpackPhase
1unpacking source archive /nix/store/j09d0day4i5mnpq14kjxcywmn9i8mg22-source2source root is sourceconfigurePhase
3-- The C compiler identification is Clang 23.1.34-- The CXX compiler identification is Clang 23.1.35-- Detecting C compiler ABI info6-- Detecting C compiler ABI info - done7-- Check for working C compiler: /nix/store/ndf0k0qh6w4nma0swzbh1ffpzsxm4758-clang-wrapper-23.1.3/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/ndf0k0qh6w4nma0swzbh1ffpzsxm4758-clang-wrapper-23.1.3/bin/clang++ - skipped13-- Detecting CXX compile features14-- Detecting CXX compile features - done15-- Found Vulkan: /nix/store/1l0a4cq8ahhpgwx0byq2zcsi316mlzm1-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 PkgConfig: /nix/store/mhq8zg6nwlv2fjhqac0ikvl9f541irp3-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")20-- Checking for module 'stb'21-- Found stb, version 122-- Configuring done (2.9s)23-- Generating done (0.2s)24-- Build files have been written to: /build/source/buildbuildPhase
25Running clang-tidy in 16 threads for 20 files out of 20 in compilation database ...26[ 1/20][3.5s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string_reader.cpp27[ 2/20][16.5s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/memory.cpp28[ 3/20][7.6s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/src/geometry.cpp29[ 4/20][8.8s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string.cpp30[ 5/20][36.5s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/input.cpp31[ 6/20][36.6s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/string_reader.cpp32[ 7/20][37.5s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/binary_reader.cpp33[ 8/20][39.9s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/matrix.cpp34[ 9/20][41.0s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/enums.cpp35[10/20][41.7s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/vector.cpp36[11/20][44.0s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/geometry.cpp37[12/20][48.3s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/filesystem.cpp38[13/20][65.8s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/vulkan.cpp39[14/20][74.1s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/image.cpp40[15/20][75.7s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/linux/graphics_context.cpp41[16/20][75.9s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/buffer.cpp42[17/20][76.7s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_platform/src/linux/window.cpp43[18/20][77.5s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/application.cpp44[19/20][76.4s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/shader.cpp45[20/20][48.1s] /nix/store/nkihwk8n90q5qxn377wb3pzkpprszgm3-clang-tools-23.1.3/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_target.cpp46/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]47 21 | struct Graph {48 | ^49 22 | auto begin() { return nodes.begin(); }50 23 | auto end() { return nodes.end(); }51 24 | 52 25 | [[nodiscard]] auto node_by_name(const std::string& name) const -> node_t {53 26 | const auto node = std::ranges::find_if(54 27 | nodes, [name](const node_t& node) { return name == node->name; });55 28 | if (node != nodes.end()) return *node;56 29 | 57 30 | return nullptr;58 31 | }59 32 | 60 33 | std::vector<node_t> nodes;61 | 62 | {}63 34 | std::vector<edge_t> edges;64 | 65 | {}66/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]67 39 | explicit GraphBuilder(const std::shared_ptr<Context>& ctx) : ctx_(ctx) {}68 | ^69/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]70 20 | Pipeline(std::string name, const std::shared_ptr<vk::Shader>& shader)71 | ^72 21 | : name_(std::move(name)), shader_(shader) {}73 22 | 74 23 | std::string name_;75 24 | 76 25 | std::shared_ptr<vk::Shader> shader_;77 | 78 | {}79/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]80 26 | explicit PassResources(std::string target_prefix)81 | ^82/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]83 52 | auto has_colour_target() const { return colour_target_; }84 | ^85 | [[nodiscard]] 86/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]87 53 | auto has_depth_target() const { return depth_target_; }88 | ^89 | [[nodiscard]] 90/build/source/wren/include/wren/render_pass.hpp:55:3: error: function 'target_prefix' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]91 55 | auto target_prefix() const { return target_prefix_; }92 | ^93 | [[nodiscard]] 94/build/source/wren/include/wren/render_pass.hpp:93:3: error: function 'output_size' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]95 93 | auto output_size() const { return size_; }96 | ^97 | [[nodiscard]] 98/build/source/wren/include/wren/render_target.hpp:9:10: error: 'wren/vk/image.hpp' file not found [clang-diagnostic-error]99 9 | #include <wren/vk/image.hpp>100 | ^~~~~~~~~~~~~~~~~~~101/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]102 61 | RenderTarget(math::Vec2i size, ::vk::SampleCountFlagBits sample_count,103 | ^104/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]105 75 | class Dispatcher {106 | ^107 76 | public:108 77 | template <typename T>109 78 | void dispatch(T&& value) const;110 79 | template <typename T>111 80 | void on(std::function<void(const T& t)> cb);112 81 | 113 82 | private:114 83 | std::unordered_map<size_t, std::vector<std::function<void(void*)>>> handlers_;115 | 116 | {}117/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]118 23 | class GraphicsContext {119 | ^120/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]121 10 | class Input {122 | ^123 11 | public:124 12 | void initialize(event::Dispatcher& dispatcher);125 13 | 126 14 | [[nodiscard]] auto is_pressed(KeyCode key) const -> bool;127 15 | [[nodiscard]] auto is_pressed_down(KeyCode key) const -> bool;128 16 | 129 17 | auto end_frame() { pressed_down_.clear(); }130 18 | 131 19 | private:132 20 | std::unordered_map<KeyCode, bool> pressed_;133 | 134 | {}135 21 | std::unordered_map<KeyCode, bool> pressed_down_;136 | 137 | {}138Error while processing /build/source/wren/src/render_target.cpp.139