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 master (441a6d), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 01:05:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 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/pusher/push-notifications-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 441a6de Merge pull request #184 from pusher/get-user
Cloned https://github.com/pusher/push-notifications-swift.git
Revision (git rev-parse @):
441a6dede9a1a59f01ae4dd85b4ee3fbc9730ba4
SUCCESS checkout https://github.com/pusher/push-notifications-swift.git at master
========================================
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-4609320-0":/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/realm/SwiftLint
Fetching https://github.com/AliSoftware/OHHTTPStubs
Fetching https://github.com/Quick/Nimble
[1/7900] Fetching ohhttpstubs
[7901/27484] Fetching ohhttpstubs, nimble
[22785/178112] Fetching ohhttpstubs, nimble, swiftlint
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (1.65s)
[32452/170212] Fetching nimble, swiftlint
Fetched https://github.com/Quick/Nimble from cache (1.68s)
[13557/150628] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (34.98s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (43.89s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (4.59s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (4.18s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (8.52s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (8.95s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (17.21s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (4.37s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/100] Fetching collectionconcurrencykit
[101/1029] Fetching collectionconcurrencykit, swiftytexttable
[1030/13970] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift
[2713/30114] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift, sourcekitten
[4618/40973] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift, sourcekitten, yams
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.58s)
Fetching https://github.com/apple/swift-argument-parser.git
[21788/40044] Fetching collectionconcurrencykit, cryptoswift, sourcekitten, yams
[38634/55424] Fetching collectionconcurrencykit, cryptoswift, sourcekitten, yams, swift-argument-parser
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (3.02s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/jpsim/SourceKitten.git from cache (3.28s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.29s)
Fetched https://github.com/jpsim/Yams.git from cache (3.30s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.74s)
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.65s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (9.43s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.44s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (4.57s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.64s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.66s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.39s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.31s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.27s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.46s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
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
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.1
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/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/44] 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 {
[7/44] 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 {
[8/44] 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 {
[9/44] 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 {
[10/44] 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 {
[11/49] 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 {
[12/49] 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 {
[13/49] 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 {
[14/49] 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 {
[15/49] 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 {
[16/49] 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 {
[17/49] 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 {
[18/49] 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 {
[19/49] 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 {
[20/49] 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 {
[21/49] 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 {
[22/49] 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 {
[23/49] 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 {
[24/49] 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 {
[25/49] 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 {
[26/49] 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 {
[27/49] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/49] 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 {
[29/49] 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 {
[30/49] 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 {
[31/49] 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 {
[32/49] 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 {
[33/49] 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 {
[34/49] 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 {
[35/49] 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 {
[36/49] 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 {
[37/49] 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 {
[38/49] 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 {
[39/49] 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 {
[40/49] 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 {
[41/49] 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 {
[42/49] 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 {
[43/49] 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 {
[44/49] 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 {
[45/49] 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 {
[46/49] 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 {
[47/49] 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 {
[48/49] 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 {
[49/49] 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 {
BUILD FAILURE 6.2 wasm