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 (48a893), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 23:45:22 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-server-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-server-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 48a8933 Merge pull request #36 from pusher/tech/networkservice-improvements
Cloned https://github.com/pusher/push-notifications-server-swift.git
Revision (git rev-parse @):
48a89332da1e06fa6987a0ce3055d02c237acda0
SUCCESS checkout https://github.com/pusher/push-notifications-server-swift.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pusher/push-notifications-server-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/IBM-Swift/Swift-JWT.git
[1/1605] Fetching swift-jwt
Fetched https://github.com/IBM-Swift/Swift-JWT.git from cache (0.58s)
Fetching https://github.com/realm/SwiftLint
[1/150628] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (37.61s)
Computing version for https://github.com/IBM-Swift/Swift-JWT.git
Computed https://github.com/IBM-Swift/Swift-JWT.git at 3.6.201 (38.66s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/BlueRSA.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/BlueCryptor.git
[1/2018] Fetching bluersa
[2/3039] Fetching bluersa, blueecc
[1338/3810] Fetching bluersa, blueecc, loggerapi
[1424/5464] Fetching bluersa, blueecc, loggerapi, bluecryptor
[2709/8010] Fetching bluersa, blueecc, loggerapi, bluecryptor, kituracontracts
Fetched https://github.com/Kitura/BlueECC.git from cache (0.47s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.48s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.57s)
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.57s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.58s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (1.04s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.45s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.93s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (3.29s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (7.48s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.203 (0.59s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.45s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (0.69s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/929] Fetching swiftytexttable
[930/1029] Fetching swiftytexttable, collectionconcurrencykit
[1030/13970] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift
[2842/24829] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, yams
[10828/95735] Fetching swiftytexttable, collectionconcurrencykit, cryptoswift, yams, swift-syntax
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (1.40s)
[36664/94806] Fetching collectionconcurrencykit, cryptoswift, yams, swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (1.95s)
[52872/94706] Fetching cryptoswift, yams, swift-syntax
[52873/110086] Fetching cryptoswift, yams, swift-syntax, swift-argument-parser
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.00s)
[43690/97145] Fetching yams, swift-syntax, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (2.01s)
[33540/86286] Fetching swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.16s)
[59562/70906] Fetching swift-syntax
Fetching https://github.com/jpsim/SourceKitten.git
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.42s)
[1/16144] Fetching sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.23s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (8.06s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.51s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (3.51s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.96s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.99s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.88s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.44s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.42s)
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.41s)
Creating working copy for https://github.com/Kitura/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at 1.2.201
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
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/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Creating working copy for https://github.com/IBM-Swift/Swift-JWT.git
Working copy of https://github.com/IBM-Swift/Swift-JWT.git resolved at 3.6.201
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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/Kitura/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.203
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/47] Emitting module Cryptor
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/48] Emitting module CryptorRSA
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[15/49] Compiling Cryptor Utilities.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[16/49] Compiling CryptorECC EllipticCurve.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[17/50] Compiling CryptorRSA Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[18/50] Compiling CryptorRSA SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[19/50] Compiling Cryptor Crypto.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[20/50] Compiling Cryptor Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[21/50] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[22/50] Compiling CryptorECC ECDecryptable.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[23/50] Compiling CryptorECC ECEncryptable.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[24/50] Compiling CryptorECC ECError.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[25/50] Compiling CryptorECC ECPrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[26/50] Compiling CryptorRSA CryptorRSAKey.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[27/50] Compiling CryptorECC ECPublicKey.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[30/50] Compiling CryptorRSA CryptorRSAUtilities.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[33/50] Compiling CryptorECC ECSignable.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[34/50] Compiling Cryptor Status.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[35/50] Compiling Cryptor StreamCryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[36/50] Compiling Cryptor Updatable.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[37/50] Compiling Cryptor SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[38/50] Compiling CryptorRSA CryptorRSADigest.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[39/50] Compiling CryptorRSA CryptorRSAConstants.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[40/50] Compiling CryptorRSA CryptorRSA.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[41/50] Compiling CryptorRSA CryptorRSAErrors.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:22:8: error: no such module 'Foundation'
  20 | //
  21 |
  22 | import Foundation
     |        `- error: no such module 'Foundation'
  23 |
  24 | #if os(Linux)
[42/50] Compiling CryptorECC SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/50] Emitting module CryptorECC
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[44/50] Compiling Logging LogHandler.swift
[45/50] Compiling Logging Locks.swift
[46/50] Emitting module Logging
BUILD FAILURE 6.2 wasm