Build Information
Failed to build KituraWebSocket, reference 2.1.200 (9864e3
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 18:05:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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-WebSocket-NIO.git
Reference: 2.1.200
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-WebSocket-NIO
* tag 2.1.200 -> FETCH_HEAD
HEAD is now at 9864e3f Update package reference to community versions (#65)
Cloned https://github.com/Kitura/Kitura-WebSocket-NIO.git
Revision (git rev-parse @):
9864e3fb162c8b0f7e2a4fd5ce7389d82b9bd3c0
SUCCESS checkout https://github.com/Kitura/Kitura-WebSocket-NIO.git at 2.1.200
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Kitura/Kitura-WebSocket-NIO.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/Kitura/Kitura-WebSocket-Compression.git
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetching https://github.com/Kitura/BlueCryptor.git
[1/108] Fetching kitura-websocket-compression
[67/1762] Fetching kitura-websocket-compression, bluecryptor
[325/5233] Fetching kitura-websocket-compression, bluecryptor, kitura-nio
Fetched https://github.com/Kitura/Kitura-WebSocket-Compression.git from cache (0.27s)
[5091/5125] Fetching bluecryptor, kitura-nio
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.28s)
Fetched https://github.com/Kitura/Kitura-NIO.git from cache (0.35s)
Computing version for https://github.com/Kitura/Kitura-WebSocket-Compression.git
Computed https://github.com/Kitura/Kitura-WebSocket-Compression.git at 0.1.200 (0.71s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.24s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (4.64s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.19s)
Computing version for https://github.com/Kitura/Kitura-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 2.4.200 (0.60s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
[772/6713] Fetching loggerapi, swift-nio-extras
[2852/8790] Fetching loggerapi, swift-nio-extras, bluesslservice
[8791/23680] Fetching loggerapi, swift-nio-extras, bluesslservice, swift-nio-ssl
Fetched https://github.com/Kitura/BlueSSLService.git from cache (1.40s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.40s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.40s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.97s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (2.39s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.34s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.78s)
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.31s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.72s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.41s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.60s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1590] Fetching swift-asn1
[510/4016] Fetching swift-asn1, swift-service-lifecycle
[1779/9001] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms
[5366/15185] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates
[7304/16982] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates, swift-atomics
[11019/22941] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates, swift-atomics, swift-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.45s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.45s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.56s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.56s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.58s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.58s)
[1/1141] Fetching swift-http-structured-headers
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.35s)
[1/11532] Fetching swift-nio-http2
[3000/12436] Fetching swift-nio-http2, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.97s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.23s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.21s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.58s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.09s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.69s)
Fetching https://github.com/apple/swift-crypto.git
[1/15270] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.81s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.00s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.51s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.43s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.89s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.51s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.24s)
Fetching https://github.com/apple/swift-system.git
[1/4428] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.40s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.94s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.41s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.32s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.87s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.42s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.28.0
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura-NIO.git
Working copy of https://github.com/Kitura/Kitura-NIO.git resolved at 2.4.200
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.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/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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/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/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/Kitura/Kitura-WebSocket-Compression.git
Working copy of https://github.com/Kitura/Kitura-WebSocket-Compression.git resolved at 0.1.200
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 libz using your system-packager:
apt-get install libz-dev
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 libz using your system-packager:
apt-get install libz-dev
Building for debugging...
[0/465] Write sources
[5/465] Compiling CLinuxHelpers ProcessorAffinity.c
[6/465] Write sources
[8/465] Compiling _AtomicsShims.c
[9/465] Write sources
[26/465] Compiling armv4-mont-linux.S
[27/465] Compiling armv8-mont-apple.S
[28/465] Compiling CNIOWindows shim.c
[29/465] Compiling CNIOWASI CNIOWASI.c
[30/465] Compiling CNIOWindows WSAStartup.c
[31/465] Compiling CNIOLinux shim.c
[32/465] Compiling CNIOLinux liburing_shims.c
[33/465] Compiling CNIOSHA1 c_nio_sha1.c
[34/465] Compiling CNIOLLHTTP c_nio_http.c
[35/465] Compiling CNIODarwin shim.c
[36/465] Compiling CNIOLLHTTP c_nio_api.c
[37/465] Compiling fiat_p256_adx_sqr.S
[38/465] Compiling fiat_p256_adx_mul.S
[39/465] Compiling fiat_curve25519_adx_square.S
[40/465] Compiling fiat_curve25519_adx_mul.S
[41/465] Compiling CNIOBoringSSLShims shims.c
[42/465] Write swift-version-24593BA9C3E375BF.txt
[43/465] Compiling v3_info.cc
[44/465] Compiling v3_ia5.cc
[45/465] Compiling v3_genn.cc
[46/475] Compiling tls_method.cc
[47/475] Compiling tls_record.cc
[48/493] Compiling CNIOLLHTTP c_nio_llhttp.c
[49/512] Compiling tls13_server.cc
[50/512] Compiling c-atomics.c
[51/512] Compiling tls13_enc.cc
[52/512] Compiling tls13_client.cc
[54/512] Compiling Atomics UnsafeAtomic.swift
[55/512] Compiling Atomics UnsafeAtomicLazyReference.swift
[56/514] Compiling Atomics AtomicInteger.swift
[57/514] Compiling Atomics AtomicOptionalWrappable.swift
[58/515] Compiling Logging LogHandler.swift
[59/515] Compiling Atomics ManagedAtomic.swift
[60/515] Compiling Atomics ManagedAtomicLazyReference.swift
[61/515] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[62/515] Compiling Atomics AtomicValue.swift
[63/515] Compiling Atomics AtomicMemoryOrderings.swift
[64/515] Compiling Atomics AtomicReference.swift
[65/515] Compiling Atomics AtomicStorage.swift
[67/515] Compiling Atomics DoubleWord.swift
[68/515] Emitting module Atomics
[69/515] Compiling Atomics AtomicBool.swift
[70/515] Compiling Atomics IntegerConformances.swift
[71/515] Compiling Atomics PointerConformances.swift
[72/515] Compiling Atomics Primitives.native.swift
[73/515] Compiling Atomics OptionalRawRepresentable.swift
[74/515] Compiling Atomics RawRepresentable.swift
[75/515] Emitting module InternalCollectionsUtilities
[79/515] Emitting module Logging
[80/515] Compiling Logging Locks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/515] 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
[90/515] Compiling Socket Socket.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
[91/515] 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
[92/515] 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
[93/515] Compiling _NIOBase64 Base64.swift
[94/515] Emitting module _NIOBase64
[94/516] Compiling tls13_both.cc
[96/516] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[98/517] Compiling _NIODataStructures PriorityQueue.swift
[98/517] Compiling ssl_x509.cc
[98/517] Compiling t1_enc.cc
BUILD FAILURE 6.2 wasm