setup
checks.x86_64-linux.lint
· build #47
· raw
1warning: unknown setting 'eval-cores'2warning: unknown setting 'lazy-trees'3this derivation will be built:4 /nix/store/25syx2zs34qzy4j4cr2xjwab0di3lff5-lint-0.1.0.drv5error: Cannot build '/nix/store/25syx2zs34qzy4j4cr2xjwab0di3lff5-lint-0.1.0.drv'.6 Reason: builder failed with exit code 1.7 Output paths:8 /nix/store/8bj8bvmvm2fadrjvixypvv48g5wpyn96-lint-0.1.09 Last 25 log lines:10 > /build/source/wren/src/scene/deserialization.cpp:53:44: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]11 > 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());12 > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~13 > /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]14 > 53 | mesh_renderer.update_mesh(project_root, *table["path"].value<std::string>());15 > | ^~~~~~~~16 > /build/source/wren/src/scene/deserialization.cpp:57:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]17 > 57 | vec.x(*table["x"].value<float>());18 > | ^~~~~~~~~~~~~~~~~~~~~~~~~19 > /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]20 > 57 | vec.x(*table["x"].value<float>());21 > | ^~~~~22 > /build/source/wren/src/scene/deserialization.cpp:58:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]23 > 58 | vec.y(*table["y"].value<float>());24 > | ^~~~~~~~~~~~~~~~~~~~~~~~~25 > /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]26 > 58 | vec.y(*table["y"].value<float>());27 > | ^~~~~28 > /build/source/wren/src/scene/deserialization.cpp:59:10: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]29 > 59 | vec.z(*table["z"].value<float>());30 > | ^~~~~~~~~~~~~~~~~~~~~~~~~31 > /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]32 > 59 | vec.z(*table["z"].value<float>());33 > | ^~~~~34 > 35 For full logs, run:36 nix log /nix/store/25syx2zs34qzy4j4cr2xjwab0di3lff5-lint-0.1.0.drv