Build Information
Failed to build Bolt, reference 6.0.3 (54a89d), with Swift 6.1 for Wasm on 7 Feb 2026 05:28:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Neo4j-Swift/bolt-swift.git
Reference: 6.0.3
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/Neo4j-Swift/bolt-swift
* tag 6.0.3 -> FETCH_HEAD
HEAD is now at 54a89d6 Use GitHub URL for PackStream-Swift dependency (6.0.1)
Cloned https://github.com/Neo4j-Swift/bolt-swift.git
Revision (git rev-parse @):
54a89d609b0e1bd9c7a11c6cd140a3e8c44845ed
SUCCESS checkout https://github.com/Neo4j-Swift/bolt-swift.git at 6.0.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Neo4j-Swift/bolt-swift.git
https://github.com/Neo4j-Swift/bolt-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "packstream-swift",
"requirement" : {
"exact" : [
"6.0.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Neo4j-Swift/PackStream-Swift.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.65.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.27.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-nio-transport-services",
"requirement" : {
"range" : [
{
"lower_bound" : "1.20.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-transport-services.git"
}
],
"manifest_display_name" : "Bolt",
"name" : "Bolt",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "Bolt",
"targets" : [
"Bolt"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BoltTests",
"module_type" : "SwiftTarget",
"name" : "BoltTests",
"path" : "Tests/BoltTests",
"sources" : [
"BoltTests.swift",
"CertificateValidatorTests.swift",
"ConnectionTests.swift",
"EncryptedSocketTests.swift",
"ErrorTests.swift",
"MockSocket.swift",
"RequestTests.swift",
"ResponseTests.swift",
"SocketTests.swift",
"TestConfig.swift",
"UnencryptedSocketTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Bolt"
],
"type" : "test"
},
{
"c99name" : "Bolt",
"module_type" : "SwiftTarget",
"name" : "Bolt",
"path" : "Sources",
"product_dependencies" : [
"PackStream",
"NIO",
"NIOCore",
"NIOPosix",
"NIOSSL",
"NIOTransportServices"
],
"product_memberships" : [
"Bolt"
],
"sources" : [
"BoltProtocol.swift",
"CertificateValidatorProtocol.swift",
"CertificateValidators.swift",
"Connection.swift",
"ConnectionSettings.swift",
"EncryptedSocket.swift",
"ReadDataHandler.swift",
"Request.swift",
"Response.swift",
"SHA1.swift",
"SSLConfiguration.swift",
"SSLKeyGeneratorConfig.swift",
"SocketProtocol.swift",
"UnencryptedSocket.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Neo4j-Swift/PackStream-Swift.git
[1/2735] Fetching packstream-swift
[1861/5544] Fetching packstream-swift, swift-nio-transport-services
[5545/20840] Fetching packstream-swift, swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/Neo4j-Swift/PackStream-Swift.git from cache (0.49s)
[4339/18105] Fetching swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.52s)
[1683/15296] Fetching swift-nio-ssl
[2449/97239] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (10.37s)
Fetched https://github.com/apple/swift-nio.git from cache (10.48s)
Computing version for https://github.com/Neo4j-Swift/PackStream-Swift.git
Computed https://github.com/Neo4j-Swift/PackStream-Swift.git at 6.0.1 (11.03s)
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 (0.66s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.41s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.06s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.94.0 (1.11s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/5552] Fetching swift-system
[5553/25030] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (4.92s)
Fetched https://github.com/apple/swift-system.git from cache (4.92s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (6.12s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.90s)
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/Neo4j-Swift/PackStream-Swift.git
Working copy of https://github.com/Neo4j-Swift/PackStream-Swift.git resolved at 6.0.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.94.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
Building for debugging...
[0/428] Write sources
[14/428] Compiling CNIOWindows WSAStartup.c
[15/428] Compiling CNIOWindows shim.c
[16/428] Compiling _AtomicsShims.c
[17/428] Compiling CNIOLinux shim.c
[18/428] Compiling CNIOWASI CNIOWASI.c
[19/428] Compiling CNIODarwin shim.c
[20/428] Compiling CNIOOpenBSD shim.c
[20/428] Compiling CNIOPosix event_loop_id.c
[22/428] Compiling fiat_p256_adx_mul.S
[23/428] Compiling fiat_p256_adx_sqr.S
[24/428] Write swift-version-24593BA9C3E375BF.txt
[25/428] Compiling CNIOLinux liburing_shims.c
[26/428] Compiling fiat_curve25519_adx_square.S
[27/428] Compiling fiat_curve25519_adx_mul.S
[28/450] Compiling CNIOBoringSSLShims 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.
[29/450] Compiling tls_record.cc
[29/450] Compiling tls13_client.cc
[29/450] Compiling tls13_server.cc
[29/450] Compiling tls13_enc.cc
[29/450] Compiling tls_method.cc
[30/450] Emitting module _NIOBase64
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/BoltTests/BoltSwiftTestConfig.sample.json
[0/1] Planning build
Building for debugging...
[0/400] Write swift-version-24593BA9C3E375BF.txt
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.
[1/400] Compiling tls_record.cc
[1/400] Compiling tls13_enc.cc
[1/400] Compiling tls_method.cc
[1/400] Compiling tls13_both.cc
[1/400] Compiling ssl_x509.cc
[1/400] Compiling tls13_server.cc
[1/400] Compiling t1_enc.cc
[1/400] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm