The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PalicoEngine, reference main (8d7a10), with Swift 6.1 for Wasm on 28 May 2025 04:13:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/forkercat/PalicoEngine.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/forkercat/PalicoEngine.git
https://github.com/forkercat/PalicoEngine.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "ohmylog",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/forkercat/OhMyLog.git"
    },
    {
      "identity" : "mathlib",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/forkercat/MathLib.git"
    },
    {
      "identity" : "mothecs",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/forkercat/MothECS.git"
    },
    {
      "identity" : "swiftimgui",
      "requirement" : {
        "branch" : [
          "update-1.86-docking"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/forkercat/SwiftImGui.git"
    },
    {
      "identity" : "swiftimguizmo",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/forkercat/SwiftImGuizmo.git"
    }
  ],
  "manifest_display_name" : "PalicoEngine",
  "name" : "PalicoEngine",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "Palico",
      "targets" : [
        "Palico"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Editor",
      "targets" : [
        "Editor"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Palico",
      "module_type" : "SwiftTarget",
      "name" : "Palico",
      "path" : "Sources/Palico",
      "product_dependencies" : [
        "OhMyLog",
        "MathLib",
        "MothECS",
        "ImGui",
        "ImGuizmo"
      ],
      "product_memberships" : [
        "Palico",
        "Editor",
        "Example"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Palico/Assets",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Core/Application.swift",
        "Core/Console.swift",
        "Core/Layer.swift",
        "Core/Log.swift",
        "Core/PlatformContext.swift",
        "Core/Time.swift",
        "Core/Window.swift",
        "Event/AppEvent.swift",
        "Event/Event.swift",
        "Event/KeyEvent.swift",
        "Event/MouseEvent.swift",
        "ImGui/Backends/imgui_impl_metal.swift",
        "ImGui/Backends/imgui_impl_osx.swift",
        "ImGui/Backends/imgui_shaders.swift",
        "ImGui/ImGui+Extra.swift",
        "ImGui/ImGuiBackend+Cocoa.swift",
        "ImGui/ImGuiBackend+Metal.swift",
        "ImGui/ImGuiBackend.swift",
        "ImGui/ImGuiFontLibrary.swift",
        "ImGui/ImGuiLayer.swift",
        "ImGui/ImGuiTheme.swift",
        "ImGui/ImGuizmo+Enum.swift",
        "Input/Input.swift",
        "Input/KeyCode.swift",
        "Input/MouseCode.swift",
        "Platform/Cocoa/CocoaContext.swift",
        "Platform/Cocoa/CocoaInput.swift",
        "Platform/Cocoa/CocoaWindow+Callback.swift",
        "Platform/Cocoa/CocoaWindow+Event.swift",
        "Platform/Cocoa/CocoaWindow+View.swift",
        "Platform/Cocoa/CocoaWindow.swift",
        "Platform/Cocoa/ViewController.swift",
        "Platform/GLFW/GlfwContext.swift",
        "Platform/GLFW/GlfwInput.swift",
        "Platform/GLFW/GlfwWindow.swift",
        "Renderer/Camera.swift",
        "Renderer/Color.swift",
        "Renderer/EditorCamera.swift",
        "Renderer/Light.swift",
        "Renderer/Mesh.swift",
        "Renderer/MetalContext.swift",
        "Renderer/PipelineStatePool.swift",
        "Renderer/RenderPass+Action.swift",
        "Renderer/RenderPass.swift",
        "Renderer/RenderPassPool.swift",
        "Renderer/Renderer.swift",
        "Renderer/Shader.swift",
        "Renderer/ShaderDataBridge.swift",
        "Renderer/ShaderLibrary.swift",
        "Renderer/TextureUtils.swift",
        "Scene/Component+Camera.swift",
        "Scene/Component+Light.swift",
        "Scene/Component+MeshRenderer.swift",
        "Scene/Component+Script.swift",
        "Scene/Component+Tag.swift",
        "Scene/Component+Transform.swift",
        "Scene/Component.swift",
        "Scene/GameObject.swift",
        "Scene/Primitive.swift",
        "Scene/Scene+Object.swift",
        "Scene/Scene+View.swift",
        "Scene/Scene.swift",
        "Scene/SceneCamera.swift",
        "Scene/SceneLight.swift",
        "Script/NativeScript.swift",
        "Utils/FAIconEnum.swift",
        "Utils/FileUtils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_dependencies" : [
        "OhMyLog",
        "MathLib",
        "MothECS",
        "ImGui",
        "ImGuizmo"
      ],
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Palico"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Editor",
      "module_type" : "SwiftTarget",
      "name" : "Editor",
      "path" : "Sources/Editor",
      "product_dependencies" : [
        "OhMyLog",
        "MathLib",
        "MothECS",
        "ImGui",
        "ImGuizmo"
      ],
      "product_memberships" : [
        "Editor"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Editor/Assets",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Editor.swift",
        "EditorLayer.swift",
        "Log.swift",
        "Panels/AssetPanel.swift",
        "Panels/ConsolePanel.swift",
        "Panels/DrawControls.swift",
        "Panels/ImGuiDemoPanel.swift",
        "Panels/Panel.swift",
        "Panels/ScenePanel+Hierarchy.swift",
        "Panels/ScenePanel+Inspector.swift",
        "Panels/ScenePanel.swift",
        "Panels/ViewportPanel.swift",
        "Scripts/RotateScript.swift",
        "Utils/FileUtils.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Palico"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/forkercat/OhMyLog.git
[1/94] Fetching ohmylog
Fetched https://github.com/forkercat/OhMyLog.git from cache (0.39s)
Fetching https://github.com/forkercat/MathLib.git
[1/120] Fetching mathlib
Fetched https://github.com/forkercat/MathLib.git from cache (0.34s)
Fetching https://github.com/forkercat/MothECS.git
[1/71] Fetching mothecs
Fetched https://github.com/forkercat/MothECS.git from cache (0.26s)
Fetching https://github.com/forkercat/SwiftImGui.git
[1/1614] Fetching swiftimgui
Fetched https://github.com/forkercat/SwiftImGui.git from cache (1.28s)
Fetching https://github.com/forkercat/SwiftImGuizmo.git
[1/92] Fetching swiftimguizmo
Fetched https://github.com/forkercat/SwiftImGuizmo.git from cache (0.90s)
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/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 (71e8260)
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/SwiftImGui.git
Working copy of https://github.com/forkercat/SwiftImGui.git resolved at update-1.86-docking (ab27207)
Building for debugging...
[0/34] Write sources
[8/34] Copying Assets
[10/34] Write swift-version-24593BA9C3E375BF.txt
[11/47] Compiling imgui_demo.cpp
[12/47] Compiling imgui_tables.cpp
[13/47] Compiling imgui_widgets.cpp
[14/56] Compiling imgui_draw.cpp
[15/56] Compiling CImGui cimgui.cpp
[16/56] Compiling imgui.cpp
[18/56] Compiling MothECS Moth+Entity.swift
[19/56] Compiling MathLib Scalar.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[20/56] Compiling MathLib Quaternion.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[21/57] Compiling MathLib Vector+Int.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[22/57] Emitting module MothECS
[23/57] Compiling MothECS Moth+Identifiers.swift
[24/57] Compiling MothECS Moth+Component.swift
[25/62] Compiling MathLib Other.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[26/62] Compiling MothECS Moth+Mask.swift
[27/62] Compiling MothECS Moth.swift
[29/63] Compiling MathLib Vector.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[30/63] Compiling ImGui ImVec+Extensions.swift
[30/63] Wrapping AST for MothECS for debugging
[32/63] Compiling MathLib Matrix.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[33/63] Compiling MathLib Vector+Float.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/63] Emitting module MathLib
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[35/63] Compiling MathLib Constants.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[36/63] Compiling MathLib Functions.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/18] Write swift-version-24593BA9C3E375BF.txt
[2/45] Compiling MothECS Moth+Identifiers.swift
[3/45] Compiling MathLib Scalar.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[4/46] Compiling MathLib Quaternion.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[5/46] Compiling MathLib Matrix.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[6/46] Compiling MathLib Other.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[7/46] Compiling MathLib Vector+Int.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[8/46] Compiling MathLib Vector+Float.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/46] Emitting module MathLib
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[10/46] Compiling MathLib Constants.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[11/46] Compiling MathLib Functions.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[12/46] Compiling ImGui ImVec+Extensions.swift
[13/46] Compiling OhMyLog Logger+String.swift
[14/46] Compiling OhMyLog Logger+Any.swift
[15/46] Compiling OhMyLog Log.swift
[16/46] Compiling OhMyLog Log+String.swift
[17/46] Compiling OhMyLog Logger.swift
[18/46] Emitting module OhMyLog
[19/46] Compiling OhMyLog Log+Any.swift
[20/47] Compiling MathLib Vector.swift
/host/spi-builder-workspace/.build/checkouts/MathLib/Sources/MathLib/Functions.swift:8:8: error: no such module 'simd'
  6 | //
  7 |
  8 | import simd
    |        `- error: no such module 'simd'
  9 | import Foundation
 10 |
[22/47] Compiling MothECS Moth+Mask.swift
[23/47] Compiling MothECS Moth+Entity.swift
[24/47] Compiling MothECS Moth+Component.swift
[25/47] Emitting module MothECS
[26/47] Compiling MothECS Moth.swift
[27/48] Wrapping AST for OhMyLog for debugging
[28/48] Compiling ImGui Export.swift
BUILD FAILURE 6.1 wasm