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 Appwrite, reference main (8ea3de), with Swift 6.2 (beta) for Wasm on 8 Sep 2025 19:04:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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/appwrite/sdk-for-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4606859-3":/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/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
[1/14168] Fetching async-http-client
[10911/92221] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.56s)
[9367/78053] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.11s)
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 (10.05s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/6127] Fetching swift-nio-extras
[124/12112] Fetching swift-nio-extras, swift-algorithms
[545/14816] Fetching swift-nio-extras, swift-algorithms, swift-nio-transport-services
[2600/18719] Fetching swift-nio-extras, swift-algorithms, swift-nio-transport-services, swift-log
[4926/20533] Fetching swift-nio-extras, swift-algorithms, swift-nio-transport-services, swift-log, swift-atomics
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.94s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.12s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.32s)
Fetched https://github.com/apple/swift-log.git from cache (1.43s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.44s)
[1/11661] Fetching swift-nio-http2
[235/26736] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.61s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.90s)
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.83s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (1.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.53s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4937] Fetching swift-system
[1532/22347] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.16s)
Fetched https://github.com/apple/swift-collections.git from cache (2.21s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.98s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.92s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.75s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.63s)
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.13s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/5262] Fetching swift-async-algorithms
[370/6438] Fetching swift-async-algorithms, swift-http-structured-headers
[1701/8067] Fetching swift-async-algorithms, swift-http-structured-headers, swift-asn1
[4364/14528] Fetching swift-async-algorithms, swift-http-structured-headers, swift-asn1, swift-certificates
[4365/15445] Fetching swift-async-algorithms, swift-http-structured-headers, swift-asn1, swift-certificates, swift-http-types
[8156/17915] Fetching swift-async-algorithms, swift-http-structured-headers, swift-asn1, swift-certificates, swift-http-types, swift-service-lifecycle
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.01s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.05s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.15s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.16s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.16s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.17s)
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.16s)
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.22s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.02s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.28s)
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.16s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.80s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (1.07s)
Fetching https://github.com/apple/swift-crypto.git
[1/16627] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.56s)
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.49s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.08s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (2.24s)
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-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-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-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-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-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-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-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/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-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/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-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/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-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-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-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-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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Building for debugging...
[0/446] Write sources
[23/446] Compiling CNIOWindows shim.c
[24/446] Compiling _NumericsShims _NumericsShims.c
[25/446] Compiling _AtomicsShims.c
[26/446] Compiling CNIOWindows WSAStartup.c
[27/446] Compiling CNIOWASI CNIOWASI.c
[28/446] Compiling CNIOPosix event_loop_id.c
[29/446] Compiling CNIOLinux shim.c
[30/446] Compiling CNIOLinux liburing_shims.c
[31/446] Write swift-version-24593BA9C3E375BF.txt
[32/446] Compiling CNIOExtrasZlib empty.c
[33/446] Compiling CNIODarwin shim.c
[34/446] Compiling CNIOSHA1 c_nio_sha1.c
[35/446] Compiling CNIOLLHTTP c_nio_http.c
[36/446] Compiling fiat_p256_adx_sqr.S
[37/468] Compiling CNIOLLHTTP c_nio_api.c
[38/484] Compiling CNIOBoringSSLShims shims.c
[39/484] Compiling fiat_p256_adx_mul.S
[40/484] Compiling fiat_curve25519_adx_square.S
[41/484] Compiling fiat_curve25519_adx_mul.S
[42/484] Compiling CNIOLLHTTP c_nio_llhttp.c
[43/484] Compiling tls_record.cc
[44/484] Compiling tls_method.cc
[45/484] Compiling tls13_server.cc
[47/484] Compiling RealModule RealFunctions.swift
[48/485] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[49/485] Compiling InternalCollectionsUtilities UInt+reversed.swift
[50/485] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[51/485] Compiling InternalCollectionsUtilities Debugging.swift
[52/485] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[53/485] Compiling InternalCollectionsUtilities Descriptions.swift
[54/485] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[55/485] Compiling Logging LogHandler.swift
[56/485] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[57/485] Compiling InternalCollectionsUtilities Integer rank.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/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()
[59/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()
[60/486] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[61/486] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[62/486] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[63/486] Compiling InternalCollectionsUtilities _SortedCollection.swift
[64/486] Emitting module InternalCollectionsUtilities
[67/486] Emitting module RealModule
[70/486] Compiling RealModule Float80+Real.swift
[71/486] Compiling RealModule Real.swift
[73/486] Compiling _NIODataStructures PriorityQueue.swift
[75/486] Emitting module _NIOBase64
[75/486] Compiling tls13_enc.cc
[75/486] Compiling tls13_client.cc
BUILD FAILURE 6.2 wasm