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 KituraCORS, reference 2.1.201 (fd98bd), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 19:16:23 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/Kitura/Kitura-CORS.git
Reference: 2.1.201
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-CORS
 * tag               2.1.201    -> FETCH_HEAD
HEAD is now at fd98bd7 Add sameAsOrigin in AllowedOrigins (#45)
Cloned https://github.com/Kitura/Kitura-CORS.git
Revision (git rev-parse @):
fd98bd76a458a7530866a465b5b4b558ffbc5198
SUCCESS checkout https://github.com/Kitura/Kitura-CORS.git at 2.1.201
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kitura/Kitura-CORS.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/Kitura/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (1.74s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (2.55s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/apple/swift-log.git
[1/2546] Fetching kituracontracts
[282/3317] Fetching kituracontracts, loggerapi
[283/3755] Fetching kituracontracts, loggerapi, kitura-templateengine
[708/4214] Fetching kituracontracts, loggerapi, kitura-templateengine, typedecoder
[969/13758] Fetching kituracontracts, loggerapi, kitura-templateengine, typedecoder, kitura-net
[1598/17594] Fetching kituracontracts, loggerapi, kitura-templateengine, typedecoder, kitura-net, swift-log
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.58s)
[8053/17156] Fetching kituracontracts, loggerapi, typedecoder, kitura-net, swift-log
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.62s)
[9654/16697] Fetching kituracontracts, loggerapi, kitura-net, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.81s)
[8185/12861] Fetching kituracontracts, loggerapi, kitura-net
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.14s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (1.15s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (1.15s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (1.58s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.75s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/681] Fetching bluesignals
[682/2758] Fetching bluesignals, bluesslservice
[2759/5700] Fetching bluesignals, bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSignals.git from cache (1.57s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (1.58s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (1.66s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (2.13s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.42s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.40s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.20s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.59s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.39s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.38s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
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/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
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-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
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/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
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-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/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.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
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/14] Write sources
[11/14] Compiling CHTTPParser utils.c
[12/14] Write swift-version-24593BA9C3E375BF.txt
[13/30] Compiling CHTTPParser http_parser.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/30] Emitting module KituraTemplateEngine
[16/30] Compiling KituraTemplateEngine TemplateEngine.swift
[17/30] 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
[18/31] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/31] 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 {
BUILD FAILURE 6.2 wasm