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 14.0.0 (be0149), with Swift 6.2 for Android on 3 Dec 2025 10:49:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appwrite/sdk-for-swift.git
Reference: 14.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               14.0.0     -> FETCH_HEAD
HEAD is now at be01492 Merge pull request #49 from appwrite/dev
Cloned https://github.com/appwrite/sdk-for-swift.git
Revision (git rev-parse @):
be01492709103856733422a67dd5f6ae4ede739b
SUCCESS checkout https://github.com/appwrite/sdk-for-swift.git at 14.0.0
========================================
Build
========================================
Selected platform:         android
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-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
[1/14502] Fetching async-http-client
[12038/95103] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (8.08s)
Fetched https://github.com/apple/swift-nio.git from cache (8.19s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.1 (8.85s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/5566] Fetching swift-distributed-tracing
[335/7386] Fetching swift-distributed-tracing, swift-atomics
[1569/12986] Fetching swift-distributed-tracing, swift-atomics, swift-log
[1792/15795] Fetching swift-distributed-tracing, swift-atomics, swift-log, swift-nio-transport-services
[4002/22131] Fetching swift-distributed-tracing, swift-atomics, swift-log, swift-nio-transport-services, swift-nio-extras
[5571/28172] Fetching swift-distributed-tracing, swift-atomics, swift-log, swift-nio-transport-services, swift-nio-extras, swift-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (1.11s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.21s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-log.git from cache (1.42s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.43s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.45s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.45s)
[1/11718] Fetching swift-nio-http2
[2579/27006] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.81s)
[11925/15288] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.52s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (4.44s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.40s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.95s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.54s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.56s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (1.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.53s)
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.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.0 (4.26s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (3.55s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.0 (1.70s)
Fetching https://github.com/apple/swift-http-structured-headers.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
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
[1/943] Fetching swift-http-types
[30/2606] Fetching swift-http-types, swift-asn1
[1709/5174] Fetching swift-http-types, swift-asn1, swift-service-lifecycle
[1992/6378] Fetching swift-http-types, swift-asn1, swift-service-lifecycle, swift-http-structured-headers
[3001/12167] Fetching swift-http-types, swift-asn1, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms
[7479/19193] Fetching swift-http-types, swift-asn1, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.59s)
[9095/18250] Fetching swift-asn1, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.63s)
[11645/17046] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.86s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.86s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.86s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.86s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.26s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.52s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.10s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (2.56s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (2.80s)
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.35s)
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 (0.33s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.48s)
Fetching https://github.com/apple/swift-crypto.git
[1/17463] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.00s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (1.12s)
Fetching https://github.com/apple/swift-system.git
[1/5181] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.71s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.49s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.33s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.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.26.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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.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.5.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.31.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.3
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.30.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.7.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/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.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.17.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.5.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.1.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.91.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.36.0
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.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.9.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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Building for debugging...
[0/450] Write sources
[24/450] Compiling CNIOOpenBSD shim.c
[25/450] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[26/450] Write sources
[27/450] Compiling _NumericsShims _NumericsShims.c
[27/450] Write sources
[34/450] Compiling CNIOLinux liburing_shims.c
[35/450] Compiling CNIOSHA1 c_nio_sha1.c
[36/450] Write swift-version--6B0C4D200E742BB1.txt
[37/450] Compiling CNIODarwin shim.c
[37/450] Compiling CNIOWindows WSAStartup.c
[39/450] Compiling CNIOWindows shim.c
[40/450] Compiling _AtomicsShims.c
[41/450] Compiling CNIOWASI CNIOWASI.c
[41/450] Compiling CNIOPosix event_loop_id.c
[43/450] Compiling CNIOLinux shim.c
[44/493] Compiling CNIOLLHTTP c_nio_llhttp.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/511] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1360:36: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
1358 |         let systemStderr = Glibc.stderr!
1359 |         #elseif canImport(Android)
1360 |         let systemStderr = Android.stderr
     |                                    `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
1361 |         #elseif canImport(Musl)
1362 |         let systemStderr = Musl.stderr!
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1380:36: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
1378 |         let systemStdout = Glibc.stdout!
1379 |         #elseif canImport(Android)
1380 |         let systemStdout = Android.stdout
     |                                    `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
1381 |         #elseif canImport(Musl)
1382 |         let systemStdout = Musl.stdout!
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
[47/511] Emitting module InternalCollectionsUtilities
[48/513] Compiling Atomics ManagedAtomic.swift
[49/513] Compiling Atomics ManagedAtomicLazyReference.swift
[50/513] Compiling _NIODataStructures _TinyArray.swift
[51/513] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[52/513] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[53/515] Emitting module ServiceContextModule
[54/515] Compiling RealModule Real.swift
[55/515] Compiling RealModule RealFunctions.swift
[56/515] Compiling ServiceContextModule ServiceContext.swift
[57/515] Compiling ServiceContextModule ServiceContextKey.swift
[58/517] Compiling Atomics AtomicReference.swift
[59/517] Compiling Atomics IntegerConformances.swift
[60/517] Emitting module _NIOBase64
[61/517] Compiling _NIOBase64 Base64.swift
[64/518] Compiling Atomics OptionalRawRepresentable.swift
[65/518] Compiling Atomics RawRepresentable.swift
[66/518] Compiling Atomics AtomicBool.swift
[67/518] Compiling Atomics AtomicInteger.swift
[68/518] Compiling Atomics AtomicOptionalWrappable.swift
[69/518] Emitting module RealModule
[71/518] Compiling Atomics PointerConformances.swift
[72/518] Compiling Atomics Primitives.native.swift
[76/518] Compiling Atomics AtomicMemoryOrderings.swift
[77/518] Compiling Atomics DoubleWord.swift
[79/518] Emitting module Atomics
[83/518] Compiling Atomics AtomicStorage.swift
[84/518] Compiling Atomics AtomicValue.swift
[85/518] Compiling RealModule Float80+Real.swift
[88/518] Compiling _NIODataStructures PriorityQueue.swift
[102/519] Compiling RealModule RelaxedArithmetic.swift
[103/519] Compiling RealModule Float16+Real.swift
[106/522] Emitting module _NIODataStructures
[107/522] Compiling _NIODataStructures Heap.swift
[108/562] Compiling CNIOLLHTTP c_nio_http.c
[109/577] Compiling CNIOLLHTTP c_nio_api.c
[111/577] Compiling Instrumentation NoOpInstrument.swift
[111/577] Compiling CNIOExtrasZlib empty.c
[113/602] Compiling Instrumentation MultiplexInstrument.swift
[114/602] Compiling Algorithms EitherSequence.swift
[115/602] Compiling Algorithms FirstNonNil.swift
[116/604] Compiling Algorithms Product.swift
[117/604] Compiling Algorithms RandomSample.swift
[118/605] Compiling Algorithms Joined.swift
[119/605] Compiling Algorithms Keyed.swift
[121/605] Compiling Algorithms Indexed.swift
[122/605] Compiling Algorithms Intersperse.swift
[123/605] Compiling Algorithms FlattenCollection.swift
[124/605] Compiling Algorithms Grouped.swift
[124/605] Compiling fiat_p256_adx_sqr.S
[125/605] Compiling fiat_p256_adx_mul.S
[126/605] Compiling fiat_curve25519_adx_square.S
[127/605] Compiling fiat_curve25519_adx_mul.S
[129/605] Compiling DequeModule _DequeSlot.swift
[130/605] Compiling DequeModule _UnsafeWrappedBuffer.swift
[130/605] Compiling CNIOBoringSSLShims shims.c
[132/605] Compiling Algorithms AdjacentPairs.swift
[133/605] Compiling Algorithms Chain.swift
[134/605] Compiling Algorithms Chunked.swift
[135/605] Compiling Algorithms Combinations.swift
[136/605] Emitting module AppwriteEnums
[138/609] Compiling Algorithms Reductions.swift
[139/609] Compiling Algorithms Rotate.swift
[140/609] Compiling Algorithms Split.swift
[141/609] Compiling Algorithms Stride.swift
[142/609] Compiling Algorithms Suffix.swift
[143/612] Emitting module DequeModule
[144/612] Compiling Algorithms Compacted.swift
[145/612] Compiling Algorithms Cycle.swift
[147/613] Compiling Algorithms Trim.swift
[148/613] Compiling Algorithms Unique.swift
[149/613] Compiling Algorithms Windows.swift
[154/613] Compiling Algorithms Permutations.swift
[164/613] Compiling Logging MetadataProvider.swift
[165/613] Compiling Logging LogHandler.swift
[166/613] Compiling Logging Logging.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1360:36: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
1358 |         let systemStderr = Glibc.stderr!
1359 |         #elseif canImport(Android)
1360 |         let systemStderr = Android.stderr
     |                                    `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
1361 |         #elseif canImport(Musl)
1362 |         let systemStderr = Musl.stderr!
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1380:36: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
1378 |         let systemStdout = Glibc.stdout!
1379 |         #elseif canImport(Android)
1380 |         let systemStdout = Android.stdout
     |                                    `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
1381 |         #elseif canImport(Musl)
1382 |         let systemStdout = Musl.stdout!
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
[167/613] Compiling Instrumentation InstrumentationSystem.swift
[168/613] Emitting module Instrumentation
[169/613] Compiling Instrumentation Locks.swift
[170/613] Compiling Instrumentation Instrument.swift
[171/614] Compiling Logging Locks.swift
[171/614] Compiling tls_record.cc
[172/614] Emitting module JSONCodable
[172/614] Compiling tls13_server.cc
[172/614] Compiling tls_method.cc
BUILD FAILURE 6.2 android