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 RxWebSocket, reference master (f3ad7c), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 16:50:52 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/fjcaetano/RxWebSocket.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/fjcaetano/RxWebSocket
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f3ad7c4 fix(Fastlane): gather coverage data using Slather
Submodule path 'fastlane/actions/codecov': checked out '86af4384bb211fcb3194522e40aa9274af00fc08'
Submodule 'fastlane/actions/codecov' (https://gist.github.com/04126b3051f6cd6aebe041bb1dfe14e9.git) registered for path 'fastlane/actions/codecov'
Cloning into '/host/spi-builder-workspace/fastlane/actions/codecov'...
Cloned https://github.com/fjcaetano/RxWebSocket.git
Revision (git rev-parse @):
f3ad7c46f0d567d04bd0196328fb3f9736396bd9
SUCCESS checkout https://github.com/fjcaetano/RxWebSocket.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fjcaetano/RxWebSocket.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/daltoniam/Starscream.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/5033] Fetching starscream
[5034/57719] Fetching starscream, rxswift
Fetched https://github.com/daltoniam/Starscream.git from cache (5.57s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.76s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 3.1.2 (8.43s)
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 (1.26s)
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 (4.56s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (2.88s)
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.2
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/144] Emitting module RxSwift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[8/162] 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 |
[9/162] 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 |
[10/162] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/162] 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 |
[12/162] 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 |
[13/162] Compiling RxSwift AddRef.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[14/162] Compiling RxSwift Amb.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[15/162] Compiling RxSwift AnonymousDisposable.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[16/162] Compiling RxSwift AnonymousObserver.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[17/162] Compiling RxSwift AnyObserver.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[18/162] Compiling RxSwift AsMaybe.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[19/162] Compiling RxSwift AsSingle.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[20/162] Compiling RxSwift AsyncLock.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[21/162] Compiling RxSwift AsyncSubject.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[22/162] Compiling RxSwift AtomicInt.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[23/162] Compiling RxSwift Bag+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[24/162] Compiling RxSwift Bag.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[25/162] Compiling RxSwift BehaviorSubject.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[26/162] Compiling RxSwift BinaryDisposable.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[27/162] Compiling RxSwift BooleanDisposable.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[28/162] Compiling RxSwift Buffer.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[29/162] Compiling RxSwift Cancelable.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[30/162] Compiling RxSwift Catch.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
[31/162] Compiling RxSwift CombineLatest+Collection.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:14: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import class Foundation.NSLock
   |              `- error: no such module 'Foundation'
10 |
11 | final class AtomicInt: NSLock {
BUILD FAILURE 6.2 wasm