The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PalicoEngine, reference main (8d7a10), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 18:13:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/forkercat/PalicoEngine.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/forkercat/PalicoEngine
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8d7a105 Add play/pause buttons
Cloned https://github.com/forkercat/PalicoEngine.git
Revision (git rev-parse @):
8d7a1054f5b7a305e7fff6af7a83635bb5d3632a
SUCCESS checkout https://github.com/forkercat/PalicoEngine.git at main
Fetching https://github.com/forkercat/OhMyLog.git
[1/94] Fetching ohmylog
Fetched https://github.com/forkercat/OhMyLog.git from cache (0.63s)
Fetching https://github.com/forkercat/MathLib.git
[1/120] Fetching mathlib
Fetched https://github.com/forkercat/MathLib.git from cache (0.62s)
Fetching https://github.com/forkercat/MothECS.git
[1/71] Fetching mothecs
Fetched https://github.com/forkercat/MothECS.git from cache (0.58s)
Fetching https://github.com/forkercat/SwiftImGui.git
[1/1614] Fetching swiftimgui
Fetched https://github.com/forkercat/SwiftImGui.git from cache (1.45s)
Fetching https://github.com/forkercat/SwiftImGuizmo.git
[1/92] Fetching swiftimguizmo
Fetched https://github.com/forkercat/SwiftImGuizmo.git from cache (0.73s)
Creating working copy for https://github.com/forkercat/MothECS.git
Working copy of https://github.com/forkercat/MothECS.git resolved at main (f954455)
Creating working copy for https://github.com/forkercat/MathLib.git
Working copy of https://github.com/forkercat/MathLib.git resolved at main (439fa72)
Creating working copy for https://github.com/forkercat/OhMyLog.git
Working copy of https://github.com/forkercat/OhMyLog.git resolved at main (73a0a39)
Creating working copy for https://github.com/forkercat/SwiftImGui.git
Working copy of https://github.com/forkercat/SwiftImGui.git resolved at update-1.86-docking (336ee0c)
Creating working copy for https://github.com/forkercat/SwiftImGuizmo.git
Working copy of https://github.com/forkercat/SwiftImGuizmo.git resolved at master (b94f9e4)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "palicoengine",
      "name": "PalicoEngine",
      "url": "https://github.com/forkercat/PalicoEngine.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PalicoEngine",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "ohmylog",
          "name": "OhMyLog",
          "url": "https://github.com/forkercat/OhMyLog.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OhMyLog",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "mathlib",
          "name": "MathLib",
          "url": "https://github.com/forkercat/MathLib.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MathLib",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "mothecs",
          "name": "MothECS",
          "url": "https://github.com/forkercat/MothECS.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MothECS",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "swiftimgui",
          "name": "ImGui",
          "url": "https://github.com/forkercat/SwiftImGui.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftImGui",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "swiftimguizmo",
          "name": "ImGuizmo",
          "url": "https://github.com/forkercat/SwiftImGuizmo.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftImGuizmo",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swiftimgui",
              "name": "ImGui",
              "url": "https://github.com/forkercat/SwiftImGui.git",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftImGui",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/forkercat/PalicoEngine.git
[1/1132] Fetching palicoengine
Fetched https://github.com/forkercat/PalicoEngine.git from cache (1.36s)
Fetching https://github.com/forkercat/OhMyLog.git from cache
Fetched https://github.com/forkercat/OhMyLog.git from cache (0.46s)
Fetching https://github.com/forkercat/MathLib.git from cache
Fetched https://github.com/forkercat/MathLib.git from cache (0.43s)
Fetching https://github.com/forkercat/MothECS.git from cache
Fetched https://github.com/forkercat/MothECS.git from cache (0.44s)
Fetching https://github.com/forkercat/SwiftImGui.git from cache
Fetched https://github.com/forkercat/SwiftImGui.git from cache (0.41s)
Fetching https://github.com/forkercat/SwiftImGuizmo.git from cache
Fetched https://github.com/forkercat/SwiftImGuizmo.git from cache (0.44s)
Creating working copy for https://github.com/forkercat/SwiftImGui.git
Working copy of https://github.com/forkercat/SwiftImGui.git resolved at update-1.86-docking (ab27207)
Creating working copy for https://github.com/forkercat/MothECS.git
Working copy of https://github.com/forkercat/MothECS.git resolved at main (f954455)
Creating working copy for https://github.com/forkercat/MathLib.git
Working copy of https://github.com/forkercat/MathLib.git resolved at main (439fa72)
Creating working copy for https://github.com/forkercat/PalicoEngine.git
Working copy of https://github.com/forkercat/PalicoEngine.git resolved at main (8d7a105)
Creating working copy for https://github.com/forkercat/SwiftImGuizmo.git
Working copy of https://github.com/forkercat/SwiftImGuizmo.git resolved at master (b94f9e4)
Creating working copy for https://github.com/forkercat/OhMyLog.git
Working copy of https://github.com/forkercat/OhMyLog.git resolved at main (71e8260)
Found 5 product dependencies
  - OhMyLog
  - MathLib
  - MothECS
  - ImGui
  - ImGuizmo
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/forkercat/PalicoEngine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/30] Write sources
[4/30] Write Example-entitlement.plist
[4/30] Write sources
[4/30] Write Editor-entitlement.plist
[10/30] Copying Assets
[12/30] Write swift-version--6988338F2F200930.txt
[13/53] Compiling imgui_tables.cpp
[14/53] Compiling imgui_demo.cpp
[15/53] Compiling imgui_draw.cpp
[16/53] Compiling CImGui cimgui.cpp
[17/53] Compiling imgui_widgets.cpp
[19/53] Compiling MothECS Moth.swift
[20/53] Compiling MothECS Moth+Identifiers.swift
[21/53] Compiling MothECS Moth+Mask.swift
[22/53] Compiling MothECS Moth+Entity.swift
[23/53] Emitting module MothECS
[24/53] Compiling MothECS Moth+Component.swift
[24/53] Compiling imgui.cpp
[26/58] Compiling ImGui Helper.swift
[27/58] Compiling ImGui Export.swift
[28/58] Compiling ImGui ImGui+Definitions.swift
[29/58] Emitting module ImGui
[30/58] Compiling ImGui ImVec+Extensions.swift
[31/58] Compiling MathLib Vector+Int.swift
[32/58] Compiling MathLib Vector.swift
[32/58] Compiling CImGuizmo CImGuizmo.cpp
[33/58] Compiling CImGuizmo ImSequencer.cpp
[34/58] Compiling CImGuizmo ImGuizmo.cpp
[36/58] Emitting module MathLib
[37/58] Compiling MathLib Other.swift
[38/58] Compiling MathLib Quaternion.swift
[39/58] Compiling MathLib Matrix.swift
[39/58] Compiling CImGuizmo ImGradient.cpp
[40/58] Compiling CImGuizmo ImCurveEdit.cpp
[42/62] Compiling OhMyLog Logger+String.swift
[43/62] Compiling OhMyLog Log.swift
[44/62] Compiling OhMyLog Logger+Any.swift
[45/62] Compiling OhMyLog Log+String.swift
[46/62] Emitting module OhMyLog
[47/62] Compiling OhMyLog Log+Any.swift
[48/62] Compiling OhMyLog Logger.swift
[49/62] Compiling MathLib Scalar.swift
[50/62] Compiling MathLib Vector+Float.swift
[51/62] Compiling MathLib Functions.swift
[52/62] Compiling MathLib Constants.swift
[53/62] Compiling ImGuizmo ImGui+Definitions.swift
[54/62] Emitting module ImGuizmo
[55/62] Compiling ImGuizmo Helper.swift
[56/62] Compiling ImGuizmo Export.swift
[57/125] Compiling Palico Component.swift
[58/125] Compiling Palico GameObject.swift
[59/125] Compiling Palico Primitive.swift
[60/125] Compiling Palico Scene+Object.swift
[61/125] Compiling Palico Scene+View.swift
[62/125] Compiling Palico Scene.swift
[63/125] Compiling Palico Application.swift
[64/125] Compiling Palico Console.swift
[65/125] Compiling Palico Layer.swift
[66/125] Compiling Palico Log.swift
[67/125] Compiling Palico PlatformContext.swift
[68/125] Compiling Palico Time.swift
[69/125] Compiling Palico Window.swift
[70/131] Emitting module Palico
[71/131] Compiling Palico Camera.swift
[72/131] Compiling Palico Color.swift
[73/131] Compiling Palico EditorCamera.swift
[74/131] Compiling Palico Light.swift
[75/131] Compiling Palico Mesh.swift
[76/131] Compiling Palico MetalContext.swift
[77/131] Compiling Palico PipelineStatePool.swift
[78/131] Compiling Palico TextureUtils.swift
[79/131] Compiling Palico Component+Camera.swift
[80/131] Compiling Palico Component+Light.swift
[81/131] Compiling Palico Component+MeshRenderer.swift
[82/131] Compiling Palico Component+Script.swift
[83/131] Compiling Palico Component+Tag.swift
[84/131] Compiling Palico Component+Transform.swift
[85/131] Compiling Palico RenderPass+Action.swift
[86/131] Compiling Palico RenderPass.swift
[87/131] Compiling Palico RenderPassPool.swift
[88/131] Compiling Palico Renderer.swift
[89/131] Compiling Palico Shader.swift
[90/131] Compiling Palico ShaderDataBridge.swift
[91/131] Compiling Palico ShaderLibrary.swift
[92/131] Compiling Palico CocoaWindow+Event.swift
[93/131] Compiling Palico CocoaWindow+View.swift
[94/131] Compiling Palico CocoaWindow.swift
[95/131] Compiling Palico ViewController.swift
[96/131] Compiling Palico GlfwContext.swift
[97/131] Compiling Palico GlfwInput.swift
[98/131] Compiling Palico GlfwWindow.swift
[99/131] Compiling Palico ImGui+Extra.swift
[100/131] Compiling Palico ImGuiBackend+Cocoa.swift
[101/131] Compiling Palico ImGuiBackend+Metal.swift
[102/131] Compiling Palico ImGuiBackend.swift
[103/131] Compiling Palico ImGuiFontLibrary.swift
[104/131] Compiling Palico ImGuiLayer.swift
[105/131] Compiling Palico ImGuiTheme.swift
[106/131] Compiling Palico ImGuizmo+Enum.swift
[107/131] Compiling Palico Input.swift
[108/131] Compiling Palico KeyCode.swift
[109/131] Compiling Palico MouseCode.swift
[110/131] Compiling Palico CocoaContext.swift
[111/131] Compiling Palico CocoaInput.swift
[112/131] Compiling Palico CocoaWindow+Callback.swift
[113/131] Compiling Palico SceneCamera.swift
[114/131] Compiling Palico SceneLight.swift
[115/131] Compiling Palico NativeScript.swift
[116/131] Compiling Palico FAIconEnum.swift
[117/131] Compiling Palico FileUtils.swift
[118/131] Compiling Palico resource_bundle_accessor.swift
[119/131] Compiling Palico AppEvent.swift
[120/131] Compiling Palico Event.swift
[121/131] Compiling Palico KeyEvent.swift
[122/131] Compiling Palico MouseEvent.swift
[123/131] Compiling Palico imgui_impl_metal.swift
[124/131] Compiling Palico imgui_impl_osx.swift
[125/131] Compiling Palico imgui_shaders.swift
[126/149] Emitting module Example
[127/149] Compiling Example main.swift
[127/149] Write Objects.LinkFileList
[129/149] Compiling Editor main.swift
[130/150] Compiling Editor FileUtils.swift
[131/150] Compiling Editor RotateScript.swift
[132/150] Compiling Editor ConsolePanel.swift
[133/150] Compiling Editor DrawControls.swift
[134/150] Compiling Editor ScenePanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:177:22: error: cannot find 'atan2f' in scope
175 |         let c1 = normalize(mat.columns.1.xyz)
176 |         let c2 = normalize(mat.columns.2.xyz)
177 |         rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
    |                      `- error: cannot find 'atan2f' in scope
178 |         rotation.x = atan2f(c1.z, c2.z)
179 |         rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:177:36: error: cannot find 'sqrtf' in scope
175 |         let c1 = normalize(mat.columns.1.xyz)
176 |         let c2 = normalize(mat.columns.2.xyz)
177 |         rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
    |                                    `- error: cannot find 'sqrtf' in scope
178 |         rotation.x = atan2f(c1.z, c2.z)
179 |         rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:178:22: error: cannot find 'atan2f' in scope
176 |         let c2 = normalize(mat.columns.2.xyz)
177 |         rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 |         rotation.x = atan2f(c1.z, c2.z)
    |                      `- error: cannot find 'atan2f' in scope
179 |         rotation.z = atan2f(c0.y, c0.x)
180 |         /*
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:179:22: error: cannot find 'atan2f' in scope
177 |         rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 |         rotation.x = atan2f(c1.z, c2.z)
179 |         rotation.z = atan2f(c0.y, c0.x)
    |                      `- error: cannot find 'atan2f' in scope
180 |         /*
181 |         if cosf(rotation.y) != 0 {
[135/150] Compiling Editor ViewportPanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:177:22: error: cannot find 'atan2f' in scope
175 |         let c1 = normalize(mat.columns.1.xyz)
176 |         let c2 = normalize(mat.columns.2.xyz)
177 |         rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
    |                      `- error: cannot find 'atan2f' in scope
178 |         rotation.x = atan2f(c1.z, c2.z)
179 |         rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:177:36: error: cannot find 'sqrtf' in scope
175 |         let c1 = normalize(mat.columns.1.xyz)
176 |         let c2 = normalize(mat.columns.2.xyz)
177 |         rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
    |                                    `- error: cannot find 'sqrtf' in scope
178 |         rotation.x = atan2f(c1.z, c2.z)
179 |         rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:178:22: error: cannot find 'atan2f' in scope
176 |         let c2 = normalize(mat.columns.2.xyz)
177 |         rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 |         rotation.x = atan2f(c1.z, c2.z)
    |                      `- error: cannot find 'atan2f' in scope
179 |         rotation.z = atan2f(c0.y, c0.x)
180 |         /*
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:179:22: error: cannot find 'atan2f' in scope
177 |         rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 |         rotation.x = atan2f(c1.z, c2.z)
179 |         rotation.z = atan2f(c0.y, c0.x)
    |                      `- error: cannot find 'atan2f' in scope
180 |         /*
181 |         if cosf(rotation.y) != 0 {
[136/150] Compiling Editor resource_bundle_accessor.swift
[137/150] Compiling Editor Editor.swift
[138/150] Compiling Editor EditorLayer.swift
[139/150] Compiling Editor ImGuiDemoPanel.swift
[140/150] Compiling Editor Panel.swift
[141/150] Compiling Editor Log.swift
[142/150] Compiling Editor AssetPanel.swift
[143/150] Emitting module Editor
[144/150] Compiling Editor ScenePanel+Hierarchy.swift
[145/150] Compiling Editor ScenePanel+Inspector.swift
[145/150] Linking Example
BUILD FAILURE 6.3 macosSpm