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 PatreonAPI-Swift, reference master (21e9d6), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 19:38:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 21e9d6a Revert "Switch to Flight-School's `AnyCodable` from my own `CodableAny`"
Cloned https://github.com/amirsaam/PatreonAPI-Swift.git
Revision (git rev-parse @):
21e9d6a0c428ffd040b8ffabc0035d3ab3d9a581
SUCCESS checkout https://github.com/amirsaam/PatreonAPI-Swift.git at master
========================================
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-1":/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/Alamofire/Alamofire.git
Fetching https://github.com/groue/Semaphore.git
[1/293] Fetching semaphore
[294/327] Fetching semaphore, codableany
[328/30468] Fetching semaphore, codableany, alamofire
Fetched https://github.com/groue/Semaphore.git from cache (0.44s)
Fetched https://github.com/amirsaam/CodableAny.git from cache (0.45s)
[1206/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.81s)
Computing version for https://github.com/amirsaam/CodableAny.git
Computed https://github.com/amirsaam/CodableAny.git at 0.2.0 (4.48s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.1.0 (0.52s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.70s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
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
Building for debugging...
[0/6] Write sources
[3/6] Copying PrivacyInfo.xcprivacy
[3/6] Write sources
[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] Compiling CodableAny CodableAny.swift
[10/49] Emitting module CodableAny
[12/50] Compiling Alamofire NetworkReachabilityManager.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/50] Compiling Alamofire RedirectHandler.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/50] Compiling Alamofire RequestCompression.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)
[15/50] Compiling Alamofire RequestInterceptor.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)
[16/50] Compiling Alamofire ResponseSerialization.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)
[17/55] Compiling Alamofire RequestTaskMap.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)
[18/55] Compiling Alamofire Response.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)
[19/55] Compiling Alamofire Session.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)
[20/55] Compiling Alamofire SessionDelegate.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)
[21/55] Compiling Alamofire URLConvertible+URLRequestConvertible.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)
[22/55] Compiling Alamofire UploadRequest.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)
[23/55] Compiling Alamofire HTTPMethod.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)
[24/55] Compiling Alamofire Notifications.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)
[25/55] Compiling Alamofire ParameterEncoder.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)
[26/55] Compiling Alamofire ParameterEncoding.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)
[27/55] Compiling Alamofire Protected.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)
[28/55] Compiling Alamofire Request.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