Build Information
Failed to build PalicoEngine, reference main (8d7a10
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 07:38:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/forkercat/PalicoEngine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/30] Write sources
[2/30] Write Example-entitlement.plist
[6/30] Write sources
[6/30] Write Editor-entitlement.plist
[6/30] Write sources
[10/30] Copying Assets
[12/30] Write swift-version-1EA4D86E10B52AF.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] Emitting module MothECS
[21/53] Compiling MothECS Moth+Entity.swift
[22/53] Compiling MothECS Moth+Identifiers.swift
[23/53] Compiling MothECS Moth+Component.swift
[24/53] Compiling MothECS Moth+Mask.swift
[24/53] Compiling imgui.cpp
[26/58] Compiling ImGui ImVec+Extensions.swift
[27/58] Compiling ImGui Helper.swift
[28/58] Compiling ImGui Export.swift
[29/58] Emitting module ImGui
[30/58] Emitting module MathLib
[31/58] Compiling ImGui ImGui+Definitions.swift
[31/58] Compiling CImGuizmo CImGuizmo.cpp
[33/58] Compiling MathLib Vector.swift
[34/58] Compiling MathLib Vector+Int.swift
[34/58] Compiling CImGuizmo ImSequencer.cpp
[35/58] Compiling CImGuizmo ImGuizmo.cpp
[37/58] Compiling MathLib Quaternion.swift
[38/58] Compiling MathLib Other.swift
[39/58] Compiling MathLib Matrix.swift
[40/58] Emitting module OhMyLog
[40/58] Compiling CImGuizmo ImCurveEdit.cpp
[41/58] Compiling CImGuizmo ImGradient.cpp
[43/58] Compiling MathLib Vector+Float.swift
[44/58] Compiling MathLib Scalar.swift
[45/58] Compiling OhMyLog Log.swift
[46/58] Compiling OhMyLog Logger+String.swift
[47/58] Compiling OhMyLog Logger+Any.swift
[48/58] Compiling OhMyLog Log+String.swift
[49/58] Compiling OhMyLog Log+Any.swift
[50/58] Compiling OhMyLog Logger.swift
[51/58] Compiling MathLib Constants.swift
[52/58] Compiling MathLib Functions.swift
[53/62] Compiling ImGuizmo ImGui+Definitions.swift
[54/62] Compiling ImGuizmo Export.swift
[55/62] Emitting module ImGuizmo
[56/62] Compiling ImGuizmo Helper.swift
[57/125] Compiling Palico Application.swift
[58/125] Compiling Palico Console.swift
[59/125] Compiling Palico Layer.swift
[60/125] Compiling Palico Log.swift
[61/125] Compiling Palico PlatformContext.swift
[62/125] Compiling Palico Time.swift
[63/125] Compiling Palico Window.swift
[64/131] Emitting module Palico
[65/131] Compiling Palico Component.swift
[66/131] Compiling Palico GameObject.swift
[67/131] Compiling Palico Primitive.swift
[68/131] Compiling Palico Scene+Object.swift
[69/131] Compiling Palico Scene+View.swift
[70/131] Compiling Palico Scene.swift
[71/131] Compiling Palico ImGui+Extra.swift
[72/131] Compiling Palico ImGuiBackend+Cocoa.swift
[73/131] Compiling Palico ImGuiBackend+Metal.swift
[74/131] Compiling Palico ImGuiBackend.swift
[75/131] Compiling Palico ImGuiFontLibrary.swift
[76/131] Compiling Palico ImGuiLayer.swift
[77/131] Compiling Palico ImGuiTheme.swift
[78/131] Compiling Palico Camera.swift
[79/131] Compiling Palico Color.swift
[80/131] Compiling Palico EditorCamera.swift
[81/131] Compiling Palico Light.swift
[82/131] Compiling Palico Mesh.swift
[83/131] Compiling Palico MetalContext.swift
[84/131] Compiling Palico PipelineStatePool.swift
[85/131] Compiling Palico CocoaWindow+Event.swift
[86/131] Compiling Palico CocoaWindow+View.swift
[87/131] Compiling Palico CocoaWindow.swift
[88/131] Compiling Palico ViewController.swift
[89/131] Compiling Palico GlfwContext.swift
[90/131] Compiling Palico GlfwInput.swift
[91/131] Compiling Palico GlfwWindow.swift
[92/131] Compiling Palico RenderPass+Action.swift
[93/131] Compiling Palico RenderPass.swift
[94/131] Compiling Palico RenderPassPool.swift
[95/131] Compiling Palico Renderer.swift
[96/131] Compiling Palico Shader.swift
[97/131] Compiling Palico ShaderDataBridge.swift
[98/131] Compiling Palico ShaderLibrary.swift
[99/131] Compiling Palico SceneCamera.swift
[100/131] Compiling Palico SceneLight.swift
[101/131] Compiling Palico NativeScript.swift
[102/131] Compiling Palico FAIconEnum.swift
[103/131] Compiling Palico FileUtils.swift
[104/131] Compiling Palico resource_bundle_accessor.swift
[105/131] Compiling Palico TextureUtils.swift
[106/131] Compiling Palico Component+Camera.swift
[107/131] Compiling Palico Component+Light.swift
[108/131] Compiling Palico Component+MeshRenderer.swift
[109/131] Compiling Palico Component+Script.swift
[110/131] Compiling Palico Component+Tag.swift
[111/131] Compiling Palico Component+Transform.swift
[112/131] Compiling Palico AppEvent.swift
[113/131] Compiling Palico Event.swift
[114/131] Compiling Palico KeyEvent.swift
[115/131] Compiling Palico MouseEvent.swift
[116/131] Compiling Palico imgui_impl_metal.swift
[117/131] Compiling Palico imgui_impl_osx.swift
[118/131] Compiling Palico imgui_shaders.swift
[119/131] Compiling Palico ImGuizmo+Enum.swift
[120/131] Compiling Palico Input.swift
[121/131] Compiling Palico KeyCode.swift
[122/131] Compiling Palico MouseCode.swift
[123/131] Compiling Palico CocoaContext.swift
[124/131] Compiling Palico CocoaInput.swift
[125/131] Compiling Palico CocoaWindow+Callback.swift
[126/149] Compiling Example main.swift
[127/149] Emitting module Example
[127/149] Write Objects.LinkFileList
[129/149] Emitting module Editor
[130/150] Compiling Editor resource_bundle_accessor.swift
[131/150] Compiling Editor FileUtils.swift
[132/150] Compiling Editor ImGuiDemoPanel.swift
[133/150] Compiling Editor Panel.swift
[134/150] Compiling Editor main.swift
[135/150] Compiling Editor RotateScript.swift
[136/150] Compiling Editor Log.swift
[137/150] Compiling Editor AssetPanel.swift
[138/150] Compiling Editor ConsolePanel.swift
[139/150] Compiling Editor DrawControls.swift
[140/150] Compiling Editor Editor.swift
[141/150] Compiling Editor EditorLayer.swift
[142/150] Compiling Editor ScenePanel+Hierarchy.swift
[143/150] Compiling Editor ScenePanel+Inspector.swift
[144/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 {
[145/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 {
[145/150] Linking Example
Fetching https://github.com/forkercat/OhMyLog.git
[1/94] Fetching ohmylog
Fetched https://github.com/forkercat/OhMyLog.git from cache (0.62s)
Fetching https://github.com/forkercat/MathLib.git
[1/120] Fetching mathlib
Fetched https://github.com/forkercat/MathLib.git from cache (0.66s)
Fetching https://github.com/forkercat/MothECS.git
[1/71] Fetching mothecs
Fetched https://github.com/forkercat/MothECS.git from cache (0.61s)
Fetching https://github.com/forkercat/SwiftImGui.git
[1/1614] Fetching swiftimgui
Fetched https://github.com/forkercat/SwiftImGui.git from cache (1.37s)
Fetching https://github.com/forkercat/SwiftImGuizmo.git
[1/92] Fetching swiftimguizmo
Fetched https://github.com/forkercat/SwiftImGuizmo.git from cache (0.71s)
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/OhMyLog.git
Working copy of https://github.com/forkercat/OhMyLog.git resolved at main (71e8260)
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/MathLib.git
Working copy of https://github.com/forkercat/MathLib.git resolved at main (439fa72)
Creating working copy for https://github.com/forkercat/SwiftImGuizmo.git
Working copy of https://github.com/forkercat/SwiftImGuizmo.git resolved at master (b94f9e4)
BUILD FAILURE 6.2 macosSpm