Build Information
Failed to build SwiftKit, reference main (cd4ab8), with Swift 6.3 for Wasm on 13 Apr 2026 12:36:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendyliga/SwiftKit.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/wendyliga/SwiftKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cd4ab8d Fix Shell (#16)
Cloned https://github.com/wendyliga/SwiftKit.git
Revision (git rev-parse @):
cd4ab8d71b82209b774004954451517e565575bf
SUCCESS checkout https://github.com/wendyliga/SwiftKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/wendyliga/SwiftKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Emitting module SwiftKit
[4/13] Compiling SwiftKit Traceable.swift
[5/13] Compiling SwiftKit DefaultValue.swift
[6/13] Compiling SwiftKit NonEmpty.swift
[7/13] Compiling SwiftKit Deprecated.swift
[8/13] Compiling SwiftKit Error.swift
[9/13] Compiling SwiftKit Array+Extension.swift
[10/13] Compiling SwiftKit Result+Extension.swift
[11/13] Compiling SwiftKit Log.swift
[12/13] Compiling SwiftKit Shell.swift
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:39:20: error: cannot find 'Process' in scope
37 | stream result: @escaping (Shell.ResultStream) -> Void
38 | ) -> Shell.TerminationStatus {
39 | let task = Process()
| `- error: cannot find 'Process' in scope
40 | task.arguments = arguments
41 |
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:66:53: error: no exact matches in call to instance method 'addObserver'
64 | // set listener
65 | var stdOutObserver: NSObjectProtocol!
66 | stdOutObserver = NotificationCenter.default.addObserver(
| |- error: no exact matches in call to instance method 'addObserver'
| |- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @Sendable (Message) async -> Void) -> NotificationCenter.ObservationToken'
| `- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken'
67 | forName: NSNotification.Name.NSFileHandleDataAvailable,
68 | object: stdOutReading,
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:66:53: error: cannot assign value of type 'NotificationCenter.ObservationToken' to type '(any NSObjectProtocol)?'
64 | // set listener
65 | var stdOutObserver: NSObjectProtocol!
66 | stdOutObserver = NotificationCenter.default.addObserver(
| `- error: cannot assign value of type 'NotificationCenter.ObservationToken' to type '(any NSObjectProtocol)?'
67 | forName: NSNotification.Name.NSFileHandleDataAvailable,
68 | object: stdOutReading,
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:69:20: error: 'nil' requires a contextual type
67 | forName: NSNotification.Name.NSFileHandleDataAvailable,
68 | object: stdOutReading,
69 | queue: nil
| `- error: 'nil' requires a contextual type
70 | ) { _ -> Void in
71 | let data = stdOutReading.availableData
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:86:53: error: no exact matches in call to instance method 'addObserver'
84 |
85 | var stdErrObserver: NSObjectProtocol!
86 | stdErrObserver = NotificationCenter.default.addObserver(
| |- error: no exact matches in call to instance method 'addObserver'
| |- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @Sendable (Message) async -> Void) -> NotificationCenter.ObservationToken'
| `- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken'
87 | forName: NSNotification.Name.NSFileHandleDataAvailable,
88 | object: stdErrReading,
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:86:53: error: cannot assign value of type 'NotificationCenter.ObservationToken' to type '(any NSObjectProtocol)?'
84 |
85 | var stdErrObserver: NSObjectProtocol!
86 | stdErrObserver = NotificationCenter.default.addObserver(
| `- error: cannot assign value of type 'NotificationCenter.ObservationToken' to type '(any NSObjectProtocol)?'
87 | forName: NSNotification.Name.NSFileHandleDataAvailable,
88 | object: stdErrReading,
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:89:20: error: 'nil' requires a contextual type
87 | forName: NSNotification.Name.NSFileHandleDataAvailable,
88 | object: stdErrReading,
89 | queue: nil
| `- error: 'nil' requires a contextual type
90 | ) { _ -> Void in
91 | let data = stdErrReading.availableData
[13/13] Compiling SwiftKit String+Extension.swift
BUILD FAILURE 6.3 wasm