Build Information
Failed to build fluent-mongo-driver, reference main (79bf35
), with Swift 6.1 for Wasm on 29 May 2025 19:06:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/vapor/fluent-mongo-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/vapor/fluent-mongo-driver
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 79bf354 Update For Swift 6 (#61)
Cloned https://github.com/vapor/fluent-mongo-driver.git
Revision (git rev-parse @):
79bf35430e72e4290b3d08ac1eb8784d4e389c32
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/fluent-mongo-driver.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor/fluent-mongo-driver.git
https://github.com/vapor/fluent-mongo-driver.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "fluent-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.49.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent-kit.git"
},
{
"identity" : "mongokitten",
"requirement" : {
"range" : [
{
"lower_bound" : "6.7.13",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/orlandos-nl/MongoKitten.git"
},
{
"identity" : "dnsclient",
"requirement" : {
"exact" : [
"2.3.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/orlandos-nl/DNSClient.git"
}
],
"manifest_display_name" : "fluent-mongo-driver",
"name" : "fluent-mongo-driver",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FluentMongoDriver",
"targets" : [
"FluentMongoDriver"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FluentMongoDriverTests",
"module_type" : "SwiftTarget",
"name" : "FluentMongoDriverTests",
"path" : "Tests/FluentMongoDriverTests",
"product_dependencies" : [
"FluentBenchmark"
],
"sources" : [
"FluentMongoDriverTests.swift"
],
"target_dependencies" : [
"FluentMongoDriver"
],
"type" : "test"
},
{
"c99name" : "FluentMongoDriver",
"module_type" : "SwiftTarget",
"name" : "FluentMongoDriver",
"path" : "Sources/FluentMongoDriver",
"product_dependencies" : [
"FluentKit",
"MongoKitten",
"DNSClient"
],
"product_memberships" : [
"FluentMongoDriver"
],
"sources" : [
"ChangeStream.swift",
"DatabaseQuery+Mongo.swift",
"DatabaseValue+Mongo.swift",
"Document+DatabaseOutput.swift",
"Errors.swift",
"Exports.swift",
"FieldKey+Mongo.swift",
"Filter.swift",
"GridFS.swift",
"MongoDB+Aggregate.swift",
"MongoDB+Create.swift",
"MongoDB+DatabaseRow.swift",
"MongoDB+Delete.swift",
"MongoDB+Join.swift",
"MongoDB+Read.swift",
"MongoDB+Schema.swift",
"MongoDB+Transaction.swift",
"MongoDB+Update.swift",
"MongoDB.swift",
"ObjectId+RandomGeneratable.swift",
"Sort.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/orlandos-nl/DNSClient.git
Fetching https://github.com/orlandos-nl/MongoKitten.git
[1/1144] Fetching dnsclient
[310/15382] Fetching dnsclient, mongokitten
[2712/28710] Fetching dnsclient, mongokitten, fluent-kit
Fetched https://github.com/vapor/fluent-kit.git from cache (0.75s)
Fetched https://github.com/orlandos-nl/DNSClient.git from cache (0.84s)
Fetched https://github.com/orlandos-nl/MongoKitten.git from cache (0.85s)
Computing version for https://github.com/orlandos-nl/DNSClient.git
Computed https://github.com/orlandos-nl/DNSClient.git at 2.3.0 (2.90s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.41s)
[1/76108] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.02s)
Computing version for https://github.com/orlandos-nl/MongoKitten.git
Computed https://github.com/orlandos-nl/MongoKitten.git at 6.7.15 (6.70s)
Fetching https://github.com/orlandos-nl/BSON.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[1037/6042] Fetching swift-log, swift-metrics
[2532/12046] Fetching swift-log, swift-metrics, bson
[12047/26889] Fetching swift-log, swift-metrics, bson, swift-nio-ssl
Fetched https://github.com/apple/swift-metrics.git from cache (0.69s)
Fetched https://github.com/apple/swift-log.git from cache (0.69s)
[10606/20847] Fetching bson, swift-nio-ssl
Fetched https://github.com/orlandos-nl/BSON.git from cache (1.58s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.61s)
Computing version for https://github.com/orlandos-nl/BSON.git
Computed https://github.com/orlandos-nl/BSON.git at 7.0.31 (4.17s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (0.70s)
Fetching https://github.com/vapor/sql-kit.git
[1/5983] Fetching sql-kit
Fetched https://github.com/vapor/sql-kit.git from cache (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.98s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.66s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.35s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (13.03s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
[532/6101] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.93s)
Fetched https://github.com/apple/swift-system.git from cache (0.93s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.86s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.64s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.50s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.50s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.57s)
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.52.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
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-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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/orlandos-nl/BSON.git
Working copy of https://github.com/orlandos-nl/BSON.git resolved at 7.0.31
Creating working copy for https://github.com/orlandos-nl/MongoKitten.git
Working copy of https://github.com/orlandos-nl/MongoKitten.git resolved at 6.7.15
Creating working copy for https://github.com/orlandos-nl/DNSClient.git
Working copy of https://github.com/orlandos-nl/DNSClient.git resolved at 2.3.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
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/443] Write sources
[17/443] Compiling CNIOLinux shim.c
[17/443] Write sources
[21/443] Compiling CNIODarwin shim.c
[21/443] Write sources
[32/443] Compiling CNIOWindows WSAStartup.c
[33/443] Compiling CNIOLinux liburing_shims.c
[33/443] Compiling CNIOWindows shim.c
[33/443] Compiling CNIOWASI CNIOWASI.c
[36/443] Compiling _AtomicsShims.c
[37/443] Compiling fiat_p256_adx_sqr.S
[38/443] Compiling fiat_curve25519_adx_square.S
[39/443] Compiling fiat_p256_adx_mul.S
[40/443] Write swift-version-24593BA9C3E375BF.txt
[41/443] Compiling fiat_curve25519_adx_mul.S
[42/443] Compiling CNIOBoringSSLShims shims.c
[44/449] Emitting module _NIODataStructures
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[44/449] Compiling tls_method.cc
[44/449] Compiling c-nioatomics.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[44/449] Compiling tls_record.cc
[44/449] Compiling c-atomics.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[44/449] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[44/449] Compiling tls13_enc.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/400] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[2/401] Compiling tls13_server.cc
[2/401] Compiling tls13_both.cc
[2/401] Compiling ssl_x509.cc
[2/401] Compiling tls_record.cc
[2/401] Compiling tls13_client.cc
[2/401] Compiling tls_method.cc
[2/401] Compiling t1_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[2/401] Compiling tls13_enc.cc
BUILD FAILURE 6.1 wasm