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 (be0149), with Swift 6.2 for Android on 3 Dec 2025 10:48:05 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: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: 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 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 main
========================================
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-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: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
[5512/95103] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (2.04s)
[45137/80601] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.03s)
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 (6.43s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-distributed-tracing.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-algorithms.git
[1/5566] Fetching swift-distributed-tracing
[2/8375] Fetching swift-distributed-tracing, swift-nio-transport-services
[867/10195] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-atomics
[997/16236] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-atomics, swift-algorithms
[5604/22572] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-atomics, swift-algorithms, swift-nio-extras
[9124/34290] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-atomics, swift-algorithms, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
[24854/32470] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-algorithms, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.66s)
[18635/26134] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-algorithms, swift-nio-http2
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
[26135/31734] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-algorithms, swift-nio-http2, swift-log
[31735/47022] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-algorithms, swift-nio-http2, swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.45s)
[32289/44213] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2, swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.46s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.46s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.46s)
[9117/20888] Fetching swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (2.74s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.79s)
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.19s)
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 (3.01s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (3.58s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.43s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.01s)
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.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.60s)
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 (8.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.0 (1.83s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.12s)
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.38s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1204] Fetching swift-http-structured-headers
[423/2867] Fetching swift-http-structured-headers, swift-asn1
[1814/5435] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[4563/12461] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates
[12462/13404] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates, swift-http-types
[13405/19193] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates, swift-http-types, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.43s)
[12316/17989] Fetching swift-asn1, swift-service-lifecycle, swift-certificates, swift-http-types, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (1.52s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.53s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.53s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.64s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.64s)
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 (2.07s)
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.55s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.84s)
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.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (3.12s)
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.69s)
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.45s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.85s)
Fetching https://github.com/apple/swift-crypto.git
[1/17463] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (4.41s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (1.44s)
Fetching https://github.com/apple/swift-system.git
[1/5181] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.11s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.73s)
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-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-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-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-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-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/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-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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.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.7.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-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-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-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-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-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-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.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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.0
Building for debugging...
[0/450] Write sources
[28/450] Compiling CNIOWindows shim.c
[29/450] Compiling CNIOWindows WSAStartup.c
[30/450] Compiling CNIOWASI CNIOWASI.c
[31/450] Compiling CNIOPosix event_loop_id.c
[32/450] Compiling _AtomicsShims.c
[33/450] Compiling _NumericsShims _NumericsShims.c
[34/450] Compiling CNIOLinux liburing_shims.c
[35/450] Compiling CNIOOpenBSD shim.c
[36/450] Compiling CNIOSHA1 c_nio_sha1.c
[37/450] Compiling CNIOExtrasZlib empty.c
[38/450] Compiling CNIOLLHTTP c_nio_http.c
[39/450] Compiling CNIODarwin shim.c
[40/450] Write swift-version--6B0C4D200E742BB1.txt
[41/450] Compiling fiat_p256_adx_mul.S
[42/450] Compiling CNIOLinux shim.c
[43/450] Compiling fiat_curve25519_adx_square.S
[44/450] Compiling fiat_p256_adx_sqr.S
[45/450] Compiling CNIOLLHTTP c_nio_api.c
[46/450] Compiling fiat_curve25519_adx_mul.S
[47/477] Compiling CNIOLLHTTP c_nio_llhttp.c
[48/493] Compiling CNIOBoringSSLShims shims.c
[50/528] Compiling RealModule Float80+Real.swift
[51/529] Compiling AppwriteEnums ExecutionStatus.swift
[52/529] Compiling AppwriteEnums ExecutionTrigger.swift
[53/531] Emitting module AppwriteEnums
[54/535] Compiling RealModule Real.swift
[55/535] Compiling RealModule RealFunctions.swift
[56/535] Compiling AppwriteEnums BuildRuntime.swift
[57/535] Compiling AppwriteEnums ColumnStatus.swift
[58/535] Compiling RealModule RelaxedArithmetic.swift
[59/535] Compiling ServiceContextModule ServiceContextKey.swift
[60/535] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[61/535] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[62/535] Compiling AppwriteEnums Adapter.swift
[63/535] Compiling AppwriteEnums AttributeStatus.swift
[64/535] Compiling AppwriteEnums AuthenticationFactor.swift
[65/535] Compiling AppwriteEnums AuthenticatorType.swift
[66/535] Compiling AppwriteEnums CreditCard.swift
[67/535] Compiling AppwriteEnums DatabaseType.swift
[68/535] Emitting module InternalCollectionsUtilities
[71/535] Compiling AppwriteEnums Compression.swift
[72/535] Compiling AppwriteEnums Browser.swift
[73/535] Compiling AppwriteEnums DeploymentDownloadType.swift
[74/535] Compiling AppwriteEnums DeploymentStatus.swift
[75/535] Compiling AppwriteEnums ExecutionMethod.swift
[76/536] Emitting module _NIOBase64
[77/536] Compiling _NIOBase64 Base64.swift
[78/537] Emitting module ServiceContextModule
[79/537] Compiling ServiceContextModule ServiceContext.swift
[80/538] Emitting module _NIODataStructures
[81/538] Compiling _NIODataStructures Heap.swift
[87/538] Emitting module RealModule
[88/538] Compiling RealModule Float16+Real.swift
[92/539] Compiling _NIODataStructures PriorityQueue.swift
[93/539] Compiling _NIODataStructures _TinyArray.swift
[95/546] Emitting module Instrumentation
[96/546] Compiling Instrumentation NoOpInstrument.swift
[97/546] Compiling Instrumentation MultiplexInstrument.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[98/546] 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 |
[99/546] Compiling Logging MetadataProvider.swift
[100/546] Compiling Logging Locks.swift
[101/546] Compiling Logging LogHandler.swift
[102/546] 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 |
[102/546] Compiling tls_method.cc
[103/546] Compiling Instrumentation Instrument.swift
[104/546] Compiling Instrumentation InstrumentationSystem.swift
[105/546] Emitting module JSONCodable
[105/546] Compiling tls_record.cc
[105/546] Compiling tls13_enc.cc
[105/546] Compiling tls13_server.cc
BUILD FAILURE 6.2 android