Build Information
Failed to build fluent, reference main (b869ac), with Swift 6.1 for Wasm on 10 Feb 2026 20:45:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/fluent.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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b869acf Update api-docs.yml
Cloned https://github.com/vapor/fluent.git
Revision (git rev-parse @):
b869acf0a68b8166129e14b92b067de181efd562
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/fluent.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor/fluent.git
https://github.com/vapor/fluent.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "fluent-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.52.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent-kit.git"
},
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "4.117.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor.git"
}
],
"manifest_display_name" : "fluent",
"name" : "fluent",
"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" : "Fluent",
"targets" : [
"Fluent"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FluentTests",
"module_type" : "SwiftTarget",
"name" : "FluentTests",
"path" : "Tests/FluentTests",
"product_dependencies" : [
"XCTFluent",
"VaporTesting"
],
"sources" : [
"CacheTests.swift",
"CredentialTests.swift",
"OperatorTests.swift",
"PaginationTests.swift",
"QueryHistoryTests.swift",
"RepositoryTests.swift",
"SessionTests.swift"
],
"target_dependencies" : [
"Fluent"
],
"type" : "test"
},
{
"c99name" : "Fluent",
"module_type" : "SwiftTarget",
"name" : "Fluent",
"path" : "Sources/Fluent",
"product_dependencies" : [
"FluentKit",
"Vapor"
],
"product_memberships" : [
"Fluent"
],
"sources" : [
"Concurrency/FluentProvider+Concurrency.swift",
"Concurrency/ModelCredentialsAuthenticatable+Concurrency.swift",
"Concurrency/Pagination+Concurrency.swift",
"Concurrency/Sessions+Concurrency.swift",
"Exports.swift",
"Fluent+Cache.swift",
"Fluent+History.swift",
"Fluent+Paginate.swift",
"Fluent+Pagination.swift",
"Fluent+Sessions.swift",
"FluentProvider.swift",
"MigrateCommand.swift",
"ModelAuthenticatable.swift",
"ModelCredentialsAuthenticatable.swift",
"ModelTokenAuthenticatable.swift",
"PageLimit.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/vapor.git
[1/76671] Fetching vapor
Fetching https://github.com/vapor/fluent-kit.git
Fetched https://github.com/vapor/vapor.git from cache (3.88s)
[1/13893] Fetching fluent-kit
Fetched https://github.com/vapor/fluent-kit.git from cache (1.08s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.55.0 (6.02s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/5648] Fetching swift-distributed-tracing
[171/11801] Fetching swift-distributed-tracing, sql-kit
[233/12963] Fetching swift-distributed-tracing, sql-kit, swift-service-context
[974/15537] Fetching swift-distributed-tracing, sql-kit, swift-service-context, swift-service-lifecycle
[2838/21436] Fetching swift-distributed-tracing, sql-kit, swift-service-context, swift-service-lifecycle, swift-log
[12188/103441] Fetching swift-distributed-tracing, sql-kit, swift-service-context, swift-service-lifecycle, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.38s)
[18818/97542] Fetching swift-distributed-tracing, sql-kit, swift-service-context, swift-service-lifecycle, swift-nio
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.51s)
[13990/91894] Fetching sql-kit, swift-service-context, swift-service-lifecycle, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (11.36s)
Fetched https://github.com/vapor/sql-kit.git from cache (11.37s)
Fetched https://github.com/apple/swift-service-context.git from cache (11.38s)
Fetched https://github.com/apple/swift-nio.git from cache (11.61s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (12.86s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6095] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.75s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (1.80s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.01s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (1.28s)
Fetching https://github.com/apple/swift-collections.git
[1/19493] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.26s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.34.0 (3.36s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (1.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.51s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.121.2 (1.14s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/vapor/websocket-kit.git
[1/1692] Fetching swift-asn1
[137/5308] Fetching swift-asn1, multipart-kit
[1011/7940] Fetching swift-asn1, multipart-kit, websocket-kit
[1141/9760] Fetching swift-asn1, multipart-kit, websocket-kit, swift-atomics
[1568/16857] Fetching swift-asn1, multipart-kit, websocket-kit, swift-atomics, swift-certificates
[2127/22909] Fetching swift-asn1, multipart-kit, websocket-kit, swift-atomics, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (1.09s)
[15420/21217] Fetching multipart-kit, websocket-kit, swift-atomics, swift-certificates, swift-algorithms
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-certificates.git from cache (1.68s)
Fetching https://github.com/apple/swift-nio-extras.git
[11625/16686] Fetching multipart-kit, websocket-kit, swift-atomics, swift-algorithms, swift-metrics
[14191/23123] Fetching multipart-kit, websocket-kit, swift-atomics, swift-algorithms, swift-metrics, swift-nio-extras
Fetched https://github.com/apple/swift-metrics.git from cache (1.08s)
[15036/20557] Fetching multipart-kit, websocket-kit, swift-atomics, swift-algorithms, swift-nio-extras
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.93s)
Fetching https://github.com/apple/swift-nio-ssl.git
[11625/26031] Fetching multipart-kit, websocket-kit, swift-atomics, swift-algorithms, swift-nio-http2
[15318/41327] Fetching multipart-kit, websocket-kit, swift-atomics, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (4.98s)
Fetched https://github.com/apple/swift-atomics.git from cache (4.99s)
Fetched https://github.com/vapor/websocket-kit.git from cache (4.99s)
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/apple/swift-crypto.git
[25164/30823] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/vapor/multipart-kit.git from cache (5.26s)
[22772/27207] Fetching swift-nio-http2, swift-nio-ssl
Fetching https://github.com/vapor/async-kit.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.29s)
[11015/21848] Fetching swift-nio-ssl, console-kit
Fetching https://github.com/swift-server/async-http-client.git
[16934/24302] Fetching swift-nio-ssl, console-kit, async-kit
[20327/41823] Fetching swift-nio-ssl, console-kit, async-kit, swift-crypto
Fetched https://github.com/vapor/async-kit.git from cache (0.80s)
[18856/39369] Fetching swift-nio-ssl, console-kit, swift-crypto
[19032/54398] Fetching swift-nio-ssl, console-kit, swift-crypto, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (3.07s)
[25177/39369] Fetching swift-nio-ssl, console-kit, swift-crypto
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.36s)
[14787/24073] Fetching console-kit, swift-crypto
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/vapor/console-kit.git from cache (5.74s)
Fetched https://github.com/apple/swift-crypto.git from cache (5.84s)
[1/21356] Fetching routing-kit
Fetched https://github.com/vapor/routing-kit.git from cache (1.60s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (13.50s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.07s)
Fetching https://github.com/apple/swift-numerics.git
[1/6410] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.33s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (2.52s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (1.12s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (1.16s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2809] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.56s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.1 (4.63s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (1.05s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.96s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (1.20s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (1.30s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (1.15s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (1.01s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (3.57s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (1.19s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (1.53s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1204] Fetching swift-http-structured-headers
[736/2155] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.54s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.53s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.94.0 (2.46s)
Fetching https://github.com/apple/swift-system.git
[1/5552] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.75s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (2.65s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (1.22s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.30s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (1.22s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.3 (1.26s)
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.34.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.3
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.32.1
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.121.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.94.0
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.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.9.1
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.36.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.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.1
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.26.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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.21.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.55.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.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.1.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.3.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.3.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.6.4
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Building for debugging...
[0/857] Write sources
[59/857] Compiling _CWASI _CWASI.c
[60/857] Compiling _NumericsShims _NumericsShims.c
[61/857] Compiling _AtomicsShims.c
[62/857] Compiling CXKCPShims shims.c
[63/857] Compiling CVaporBcrypt bcrypt.c
[63/857] Compiling SimpleFIPS202.c
[63/857] Compiling KeccakSponge.c
[66/857] Compiling CSystem shims.c
[67/857] Compiling KeccakHash.c
[68/857] Compiling CNIOWASI CNIOWASI.c
[69/857] Compiling CNIOWindows WSAStartup.c
[70/857] Compiling CNIOWindows shim.c
[71/857] Compiling CVaporBcrypt blf.c
[72/857] Compiling CNIOPosix event_loop_id.c
[73/857] Compiling CNIOOpenBSD shim.c
[74/857] Compiling CNIOLinux shim.c
[75/857] Compiling CNIOLinux liburing_shims.c
[76/857] Compiling CNIOSHA1 c_nio_sha1.c
[77/857] Compiling CNIOExtrasZlib empty.c
[78/857] Compiling CNIODarwin shim.c
[79/857] Compiling CNIOLLHTTP c_nio_http.c
[80/857] Compiling fiat_p256_adx_mul.S
[81/857] Compiling CNIOLLHTTP c_nio_api.c
[82/857] Compiling fiat_p256_adx_sqr.S
[83/857] Compiling fiat_curve25519_adx_square.S
[84/857] Compiling fiat_curve25519_adx_mul.S
[85/857] Write swift-version-24593BA9C3E375BF.txt
[86/857] Compiling CNIOBoringSSLShims shims.c
[88/861] Emitting module _NIODataStructures
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.
[88/861] Compiling tls13_server.cc
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.
[88/861] Compiling tls_record.cc
[88/861] Compiling KeccakP-1600-opt64.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/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>
| ^~~~~~~~~~~
[88/861] Compiling tls13_client.cc
[88/861] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
| ^~~~~~~~~~~
[88/861] Compiling tls13_enc.cc
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>
| ^~~~~~~~~~~
[88/861] Compiling tls_method.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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/770] Write sources
[3/771] Compiling fiat_p256_adx_mul.S
[4/771] Compiling fiat_p256_adx_sqr.S
[5/771] Compiling fiat_curve25519_adx_square.S
[5/771] Compiling fiat_curve25519_adx_mul.S
[7/771] Write swift-version-24593BA9C3E375BF.txt
[8/771] Compiling CCryptoBoringSSLShims shims.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.
[9/775] Compiling tls_record.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>
| ^~~~~~~~~~~
[9/775] Compiling tls13_enc.cc
[9/775] Compiling tls13_client.cc
[9/775] Compiling CNIOLLHTTP c_nio_llhttp.c
[9/775] Compiling KeccakP-1600-opt64.c
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>
| ^~~~~~~~~~~
[9/775] Compiling tls_method.cc
[10/775] Emitting module _NIODataStructures
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>
| ^~~~~~~~~~~
[10/775] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm