Build Information
Failed to build Appwrite, reference 21.5.0 (0e6bd9), with Swift 6.2 for Wasm on 27 Nov 2026 08:40:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appwrite/sdk-for-apple.git
Reference: 21.5.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-apple
* tag 21.5.0 -> FETCH_HEAD
HEAD is now at 0e6bd9f Merge pull request #138 from appwrite/release-21.5.0
Cloned https://github.com/appwrite/sdk-for-apple.git
Revision (git rev-parse @):
0e6bd9f88b351a65eb6660b4c6ed52745e37d19f
SUCCESS checkout https://github.com/appwrite/sdk-for-apple.git at 21.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/appwrite/sdk-for-apple.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
3 | import PackageDescription
4 |
5 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
6 | name: "Appwrite",
7 | platforms: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/swift-server-community/mqtt-nio.git
[1/6750] Fetching swift-distributed-tracing
[541/23561] Fetching swift-distributed-tracing, async-http-client
[10450/36239] Fetching swift-distributed-tracing, async-http-client, mqtt-nio
[36240/123482] Fetching swift-distributed-tracing, async-http-client, mqtt-nio, swift-nio
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (3.23s)
Fetched https://github.com/swift-server-community/mqtt-nio.git from cache (3.23s)
Fetched https://github.com/swift-server/async-http-client.git from cache (3.23s)
Fetched https://github.com/apple/swift-nio.git from cache (3.26s)
Computing version for https://github.com/swift-server-community/mqtt-nio.git
Computed https://github.com/swift-server-community/mqtt-nio.git at 2.13.0 (4.14s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/8584] Fetching swift-log
[2/10520] Fetching swift-log, swift-atomics
[6401/27526] Fetching swift-log, swift-atomics, swift-nio-ssl
[13413/30407] Fetching swift-log, swift-atomics, swift-nio-ssl, swift-nio-transport-services
Fetched https://github.com/apple/swift-atomics.git from cache (1.20s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.20s)
Fetched https://github.com/apple/swift-log.git from cache (1.20s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.21s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.37.1 (1.38s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-configuration.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-service-context.git
[1/1575] Fetching swift-service-context
[1576/7772] Fetching swift-service-context, swift-algorithms
Fetched https://github.com/apple/swift-service-context.git from cache (0.42s)
[310/6197] Fetching swift-algorithms
[1303/10465] Fetching swift-algorithms, swift-configuration
[10466/22906] Fetching swift-algorithms, swift-configuration, swift-nio-http2
[10467/29696] Fetching swift-algorithms, swift-configuration, swift-nio-http2, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.83s)
[17059/22906] Fetching swift-algorithms, swift-configuration, swift-nio-http2
Fetched https://github.com/apple/swift-configuration.git from cache (1.13s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.13s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.13s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.2 (1.51s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/7601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.70s)
[1/30565] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.57s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.16s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.52s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.67s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.13s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.14s)
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.13s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.5.0 (0.78s)
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2937] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.45s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.59s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/7047] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.56s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.76s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.15s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (0.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.17s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.8 (0.18s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.3 (0.38s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
[1/1284] Fetching swift-http-structured-headers
[66/3372] Fetching swift-http-structured-headers, swift-asn1
[67/5362] Fetching swift-http-structured-headers, swift-asn1, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.42s)
[1/7691] Fetching swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.59s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.59s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.59s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.74s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.17s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.17s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.20s)
Fetching https://github.com/apple/swift-crypto.git
[1/19023] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.26s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (1.77s)
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.7.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.21.2
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.5.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.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.37.8
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.1
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.28.0
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.5.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.37.1
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.2.0
Creating working copy for https://github.com/swift-server-community/mqtt-nio.git
Working copy of https://github.com/swift-server-community/mqtt-nio.git resolved at 2.13.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.7.5
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.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.7.6
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.46.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.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.7
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.35.3
warning: 'spi-builder-workspace': dependency 'swift-distributed-tracing' is not used by any target
Building for debugging...
[0/470] Write sources
[23/470] Compiling CNIOWASI CNIOWASI.c
[24/470] Compiling CNIOWindows WSAStartup.c
[24/470] Compiling CNIOWindows shim.c
[24/470] Write sources
[31/470] Compiling CNIOOpenBSD shim.c
[32/470] Compiling CNIOPosix event_loop_id.c
[33/470] Compiling _NumericsShims _NumericsShims.c
[34/470] Compiling _CWASI _CWASI.c
[35/470] Compiling CNIOLinux liburing_shims.c
[36/470] Compiling CNIOLinux shim.c
[37/470] Compiling _AtomicsShims.c
[38/470] Compiling CSystem shims.c
[39/470] Compiling CNIOSHA1 c_nio_sha1.c
[40/470] Compiling CNIOLLHTTP c_nio_http.c
[41/470] Compiling CNIOFreeBSD shim.c
[42/470] Compiling CNIOExtrasZlib zutil.c
[43/470] Write swift-version-24593BA9C3E375BF.txt
[44/470] Compiling CNIOLLHTTP c_nio_api.c
[45/470] Compiling CNIOExtrasZlib inftrees.c
[46/470] Compiling CNIOExtrasZlib trees.c
[47/470] Compiling CNIOExtrasZlib inffast.c
[48/470] Compiling CNIOExtrasZlib crc32.c
[49/474] Compiling CNIOExtrasZlib inflate.c
[50/505] Compiling CNIOExtrasZlib deflate.c
[52/543] Emitting module ServiceContextModule
[53/543] Emitting module _NIODataStructures
[53/543] Compiling CNIOLLHTTP c_nio_llhttp.c
[55/572] Emitting module JSONCodable
[56/572] Compiling RealModule Float16+Real.swift
[57/573] Compiling Logging LoggingSystem.swift
[58/574] Compiling InternalCollectionsUtilities Span+Extras.swift
[59/574] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[60/574] Compiling InternalCollectionsUtilities String+Padding.swift
[61/574] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[62/577] Compiling RealModule RelaxedArithmetic.swift
[63/577] Compiling RealModule Float80+Real.swift
[64/577] Compiling InternalCollectionsUtilities Debugging.swift
[65/577] Compiling InternalCollectionsUtilities Descriptions.swift
[66/577] Compiling InternalCollectionsUtilities MutableRef.swift
[67/577] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[68/577] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[69/577] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[74/577] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[75/577] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[76/577] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[77/577] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[78/577] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[79/577] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[80/577] Compiling InternalCollectionsUtilities Immortalize.swift
[81/577] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[82/577] Compiling InternalCollectionsUtilities Integer rank.swift
[83/577] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[84/577] Compiling RealModule RealFunctions.swift
[85/577] Compiling RealModule Real.swift
[86/577] Emitting module InternalCollectionsUtilities
[87/577] Emitting module _NIOBase64
[88/577] Compiling _NIODataStructures _TinyArray.swift
[89/577] Compiling _NIOBase64 Base64.swift
[93/578] Compiling Logging Logger+Attributes.swift
[94/578] Emitting module RealModule
[97/579] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[98/579] Compiling InternalCollectionsUtilities _SortedCollection.swift
[99/579] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[100/579] Compiling ServiceContextModule ServiceContextKey.swift
[101/579] Compiling ServiceContextModule ServiceContext.swift
[114/585] Compiling CNIOExtrasZlib adler32.c
[115/585] Compiling CNIODarwin shim.c
[116/585] Compiling fiat_p256_adx_sqr.S
[117/585] Compiling fiat_p256_adx_mul.S
[118/591] Compiling fiat_curve25519_adx_square.S
[120/591] Compiling Logging Logger+With.swift
[121/591] Compiling Logging Logger.swift
[121/591] Compiling fiat_curve25519_adx_mul.S
[123/591] Compiling Logging MetadataProvider.swift
[124/591] Emitting module SystemPackage
[125/591] Compiling Instrumentation NoOpInstrument.swift
[129/591] Compiling SystemPackage MachPort.swift
[130/591] Compiling SystemPackage PlatformString.swift
[131/591] Compiling SystemPackage FileType.swift
[132/591] Compiling SystemPackage Identifiers.swift
[133/591] Compiling SystemPackage MountFlags.swift
[134/591] Compiling SystemPackage Stat.swift
[135/591] Compiling SystemPackage StatFS.swift
[136/591] Compiling SystemPackage IOCompletion.swift
[139/591] Compiling InternalCollectionsUtilities UInt+reversed.swift
[140/591] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[141/591] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[142/591] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[143/591] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[144/591] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[145/591] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[146/591] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[147/592] Compiling _NIODataStructures PriorityQueue.swift
[148/592] Compiling _NIODataStructures Heap.swift
[149/593] Compiling Instrumentation MultiplexInstrument.swift
[150/593] Compiling Instrumentation Locks.swift
[150/593] Compiling CNIOBoringSSLShims shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[152/593] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[156/593] Compiling tls_method.cc
[156/593] Compiling tls_record.cc
[169/593] Compiling Instrumentation Instrument.swift
BUILD FAILURE 6.2 wasm