Build Information
Failed to build Swift-Mac-Utility, reference main (7562f3), with Swift 6.3 for Wasm on 12 Apr 2026 19:35:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/erica/Swift-Mac-Utility.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/erica/Swift-Mac-Utility
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7562f3c Updated for use after splitting out General Utility from Misc Utility
Cloned https://github.com/erica/Swift-Mac-Utility.git
Revision (git rev-parse @):
7562f3cfee10e7494a1c50f5e5624edb05ac2634
SUCCESS checkout https://github.com/erica/Swift-Mac-Utility.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/erica/Swift-Mac-Utility.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Fetching https://github.com/erica/Swift-Misc-Utility
Fetching https://github.com/erica/Swift-General-Utility
[1/101] Fetching swift-general-utility
[6/139] Fetching swift-general-utility, swift-misc-utility
Fetched https://github.com/erica/Swift-General-Utility from cache (0.28s)
Fetched https://github.com/erica/Swift-Misc-Utility from cache (0.28s)
Computing version for https://github.com/erica/Swift-Misc-Utility
Computed https://github.com/erica/Swift-Misc-Utility at 0.0.0 (1.78s)
Computing version for https://github.com/erica/Swift-General-Utility
Computed https://github.com/erica/Swift-General-Utility at 0.0.8 (0.70s)
Creating working copy for https://github.com/erica/Swift-Misc-Utility
Working copy of https://github.com/erica/Swift-Misc-Utility resolved at 0.0.0
Creating working copy for https://github.com/erica/Swift-General-Utility
Working copy of https://github.com/erica/Swift-General-Utility resolved at 0.0.8
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/6] Emitting module GeneralUtility
[6/6] Compiling GeneralUtility Utility.swift
[8/16] Compiling SwiftMiscUtility SynchronousData.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:11:59: error: cannot find type 'URLRequest' in scope
9 | /// - Parameter completion: A closure to execute asynchronously when the data task completes.
10 | /// - Returns: The retrieved session data.
11 | public static func requestAsynchronousData(_ request: URLRequest, completion: @escaping (Result<Data, Error>) -> Void) -> Void {
| `- error: cannot find type 'URLRequest' in scope
12 | let task = URLSession.shared.dataTask(with: request) { data, _, error -> Void in
13 | completion(Result(data, error))
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:22:58: error: cannot find type 'URLRequest' in scope
20 | /// - Throws: Any returned error on `Result.get`.
21 | /// - Returns: The retrieved session data.
22 | public static func requestSynchronousData(_ request: URLRequest) throws -> Data {
| `- error: cannot find type 'URLRequest' in scope
23 | let semaphore = DispatchSemaphore(value: 0)
24 | var received: Result<Data, Error> = Result(Data(), nil)
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:12:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 | /// - Returns: The retrieved session data.
11 | public static func requestAsynchronousData(_ request: URLRequest, completion: @escaping (Result<Data, Error>) -> Void) -> Void {
12 | let task = URLSession.shared.dataTask(with: request) { data, _, error -> Void in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
13 | completion(Result(data, error))
14 | }
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 | /// - Returns: The retrieved session data.
22 | public static func requestSynchronousData(_ request: URLRequest) throws -> Data {
23 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
24 | var received: Result<Data, Error> = Result(Data(), nil)
25 | let completion = { (result: Result<Data, Error>) -> Void in
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:30:41: error: cannot find 'DispatchTime' in scope
28 | }
29 | requestAsynchronousData(request, completion: completion)
30 | let _ = semaphore.wait(timeout: DispatchTime.distantFuture)
| `- error: cannot find 'DispatchTime' in scope
31 | return try received.get()
32 | }
[9/17] Compiling SwiftMiscUtility Rounding.swift
[10/17] Compiling SwiftMiscUtility String+Utility.swift
[11/17] Compiling SwiftMiscUtility RuntimeError.swift
[12/17] Compiling SwiftMiscUtility Utility+SideEffect.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/17] Compiling SwiftMiscUtility Applicative.swift
[14/17] Compiling SwiftMiscUtility Collection+Utility.swift
[15/17] Compiling SwiftMiscUtility Exponentiation.swift
[16/17] Compiling SwiftMiscUtility Result+Utility.swift
[17/17] Emitting module SwiftMiscUtility
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:11:59: error: cannot find type 'URLRequest' in scope
9 | /// - Parameter completion: A closure to execute asynchronously when the data task completes.
10 | /// - Returns: The retrieved session data.
11 | public static func requestAsynchronousData(_ request: URLRequest, completion: @escaping (Result<Data, Error>) -> Void) -> Void {
| `- error: cannot find type 'URLRequest' in scope
12 | let task = URLSession.shared.dataTask(with: request) { data, _, error -> Void in
13 | completion(Result(data, error))
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:22:58: error: cannot find type 'URLRequest' in scope
20 | /// - Throws: Any returned error on `Result.get`.
21 | /// - Returns: The retrieved session data.
22 | public static func requestSynchronousData(_ request: URLRequest) throws -> Data {
| `- error: cannot find type 'URLRequest' in scope
23 | let semaphore = DispatchSemaphore(value: 0)
24 | var received: Result<Data, Error> = Result(Data(), nil)
BUILD FAILURE 6.3 wasm