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 Shaft, reference main (3cfae9), with Swift 6.1 for Wasm on 5 Sep 2025 18:29:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShaftUI/Shaft.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/ShaftUI/Shaft
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3cfae97 Add DesktopView.requestFocus
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
3cfae9748c5fe257d8b695976b105eb69d82b539
SUCCESS checkout https://github.com/ShaftUI/Shaft.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ShaftUI/Shaft.git
https://github.com/ShaftUI/Shaft.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.kpZbdA/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.9.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.8JbTV4/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:216:9: error: unexpected ',' separator
214 |             //     )
215 |             // ]
216 |         ),
    |         `- error: unexpected ',' separator
217 |
218 |         .target(
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/ShaftUI/SwiftSDL3
[1/1787] Fetching swiftsdl3
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (0.65s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.28s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/159] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.21s)
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/gregcotten/ZIPFoundationModern
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/jpsim/Yams.git
[1/1335] Fetching rainbow
[1336/6526] Fetching rainbow, zipfoundationmodern
[2738/17662] Fetching rainbow, zipfoundationmodern, yams
[2739/28433] Fetching rainbow, zipfoundationmodern, yams, swift-collections
[6892/100296] Fetching rainbow, zipfoundationmodern, yams, swift-collections, swift-syntax
[7111/126487] Fetching rainbow, zipfoundationmodern, yams, swift-collections, swift-syntax, javascriptkit
Fetched https://github.com/ShaftUI/swift-collections from cache (9.64s)
Fetching https://github.com/ShaftUI/SwiftMath
Fetched https://github.com/onevcat/Rainbow from cache (9.66s)
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (9.67s)
Fetched https://github.com/jpsim/Yams.git from cache (9.70s)
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (9.78s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.83s)
[1/773] Fetching swiftmath
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.29s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (11.84s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.84s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.70s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (2.20s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.63s)
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/gregcotten/CSProgress
Fetching https://github.com/apple/swift-system
[1/48] Fetching zlib
[49/287] Fetching zlib, csprogress
Fetched https://github.com/the-swift-collective/zlib from cache (0.26s)
[1/4941] Fetching swift-system
Fetched https://github.com/gregcotten/CSProgress from cache (0.47s)
Fetched https://github.com/apple/swift-system from cache (0.47s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (1.04s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.61s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.61s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (0.63s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.35.0 (0.79s)
Creating working copy for https://github.com/gregcotten/ZIPFoundationModern
Working copy of https://github.com/gregcotten/ZIPFoundationModern resolved at 0.0.5
Creating working copy for https://github.com/ShaftUI/Splash
Working copy of https://github.com/ShaftUI/Splash resolved at master (ed08785)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.2
Creating working copy for https://github.com/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.1
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.35.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
Creating working copy for https://github.com/ShaftUI/swift-collections
Working copy of https://github.com/ShaftUI/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/ShaftUI/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.0
Creating working copy for https://github.com/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (cce1834)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
Creating working copy for https://github.com/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at main (d33d998)
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/89] Write sources
[9/89] Compiling ZLibC zutil.c
[10/89] Compiling ZLibC inftrees.c
[11/89] Compiling ZLibC uncompr.c
[11/89] Compiling ZLibC inffast.c
[13/89] Compiling ZLibC trees.c
[14/89] Compiling ZLibC infback.c
[15/89] Compiling ZLibC inflate.c
[16/89] Compiling ZLibC gzread.c
[17/89] Compiling ZLibC gzwrite.c
[18/89] Compiling ZLibC gzlib.c
[18/89] Write sources
[28/89] Compiling ZLibC gzclose.c
[29/89] Copying icudtl.dat
[30/89] Write sources
[40/89] Compiling ZLibC adler32.c
[41/89] Write sources
[43/89] Write swift-version-24593BA9C3E375BF.txt
[43/89] Write sources
[46/89] Compiling CSystem shims.c
[48/89] Compiling ZLibC compress.c
[49/89] Compiling ZLibC crc32.c
[50/89] Compiling ZLibC deflate.c
[51/89] Write embedded_resources.swift
[53/231] Emitting module SystemPackage
[54/235] Emitting module Rainbow
[55/236] Emitting module Splash
[56/238] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[57/238] Compiling InternalCollectionsUtilities Specialize.swift
[60/238] Compiling InternalCollectionsUtilities Debugging.swift
[61/238] Compiling InternalCollectionsUtilities Descriptions.swift
[62/240] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[63/240] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[64/240] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[65/240] Emitting module InternalCollectionsUtilities
[66/240] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[67/240] Compiling InternalCollectionsUtilities Integer rank.swift
[68/240] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[69/240] Compiling SwiftMath float3x3+Extensions.swift
[70/240] Compiling SwiftMath float4x4+Extensions.swift
[71/240] Compiling SwiftMath functions.swift
[72/243] Compiling InternalCollectionsUtilities _SortedCollection.swift
[73/243] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[74/243] Emitting module SwiftMath
[78/243] Compiling InternalCollectionsUtilities UInt+reversed.swift
[79/243] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[84/243] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[85/243] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[86/243] Emitting module SystemPackage
In file included from /host/spi-builder-workspace/Sources/CSkia/utils.cpp:1:
In file included from /host/spi-builder-workspace/Sources/CSkia/utils.h:78:
/host/spi-builder-workspace/Sources/CSkia/include/ports/SkFontMgr_mac_ct.h:15:9: fatal error: 'ApplicationServices/ApplicationServices.h' file not found
   15 | #import <ApplicationServices/ApplicationServices.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[91/247] Compiling CSkia utils.cpp
[92/247] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[93/247] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[94/247] Emitting module ZLib
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/43] Write sources
[6/43] Write swift-version-24593BA9C3E375BF.txt
[8/185] Compiling ZLib ZLib.swift
[9/185] Compiling SystemPackage FilePathWindows.swift
[10/185] Compiling SystemPackage FilePermissions.swift
[11/187] Emitting module SwiftMath
[12/190] Emitting module ZLib
[13/191] Compiling SystemPackage FilePathTempPosix.swift
[14/191] Compiling SystemPackage FilePathTempWindows.swift
[15/192] Compiling SystemPackage FilePathSyntax.swift
[16/192] Compiling SystemPackage FilePathTemp.swift
[19/192] Compiling SystemPackage Constants.swift
[20/192] Compiling SystemPackage Exports.swift
[21/192] Compiling SystemPackage Mocking.swift
[25/194] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[26/194] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/198] Compiling SystemPackage Errno.swift
[30/198] Compiling SystemPackage ErrnoWindows.swift
[31/198] Compiling SystemPackage FileDescriptor.swift
[32/198] Emitting module SystemPackage
[33/198] Compiling SystemPackage IORing.swift
[34/198] Compiling SystemPackage RawIORequest.swift
[35/198] Compiling SystemPackage Backcompat.swift
[36/198] Compiling SystemPackage CInterop.swift
[37/198] Compiling SwiftMath platform.swift
[38/198] Compiling SwiftMath random.swift
[39/198] Compiling SwiftMath utils.swift
[42/198] Compiling SystemPackage MachPort.swift
[43/198] Compiling SystemPackage PlatformString.swift
[58/198] Emitting module InternalCollectionsUtilities
[59/198] Compiling SystemPackage FilePathParsing.swift
[60/198] Compiling SystemPackage FilePathString.swift
[61/198] Compiling SystemPackage FilePathComponentView.swift
[62/198] Compiling SystemPackage FilePathComponents.swift
[63/198] Compiling SystemPackage FileHelpers.swift
[64/198] Compiling SystemPackage FileOperations.swift
[65/198] Compiling SystemPackage FilePath.swift
[75/201] Emitting module Splash
[79/201] Emitting module SystemPackage
[81/205] Compiling Rainbow StyledStringBuilder.swift
[86/205] Compiling Fetch Fetch.swift
/host/spi-builder-workspace/Sources/Fetch/Fetch.swift:17:37: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |         return Data()
16 |     #else
17 |         return try await URLSession.shared.data(from: url).0
   |                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |     #endif
19 | }
/host/spi-builder-workspace/Sources/Fetch/Fetch.swift:17:20: warning: no 'async' operations occur within 'await' expression
15 |         return Data()
16 |     #else
17 |         return try await URLSession.shared.data(from: url).0
   |                    `- warning: no 'async' operations occur within 'await' expression
18 |     #endif
19 | }
/host/spi-builder-workspace/Sources/Fetch/Fetch.swift:17:16: warning: no calls to throwing functions occur within 'try' expression
15 |         return Data()
16 |     #else
17 |         return try await URLSession.shared.data(from: url).0
   |                `- warning: no calls to throwing functions occur within 'try' expression
18 |     #endif
19 | }
[87/205] Emitting module Fetch
[105/205] Emitting module Rainbow
[108/205] Compiling CSkia utils.cpp
BUILD FAILURE 6.1 wasm