Build Information
Failed to build Sockit, reference main (ac83af), with Swift 6.2 for Wasm on 27 Mar 2026 11:02:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sufiyanyusuf/sockit.git
Reference: main
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/sufiyanyusuf/sockit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ac83af5 docs: fix README mismatches — remove dead defaultTimeout claim, update test count
Cloned https://github.com/sufiyanyusuf/sockit.git
Revision (git rev-parse @):
ac83af575078fc4b1e4bb2def6bf629a6f45ab29
SUCCESS checkout https://github.com/sufiyanyusuf/sockit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/sufiyanyusuf/sockit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/websocket-kit.git
[1/2652] Fetching websocket-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (0.31s)
[1/77141] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (2.51s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (3.01s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/1820] Fetching swift-atomics
[1821/8311] Fetching swift-atomics, swift-nio-extras
[2406/11132] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services
[6237/26492] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (0.75s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.77s)
[8181/21851] Fetching swift-nio-extras, swift-nio-ssl
[8182/104798] Fetching swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.87s)
[42988/89438] Fetching swift-nio-extras, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (10.87s)
Fetched https://github.com/apple/swift-nio.git from cache (11.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (12.27s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.42s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (0.83s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.85s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/22970] Fetching swift-collections
[2/28571] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.81s)
[2068/22970] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.90s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.61s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (0.51s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
[1/1219] Fetching swift-http-structured-headers
[428/2988] Fetching swift-http-structured-headers, swift-asn1
[464/5664] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[4943/11932] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-log
[5498/19057] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-log, swift-certificates
[5767/25285] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-log, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.38s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.38s)
[8861/22297] Fetching swift-service-lifecycle, swift-log, swift-certificates, swift-async-algorithms
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-nio-http2.git
[22298/23248] Fetching swift-service-lifecycle, swift-log, swift-certificates, swift-async-algorithms, swift-http-types
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.82s)
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.87s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.87s)
[1/12070] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.50s)
[2536/18128] Fetching swift-nio-http2, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.61s)
[9174/12070] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.83s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.69s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (0.89s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.59s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (3.62s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.50s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.84s)
Fetching https://github.com/apple/swift-crypto.git
[1/17276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.26s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (2.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.40s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (1.20s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (0.38s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.121.3 (0.46s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/vapor/routing-kit.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/console-kit.git
[1/21402] Fetching routing-kit
[1072/25018] Fetching routing-kit, multipart-kit
[3833/27992] Fetching routing-kit, multipart-kit, swift-metrics
[4555/29202] Fetching routing-kit, multipart-kit, swift-metrics, swift-service-context
[10652/35769] Fetching routing-kit, multipart-kit, swift-metrics, swift-service-context, console-kit
[28432/41460] Fetching routing-kit, multipart-kit, swift-metrics, swift-service-context, console-kit, swift-distributed-tracing
Fetched https://github.com/vapor/console-kit.git from cache (0.57s)
[22320/34893] Fetching routing-kit, multipart-kit, swift-metrics, swift-service-context, swift-distributed-tracing
Fetching https://github.com/vapor/async-kit.git
[30980/37389] Fetching routing-kit, multipart-kit, swift-metrics, swift-service-context, swift-distributed-tracing, async-kit
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.86s)
[29336/31698] Fetching routing-kit, multipart-kit, swift-metrics, swift-service-context, async-kit
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/async-kit.git from cache (0.36s)
Fetched https://github.com/apple/swift-service-context.git from cache (1.20s)
Fetched https://github.com/apple/swift-metrics.git from cache (1.21s)
Fetched https://github.com/vapor/routing-kit.git from cache (1.24s)
[1649/3616] Fetching multipart-kit
[1650/19283] Fetching multipart-kit, async-http-client
Fetched https://github.com/vapor/multipart-kit.git from cache (2.21s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.36s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (2.70s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.45s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.8.0 (0.46s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.42s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.64s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.51s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.51s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (0.50s)
Fetching https://github.com/apple/swift-configuration.git
[1/3136] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git from cache (0.45s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (1.28s)
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.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.36.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.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.1.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.121.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.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.42.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.33.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.5.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.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.1.3
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
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.6.0
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.10.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.8.0
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
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.33.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Building for debugging...
[0/862] Write sources
[55/862] Compiling _NumericsShims _NumericsShims.c
[56/862] Compiling _CWASI _CWASI.c
[56/862] Compiling _AtomicsShims.c
[58/862] Compiling SimpleFIPS202.c
[58/862] Compiling CXKCPShims shims.c
[60/862] Compiling KeccakSponge.c
[61/862] Compiling KeccakHash.c
[62/862] Compiling CSystem shims.c
[63/862] Compiling CNIOWASI CNIOWASI.c
[64/862] Compiling CNIOWindows shim.c
[65/862] Compiling CNIOWindows WSAStartup.c
[65/862] Compiling CVaporBcrypt blf.c
[65/862] Write swift-version-24593BA9C3E375BF.txt
[68/862] Compiling CNIOOpenBSD shim.c
[68/862] Compiling CNIOLinux shim.c
[68/862] Compiling CNIOPosix event_loop_id.c
[71/862] Compiling CVaporBcrypt bcrypt.c
[72/862] Compiling CNIOLinux liburing_shims.c
[73/862] Compiling CNIOSHA1 c_nio_sha1.c
[75/899] Compiling _CertificateInternals _TinyArray.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/900] Emitting module _CertificateInternals
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[76/922] Compiling CNIOLLHTTP c_nio_llhttp.c
[76/922] Compiling KeccakP-1600-opt64.c
BUILD FAILURE 6.2 wasm