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 PushNotifications, reference 4.0.0 (037435), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 01:04:35 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/pusher/push-notifications-swift.git
Reference: 4.0.0
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/pusher/push-notifications-swift
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 0374352 Merge pull request #174 from pusher/release/4.0.0
Cloned https://github.com/pusher/push-notifications-swift.git
Revision (git rev-parse @):
0374352e6a54071a4e3d2ddf674ba56a84630ba6
SUCCESS checkout https://github.com/pusher/push-notifications-swift.git at 4.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pusher/push-notifications-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/Quick/Nimble
Fetching https://github.com/AliSoftware/OHHTTPStubs
[1/19584] Fetching nimble
[197/27484] Fetching nimble, ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (1.09s)
[14493/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (2.45s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (3.21s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.56s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.27s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.75s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.70s)
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/41] Emitting module PushNotifications
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[4/46] Compiling PushNotifications EventTypeHandler.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[5/46] Compiling PushNotifications NetworkService.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[6/46] Compiling PushNotifications ServerSyncEventHandler.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[7/46] Compiling PushNotifications ServerSyncJobStore.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[8/46] Compiling PushNotifications ServerSyncProcessHandler.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[9/46] Compiling PushNotifications RemoteNotificationType.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[10/46] Compiling PushNotifications SDK.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[11/46] Compiling PushNotifications ServerSyncEvent.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[12/46] Compiling PushNotifications ServerSyncJob.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[13/46] Compiling PushNotifications SystemVersion.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[14/46] Compiling PushNotifications InterestValidationError.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[15/46] Compiling PushNotifications Interests.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[16/46] Compiling PushNotifications Metadata.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[17/46] Compiling PushNotifications MultipleInvalidInterestsError.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[18/46] Compiling PushNotifications PersistenceConstants.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[19/46] Compiling PushNotifications PublishId.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[20/46] Compiling PushNotifications Array+CalculateMD5Hash.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[21/46] Compiling PushNotifications Encodable+Encode.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[22/46] Compiling PushNotifications String+HexStringToData.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[23/46] Compiling PushNotifications URL+NetworkService.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[24/46] Compiling PushNotifications DeviceTokenHelper.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[25/46] Compiling PushNotifications MD5.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[26/46] Compiling PushNotifications AuthData.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[27/46] Compiling PushNotifications Constants.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[28/46] Compiling PushNotifications Device.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[29/46] Compiling PushNotifications FeatureFlags.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[30/46] Compiling PushNotifications HTTPMethod.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[31/46] Compiling PushNotifications InstanceId.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[32/46] Compiling PushNotifications Token.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[33/46] Compiling PushNotifications PropertyListReadable.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[34/46] Compiling PushNotifications PushNotificationsNetworkable.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[35/46] Compiling PushNotifications ReportEventType.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[36/46] Compiling PushNotifications RetryStrategy.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[37/46] Compiling PushNotifications PushNotificationsAPIError.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[38/46] Compiling PushNotifications PushNotificationsError.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[39/46] Compiling PushNotifications PusherAlreadyRegisteredError.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[40/46] Compiling PushNotifications Reason.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[41/46] Compiling PushNotifications Register.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[42/46] Compiling PushNotifications TokenProvider.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[43/46] Compiling PushNotifications PushNotifications.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[44/46] Compiling PushNotifications PushNotificationsStatic.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[45/46] Compiling PushNotifications BeamsTokenProvider.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
[46/46] Compiling PushNotifications DeviceStateStore.swift
/host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Array where Element == String {
BUILD FAILURE 6.2 wasm