Build Information
Failed to build SocketIO, reference v16.1.1 (42da87), with Swift 6.2 for Wasm on 22 Jun 2025 05:03:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/socketio/socket.io-client-swift.git
Reference: v16.1.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/socketio/socket.io-client-swift
* tag v16.1.1 -> FETCH_HEAD
HEAD is now at 42da871 update readme
Cloned https://github.com/socketio/socket.io-client-swift.git
Revision (git rev-parse @):
42da871d9369f290d6ec4930636c40672143905b
SUCCESS checkout https://github.com/socketio/socket.io-client-swift.git at v16.1.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/socketio/socket.io-client-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[1/5033] Fetching starscream
Fetched https://github.com/daltoniam/Starscream from cache (1.56s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (2.39s)
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.8
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
Building for debugging...
[0/4] Write sources
[0/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/24] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[6/26] Compiling Starscream FoundationHTTPHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[7/26] Compiling Starscream FoundationHTTPServerHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[8/26] Compiling Starscream FrameCollector.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[9/26] Compiling Starscream Transport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[10/26] Compiling Starscream resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[11/26] Compiling Starscream FoundationTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[12/26] Compiling Starscream TCPTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[13/26] Compiling Starscream WebSocketServer.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[14/26] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[15/26] Compiling Starscream Engine.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[16/26] Compiling Starscream NativeEngine.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[17/26] Compiling Starscream WSEngine.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[18/26] Compiling Starscream FoundationSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[19/26] Compiling Starscream Security.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[20/26] Compiling Starscream Server.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[21/26] Compiling Starscream Compression.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[22/26] Compiling Starscream WSCompression.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[23/26] Compiling Starscream Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[24/26] Compiling Starscream Framer.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[25/26] Compiling Starscream HTTPHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[26/26] Compiling Starscream StringHTTPHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
BUILD FAILURE 6.2 wasm