The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Iris, reference main (570ee9), with Swift 6.3 for Wasm on 14 Aug 2026 13:46:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Chandram-Dutta/Iris.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/Chandram-Dutta/Iris
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 570ee91 Add audio system with Sound and Music APIs
Cloned https://github.com/Chandram-Dutta/Iris.git
Revision (git rev-parse @):
570ee918d0a3056c1f23b3a3d3965a7df20a568e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Chandram-Dutta/Iris.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Chandram-Dutta/Iris.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3807] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.68s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.88s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/22] Copying Resources
[3/22] Write sources
[8/22] Write swift-version-24593BA9C3E375BF.txt
[10/43] Emitting module Iris
[11/45] Compiling Iris MetalView.swift
[12/45] Compiling Iris Renderer.swift
[13/45] Compiling Iris CollisionDetection.swift
[14/45] Compiling Iris ConvexHull.swift
[15/45] Compiling Iris Hitbox.swift
[16/45] Compiling Iris AudioBackend.swift
[17/45] Compiling Iris Music.swift
[18/45] Compiling Iris Sound.swift
[19/45] Compiling Iris GlyphAtlas.swift
[20/45] Compiling Iris Graphics.swift
[21/45] Compiling Iris Image.swift
[22/45] Compiling Iris MacApp.swift
[23/45] Compiling Iris MacWindow.swift
[24/45] Compiling Iris WindowConfig.swift
[25/45] Compiling Iris DrawCommand.swift
[26/45] Compiling Iris Font.swift
[27/45] Compiling Iris PixelMask.swift
/host/spi-builder-workspace/Sources/Iris/Core/Engine.swift:61:20: error: cannot find 'DispatchTime' in scope
 59 |         self.game = game
 60 |         isRunning = true
 61 |         lastTime = DispatchTime.now().uptimeNanoseconds
    |                    `- error: cannot find 'DispatchTime' in scope
 62 |     }
 63 |
/host/spi-builder-workspace/Sources/Iris/Core/Engine.swift:68:27: error: cannot find 'DispatchTime' in scope
 66 |         guard isRunning, let game = game else { return }
 67 |
 68 |         let currentTime = DispatchTime.now().uptimeNanoseconds
    |                           `- error: cannot find 'DispatchTime' in scope
 69 |         var deltaTime = Double(currentTime - lastTime) / 1_000_000_000.0
 70 |         lastTime = currentTime
[28/45] Compiling Iris Engine.swift
/host/spi-builder-workspace/Sources/Iris/Core/Engine.swift:61:20: error: cannot find 'DispatchTime' in scope
 59 |         self.game = game
 60 |         isRunning = true
 61 |         lastTime = DispatchTime.now().uptimeNanoseconds
    |                    `- error: cannot find 'DispatchTime' in scope
 62 |     }
 63 |
/host/spi-builder-workspace/Sources/Iris/Core/Engine.swift:68:27: error: cannot find 'DispatchTime' in scope
 66 |         guard isRunning, let game = game else { return }
 67 |
 68 |         let currentTime = DispatchTime.now().uptimeNanoseconds
    |                           `- error: cannot find 'DispatchTime' in scope
 69 |         var deltaTime = Double(currentTime - lastTime) / 1_000_000_000.0
 70 |         lastTime = currentTime
[29/45] Compiling Iris Game.swift
/host/spi-builder-workspace/Sources/Iris/Core/Engine.swift:61:20: error: cannot find 'DispatchTime' in scope
 59 |         self.game = game
 60 |         isRunning = true
 61 |         lastTime = DispatchTime.now().uptimeNanoseconds
    |                    `- error: cannot find 'DispatchTime' in scope
 62 |     }
 63 |
/host/spi-builder-workspace/Sources/Iris/Core/Engine.swift:68:27: error: cannot find 'DispatchTime' in scope
 66 |         guard isRunning, let game = game else { return }
 67 |
 68 |         let currentTime = DispatchTime.now().uptimeNanoseconds
    |                           `- error: cannot find 'DispatchTime' in scope
 69 |         var deltaTime = Double(currentTime - lastTime) / 1_000_000_000.0
 70 |         lastTime = currentTime
[30/45] Compiling Iris Input.swift
[31/45] Compiling Iris Iris.swift
[32/45] Compiling Iris Math.swift
BUILD FAILURE 6.3 wasm