Build Information
Failed to build PatreonAPI-Swift, reference 0.9.15 (ebb99a
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 19:38:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amirsaam/PatreonAPI-Swift.git
Reference: 0.9.15
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/amirsaam/PatreonAPI-Swift
* tag 0.9.15 -> FETCH_HEAD
HEAD is now at ebb99a7 Update CampaignData.swift
Cloned https://github.com/amirsaam/PatreonAPI-Swift.git
Revision (git rev-parse @):
ebb99a7e5243566b9df5b02bd95025601303c097
SUCCESS checkout https://github.com/amirsaam/PatreonAPI-Swift.git at 0.9.15
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/amirsaam/PatreonAPI-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/amirsaam/CodableAny.git
Fetching https://github.com/groue/Semaphore.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/293] Fetching semaphore
[215/327] Fetching semaphore, codableany
[328/30468] Fetching semaphore, codableany, alamofire
Fetched https://github.com/amirsaam/CodableAny.git from cache (5.27s)
Fetched https://github.com/groue/Semaphore.git from cache (5.28s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (5.40s)
Computing version for https://github.com/amirsaam/CodableAny.git
Computed https://github.com/amirsaam/CodableAny.git at 0.2.0 (6.19s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.1.0 (0.78s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.86s)
Creating working copy for https://github.com/amirsaam/CodableAny.git
Working copy of https://github.com/amirsaam/CodableAny.git resolved at 0.2.0
Creating working copy for https://github.com/groue/Semaphore.git
Working copy of https://github.com/groue/Semaphore.git resolved at 0.1.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Building for debugging...
[0/6] Write sources
[4/6] Copying PrivacyInfo.xcprivacy
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/49] Emitting module Semaphore
/host/spi-builder-workspace/.build/checkouts/Semaphore/Sources/Semaphore/AsyncSemaphore.swift:22:8: error: no such module 'Foundation'
20 | // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
22 | import Foundation
| `- error: no such module 'Foundation'
23 |
24 | /// An object that controls access to a resource across multiple execution
[8/49] Compiling Semaphore AsyncSemaphore.swift
/host/spi-builder-workspace/.build/checkouts/Semaphore/Sources/Semaphore/AsyncSemaphore.swift:22:8: error: no such module 'Foundation'
20 | // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
22 | import Foundation
| `- error: no such module 'Foundation'
23 |
24 | /// An object that controls access to a resource across multiple execution
[9/49] Emitting module CodableAny
[10/49] Compiling Alamofire URLRequest+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
| `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[11/49] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
| `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[12/49] Compiling Alamofire AlamofireExtended.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
| `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[13/49] Compiling Alamofire AuthenticationInterceptor.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
| `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[14/49] Compiling Alamofire CachedResponseHandler.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
| `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
BUILD FAILURE 6.2 wasm