lint-0.1.0
checks.x86_64-linux.lint
· build #47
· raw
unpackPhase
1unpacking source archive /nix/store/ri6ksgy8fzh8fzaivri28zhns5d3lzqk-source2source root is sourceconfigurePhase
3-- The C compiler identification is Clang 22.1.84-- The CXX compiler identification is Clang 22.1.85-- Detecting C compiler ABI info6-- Detecting C compiler ABI info - done7-- Check for working C compiler: /nix/store/aa0fqrgffl8ijza9mmx9apxy973215wz-clang-wrapper-22.1.8/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/aa0fqrgffl8ijza9mmx9apxy973215wz-clang-wrapper-22.1.8/bin/clang++ - skipped13-- Detecting CXX compile features14-- Detecting CXX compile features - done15-- Found Vulkan: /nix/store/la62431p5qf1ggr3rdzql9dksv5fhicc-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 Fontconfig: /nix/store/p3y4rk4gjnhs80339qq7jixjbhplqc16-fontconfig-2.18.3-lib/lib/libfontconfig.so (found version "2.18.3")20-- Found Freetype: /nix/store/zj7yb55h1zpmxmw6dp817n6y0370wji0-freetype-2.14.3/lib/libfreetype.so (found version "2.14.3")21-- Found PkgConfig: /nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")22-- Checking for module 'stb'23-- Found stb, version 124-- Configuring done (5.3s)25-- Generating done (0.3s)26-- Build files have been written to: /build/source/buildbuildPhase
27Running clang-tidy in 16 threads for 47 files out of 47 in compilation database ...28[ 1/47][6.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/src/geometry.cpp29[ 2/47][28.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/src/ray.cpp30[ 3/47][9.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string.cpp31[ 4/47][38.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/event.cpp32[ 5/47][47.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/vector.cpp33/build/source/wren_math/include/wren/math/format.hpp:11:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]34 11 | struct std::formatter<wren::math::Vec<T, N>, char> {35 | ^36/build/source/wren_math/include/wren/math/format.hpp:29:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]37 29 | struct std::formatter<wren::math::Mat<T, Rows, Cols>, char> {38 | ^3940[ 6/47][54.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_physics/tests/raycast.cpp41[ 7/47][57.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_text/src/font.cpp42/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]43 34 | FcPattern* pat = FcNameParse((FcChar8* const)(font.data()));44 | ^45/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]46/build/source/wren_text/src/font.cpp:43:43: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]47 43 | font_path = std::filesystem::path{reinterpret_cast<char*>(file)};48 | ^4950[ 8/47][3.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/string_reader.cpp51[ 9/47][62.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/filesystem_panel.cpp52[10/47][56.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_text/tests/font.cpp53[11/47][40.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/binary_reader.cpp54[12/47][64.4s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/assets/manager.cpp55[13/47][45.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/enums.cpp56/build/source/wren_utils/tests/enums.cpp:20:14: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]57 20 | BOOST_TEST(res.value() == TestEnums::Case1);58 | ^59/build/source/wren_utils/tests/enums.cpp:26:14: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]60 26 | BOOST_TEST(res.value() == TestEnums::Case2);61 | ^62/build/source/wren_utils/tests/enums.cpp:30:14: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]63 30 | BOOST_TEST(res.value() == TestEnums::Case1);64 | ^6566[14/47][126.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/image.cpp67[15/47][134.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/vulkan.cpp68[16/47][137.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/queue.cpp69[17/47][138.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/buffer.cpp70[18/47][140.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh_loader.cpp71/build/source/wren/src/mesh_loader.cpp:33:20: error: performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result,-warnings-as-errors]72 33 | vertices.reserve(triangles * 3);73 | ^74/build/source/wren/src/mesh_loader.cpp:33:20: note: make conversion explicit to silence this warning75 4 | vertices.reserve(triangles * 3);76 | ^~~~~~~~~~~~~77 | static_cast<size_type>( )78/build/source/wren/src/mesh_loader.cpp:33:20: note: perform multiplication in a wider type79 33 | vertices.reserve(triangles * 3);80 | ^~~~~~~~~81 | static_cast<size_type>( )8283[19/47][144.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_pass.cpp84[20/47][150.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_gui/src/instance.cpp85[21/47][155.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/inspector_panel.cpp86[22/47][36.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/tests/string_reader.cpp87[23/47][47.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/matrix.cpp88/build/source/wren_math/include/wren/math/format.hpp:11:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]89 11 | struct std::formatter<wren::math::Vec<T, N>, char> {90 | ^91/build/source/wren_math/include/wren/math/format.hpp:29:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]92 29 | struct std::formatter<wren::math::Mat<T, Rows, Cols>, char> {93 | ^94/build/source/wren_math/tests/matrix.cpp:21:21: error: performing an implicit widening conversion to type 'std::size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result,-warnings-as-errors]95 21 | std::array<float, 4 * 4> identity = {96 | ^97/build/source/wren_math/tests/matrix.cpp:21:21: note: make conversion explicit to silence this warning98 2 | std::array<float, 4 * 4> identity = {99 | ^~~~~100 | static_cast<std::size_t>( )101/build/source/wren_math/tests/matrix.cpp:21:21: note: perform multiplication in a wider type102 21 | std::array<float, 4 * 4> identity = {103 | ^104 | static_cast<long>( )105106[24/47][182.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/editor.cpp107[25/47][32.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/components/collider.cpp108[26/47][140.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/window.cpp109/build/source/wren/src/window.cpp:283:5: error: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case,-warnings-as-errors]110 283 | switch (event.type) {111 | ^112113[27/47][59.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_math/tests/geometry.cpp114/build/source/wren_math/include/wren/math/format.hpp:11:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]115 11 | struct std::formatter<wren::math::Vec<T, N>, char> {116 | ^117/build/source/wren_math/include/wren/math/format.hpp:29:13: error: modification of 'std' namespace can result in undefined behavior [bugprone-std-namespace-modification,-warnings-as-errors]118 29 | struct std::formatter<wren::math::Mat<T, Rows, Cols>, char> {119 | ^120121[28/47][138.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/shader.cpp122[29/47][147.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/texture.cpp123[30/47][34.1s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/scene_panel.cpp124[31/47][78.0s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/vulkan.cpp125[32/47][152.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/renderer.cpp126/build/source/wren/src/renderer.cpp:49:49: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]127 49 | render_targets_.at(kSwapchainRendertargetName.data())128 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~129/build/source/wren/src/renderer.cpp:197:59: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]130 197 | if (render_targets_.contains(kSwapchainRendertargetName.data())) {131 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~132/build/source/wren/src/renderer.cpp:291:60: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]133 291 | if (!render_targets_.contains(kSwapchainRendertargetName.data())) {134 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~135/build/source/wren/src/renderer.cpp:302:72: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]136 302 | const auto& target = render_targets_.at(kSwapchainRendertargetName.data());137 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~138139[33/47][12.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_vk/src/memory.cpp140[34/47][31.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/scene.cpp141[35/47][69.6s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren_utils/src/filesystem.cpp142[36/47][27.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/input.cpp143[37/47][163.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/serialization.cpp144[38/47][136.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/render_target.cpp145[39/47][108.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/application.cpp146[40/47][109.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graphics_context.cpp147[41/47][109.7s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/ui.cpp148/build/source/editor/src/ui.cpp:47:5: error: switch has 10 consecutive identical branches [bugprone-branch-clone,-warnings-as-errors]149 47 | case wren::KeyCode::KExclaim:150 | ^151/build/source/editor/src/ui.cpp:66:37: note: last of these clones ends here152 66 | return ImGuiKey::ImGuiKey_None; // FIXME153 | ^154/build/source/editor/src/ui.cpp:102:5: error: switch has 2 consecutive identical branches [bugprone-branch-clone,-warnings-as-errors]155 102 | case wren::KeyCode::KQuestion:156 | ^157/build/source/editor/src/ui.cpp:105:37: note: last of these clones ends here158 105 | return ImGuiKey::ImGuiKey_None; // FIXME159 | ^160/build/source/editor/src/ui.cpp:114:5: error: switch has 2 consecutive identical branches [bugprone-branch-clone,-warnings-as-errors]161 114 | case wren::KeyCode::KUnderscore:162 | ^163/build/source/editor/src/ui.cpp:117:37: note: last of these clones ends here164 117 | return ImGuiKey::ImGuiKey_None;165 | ^166/build/source/editor/src/ui.cpp:283:63: error: result of a `data()` call may not be null terminated, provide size information to the callee to prevent potential issues [bugprone-suspicious-stringview-data-usage,-warnings-as-errors]167 283 | [&io](const auto& e) { io.AddInputCharactersUTF8(e.text.data()); });168 | ~~~~~~~^~~~169170[42/47][71.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/mesh.cpp171[43/47][73.9s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/utils/device.cpp172[44/47][55.8s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/graph.cpp173[45/47][104.5s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/examples/nand/main.cpp174/build/source/examples/nand/main.cpp:62:29: error: performing an implicit widening conversion to type 'VkDeviceSize' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result,-warnings-as-errors]175 62 | VkDeviceSize image_size = tex_width * tex_height * tex_channels;176 | ^177/build/source/examples/nand/main.cpp:62:29: note: make conversion explicit to silence this warning178 1 | VkDeviceSize image_size = tex_width * tex_height * tex_channels;179 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~180 | static_cast<VkDeviceSize>( )181/build/source/examples/nand/main.cpp:62:29: note: perform multiplication in a wider type182 62 | VkDeviceSize image_size = tex_width * tex_height * tex_channels;183 | ^~~~~~~~~~~~~~~~~~~~~~184 | static_cast<long>( )185/build/source/examples/nand/main.cpp:146:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]186 146 | auto main() -> int {187 | ^188/build/source/examples/nand/main.cpp:64:5: note: frame #0: unhandled exception of type 'std::runtime_error' may be thrown in function 'initialize' here189 64 | throw std::runtime_error("Failed to load texture");190 | ^191/build/source/examples/nand/main.cpp:170:25: note: frame #1: function 'main' calls function 'initialize' here192 170 | const auto init_err = initialize(data);193 | ^194195[46/47][66.2s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/editor/src/main.cpp196/build/source/editor/src/main.cpp:14:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]197 14 | auto main(int argc, char** argv) -> int {198 | ^199/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/optional:128:5: note: frame #0: unhandled exception of type 'bad_optional_access' may be thrown in function '__throw_bad_optional_access' here200 128 | { _GLIBCXX_THROW_OR_ABORT(bad_optional_access()); }201 | ^202/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/x86_64-unknown-linux-gnu/bits/c++config.h:262:42: note: expanded from macro '_GLIBCXX_THROW_OR_ABORT'203 262 | # define _GLIBCXX_THROW_OR_ABORT(_EXC) (throw (_EXC))204 | ^205/nix/store/xpaz3fi6ibqxb9sla4gjlp0c82v566y8-gcc-16.2.0/include/c++/16.2.0/optional:1288:2: note: frame #1: function 'value' calls function '__throw_bad_optional_access' here206 1288 | __throw_bad_optional_access();207 | ^208/build/source/wren_utils/include/wren/logging/log.hpp:28:33: note: frame #2: function 'get_log_level' calls function 'value' here209 28 | if (level.has_value()) return level.value();210 | ^211/build/source/wren_utils/include/wren/logging/log.hpp:48:7: note: frame #3: function 'debug<>' calls function 'get_log_level' here212 48 | if (get_log_level() <= LogLevel::Debug) {213 | ^214/build/source/editor/src/main.cpp:22:3: note: frame #4: function 'main' calls function 'debug<>' here215 22 | wren::log::debug("launching editor");216 | ^217/build/source/editor/src/main.cpp:52:48: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]218 52 | const auto res = editor::Editor::create(app, project_path.value());219 | ^~~~~~~~~~~~220221[47/47][58.3s] /nix/store/cj3il9qsgnh2msf8lzvgp2bmmmz91ppq-clang-tools-22.1.8/bin/clang-tidy --use-color -p=build -quiet /build/source/wren/src/scene/deserialization.cpp222/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]223 23 | for (const auto& e : *table["entities"].as_array()) {224 | ^~~~~~~~~~~~225/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]226 26 | scene->create_entity(entity_table["name"].as_string()->get());227 | ^~~~~~~~228/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]229 45 | deserialize(*table["position"].as_table(), transform.position);230 | ^~~~~~~~~~~~231/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]232 46 | deserialize(*table["rotation"].as_table(), transform.rotation);233 | ^~~~~~~~~~~~234/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]235 47 | deserialize(*table["scale"].as_table(), transform.scale);236 | ^~~~~~~~~237/build/source/wren/src/scene/deserialization.cpp:53:3: error: ignoring return value of type 'expected<void, wren::Err>' declared with 'nodiscard' attribute [clang-diagnostic-unused-value,-warnings-as-errors]238 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());239 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~240/build/source/wren/src/scene/deserialization.cpp:53:3: error: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value,-warnings-as-errors]241 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());242 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~243/build/source/wren/src/scene/deserialization.cpp:53:44: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]244 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());245 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~246/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]247 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());248 | ^~~~~~~~249/build/source/wren/src/scene/deserialization.cpp:57:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]250 57 | vec.x(*table["x"].value<float>());251 | ^~~~~~~~~~~~~~~~~~~~~~~~~252/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]253 57 | vec.x(*table["x"].value<float>());254 | ^~~~~255/build/source/wren/src/scene/deserialization.cpp:58:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]256 58 | vec.y(*table["y"].value<float>());257 | ^~~~~~~~~~~~~~~~~~~~~~~~~258/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]259 58 | vec.y(*table["y"].value<float>());260 | ^~~~~261/build/source/wren/src/scene/deserialization.cpp:59:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]262 59 | vec.z(*table["z"].value<float>());263 | ^~~~~~~~~~~~~~~~~~~~~~~~~264/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]265 59 | vec.z(*table["z"].value<float>());266 | ^~~~~267