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 CredentialsToken, reference master (01359f), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 15:22:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/krugazor/credentialstoken.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/krugazor/credentialstoken
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 01359f1 Merge branch 'release/0.2.0'
Cloned https://github.com/krugazor/credentialstoken.git
Revision (git rev-parse @):
01359f1c94358105afddfc3595f3d6c920520b9d
SUCCESS checkout https://github.com/krugazor/credentialstoken.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/krugazor/credentialstoken.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/krugazor/DictionaryCoding
Fetching https://github.com/IBM-Swift/Kitura-Session.git
Fetching https://github.com/IBM-Swift/Kitura-Credentials
[1/1561] Fetching kitura-session
[220/3358] Fetching kitura-session, kitura-credentials
[3359/3406] Fetching kitura-session, kitura-credentials, dictionarycoding
Fetched https://github.com/IBM-Swift/Kitura-Session.git from cache (0.31s)
Fetched https://github.com/krugazor/DictionaryCoding from cache (0.32s)
Fetched https://github.com/IBM-Swift/Kitura-Credentials from cache (0.32s)
Computing version for https://github.com/krugazor/DictionaryCoding
Computed https://github.com/krugazor/DictionaryCoding at 0.2.1 (0.67s)
Computing version for https://github.com/IBM-Swift/Kitura-Credentials
Computed https://github.com/IBM-Swift/Kitura-Credentials at 2.5.200 (0.36s)
Computing version for https://github.com/IBM-Swift/Kitura-Session.git
Computed https://github.com/IBM-Swift/Kitura-Session.git at 3.3.201 (0.36s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/1654] Fetching bluecryptor
[1655/18563] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.82s)
Fetched https://github.com/Kitura/Kitura.git from cache (0.84s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (1.22s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.23s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.38s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.40s)
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/771] Fetching loggerapi
[772/1209] Fetching loggerapi, kitura-templateengine
[781/1668] Fetching loggerapi, kitura-templateengine, typedecoder
[898/4214] Fetching loggerapi, kitura-templateengine, typedecoder, kituracontracts
[1698/13758] Fetching loggerapi, kitura-templateengine, typedecoder, kituracontracts, kitura-net
[3381/17594] Fetching loggerapi, kitura-templateengine, typedecoder, kituracontracts, kitura-net, swift-log
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.42s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.42s)
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
[7231/12861] Fetching loggerapi, kituracontracts, kitura-net
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.43s)
[4875/10315] Fetching loggerapi, kitura-net
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.62s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.64s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.99s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.37s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
[1/2942] Fetching bluesocket
[1472/5019] Fetching bluesocket, bluesslservice
[3261/5700] Fetching bluesocket, bluesslservice, bluesignals
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.31s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.31s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.31s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.67s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.35s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.36s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.36s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.35s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.36s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.36s)
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/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
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/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.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/krugazor/DictionaryCoding
Working copy of https://github.com/krugazor/DictionaryCoding resolved at 0.2.1
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
Creating working copy for https://github.com/IBM-Swift/Kitura-Session.git
Working copy of https://github.com/IBM-Swift/Kitura-Session.git resolved at 3.3.201
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Creating working copy for https://github.com/IBM-Swift/Kitura-Credentials
Working copy of https://github.com/IBM-Swift/Kitura-Credentials resolved at 2.5.200
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
Creating working copy for https://github.com/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
warning: 'kitura-credentials': Conflicting identity for kitura-session: dependency 'github.com/kitura/kitura-session' and dependency 'github.com/ibm-swift/kitura-session' both point to the same package identity 'kitura-session'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/kitura-credentials->github.com/kitura/kitura-session (B) /host/spi-builder-workspace->github.com/ibm-swift/kitura-session. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
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
Building for debugging...
[0/18] Write sources
[15/18] Compiling CHTTPParser utils.c
[16/18] Compiling CHTTPParser http_parser.c
[16/18] Write swift-version-24593BA9C3E375BF.txt
[19/48] Compiling Socket SocketUtils.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
[20/48] 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 | ///
[21/49] Compiling Cryptor Digest.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 | ///
[22/49] Compiling Cryptor HMAC.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/49] 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 | ///
[24/49] 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 | ///
[25/49] 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 | ///
[26/49] Compiling Socket SocketProtocols.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
[27/49] Compiling TypeDecoder TypeDecoder.swift
/host/spi-builder-workspace/.build/checkouts/TypeDecoder/Sources/TypeDecoder/TypeDecoder.swift:16:8: error: no such module 'Foundation'
 14 |  * limitations under the License.
 15 |  */
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | struct InternalError: Error {
[28/49] Compiling TypeDecoder OrderedDictionary.swift
/host/spi-builder-workspace/.build/checkouts/TypeDecoder/Sources/TypeDecoder/TypeDecoder.swift:16:8: error: no such module 'Foundation'
 14 |  * limitations under the License.
 15 |  */
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | struct InternalError: Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/49] Emitting module TypeDecoder
/host/spi-builder-workspace/.build/checkouts/TypeDecoder/Sources/TypeDecoder/TypeDecoder.swift:16:8: error: no such module 'Foundation'
 14 |  * limitations under the License.
 15 |  */
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | struct InternalError: Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/49] Emitting module Signals
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:27:8: error: no such module 'Foundation'
 25 | #endif
 26 |
 27 | import Foundation
    |        `- error: no such module 'Foundation'
 28 |
 29 | // MARK: Signals
[31/49] Compiling Signals Signals.swift
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:27:8: error: no such module 'Foundation'
 25 | #endif
 26 |
 27 | import Foundation
    |        `- error: no such module 'Foundation'
 28 |
 29 | // MARK: Signals
[32/49] Compiling Cryptor KeyDerivation.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 | ///
[33/49] Compiling Cryptor Random.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 | ///
[34/49] 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 | ///
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/49] 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 | ///
[36/49] 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 | ///
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/49] Compiling DictionaryCoding StorageWrappers.swift
/host/spi-builder-workspace/.build/checkouts/DictionaryCoding/Sources/DictionaryCoding/DictionaryCoding.swift:5:8: error: no such module 'Foundation'
   3 | // CC BY-SA 1.0 -- https://creativecommons.org/licenses/by-sa/1.0/
   4 |
   5 | import Foundation
     |        `- error: no such module 'Foundation'
   6 |
   7 | public class DictionaryCodingError: Error {
[38/49] Compiling DictionaryCoding DictionaryCoding.swift
/host/spi-builder-workspace/.build/checkouts/DictionaryCoding/Sources/DictionaryCoding/DictionaryCoding.swift:5:8: error: no such module 'Foundation'
   3 | // CC BY-SA 1.0 -- https://creativecommons.org/licenses/by-sa/1.0/
   4 |
   5 | import Foundation
     |        `- error: no such module 'Foundation'
   6 |
   7 | public class DictionaryCodingError: Error {
[39/49] Emitting module DictionaryCoding
/host/spi-builder-workspace/.build/checkouts/DictionaryCoding/Sources/DictionaryCoding/DictionaryCoding.swift:5:8: error: no such module 'Foundation'
   3 | // CC BY-SA 1.0 -- https://creativecommons.org/licenses/by-sa/1.0/
   4 |
   5 | import Foundation
     |        `- error: no such module 'Foundation'
   6 |
   7 | public class DictionaryCodingError: Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/49] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
[41/49] Compiling Socket Socket.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
[42/49] Emitting module KituraTemplateEngine
[43/49] Compiling KituraTemplateEngine TemplateEngine.swift
[44/50] Compiling Logging LogHandler.swift
[45/50] Emitting module Logging
[46/50] Compiling Logging Locks.swift
BUILD FAILURE 6.2 wasm