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 mongo-swift-driver, reference main (1f6224), with Swift 6.2 (beta) for Android on 19 Jun 2025 11:46:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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.64.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.2
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" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/mongodb/swift-bson
[1/1797] Fetching swift-atomics
[702/5181] Fetching swift-atomics, swift-bson
[5115/24765] Fetching swift-atomics, swift-bson, nimble
[8316/101092] Fetching swift-atomics, swift-bson, nimble, swift-nio
Fetched https://github.com/Quick/Nimble from cache (2.06s)
[54031/81508] Fetching swift-atomics, swift-bson, swift-nio
Fetched https://github.com/apple/swift-atomics from cache (5.10s)
Fetched https://github.com/mongodb/swift-bson from cache (5.10s)
Fetched https://github.com/apple/swift-nio from cache (5.18s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (5.61s)
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/swift-extras/swift-extras-base64
[1/1056] Fetching swift-extras-json
[1057/1889] Fetching swift-extras-json, swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.27s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.29s)
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.47s)
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.92s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.57s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.82s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.87s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4436] Fetching swift-system
[4260/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.40s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (0.95s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.50s)
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/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-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.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.5.0
Building for debugging...
[0/181] Write sources
[16/181] Compiling _AtomicsShims.c
[17/181] Compiling CNIOWindows shim.c
[17/181] Compiling CNIOWindows WSAStartup.c
[19/181] Compiling bson-clock.c
[20/181] Write swift-version-8C5A4AE7A8CE2BA.txt
[20/181] Compiling bson-atomic.c
[22/181] Compiling CNIOWASI CNIOWASI.c
[23/181] Compiling CNIOLinux liburing_shims.c
[24/181] Compiling CNIODarwin shim.c
[25/181] Compiling bcon.c
/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.
[26/181] Compiling bson-iso8601.c
[27/181] Compiling CNIOLinux shim.c
[29/265] Emitting module _NIOBase64
[29/265] Compiling c-nioatomics.c
[30/265] Compiling mongoc-write-concern.c
[31/265] Compiling mongoc-write-command.c
[32/265] Compiling mongoc-write-command-legacy.c
[33/265] Compiling mongoc-version-functions.c
[34/265] Compiling mongoc-util.c
[35/265] Compiling c-atomics.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.
[36/265] Compiling mongoc-uri.c
[37/271] 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.
[38/271] Compiling mongoc-topology.c
[39/271] Compiling mongoc-topology-scanner.c
[41/271] Emitting module NIOConcurrencyHelpers
[42/271] Compiling ExtrasJSON DocumentReader.swift
[43/272] Compiling Nimble AssertionDispatcher.swift
[44/272] Compiling Nimble AssertionRecorder.swift
[45/272] Compiling ExtrasJSON JSONValue.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.
[45/272] Compiling mongoc-topology-description.c
[47/272] Compiling Nimble ExceptionCapture.swift
[48/272] Compiling Nimble DSL+Wait.swift
[49/273] Compiling Nimble FailureMessage.swift
[50/273] Compiling Nimble AdapterProtocols.swift
[51/273] Compiling ExtrasBase64 DecodingError.swift
[52/273] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[55/273] Compiling InternalCollectionsUtilities Descriptions.swift
[56/273] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[57/273] Compiling NIOConcurrencyHelpers NIOLock.swift
[58/273] Compiling Nimble DSL.swift
[59/273] Compiling Nimble Expectation.swift
[60/273] Emitting module InternalCollectionsUtilities
[61/273] Compiling Nimble ExpectationMessage.swift
[62/273] Compiling Nimble Expression.swift
[65/273] Emitting module ExtrasJSON
[72/273] Compiling _NIOBase64 Base64.swift
[74/274] Emitting module _NIODataStructures
[75/274] Compiling _NIODataStructures Heap.swift
[76/274] Compiling ExtrasJSON JSONParser.swift
[77/275] Compiling _NIODataStructures PriorityQueue.swift
[78/275] Compiling _NIODataStructures _TinyArray.swift
[81/276] Compiling ExtrasBase64 Base64.swift
[82/276] Emitting module ExtrasBase64
[83/276] Compiling ExtrasBase64 Chromium.swift
[85/277] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[86/277] Compiling NIOConcurrencyHelpers lock.swift
[87/277] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[88/277] Compiling NIOConcurrencyHelpers atomics.swift
[89/278] Compiling mongoc-topology-description-apm.c
[91/278] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[91/279] Wrapping AST for _NIOBase64 for debugging
[92/279] Wrapping AST for ExtrasBase64 for debugging
[93/279] Wrapping AST for _NIODataStructures for debugging
[94/279] Wrapping AST for ExtrasJSON for debugging
[96/279] Compiling mongoc-stream-tls-secure-transport.c
[97/279] Compiling mongoc-timeout.c
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.
[98/279] Compiling mongoc-stream-tls.c
[98/279] Compiling mongoc-stream-tls-secure-channel.c
/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.
[98/279] Compiling mongoc-stream.c
[98/279] Compiling mongoc-stream-tls-openssl.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__);           \
      |                      ^~~~~~~~~~~
[98/279] Compiling mongoc-topology-background-monitoring.c
BUILD FAILURE 6.2 android