Build Information
Failed to build Swift-Mac-Utility, reference main (7562f3), with Swift 6.1 for Wasm on 28 May 2025 04:32:27 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/erica/Swift-Mac-Utility.git
https://github.com/erica/Swift-Mac-Utility.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-general-utility",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.8",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/erica/Swift-General-Utility"
},
{
"identity" : "swift-misc-utility",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/erica/Swift-Misc-Utility"
}
],
"manifest_display_name" : "Swift-Mac-Utility",
"name" : "Swift-Mac-Utility",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
}
],
"products" : [
{
"name" : "MacUtility",
"targets" : [
"MacUtility"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Tests",
"module_type" : "SwiftTarget",
"name" : "Tests",
"path" : "Tests/Tests",
"sources" : [
"Tests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"MacUtility"
],
"type" : "test"
},
{
"c99name" : "MacUtility",
"module_type" : "SwiftTarget",
"name" : "MacUtility",
"path" : "Sources",
"product_dependencies" : [
"GeneralUtility",
"SwiftMiscUtility"
],
"product_memberships" : [
"MacUtility"
],
"sources" : [
"Execute.swift",
"FileManager+Utility.swift",
"String+Utility.swift",
"URL.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
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/erica/Swift-Misc-Utility
Fetching https://github.com/erica/Swift-General-Utility
[1/101] Fetching swift-general-utility
[102/139] Fetching swift-general-utility, swift-misc-utility
Fetched https://github.com/erica/Swift-General-Utility from cache (0.37s)
Fetched https://github.com/erica/Swift-Misc-Utility from cache (0.37s)
Computing version for https://github.com/erica/Swift-Misc-Utility
Computed https://github.com/erica/Swift-Misc-Utility at 0.0.0 (1.88s)
Computing version for https://github.com/erica/Swift-General-Utility
Computed https://github.com/erica/Swift-General-Utility at 0.0.8 (0.60s)
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
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/6] Compiling GeneralUtility Utility.swift
[6/6] Emitting module GeneralUtility
[8/16] Compiling SwiftMiscUtility String+Utility.swift
[9/16] Compiling SwiftMiscUtility RuntimeError.swift
[10/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 | }
[11/17] Compiling SwiftMiscUtility Applicative.swift
[12/17] Compiling SwiftMiscUtility Collection+Utility.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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)
[14/17] Compiling SwiftMiscUtility Utility+SideEffect.swift
[15/17] Compiling SwiftMiscUtility Exponentiation.swift
[16/17] Compiling SwiftMiscUtility Result+Utility.swift
[17/17] Compiling SwiftMiscUtility Rounding.swift
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Compiling GeneralUtility Utility.swift
[3/3] Emitting module GeneralUtility
[5/13] 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 | }
[6/14] Compiling SwiftMiscUtility RuntimeError.swift
[7/14] Compiling SwiftMiscUtility String+Utility.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/14] 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)
[9/14] Compiling SwiftMiscUtility Exponentiation.swift
[10/14] Compiling SwiftMiscUtility Applicative.swift
[11/14] Compiling SwiftMiscUtility Collection+Utility.swift
[12/14] Compiling SwiftMiscUtility Result+Utility.swift
[13/14] Compiling SwiftMiscUtility Rounding.swift
[14/14] Compiling SwiftMiscUtility Utility+SideEffect.swift
BUILD FAILURE 6.1 wasm