Build Information
Failed to build FluentMongo, reference master (76bc6e
), with Swift 6.1 for Wasm on 29 May 2025 00:27:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/asensei/vapor-fluent-mongo.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-4606859-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/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 (5.83s)
Fetched https://github.com/mongodb/mongo-swift-driver.git from cache (5.90s)
Computing version for https://github.com/mongodb/mongo-swift-driver.git
Computed https://github.com/mongodb/mongo-swift-driver.git at 1.3.1 (7.80s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/apple/swift-nio
[1/1710] Fetching swift-atomics
[70/5094] Fetching swift-atomics, swift-bson
[1041/24678] Fetching swift-atomics, swift-bson, nimble
[7770/100771] Fetching swift-atomics, swift-bson, nimble, swift-nio
Fetched https://github.com/mongodb/swift-bson from cache (0.59s)
[17266/97387] Fetching swift-atomics, nimble, swift-nio
Fetched https://github.com/apple/swift-atomics from cache (6.59s)
Fetched https://github.com/Quick/Nimble.git from cache (6.61s)
Fetched https://github.com/apple/swift-nio from cache (6.71s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (7.42s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git
[1/2370] Fetching async-kit
[2371/8353] Fetching async-kit, sql-kit
[2372/12189] Fetching async-kit, sql-kit, swift-log
Fetched https://github.com/vapor/async-kit.git from cache (1.47s)
Fetched https://github.com/apple/swift-log.git from cache (1.48s)
Fetched https://github.com/vapor/sql-kit.git from cache (1.48s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (2.07s)
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/833] Fetching swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.21s)
[1/1056] Fetching swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-json 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 (0.88s)
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.59s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.63s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (1.12s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.92s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (1.12s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/5959] Fetching swift-algorithms
[3756/22550] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (0.69s)
[4314/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.63s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.63s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.69s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.79s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.40s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (1.32s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.53s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (1.26s)
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.5.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/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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
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/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git 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/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/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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/172] Write sources
[23/172] Compiling CNIOWindows WSAStartup.c
[23/172] Compiling _AtomicsShims.c
[25/172] Compiling CNIOWindows shim.c
[25/172] Compiling _NumericsShims _NumericsShims.c
[27/172] Compiling CNIOLinux shim.c
[28/172] Compiling CNIOWASI CNIOWASI.c
[29/172] Compiling CNIOLinux liburing_shims.c
[30/172] Compiling CNIODarwin shim.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>
| ^~~~~~~~~
1 error generated.
[31/172] Compiling mongoc-write-concern.c
[31/172] Compiling c-atomics.c
[31/172] Compiling c-nioatomics.c
[31/172] Compiling mongoc-write-command-legacy.c
[31/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.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>
| ^~~~~~~~~
[31/172] Compiling mongoc-write-command.c
[31/172] Compiling bson-string.c
[31/172] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/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.
[2/141] Compiling mongoc-write-concern.c
[2/141] Compiling mongoc-write-command-legacy.c
[2/141] Compiling mongoc-util.c
[2/141] Compiling c-nioatomics.c
[2/141] Compiling mongoc-write-command.c
[2/141] Compiling mongoc-version-functions.c
[2/141] Compiling c-atomics.c
[2/141] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm