The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mongo-swift-driver, reference main (1f6224), with Swift 6.3 for Android on 13 Apr 2026 01:04:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mongodb/mongo-swift-driver.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/mongodb/mongo-swift-driver
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1f62248 Swift halt development announcement (#782)
Cloned https://github.com/mongodb/mongo-swift-driver.git
Revision (git rev-parse @):
1f62248482bccd5a0f67c46793828674f9057d9d
SUCCESS checkout https://github.com/mongodb/mongo-swift-driver.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/mongodb/mongo-swift-driver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-atomics
[1/1820] Fetching swift-atomics
[202/5204] Fetching swift-atomics, swift-bson
[3798/25021] Fetching swift-atomics, swift-bson, nimble
Fetched https://github.com/apple/swift-atomics from cache (0.63s)
[5565/106307] Fetching swift-bson, nimble, swift-nio
Fetched https://github.com/mongodb/swift-bson from cache (11.02s)
Fetched https://github.com/Quick/Nimble from cache (11.05s)
Fetched https://github.com/apple/swift-nio from cache (11.14s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (14.47s)
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/833] Fetching swift-extras-base64
[834/1927] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.25s)
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.27s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (1.11s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.51s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.43s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.46s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.1 (0.69s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/23525] Fetching swift-collections
[237/29126] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.97s)
Fetched https://github.com/apple/swift-collections.git from cache (2.05s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.95s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.97.1
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.4
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.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.4.1
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
Building for debugging...
[0/185] Compiling bson-atomic.c
[1/185] Compiling bson-decimal128.c
[1/185] Compiling bson-context.c
[3/185] Compiling bson-error.c
[4/185] Write sources
[8/185] Compiling bson-clock.c
[9/185] Write sources
/host/spi-builder-workspace/Sources/CLibMongoC/bson/bson-iso8601.c:331:64: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
  331 |       bson_string_append_printf (str, "%s.%03" "lld" "Z", buf, msecs_part);
      |                                           ~~~~~~~~~            ^~~~~~~~~~
      |                                           %03ld
1 warning generated.
[12/185] Compiling bson-iso8601.c
[13/185] Write sources
[23/185] Compiling _AtomicsShims.c
[23/185] Compiling bcon.c
[25/185] Compiling CNIOWindows shim.c
[25/185] Compiling CNIOWindows WSAStartup.c
[27/185] Compiling CNIOWASI CNIOWASI.c
[28/185] Write swift-version--4F562202D5529B1.txt
[29/185] Compiling CNIOOpenBSD shim.c
[29/185] Compiling CNIOPosix event_loop_id.c
[31/185] Compiling CNIODarwin shim.c
[32/185] Compiling CNIOLinux liburing_shims.c
[33/185] Compiling bson-iter.c
[34/185] Compiling CNIOLinux shim.c
[36/273] Emitting module InternalCollectionsUtilities
[36/275] Compiling c-nioatomics.c
[37/275] Compiling mongoc-write-concern.c
[38/275] Compiling mongoc-write-command.c
[39/275] Compiling mongoc-write-command-legacy.c
[40/275] Compiling mongoc-version-functions.c
[41/275] Compiling c-atomics.c
[42/275] Compiling mongoc-util.c
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-uri.c:1831:64: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
 1831 |          error, "Unsupported wtimeoutMS value [w=%" "lld" "]", wtimeoutms);
      |                                                  ~~~~~~~       ^~~~~~~~~~
      |                                                  %ld
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-uri.c:66:20: note: expanded from macro 'MONGOC_URI_ERROR'
   65 |                    format,                           \
      |                    ~~~~~~
   66 |                    __VA_ARGS__);
      |                    ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-uri.c:2575:26: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
 2573 |          MONGOC_WARNING ("Cannot read 64-bit value for \"%s\": %" "lld",
      |                                                                ~~~~~~~
      |                                                                %ld
 2574 |                          option_orig,
 2575 |                          retval);
      |                          ^~~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-log.h:39:61: note: expanded from macro 'MONGOC_WARNING'
   39 |    mongoc_log (MONGOC_LOG_LEVEL_WARNING, MONGOC_LOG_DOMAIN, __VA_ARGS__)
      |                                                             ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-uri.c:2863:26: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
 2860 |          MONGOC_WARNING ("Unsupported value for \"%s\": %" "lld"
      |                                                         ~~~~~~~
      |                                                         %ld
 2861 |                          ", \"%s\" is not an int64 option",
 2862 |                          option_orig,
 2863 |                          value,
      |                          ^~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-log.h:39:61: note: expanded from macro 'MONGOC_WARNING'
   39 |    mongoc_log (MONGOC_LOG_LEVEL_WARNING, MONGOC_LOG_DOMAIN, __VA_ARGS__)
      |                                                             ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-uri.c:2917:28: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
 2913 |                            "Cannot set URI option \"%s\" to %" "lld"
      |                                                             ~~~~~~~
      |                                                             %ld
 2914 |                            ", it already has "
 2915 |                            "a non-64-bit integer value",
 2916 |                            option,
 2917 |                            value);
      |                            ^~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-uri.c:66:20: note: expanded from macro 'MONGOC_URI_ERROR'
   65 |                    format,                           \
      |                    ~~~~~~
   66 |                    __VA_ARGS__);
      |                    ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-uri.c:2928:25: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
 2926 |                         "Failed to set URI option \"%s\" to %" "lld",
      |                                                             ~~~~~~~
      |                                                             %ld
 2927 |                         option_orig,
 2928 |                         value);
      |                         ^~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-uri.c:66:20: note: expanded from macro 'MONGOC_URI_ERROR'
   65 |                    format,                           \
      |                    ~~~~~~
   66 |                    __VA_ARGS__);
      |                    ^~~~~~~~~~~
5 warnings generated.
[43/282] Compiling mongoc-uri.c
[44/282] Compiling mongoc-ts-pool.c
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology.c:1320:14: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
 1319 |       TRACE ("server selection about to wait for %" "lld" "ms",
      |                                                  ~~~~~~~
      |                                                  %ld
 1320 |              (expire_at - loop_start) / 1000);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-trace-private.h:42:22: note: expanded from macro 'TRACE'
   39 |                      "TRACE: %s():%d " msg,  \
      |                                        ~~~
   40 |                      BSON_FUNC,              \
   41 |                      __LINE__,               \
   42 |                      __VA_ARGS__);           \
      |                      ^~~~~~~~~~~
1 warning generated.
[45/282] Compiling mongoc-topology.c
[46/282] Compiling mongoc-topology-scanner.c
[48/282] Compiling Nimble AdapterProtocols.swift
[49/282] Compiling Nimble AssertionDispatcher.swift
[50/282] Compiling Nimble AssertionRecorder.swift
[51/282] Compiling Nimble NimbleXCTestHandler.swift
[52/282] Compiling Nimble AllPass.swift
[53/282] Compiling Nimble Async.swift
[54/282] Compiling Nimble BeAKindOf.swift
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology-description.c:640:23: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
  637 |                       "maxStalenessSeconds is set to %" "lld"
      |                                                      ~~~~~~~
      |                                                      %ld
  638 |                       ", it must be at least heartbeatFrequencyMS (%" "lld"
  639 |                       ") + server's idle write period (%d seconds)",
  640 |                       max_staleness_seconds,
      |                       ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology-description.c:641:23: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
  638 |                       ", it must be at least heartbeatFrequencyMS (%" "lld"
      |                                                                    ~~~~~~~
      |                                                                    %ld
  639 |                       ") + server's idle write period (%d seconds)",
  640 |                       max_staleness_seconds,
  641 |                       td->heartbeat_msec,
      |                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology-description.c:652:23: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
  650 |                       "maxStalenessSeconds is set to %" "lld"
      |                                                      ~~~~~~~
      |                                                      %ld
  651 |                       ", it must be at least %d seconds",
  652 |                       max_staleness_seconds,
      |                       ^~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
[56/282] Compiling mongoc-topology-description.c
[58/282] Compiling Nimble DSL+Wait.swift
[59/282] Compiling Nimble DSL.swift
[60/283] Compiling InternalCollectionsUtilities _SortedCollection.swift
[61/283] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[62/283] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[63/283] Compiling Nimble BeGreaterThan.swift
[64/283] Compiling Nimble ExceptionCapture.swift
[65/283] Emitting module ExtrasBase64
[66/283] Compiling Nimble NMBObjCMatcher.swift
[67/283] Compiling Nimble NimbleEnvironment.swift
[68/283] Compiling Nimble BeAnInstanceOf.swift
[69/283] Compiling Nimble BeCloseTo.swift
[70/283] Compiling Nimble BeEmpty.swift
[71/283] Compiling Nimble NMBExpectation.swift
[74/284] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[75/284] Compiling NIOConcurrencyHelpers NIOLock.swift
[76/284] Compiling ExtrasJSON JSONValue.swift
[79/284] Emitting module ExtrasJSON
[82/284] Compiling ExtrasBase64 DecodingError.swift
[85/284] Compiling ExtrasJSON DocumentReader.swift
[86/284] Emitting module _NIOBase64
[87/284] Compiling _NIOBase64 Base64.swift
[88/284] Emitting module _NIODataStructures
[90/285] Compiling mongoc-topology-description-apm.c
[92/285] Emitting module Nimble
[93/285] Compiling _NIODataStructures PriorityQueue.swift
[94/285] Compiling _NIODataStructures Heap.swift
[95/285] Compiling _NIODataStructures _TinyArray.swift
[97/292] Compiling ExtrasBase64 Chromium.swift
[98/292] Compiling ExtrasBase64 Base64.swift
[99/294] Emitting module NIOConcurrencyHelpers
[100/294] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[100/294] Wrapping AST for _NIOBase64 for debugging
[102/294] Compiling NIOConcurrencyHelpers lock.swift
[103/294] Compiling NIOConcurrencyHelpers atomics.swift
[104/295] Compiling mongoc-timeout.c
[105/295] Wrapping AST for _NIODataStructures for debugging
[107/295] Wrapping AST for InternalCollectionsUtilities for debugging
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream.c:472:23: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
  470 |                       "/%" "lld" " in %dms) during socket delivery",
      |                         ~~~~~~~
      |                         %ld
  471 |                       (uint64_t) r,
  472 |                       (int64_t) total_bytes,
      |                       ^~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[108/295] Compiling mongoc-stream.c
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology-background-monitoring.c:63:17: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
   62 |          TRACE ("srv polling thread sleeping for %" "lld" "ms",
      |                                                  ~~~~~~~
      |                                                  %ld
   63 |                 sleep_duration_ms);
      |                 ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-trace-private.h:42:22: note: expanded from macro 'TRACE'
   39 |                      "TRACE: %s():%d " msg,  \
      |                                        ~~~
   40 |                      BSON_FUNC,              \
   41 |                      __LINE__,               \
   42 |                      __VA_ARGS__);           \
      |                      ^~~~~~~~~~~
1 warning generated.
[109/295] Compiling mongoc-topology-background-monitoring.c
[110/295] Compiling mongoc-stream-tls-secure-transport.c
[112/295] Compiling ExtrasJSON JSONParser.swift
[112/295] Wrapping AST for NIOConcurrencyHelpers for debugging
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls.c:33:
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-openssl-private.h:23:10: fatal error: 'openssl/bio.h' file not found
   23 | #include <openssl/bio.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[113/306] Compiling mongoc-stream-tls.c
[114/311] Emitting module ContainersPreview
[114/311] Compiling mongoc-stream-tls-secure-channel.c
[114/311] Wrapping AST for ExtrasBase64 for debugging
[114/311] Compiling mongoc-stream-tls-openssl.c
[114/311] Compiling mongoc-stream-tls-openssl-bio.c
error: cancelled
[115/328] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[116/328] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[117/328] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[118/328] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[119/328] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
BUILD FAILURE 6.3 android