Build Information
Failed to build FluentMongo, reference 1.2.2 (76bc6e
), with Swift 6.1 for Wasm on 29 May 2025 00:27:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/asensei/vapor-fluent-mongo.git
Reference: 1.2.2
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/asensei/vapor-fluent-mongo
* tag 1.2.2 -> FETCH_HEAD
HEAD is now at 76bc6e5 test against mongo v7 (#28)
Cloned https://github.com/asensei/vapor-fluent-mongo.git
Revision (git rev-parse @):
76bc6e52ceb62cadb13aa39ac0ecd7920f31fbe2
SUCCESS checkout https://github.com/asensei/vapor-fluent-mongo.git at 1.2.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/asensei/vapor-fluent-mongo.git
https://github.com/asensei/vapor-fluent-mongo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "fluent-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.36.1",
"upper_bound" : "1.37.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent-kit.git"
},
{
"identity" : "mongo-swift-driver",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mongodb/mongo-swift-driver.git"
}
],
"manifest_display_name" : "FluentMongo",
"name" : "FluentMongo",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "FluentMongo",
"targets" : [
"FluentMongo"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FluentMongoTests",
"module_type" : "SwiftTarget",
"name" : "FluentMongoTests",
"path" : "Tests/FluentMongoTests",
"product_dependencies" : [
"FluentBenchmark"
],
"sources" : [
"FluentBenchmarkTests.swift",
"FluentMongoTests.swift",
"Pet.swift",
"PetToy.swift",
"Toy.swift",
"User.swift"
],
"target_dependencies" : [
"FluentMongo"
],
"type" : "test"
},
{
"c99name" : "FluentMongo",
"module_type" : "SwiftTarget",
"name" : "FluentMongo",
"path" : "Sources/FluentMongo",
"product_dependencies" : [
"FluentKit",
"MongoSwift"
],
"product_memberships" : [
"FluentMongo"
],
"sources" : [
"BSONCoder+BSON.swift",
"DatabaseQueryAggregate+Mongo.swift",
"DatabaseQueryField+Mongo.swift",
"DatabaseQueryFilter+Mongo.swift",
"DatabaseQueryJoin+Mongo.swift",
"DatabaseQueryLimit+Mongo.swift",
"DatabaseQueryOffset+Mongo.swift",
"DatabaseQuerySort+Mongo.swift",
"DatabaseQueryValue+Mongo.swift",
"DatabaseSchema+Mongo.swift",
"Document+Nested.swift",
"Error.swift",
"Exports.swift",
"Fluent+Additions.swift",
"FluentMongoConfiguration.swift",
"IndexBuilder.swift",
"MongoConfiguration.swift",
"MongoConnection.swift",
"MongoConnectionSource.swift",
"MongoDatabase.swift",
"MongoDatabaseDriver.swift",
"MongoDatabaseOutput.swift",
"MongoQueryConverter.swift",
"MongoSchemaConverter.swift",
"QueryBuilder+Mongo.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/vapor/fluent-kit.git
Fetching https://github.com/mongodb/mongo-swift-driver.git
[1/13328] Fetching fluent-kit
[13329/53225] Fetching fluent-kit, mongo-swift-driver
Fetched https://github.com/vapor/fluent-kit.git from cache (4.20s)
Fetched https://github.com/mongodb/mongo-swift-driver.git from cache (4.27s)
Computing version for https://github.com/mongodb/mongo-swift-driver.git
Computed https://github.com/mongodb/mongo-swift-driver.git at 1.3.1 (5.87s)
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/apple/swift-atomics
[1/3384] Fetching swift-bson
[915/5094] Fetching swift-bson, swift-atomics
[3629/24678] Fetching swift-bson, swift-atomics, nimble
[12342/100771] Fetching swift-bson, swift-atomics, nimble, swift-nio
Fetched https://github.com/apple/swift-atomics from cache (4.23s)
Fetched https://github.com/mongodb/swift-bson from cache (4.24s)
Fetched https://github.com/Quick/Nimble.git from cache (4.26s)
Fetched https://github.com/apple/swift-nio from cache (4.35s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (5.01s)
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/vapor/async-kit.git
[1/2370] Fetching async-kit
[2371/8353] Fetching async-kit, sql-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.35s)
[4787/5983] Fetching sql-kit
[4908/9819] Fetching sql-kit, swift-log
Fetched https://github.com/vapor/sql-kit.git from cache (0.48s)
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (1.16s)
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.35s)
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.35s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (3.63s)
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.89s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.54s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.49s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.61s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/5959] Fetching swift-algorithms
[3815/22550] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (0.41s)
[4314/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (0.99s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.58s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.96s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.68s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.91s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.02s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.81s)
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.33.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/mongodb/mongo-swift-driver.git
Working copy of https://github.com/mongodb/mongo-swift-driver.git resolved at 1.3.1
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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.36.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git 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/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.5.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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/172] Write sources
[22/172] Compiling CNIOWASI CNIOWASI.c
[23/172] Compiling CNIOWindows shim.c
[24/172] Compiling CNIOWindows WSAStartup.c
[25/172] Compiling _NumericsShims _NumericsShims.c
[26/172] Compiling _AtomicsShims.c
[27/172] Compiling CNIOLinux liburing_shims.c
[28/172] Compiling CNIODarwin shim.c
[29/172] Compiling CNIOLinux shim.c
[30/172] Compiling mongoc-version-functions.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-write-command-legacy.c:19:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-write-command-legacy-private.h:24:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-client-private.h:25:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-buffer-private.h:24:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
32 | #include <netdb.h>
| ^~~~~~~~~
1 error generated.
[31/172] Compiling mongoc-write-command-legacy.c
[31/172] Compiling mongoc-uri.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-util.c:26:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_common-thread-private.h:33:10: fatal error: 'pthread.h' file not found
33 | #include <pthread.h>
| ^~~~~~~~~~~
[31/172] Compiling mongoc-util.c
[31/172] Compiling c-nioatomics.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-write-concern.c:20:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-util-private.h:23:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc.h:29:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-client.h:30:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-gridfs.h:25:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
32 | #include <netdb.h>
| ^~~~~~~~~
[31/172] Compiling mongoc-write-concern.c
[31/172] Compiling c-atomics.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-write-command.c:19:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-client-private.h:25:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-buffer-private.h:24:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
32 | #include <netdb.h>
| ^~~~~~~~~
1[31/172] Compiling mongoc-write-command.c
[31/172] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/141] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-write-concern.c:20:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-util-private.h:23:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc.h:29:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-client.h:30:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-gridfs.h:25:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
32 | #include <netdb.h>
| ^~~~~~~~~
1 error generated.
[3/141] Compiling mongoc-write-concern.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-util.c:26:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_common-thread-private.h:33:10: fatal error: 'pthread.h' file not found
33 | #include <pthread.h>
| ^~~~~~~~~~~
[3/141] Compiling mongoc-util.c
[3/141] Compiling mongoc-uri.c
[3/141] Compiling c-nioatomics.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-write-command-legacy.c:19:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-write-command-legacy-private.h:24:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-client-private.h:25:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-buffer-private.h:24:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
32 | #include <netdb.h>
| ^~~~~~~~~
[3/141] Compiling mongoc-write-command-legacy.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-write-command.c:19:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-client-private.h:25:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-buffer-private.h:24:
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-stream.h:24:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-socket.h:32:10: fatal error: 'netdb.h' file not found
32 | #include <netdb.h>
| ^~~~~~~~~
[3/141] Compiling mongoc-write-command.c
[3/141] Compiling c-atomics.c
[3/141] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm