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 ScClient, reference 2.0.1 (f14737), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 15:13:50 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/sacOO7/socketcluster-client-swift.git
Reference: 2.0.1
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/sacOO7/socketcluster-client-swift
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at f14737e [sachin][added integration test framework, fixed unsubscribe bug for the client]
Cloned https://github.com/sacOO7/socketcluster-client-swift.git
Revision (git rev-parse @):
f14737e86619481e50e5ebced1c85a51c9d1ed38
SUCCESS checkout https://github.com/sacOO7/socketcluster-client-swift.git at 2.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sacOO7/socketcluster-client-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/alibaba/HandyJSON.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/2013] Fetching handyjson
[927/16772] Fetching handyjson, quick
[949/21805] Fetching handyjson, quick, starscream
[15832/41389] Fetching handyjson, quick, starscream, nimble
[18608/94075] Fetching handyjson, quick, starscream, nimble, rxswift
Fetched https://github.com/alibaba/HandyJSON.git from cache (0.78s)
[40705/92062] Fetching quick, starscream, nimble, rxswift
Fetched https://github.com/daltoniam/Starscream.git from cache (0.79s)
[36199/87029] Fetching quick, nimble, rxswift
Fetched https://github.com/Quick/Quick.git from cache (0.80s)
[21967/72270] Fetching nimble, rxswift
Fetched https://github.com/Quick/Nimble.git from cache (3.21s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (3.90s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (6.59s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.39s)
Computing version for https://github.com/alibaba/HandyJSON.git
Computed https://github.com/alibaba/HandyJSON.git at 5.0.1 (0.40s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 3.1.1 (2.21s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.22s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.27s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.56s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.2
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 3.1.1
Creating working copy for https://github.com/alibaba/HandyJSON.git
Working copy of https://github.com/alibaba/HandyJSON.git resolved at 5.0.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/48] Emitting module HandyJSON
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[7/52] Compiling HandyJSON TransformOf.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[8/52] Compiling HandyJSON TransformType.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[9/52] Compiling HandyJSON Transformable.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[10/52] Compiling HandyJSON URLTransform.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[11/52] Compiling HandyJSON Properties.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[12/52] Compiling HandyJSON PropertyInfo.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[13/52] Compiling HandyJSON ReflectionHelper.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[14/52] Compiling HandyJSON Serializer.swift
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[15/52] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:29:8: error: no such module 'Foundation'
 27 | //////////////////////////////////////////////////////////////////////////////////////////////////
 28 |
 29 | import Foundation
    |        `- error: no such module 'Foundation'
 30 | import zlib
 31 |
[16/52] Compiling Starscream SSLSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:29:8: error: no such module 'Foundation'
 27 | //////////////////////////////////////////////////////////////////////////////////////////////////
 28 |
 29 | import Foundation
    |        `- error: no such module 'Foundation'
 30 | import zlib
 31 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/52] Compiling Starscream Compression.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:29:8: error: no such module 'Foundation'
 27 | //////////////////////////////////////////////////////////////////////////////////////////////////
 28 |
 29 | import Foundation
    |        `- error: no such module 'Foundation'
 30 | import zlib
 31 |
[18/52] Compiling Starscream SSLClientCertificate.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:29:8: error: no such module 'Foundation'
 27 | //////////////////////////////////////////////////////////////////////////////////////////////////
 28 |
 29 | import Foundation
    |        `- error: no such module 'Foundation'
 30 | import zlib
 31 |
[19/52] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:29:8: error: no such module 'Foundation'
 27 | //////////////////////////////////////////////////////////////////////////////////////////////////
 28 |
 29 | import Foundation
    |        `- error: no such module 'Foundation'
 30 | import zlib
 31 |
/host/spi-builder-workspace/.build/checkouts/HandyJSON/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
BUILD FAILURE 6.2 wasm