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 Kitura-CouchDB, reference 3.2.0 (63cc91), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 22:23:21 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/Kitura/Kitura-CouchDB.git
Reference: 3.2.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/Kitura/Kitura-CouchDB
 * tag               3.2.0      -> FETCH_HEAD
HEAD is now at 63cc919 fix: Add percentencoding to special character `+` (#108)
Cloned https://github.com/Kitura/Kitura-CouchDB.git
Revision (git rev-parse @):
63cc919bbe3904c8e55eea821c1e7cbb1dda0c47
SUCCESS checkout https://github.com/Kitura/Kitura-CouchDB.git at 3.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kitura/Kitura-CouchDB.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/LoggerAPI.git
Fetching https://github.com/IBM-Swift/Kitura-net.git
[1/771] Fetching loggerapi
[387/10315] Fetching loggerapi, kitura-net
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.61s)
[2100/9544] Fetching kitura-net
Fetched https://github.com/IBM-Swift/Kitura-net.git from cache (1.11s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (1.62s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.46s)
Computing version for https://github.com/IBM-Swift/Kitura-net.git
Computed https://github.com/IBM-Swift/Kitura-net.git at 2.4.200 (1.59s)
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSignals.git
[1/2077] Fetching bluesslservice
[2078/5019] Fetching bluesslservice, bluesocket
[2814/5700] Fetching bluesslservice, bluesocket, bluesignals
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.77s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.77s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.78s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (1.47s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.46s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.65s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (1.49s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.76s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.45s)
Creating working copy for https://github.com/IBM-Swift/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.9.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/IBM-Swift/Kitura-net.git
Working copy of https://github.com/IBM-Swift/Kitura-net.git resolved at 2.4.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/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.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/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
warning: 'kitura-net': Conflicting identity for loggerapi: dependency 'github.com/kitura/loggerapi' and dependency 'github.com/ibm-swift/loggerapi' both point to the same package identity 'loggerapi'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/kitura-net->github.com/kitura/loggerapi (B) /host/spi-builder-workspace->github.com/ibm-swift/loggerapi. 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/21] Write sources
[8/21] Compiling CHTTPParser utils.c
[9/21] Write swift-version-24593BA9C3E375BF.txt
[9/21] Compiling CHTTPParser http_parser.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/32] 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
[13/32] 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
[14/32] 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
[15/32] 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
[16/32] Emitting module Logging
[17/32] Compiling Logging LogHandler.swift
[18/32] Compiling Logging Locks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/32] 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
BUILD FAILURE 6.2 wasm