Build Information
Failed to build mongo-swift-driver, reference main (1f6224
), with Swift 6.1 for Android on 28 May 2025 06:30:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/mongodb/mongo-swift-driver.git
https://github.com/mongodb/mongo-swift-driver.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "8.0.0",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.36.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "swift-bson",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mongodb/swift-bson"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics"
}
],
"manifest_display_name" : "mongo-swift-driver",
"name" : "mongo-swift-driver",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "MongoSwift",
"targets" : [
"MongoSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MongoSwiftSync",
"targets" : [
"MongoSwiftSync"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AtlasConnectivity",
"targets" : [
"AtlasConnectivity"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TestsCommon",
"module_type" : "SwiftTarget",
"name" : "TestsCommon",
"path" : "Sources/TestsCommon",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"APMUtils.swift",
"CodableExtensions.swift",
"CommonTestUtils.swift",
"Failpoint.swift",
"MongoError+Equatable.swift",
"ServerVersion.swift",
"SpecTestUtils.swift"
],
"target_dependencies" : [
"MongoSwift"
],
"type" : "library"
},
{
"c99name" : "MongoSwiftTests",
"module_type" : "SwiftTarget",
"name" : "MongoSwiftTests",
"path" : "Tests/MongoSwiftTests",
"product_dependencies" : [
"Nimble",
"NIOConcurrencyHelpers",
"NIOCore",
"NIOPosix"
],
"sources" : [
"APMTests.swift",
"AsyncAwaitTestUtils.swift",
"AsyncAwaitTests.swift",
"AsyncTestUtils.swift",
"AuthTests.swift",
"ChangeStreamTests.swift",
"ClientSessionTests.swift",
"CommandMonitoringTests.swift",
"CrudUnifiedTests.swift",
"DNSSeedlistTests.swift",
"EventLoopBoundMongoClientTests.swift",
"Failpoint.swift",
"LeakCheckTests.swift",
"LoadBalancerTests.swift",
"MongoClientTests.swift",
"MongoCollection+IndexTests.swift",
"MongoConnectionStringTests.swift",
"MongoCursorTests.swift",
"MongoDatabaseTests.swift",
"OptionsTests.swift",
"ReadConcernTests.swift",
"ReadPreferenceTests.swift",
"ReadWriteConcernSpecTests.swift",
"RetryableWritesUnifiedTests.swift",
"ServerSelectionTests.swift",
"TransactionsUnifiedTests.swift",
"UnifiedTestRunner/Context.swift",
"UnifiedTestRunner/EntityDescription.swift",
"UnifiedTestRunner/ExpectedEventsForClient.swift",
"UnifiedTestRunner/HasListableProperties.swift",
"UnifiedTestRunner/Matching.swift",
"UnifiedTestRunner/SchemaVersion.swift",
"UnifiedTestRunner/SpecialTestOperations.swift",
"UnifiedTestRunner/TestWriteModel.swift",
"UnifiedTestRunner/UnifiedClientOperations.swift",
"UnifiedTestRunner/UnifiedCollectionOperations.swift",
"UnifiedTestRunner/UnifiedCursorAndChangeStreamOperations.swift",
"UnifiedTestRunner/UnifiedDatabaseOperations.swift",
"UnifiedTestRunner/UnifiedOperation.swift",
"UnifiedTestRunner/UnifiedSessionOperations.swift",
"UnifiedTestRunner/UnifiedTestFile.swift",
"UnifiedTestRunner/UnifiedTestRunner.swift",
"UnifiedTests.swift",
"VersionedAPITests.swift",
"WriteConcernTests.swift"
],
"target_dependencies" : [
"MongoSwift",
"TestsCommon"
],
"type" : "test"
},
{
"c99name" : "MongoSwiftSyncTests",
"module_type" : "SwiftTarget",
"name" : "MongoSwiftSyncTests",
"path" : "Tests/MongoSwiftSyncTests",
"product_dependencies" : [
"NIOConcurrencyHelpers",
"Nimble"
],
"sources" : [
"ClientSessionTests.swift",
"CrudTests.swift",
"MongoCollection+BulkWriteTests.swift",
"MongoCollection+IndexTests.swift",
"MongoCollectionTests.swift",
"MongoCursorTests.swift",
"MongoDatabaseTests.swift",
"ReadPreferenceOperationTests.swift",
"ReadWriteConcernOperationTests.swift",
"RetryableReadsTests.swift",
"RetryableWritesTests.swift",
"SDAMTests.swift",
"SpecTestRunner/FailPoint.swift",
"SpecTestRunner/Match.swift",
"SpecTestRunner/SpecTest.swift",
"SpecTestRunner/TestOperations/ChangeStreamOperations.swift",
"SpecTestRunner/TestOperations/ClientOperations.swift",
"SpecTestRunner/TestOperations/CollectionOperations.swift",
"SpecTestRunner/TestOperations/DatabaseOperations.swift",
"SpecTestRunner/TestOperations/SessionOperations.swift",
"SpecTestRunner/TestOperations/TestOperation.swift",
"SpecTestRunner/TestOperations/TestOperationResult.swift",
"SpecTestRunner/TestOperations/TestRunnerOperations.swift",
"SyncAuthTests.swift",
"SyncChangeStreamTests.swift",
"SyncMongoClientTests.swift",
"SyncTestUtils.swift",
"TransactionsTests.swift"
],
"target_dependencies" : [
"MongoSwiftSync",
"TestsCommon",
"MongoSwift"
],
"type" : "test"
},
{
"c99name" : "MongoSwiftSync",
"module_type" : "SwiftTarget",
"name" : "MongoSwiftSync",
"path" : "Sources/MongoSwiftSync",
"product_dependencies" : [
"NIOPosix"
],
"product_memberships" : [
"MongoSwiftSync",
"AtlasConnectivity"
],
"sources" : [
"ChangeStream.swift",
"ClientSession.swift",
"CursorCommon.swift",
"Exports.swift",
"MongoClient.swift",
"MongoCollection+ChangeStreams.swift",
"MongoCollection+FindAndModify.swift",
"MongoCollection+Indexes.swift",
"MongoCollection+Read.swift",
"MongoCollection+Write.swift",
"MongoCollection.swift",
"MongoCursor.swift",
"MongoDatabase.swift"
],
"target_dependencies" : [
"MongoSwift"
],
"type" : "library"
},
{
"c99name" : "MongoSwift",
"module_type" : "SwiftTarget",
"name" : "MongoSwift",
"path" : "Sources/MongoSwift",
"product_dependencies" : [
"Atomics",
"NIOConcurrencyHelpers",
"NIOCore",
"NIOPosix",
"SwiftBSON"
],
"product_memberships" : [
"MongoSwift",
"MongoSwiftSync",
"AtlasConnectivity"
],
"sources" : [
"APM.swift",
"AsyncAwait/ChangeStream+AsyncSequence.swift",
"AsyncAwait/ClientSession+AsyncAwait.swift",
"AsyncAwait/MongoClient+AsyncAwait.swift",
"AsyncAwait/MongoCollection+AsyncAwait.swift",
"AsyncAwait/MongoCollection+ChangeStreams+AsyncAwait.swift",
"AsyncAwait/MongoCollection+FindAndModify+AsyncAwait.swift",
"AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift",
"AsyncAwait/MongoCollection+Read+AsyncAwait.swift",
"AsyncAwait/MongoCollection+Write+AsyncAwait.swift",
"AsyncAwait/MongoCursor+AsyncSequence.swift",
"AsyncAwait/MongoDatabase+AsyncAwait.swift",
"BSON/BSONPointerUtils.swift",
"BSON/BSONUtil.swift",
"ChangeStream.swift",
"ChangeStreamEvent.swift",
"ChangeStreamOptions.swift",
"ClientSession.swift",
"Compressor.swift",
"ConnectionPool.swift",
"CursorCommon.swift",
"EventLoopBoundMongoClient.swift",
"Exports.swift",
"Hint.swift",
"MongoClient.swift",
"MongoCollection+BulkWrite.swift",
"MongoCollection+ChangeStreams.swift",
"MongoCollection+FindAndModify.swift",
"MongoCollection+Indexes.swift",
"MongoCollection+Read.swift",
"MongoCollection+Write.swift",
"MongoCollection.swift",
"MongoConnectionString.swift",
"MongoCredential.swift",
"MongoCursor.swift",
"MongoDatabase.swift",
"MongoError.swift",
"MongoNamespace.swift",
"MongoServerAPI.swift",
"MongoSwift.swift",
"MongoSwiftVersion.swift",
"Operations/AbortTransactionOperation.swift",
"Operations/AggregateOperation.swift",
"Operations/CommitTransactionOperation.swift",
"Operations/CountDocumentsOperation.swift",
"Operations/CreateCollectionOperation.swift",
"Operations/CreateIndexesOperation.swift",
"Operations/DistinctOperation.swift",
"Operations/DropCollectionOperation.swift",
"Operations/DropDatabaseOperation.swift",
"Operations/DropIndexesOperation.swift",
"Operations/EstimatedDocumentCountOperation.swift",
"Operations/FindAndModifyOperation.swift",
"Operations/FindOperation.swift",
"Operations/ListCollectionsOperation.swift",
"Operations/ListDatabasesOperation.swift",
"Operations/ListIndexesOperation.swift",
"Operations/MongocCommandHelpers.swift",
"Operations/Operation.swift",
"Operations/RenameCollectionOperation.swift",
"Operations/RunCommandOperation.swift",
"Operations/StartSessionOperation.swift",
"Operations/StartTransactionOperation.swift",
"Operations/WatchOperation.swift",
"ReadConcern.swift",
"ReadPreference.swift",
"SDAM.swift",
"ServerSelection.swift",
"WriteConcern.swift"
],
"target_dependencies" : [
"CLibMongoC"
],
"type" : "library"
},
{
"c99name" : "CLibMongoC",
"module_type" : "ClangTarget",
"name" : "CLibMongoC",
"path" : "Sources/CLibMongoC",
"product_memberships" : [
"MongoSwift",
"MongoSwiftSync",
"AtlasConnectivity"
],
"sources" : [
"bson/bcon.c",
"bson/bson-atomic.c",
"bson/bson-clock.c",
"bson/bson-context.c",
"bson/bson-decimal128.c",
"bson/bson-error.c",
"bson/bson-iso8601.c",
"bson/bson-iter.c",
"bson/bson-json.c",
"bson/bson-keys.c",
"bson/bson-md5.c",
"bson/bson-memory.c",
"bson/bson-oid.c",
"bson/bson-reader.c",
"bson/bson-string.c",
"bson/bson-timegm.c",
"bson/bson-utf8.c",
"bson/bson-value.c",
"bson/bson-version-functions.c",
"bson/bson-writer.c",
"bson/bson.c",
"bson/jsonsl.c",
"common/common-b64.c",
"common/common-md5.c",
"common/common-thread.c",
"mongoc/mongoc-aggregate.c",
"mongoc/mongoc-apm.c",
"mongoc/mongoc-array.c",
"mongoc/mongoc-async-cmd.c",
"mongoc/mongoc-async.c",
"mongoc/mongoc-buffer.c",
"mongoc/mongoc-bulk-operation.c",
"mongoc/mongoc-change-stream.c",
"mongoc/mongoc-client-pool.c",
"mongoc/mongoc-client-session.c",
"mongoc/mongoc-client-side-encryption.c",
"mongoc/mongoc-client.c",
"mongoc/mongoc-cluster-aws.c",
"mongoc/mongoc-cluster-cyrus.c",
"mongoc/mongoc-cluster-sasl.c",
"mongoc/mongoc-cluster-sspi.c",
"mongoc/mongoc-cluster.c",
"mongoc/mongoc-cmd.c",
"mongoc/mongoc-collection.c",
"mongoc/mongoc-compression.c",
"mongoc/mongoc-counters.c",
"mongoc/mongoc-crypt.c",
"mongoc/mongoc-crypto-cng.c",
"mongoc/mongoc-crypto-common-crypto.c",
"mongoc/mongoc-crypto-openssl.c",
"mongoc/mongoc-crypto.c",
"mongoc/mongoc-cursor-array.c",
"mongoc/mongoc-cursor-change-stream.c",
"mongoc/mongoc-cursor-cmd-deprecated.c",
"mongoc/mongoc-cursor-cmd.c",
"mongoc/mongoc-cursor-find-cmd.c",
"mongoc/mongoc-cursor-find-opquery.c",
"mongoc/mongoc-cursor-find.c",
"mongoc/mongoc-cursor-legacy.c",
"mongoc/mongoc-cursor.c",
"mongoc/mongoc-cyrus.c",
"mongoc/mongoc-database.c",
"mongoc/mongoc-error.c",
"mongoc/mongoc-find-and-modify.c",
"mongoc/mongoc-generation-map.c",
"mongoc/mongoc-gridfs-bucket-file.c",
"mongoc/mongoc-gridfs-bucket.c",
"mongoc/mongoc-gridfs-file-list.c",
"mongoc/mongoc-gridfs-file-page.c",
"mongoc/mongoc-gridfs-file.c",
"mongoc/mongoc-gridfs.c",
"mongoc/mongoc-handshake.c",
"mongoc/mongoc-host-list.c",
"mongoc/mongoc-http.c",
"mongoc/mongoc-index.c",
"mongoc/mongoc-init.c",
"mongoc/mongoc-interrupt.c",
"mongoc/mongoc-libressl.c",
"mongoc/mongoc-linux-distro-scanner.c",
"mongoc/mongoc-list.c",
"mongoc/mongoc-log.c",
"mongoc/mongoc-matcher-op.c",
"mongoc/mongoc-matcher.c",
"mongoc/mongoc-memcmp.c",
"mongoc/mongoc-ocsp-cache.c",
"mongoc/mongoc-openssl.c",
"mongoc/mongoc-optional.c",
"mongoc/mongoc-opts-helpers.c",
"mongoc/mongoc-opts.c",
"mongoc/mongoc-queue.c",
"mongoc/mongoc-rand-cng.c",
"mongoc/mongoc-rand-common-crypto.c",
"mongoc/mongoc-rand-openssl.c",
"mongoc/mongoc-read-concern.c",
"mongoc/mongoc-read-prefs.c",
"mongoc/mongoc-rpc.c",
"mongoc/mongoc-sasl.c",
"mongoc/mongoc-scram.c",
"mongoc/mongoc-secure-channel.c",
"mongoc/mongoc-secure-transport.c",
"mongoc/mongoc-server-api.c",
"mongoc/mongoc-server-description.c",
"mongoc/mongoc-server-monitor.c",
"mongoc/mongoc-server-stream.c",
"mongoc/mongoc-set.c",
"mongoc/mongoc-shared.c",
"mongoc/mongoc-socket.c",
"mongoc/mongoc-ssl.c",
"mongoc/mongoc-sspi.c",
"mongoc/mongoc-stream-buffered.c",
"mongoc/mongoc-stream-file.c",
"mongoc/mongoc-stream-gridfs-download.c",
"mongoc/mongoc-stream-gridfs-upload.c",
"mongoc/mongoc-stream-gridfs.c",
"mongoc/mongoc-stream-socket.c",
"mongoc/mongoc-stream-tls-libressl.c",
"mongoc/mongoc-stream-tls-openssl-bio.c",
"mongoc/mongoc-stream-tls-openssl.c",
"mongoc/mongoc-stream-tls-secure-channel.c",
"mongoc/mongoc-stream-tls-secure-transport.c",
"mongoc/mongoc-stream-tls.c",
"mongoc/mongoc-stream.c",
"mongoc/mongoc-timeout.c",
"mongoc/mongoc-topology-background-monitoring.c",
"mongoc/mongoc-topology-description-apm.c",
"mongoc/mongoc-topology-description.c",
"mongoc/mongoc-topology-scanner.c",
"mongoc/mongoc-topology.c",
"mongoc/mongoc-ts-pool.c",
"mongoc/mongoc-uri.c",
"mongoc/mongoc-util.c",
"mongoc/mongoc-version-functions.c",
"mongoc/mongoc-write-command-legacy.c",
"mongoc/mongoc-write-command.c",
"mongoc/mongoc-write-concern.c"
],
"type" : "library"
},
{
"c99name" : "BSONTests",
"module_type" : "SwiftTarget",
"name" : "BSONTests",
"path" : "Tests/BSONTests",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"BSONPointerUtilsTests.swift"
],
"target_dependencies" : [
"MongoSwift",
"TestsCommon",
"CLibMongoC"
],
"type" : "test"
},
{
"c99name" : "AtlasConnectivity",
"module_type" : "SwiftTarget",
"name" : "AtlasConnectivity",
"path" : "Sources/AtlasConnectivity",
"product_memberships" : [
"AtlasConnectivity"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MongoSwiftSync"
],
"type" : "executable"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-nio
[1/1710] Fetching swift-atomics
[446/5094] Fetching swift-atomics, swift-bson
[4740/24678] Fetching swift-atomics, swift-bson, nimble
[14496/100733] Fetching swift-atomics, swift-bson, nimble, swift-nio
Fetched https://github.com/apple/swift-atomics from cache (0.61s)
[17221/99023] Fetching swift-bson, nimble, swift-nio
Fetched https://github.com/mongodb/swift-bson from cache (5.83s)
Fetched https://github.com/Quick/Nimble from cache (5.86s)
Fetched https://github.com/apple/swift-nio from cache (5.94s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (6.63s)
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/833] Fetching swift-extras-base64
[435/1889] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (1.36s)
Fetched https://github.com/swift-extras/swift-extras-json from cache (1.36s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (2.03s)
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.79s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.95s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.57s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.92s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[4392/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.28s)
Fetched https://github.com/apple/swift-collections.git from cache (1.31s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (2.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.78s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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/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/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
Building for debugging...
[0/181] Compiling mongoc-crypt.c
[1/181] Compiling bson-decimal128.c
[1/181] Write sources
[4/181] Compiling bson-atomic.c
[4/181] Write sources
[19/181] Compiling bson-clock.c
[20/181] Compiling bson-error.c
[21/181] Compiling _AtomicsShims.c
[22/181] Compiling CNIOWindows shim.c
[23/181] Compiling CNIOWindows WSAStartup.c
[23/181] Compiling CNIOWASI CNIOWASI.c
[25/181] Compiling jsonsl.c
[26/181] Compiling CNIOLinux liburing_shims.c
[27/181] Compiling bson-context.c
[28/181] Compiling CNIODarwin shim.c
[29/181] Compiling CNIOLinux shim.c
[30/181] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-client.c:439:23: error: variable has incomplete type 'struct __res_state'
439 | struct __res_state state = {0};
| ^
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-client.c:439:11: note: forward declaration of 'struct __res_state'
439 | struct __res_state state = {0};
| ^
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-client.c:487:7: error: call to undeclared function 'res_ninit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
487 | res_ninit (&state);
| ^
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-client.c:487:7: note: did you mean 'res_init'?
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/resolv.h:57:5: note: 'res_init' declared here
57 | int res_init(void);
| ^
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-client.c:489:10: error: call to undeclared function 'res_nsearch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
489 | res_nsearch (&state, hostname, ns_c_in, nst, search_buf, buffer_size);
| ^
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-client.c:489:10: note: did you mean 'res_search'?
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/resolv.h:60:5: note: 'res_search' declared here
60 | int res_search(const char* _Nonnull __name, int __class, int __type, u_char* _Nonnull __answer, int __answer_size);
| ^
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-client.c:569:4: error: call to undeclared function 'res_nclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
569 | res_nclose (&state);
| ^
4 errors generated.
[31/181] Compiling mongoc-client.c
[31/181] Compiling mongoc-write-command.c
[31/181] Compiling c-atomics.c
[31/181] Compiling mongoc-write-concern.c
[31/181] Compiling c-nioatomics.c
[31/181] Compiling mongoc-write-command-legacy.c
[31/181] Compiling mongoc-util.c
[31/181] Compiling mongoc-version-functions.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/150] Write sources
[1/151] Compiling mongoc-version-functions.c
[2/151] Compiling mongoc-write-command-legacy.c
[3/151] Compiling mongoc-write-concern.c
[4/151] Compiling mongoc-util.c
[5/151] Compiling mongoc-ts-pool.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.
[6/151] Compiling mongoc-uri.c
[7/151] Compiling mongoc-write-command.c
[8/151] Compiling mongoc-topology-description-apm.c
[9/151] Write swift-version-24593BA9C3E375BF.txt
/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.
[10/151] Compiling mongoc-topology.c
[11/151] Compiling mongoc-topology-scanner.c
/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.
[12/151] Compiling mongoc-topology-description.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.
[13/151] Compiling mongoc-topology-background-monitoring.c
[14/151] Compiling mongoc-timeout.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.
[15/155] Compiling mongoc-stream.c
[17/235] Emitting module _NIOBase64
[18/235] Emitting module _NIODataStructures
[19/235] Compiling _NIODataStructures Heap.swift
[20/235] Compiling Nimble AdapterProtocols.swift
[21/235] Compiling Nimble AssertionDispatcher.swift
[22/236] Compiling Nimble DSL+Wait.swift
[23/236] Compiling Nimble DSL.swift
[24/236] Compiling Nimble NMBObjCMatcher.swift
[25/236] Compiling Nimble NimbleEnvironment.swift
[26/236] Compiling Nimble AssertionRecorder.swift
[27/236] Compiling Nimble NMBExpectation.swift
[30/237] Compiling ExtrasBase64 DecodingError.swift
[31/237] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[32/237] Compiling _NIOBase64 Base64.swift
[33/238] Compiling Nimble Expectation.swift
[34/238] Compiling Nimble ExpectationMessage.swift
[35/238] Compiling Nimble NimbleXCTestHandler.swift
[36/238] Compiling Nimble ExceptionCapture.swift
[39/238] Emitting module InternalCollectionsUtilities
[40/238] Compiling _NIODataStructures PriorityQueue.swift
[43/238] Compiling _NIODataStructures _TinyArray.swift
[48/238] Emitting module ExtrasJSON
[50/239] Compiling ExtrasJSON DocumentReader.swift
[51/239] Compiling ExtrasJSON JSONValue.swift
[53/258] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[53/259] Wrapping AST for _NIODataStructures for debugging
[55/259] Compiling c-nioatomics.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.
[56/259] Compiling mongoc-stream-tls.c
[56/259] Compiling c-atomics.c
[56/259] Wrapping AST for _NIOBase64 for debugging
BUILD FAILURE 6.1 android