Build Information
Failed to build sma2mqtt, reference 3.2.0 (f37042), with Swift 6.1 for Wasm on 6 Nov 2025 16:28:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/jollyjinx/sma2mqtt.git
Reference: 3.2.0
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/jollyjinx/sma2mqtt
* tag 3.2.0 -> FETCH_HEAD
HEAD is now at f37042e fixed intel builds
Cloned https://github.com/jollyjinx/sma2mqtt.git
Revision (git rev-parse @):
f37042ef408ff679808b7fa6e6c864a15c041b67
SUCCESS checkout https://github.com/jollyjinx/sma2mqtt.git at 3.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jollyjinx/sma2mqtt.git
https://github.com/jollyjinx/sma2mqtt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.51.12",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.18.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "mqtt-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.8.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server-community/mqtt-nio"
},
{
"identity" : "binarycoder",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jollyjinx/BinaryCoder"
},
{
"identity" : "jlog",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jollyjinx/JLog"
}
],
"manifest_display_name" : "sma2mqtt",
"name" : "sma2mqtt",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "sma2mqtt",
"targets" : [
"sma2mqtt"
],
"type" : {
"executable" : null
}
},
{
"name" : "sma2mqttLibrary",
"targets" : [
"sma2mqttLibrary"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "sma2mqttTests",
"module_type" : "SwiftTarget",
"name" : "sma2mqttTests",
"path" : "Tests/sma2mqttTests",
"product_dependencies" : [
"BinaryCoder",
"JLog"
],
"sources" : [
"DeviceTests.swift",
"QueryQueueTests.swift",
"SMAObjectTests.swift",
"TestHelpers.swift",
"sma2mqttTests.swift"
],
"target_dependencies" : [
"sma2mqttLibrary"
],
"type" : "test"
},
{
"c99name" : "sma2mqttLibrary",
"module_type" : "SwiftTarget",
"name" : "sma2mqttLibrary",
"path" : "Sources/sma2mqttLibrary",
"product_dependencies" : [
"BinaryCoder",
"AsyncHTTPClient",
"MQTTNIO",
"JLog"
],
"product_memberships" : [
"sma2mqtt",
"sma2mqttLibrary"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/sma2mqttLibrary/Resources/SMANetPacketDefinitions.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/sma2mqttLibrary/Resources/obisdefinition.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/sma2mqttLibrary/Resources/sma.data.Translation_Names.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/sma2mqttLibrary/Resources/sma.data.objectMetaData.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DataObjects/GetValuesResult.swift",
"DataObjects/PublishedValue.swift",
"DataObjects/SMADataObject.swift",
"DataObjects/SMATagTranslator.swift",
"Obis/ObisDefinition.swift",
"Obis/ObisPacket.swift",
"Obis/ObisValue.swift",
"SMADevice.swift",
"SMALighthouse.swift",
"SMAPacket/PacketHelper.swift",
"SMAPacket/SMANetPacket.swift",
"SMAPacket/SMANetPacketDefinition.swift",
"SMAPacket/SMANetPacketHeader.swift",
"SMAPacket/SMANetPacketValue.swift",
"SMAPacket/SMAPacket.swift",
"SMAPacket/SMAPacketGenerator.swift",
"SMAPacket/SMATagPacket.swift",
"Tools/DatedQueue.swift",
"Tools/Extensions.swift",
"Tools/HTTPClientProvider.swift",
"Tools/IntervalLoop.swift",
"Tools/MQTTPublisher.swift",
"Tools/MutlicastReceiver.swift",
"Tools/QueryQueue.swift",
"Tools/RandomNumber.swift",
"Tools/SMAUDPPort.swift",
"Tools/SwiftFD_SET.swift"
],
"type" : "library"
},
{
"c99name" : "sma2mqtt",
"module_type" : "SwiftTarget",
"name" : "sma2mqtt",
"path" : "Sources/sma2mqtt",
"product_dependencies" : [
"ArgumentParser",
"JLog"
],
"product_memberships" : [
"sma2mqtt"
],
"sources" : [
"sma2mqtt.swift"
],
"target_dependencies" : [
"sma2mqttLibrary"
],
"type" : "executable"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/swift-server-community/mqtt-nio
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jollyjinx/JLog
[1/114] Fetching jlog
[115/16800] Fetching jlog, swift-argument-parser
[783/25664] Fetching jlog, swift-argument-parser, mqtt-nio
Fetched https://github.com/jollyjinx/JLog from cache (0.35s)
[4276/25550] Fetching swift-argument-parser, mqtt-nio
[9007/39957] Fetching swift-argument-parser, mqtt-nio, async-http-client
Fetched https://github.com/swift-server-community/mqtt-nio from cache (1.45s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.48s)
Fetching https://github.com/jollyjinx/BinaryCoder
Fetching https://github.com/nicklockwood/SwiftFormat
Fetched https://github.com/swift-server/async-http-client.git from cache (1.89s)
[1/296] Fetching binarycoder
[297/52702] Fetching binarycoder, swiftformat
Fetched https://github.com/jollyjinx/BinaryCoder from cache (38.10s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (38.97s)
Computing version for https://github.com/jollyjinx/BinaryCoder
Computed https://github.com/jollyjinx/BinaryCoder at 2.3.2 (41.54s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.8 (0.83s)
Fetching https://github.com/Adorkable/swift-log-format-and-pipe
Fetching https://github.com/apple/swift-log.git
[1/190] Fetching swift-log-format-and-pipe
Fetched https://github.com/Adorkable/swift-log-format-and-pipe from cache (0.32s)
[1/4368] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.60s)
Computing version for https://github.com/Adorkable/swift-log-format-and-pipe
Computed https://github.com/Adorkable/swift-log-format-and-pipe at 0.1.1 (4.40s)
Computing version for https://github.com/swift-server-community/mqtt-nio
Computed https://github.com/swift-server-community/mqtt-nio at 2.12.1 (0.83s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2785] Fetching swift-nio-transport-services
[558/4605] Fetching swift-nio-transport-services, swift-atomics
[4606/19893] Fetching swift-nio-transport-services, swift-atomics, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
[4314/18073] Fetching swift-nio-transport-services, swift-nio-ssl
[6608/98100] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.96s)
[23593/82812] Fetching swift-nio-transport-services, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (9.97s)
Fetched https://github.com/apple/swift-nio.git from cache (10.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (10.95s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.82s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.2 (0.94s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.88.0 (1.36s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/5167] Fetching swift-system
[5168/23453] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.89s)
Fetched https://github.com/apple/swift-collections.git from cache (1.91s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.08s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.64s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.29.1 (0.73s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5533] Fetching swift-distributed-tracing
[278/11556] Fetching swift-distributed-tracing, swift-algorithms
[510/17870] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-extras
[6561/29578] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.58s)
[14296/23555] Fetching swift-distributed-tracing, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.69s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.69s)
[3279/11708] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.38s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (3.39s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.32s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (1.08s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.73s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.97s)
Fetching https://github.com/apple/swift-numerics.git
[1/6380] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (2.49s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (8.55s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.0 (2.15s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1653] Fetching swift-asn1
[861/8360] Fetching swift-asn1, swift-certificates
[912/9299] Fetching swift-asn1, swift-certificates, swift-http-types
[1045/14974] Fetching swift-asn1, swift-certificates, swift-http-types, swift-async-algorithms
[1046/17536] Fetching swift-asn1, swift-certificates, swift-http-types, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.70s)
Fetching https://github.com/apple/swift-http-structured-headers.git
[10614/16597] Fetching swift-asn1, swift-certificates, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.80s)
[11374/14035] Fetching swift-asn1, swift-certificates, swift-async-algorithms
[14036/15239] Fetching swift-asn1, swift-certificates, swift-async-algorithms, swift-http-structured-headers
Fetched https://github.com/apple/swift-certificates.git from cache (1.22s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.23s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.24s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
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 (2.43s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.66s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (1.57s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (4.24s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.35s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.5.0 (1.09s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.1 (1.39s)
Fetching https://github.com/apple/swift-crypto.git
[1/17428] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.62s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.1.0 (7.92s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.58.5 (1.21s)
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.31.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/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/jollyjinx/BinaryCoder
Working copy of https://github.com/jollyjinx/BinaryCoder resolved at 2.3.2
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.0.4
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.88.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.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.15.1
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.58.5
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/swift-server-community/mqtt-nio
Working copy of https://github.com/swift-server-community/mqtt-nio resolved at 2.12.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.1.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.36.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.0
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.38.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.4
Creating working copy for https://github.com/Adorkable/swift-log-format-and-pipe
Working copy of https://github.com/Adorkable/swift-log-format-and-pipe resolved at 0.1.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.25.2
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.5.0
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.29.1
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-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-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-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/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.8
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin SwiftFormatPlugin
Building for debugging...
[3/498] Write swift-version-24593BA9C3E375BF.txt
[3/498] Copying sma.data.objectMetaData.json
[3/498] Copying sma.data.Translation_Names.json
[3/498] Copying obisdefinition.json
[3/498] Copying SMANetPacketDefinitions.json
[3/498] Write sources
[10/498] Compiling _NumericsShims _NumericsShims.c
[10/498] Write sources
[13/498] Compiling _CWASI _CWASI.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/a_bitstr.cc:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[14/502] Compiling a_bitstr.cc
[14/502] Compiling a_d2i_fp.cc
[14/502] Compiling a_dup.cc
[14/502] Compiling c-nioatomics.c
[14/502] Compiling c-atomics.c
[14/502] Compiling a_bool.cc
[14/502] Compiling a_gentm.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin SwiftFormatPlugin
Building for debugging...
[3/487] Write sources
[28/488] Compiling CNIOLinux shim.c
[29/488] Compiling CNIOWindows WSAStartup.c
[30/488] Compiling CNIOWindows shim.c
[30/488] Compiling CNIOWASI CNIOWASI.c
[32/488] Compiling CNIOPosix event_loop_id.c
[33/488] Compiling CNIOLinux liburing_shims.c
[34/488] Compiling CNIOSHA1 c_nio_sha1.c
[35/488] Compiling CNIOLLHTTP c_nio_http.c
[36/488] Compiling CNIOExtrasZlib empty.c
[37/488] Compiling CNIODarwin shim.c
[38/488] Compiling CNIOLLHTTP c_nio_api.c
[39/488] Compiling fiat_p256_adx_sqr.S
[40/488] Compiling fiat_p256_adx_mul.S
[41/488] Compiling fiat_curve25519_adx_square.S
[42/488] Compiling fiat_curve25519_adx_mul.S
[43/488] Compiling _AtomicsShims.c
[44/488] Write swift-version-24593BA9C3E375BF.txt
[45/488] Compiling CNIOBoringSSLShims shims.c
[47/492] Emitting module _NIODataStructures
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>
| ^~~~~~~~~~~
1 error generated.
[47/492] Compiling tls13_client.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>
| ^~~~~~~~~~~
1 error generated.
[47/492] Compiling tls_method.cc
[47/492] Compiling CNIOLLHTTP c_nio_llhttp.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>
| ^~~~~~~~~~~
[47/492] Compiling tls_record.cc
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>
| ^~~~~~~~~~~
[47/492] 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>
| ^~~~~~~~~~~
[47/492] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/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>
| ^~~~~~~~~~~
[47/492] Compiling tls13_both.cc
BUILD FAILURE 6.1 wasm