Build Information
Failed to build Appwrite, reference 12.0.0 (8ea3de
), with Swift 6.2 (beta) for Wasm on 8 Sep 2025 19:08:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appwrite/sdk-for-swift.git
Reference: 12.0.0
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/appwrite/sdk-for-swift
* tag 12.0.0 -> FETCH_HEAD
HEAD is now at 8ea3ded Merge pull request #39 from appwrite/dev
Cloned https://github.com/appwrite/sdk-for-swift.git
Revision (git rev-parse @):
8ea3ded19b70419c8be1b00c93df62be73e0d67d
SUCCESS checkout https://github.com/appwrite/sdk-for-swift.git at 12.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/appwrite/sdk-for-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client.git
[1/14168] Fetching async-http-client
[11761/92221] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.53s)
[13270/78053] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.72s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.27.0 (9.57s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-log.git
[1/5985] Fetching swift-algorithms
[361/9888] Fetching swift-algorithms, swift-log
[1743/21549] Fetching swift-algorithms, swift-log, swift-nio-http2
[7620/27676] Fetching swift-algorithms, swift-log, swift-nio-http2, swift-nio-extras
[7983/30380] Fetching swift-algorithms, swift-log, swift-nio-http2, swift-nio-extras, swift-nio-transport-services
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-log.git from cache (1.12s)
Fetching https://github.com/apple/swift-nio-ssl.git
[17732/26477] Fetching swift-algorithms, swift-nio-http2, swift-nio-extras, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.19s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.19s)
[9484/17646] Fetching swift-algorithms, swift-nio-http2
[15898/19460] Fetching swift-algorithms, swift-nio-http2, swift-atomics
[19208/34535] Fetching swift-algorithms, swift-nio-http2, swift-atomics, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (1.18s)
[20360/32721] Fetching swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (2.91s)
[20254/26736] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.93s)
[8744/15075] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.33s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (5.42s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.92s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.48s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
[545/22347] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.82s)
[4353/17410] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.16s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.95s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.12s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.75s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.11s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
[1/1629] Fetching swift-asn1
[1630/2546] Fetching swift-asn1, swift-http-types
[1896/7808] Fetching swift-asn1, swift-http-types, swift-async-algorithms
[2059/10278] Fetching swift-asn1, swift-http-types, swift-async-algorithms, swift-service-lifecycle
[2060/16739] Fetching swift-asn1, swift-http-types, swift-async-algorithms, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.99s)
[7398/15822] Fetching swift-asn1, swift-async-algorithms, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (1.00s)
[6060/14193] Fetching swift-async-algorithms, swift-service-lifecycle, swift-certificates
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.22s)
[11400/11723] Fetching swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.37s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.51s)
[1/1176] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.55s)
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.67s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.04s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.03s)
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.91s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (1.00s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.81s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (1.04s)
Fetching https://github.com/apple/swift-crypto.git
[1/16627] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.21s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (4.07s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (2.46s)
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.25.1
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
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.34.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.27.0
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-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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.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.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.86.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.4.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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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.6.4
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.29.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.13.0
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.2
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.4.0
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
Building for debugging...
[0/446] Write sources
[22/446] Compiling CNIOWindows shim.c
[23/446] Compiling CNIOWASI CNIOWASI.c
[23/446] Compiling CNIOWindows WSAStartup.c
[25/446] Compiling _AtomicsShims.c
[26/446] Compiling CNIOPosix event_loop_id.c
[27/446] Compiling CNIOLinux shim.c
[28/446] Compiling _NumericsShims _NumericsShims.c
[29/446] Compiling CNIOLinux liburing_shims.c
[30/446] Write swift-version-24593BA9C3E375BF.txt
[31/446] Compiling CNIODarwin shim.c
[32/446] Compiling CNIOExtrasZlib empty.c
[33/446] Compiling CNIOLLHTTP c_nio_http.c
[33/446] Compiling CNIOSHA1 c_nio_sha1.c
[35/450] Compiling fiat_p256_adx_sqr.S
[36/457] Compiling CNIOLLHTTP c_nio_api.c
[37/484] Compiling CNIOBoringSSLShims shims.c
[38/484] Compiling fiat_p256_adx_mul.S
[40/484] Emitting module _NIOBase64
[40/484] Compiling fiat_curve25519_adx_square.S
[41/484] Compiling fiat_curve25519_adx_mul.S
[43/484] Emitting module RealModule
[43/485] Compiling CNIOLLHTTP c_nio_llhttp.c
[44/485] Compiling tls_record.cc
[45/485] Compiling tls_method.cc
[46/485] Compiling tls13_server.cc
[48/485] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[49/485] Compiling InternalCollectionsUtilities _SortedCollection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/486] Emitting module JSONCodable
/host/spi-builder-workspace/Sources/JSONCodable/Codable+JSON.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | let jsonEncoder = JSONEncoder()
[51/486] Compiling JSONCodable Codable+JSON.swift
/host/spi-builder-workspace/Sources/JSONCodable/Codable+JSON.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | let jsonEncoder = JSONEncoder()
[51/486] Compiling tls13_enc.cc
[52/486] Emitting module _NIODataStructures
[52/486] Compiling tls13_client.cc
BUILD FAILURE 6.2 wasm