Build Information
Failed to build mongo-swift-driver, reference main (1f6224
), with Swift 6.1 for Wasm on 28 May 2025 06:30:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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: wasm
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/mongodb/swift-bson
[1/3384] Fetching swift-bson
[374/5094] Fetching swift-bson, swift-atomics
[5095/24678] Fetching swift-bson, swift-atomics, nimble
[5291/100733] Fetching swift-bson, swift-atomics, nimble, swift-nio
Fetched https://github.com/apple/swift-atomics from cache (5.17s)
Fetched https://github.com/mongodb/swift-bson from cache (5.17s)
Fetched https://github.com/Quick/Nimble from cache (5.19s)
Fetched https://github.com/apple/swift-nio from cache (5.26s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (5.76s)
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/1889] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.23s)
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.24s)
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.09s)
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.58s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.66s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.59s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.85s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[1011/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.25s)
Fetched https://github.com/apple/swift-collections.git from cache (1.28s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.82s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.36s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.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/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-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-clock.c
[2/181] Write sources
[4/181] Compiling bson-atomic.c
[5/181] Write sources
[19/181] Compiling bson-decimal128.c
[20/181] Compiling CNIOWindows shim.c
[21/181] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/bson/bson-context.c:28:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/bson/bson-context-private.h:25:
/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_common-thread-private.h:36:10: fatal error: 'pthread.h' file not found
36 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[22/181] Compiling bson-context.c
[22/181] Compiling CNIOLinux shim.c
[22/181] Compiling mongoc-stream-tls.c
[22/181] Compiling CNIOWindows WSAStartup.c
[22/181] Compiling CNIOWASI CNIOWASI.c
[22/181] Compiling bcon.c
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-cluster-sasl.c:21:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-cluster-private.h:25:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-buffer-private.h:24:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
32 | #include <netdb.h>
| ^~~~~~~~~
[22/181] Compiling mongoc-cluster-sasl.c
[22/181] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/159] Compiling CNIOLinux shim.c
[1/159] Compiling CNIOLinux liburing_shims.c
[2/159] Compiling CNIOWASI CNIOWASI.c
[3/159] Compiling CNIODarwin shim.c
[4/159] Compiling mongoc-version-functions.c
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-write-command-legacy.c:19:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-write-command-legacy-private.h:24:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-client-private.h:25:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-buffer-private.h:24:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
32 | #include <netdb.h>
| ^~~~~~~~~
1 error generated.
[5/159] Compiling mongoc-write-command-legacy.c
[5/159] Compiling mongoc-util.c
[5/159] Compiling c-nioatomics.c
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-write-command.c:19:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-client-private.h:25:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-buffer-private.h:24:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
32 | #include <netdb.h>
| ^~~~~~~~~
[5/159] Compiling mongoc-write-command.c
[5/159] Compiling c-atomics.c
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-write-concern.c:20:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-util-private.h:23:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc.h:29:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-client.h:30:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-gridfs.h:25:
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
32 | #include <netdb.h>
| ^~~~~~~~~
1 error generated.
[5/159] Compiling mongoc-write-concern.c
[5/159] Compiling CNIOWindows WSAStartup.c
[5/159] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm