Build Information
Failed to build sma2mqtt, reference main (f37042), with Swift 6.1 for Wasm on 6 Nov 2025 16:27:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/jollyjinx/sma2mqtt.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/jollyjinx/sma2mqtt
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-4606859-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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jollyjinx/BinaryCoder
Fetching https://github.com/swift-server-community/mqtt-nio
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/jollyjinx/JLog
Fetching https://github.com/nicklockwood/SwiftFormat
[1/296] Fetching binarycoder
[297/16982] Fetching binarycoder, swift-argument-parser
[1466/17096] Fetching binarycoder, swift-argument-parser, jlog
[1913/25960] Fetching binarycoder, swift-argument-parser, jlog, mqtt-nio
[7023/40367] Fetching binarycoder, swift-argument-parser, jlog, mqtt-nio, async-http-client
[34352/92773] Fetching binarycoder, swift-argument-parser, jlog, mqtt-nio, async-http-client, swiftformat
Fetched https://github.com/apple/swift-argument-parser from cache (2.40s)
[27874/76087] Fetching binarycoder, jlog, mqtt-nio, async-http-client, swiftformat
Fetched https://github.com/jollyjinx/BinaryCoder from cache (2.52s)
Fetched https://github.com/swift-server-community/mqtt-nio from cache (2.53s)
Fetched https://github.com/jollyjinx/JLog from cache (3.08s)
Fetched https://github.com/swift-server/async-http-client.git from cache (3.10s)
[4657/52406] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (35.53s)
Computing version for https://github.com/jollyjinx/BinaryCoder
Computed https://github.com/jollyjinx/BinaryCoder at 2.3.2 (36.33s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.8 (0.73s)
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
[191/4558] Fetching swift-log-format-and-pipe, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Fetched https://github.com/Adorkable/swift-log-format-and-pipe from cache (0.57s)
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 (3.59s)
Computing version for https://github.com/swift-server-community/mqtt-nio
Computed https://github.com/swift-server-community/mqtt-nio at 2.12.1 (10.98s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/1820] Fetching swift-atomics
[2/4605] Fetching swift-atomics, swift-nio-transport-services
[4424/19893] Fetching swift-atomics, swift-nio-transport-services, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.90s)
[4926/18073] Fetching swift-nio-transport-services, swift-nio-ssl
[13794/98100] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.63s)
[20890/95315] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.67s)
[6079/80027] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.89s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (11.82s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.88s)
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 (1.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.88.0 (1.33s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/5167] Fetching swift-system
[4962/23453] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.51s)
Fetched https://github.com/apple/swift-collections.git from cache (1.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.80s)
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.85s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/6023] Fetching swift-algorithms
[62/11556] Fetching swift-algorithms, swift-distributed-tracing
[454/17870] Fetching swift-algorithms, swift-distributed-tracing, swift-nio-extras
[6131/29578] Fetching swift-algorithms, swift-distributed-tracing, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (2.27s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (2.27s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.28s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.29s)
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.20s)
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.31s)
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.00s)
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.80s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.06s)
Fetching https://github.com/apple/swift-numerics.git
[1/6380] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.62s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.42s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.0 (0.77s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/939] Fetching swift-http-types
[875/2143] Fetching swift-http-types, swift-http-structured-headers
[1675/7818] Fetching swift-http-types, swift-http-structured-headers, swift-async-algorithms
[3166/9471] Fetching swift-http-types, swift-http-structured-headers, swift-async-algorithms, swift-asn1
[5606/12033] Fetching swift-http-types, swift-http-structured-headers, swift-async-algorithms, swift-asn1, swift-service-lifecycle
[7281/18740] Fetching swift-http-types, swift-http-structured-headers, swift-async-algorithms, swift-asn1, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.38s)
[9743/17801] Fetching swift-http-structured-headers, swift-async-algorithms, swift-asn1, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.38s)
[8565/16597] Fetching swift-async-algorithms, swift-asn1, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.52s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.52s)
[10505/12382] Fetching swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.71s)
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 (1.36s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.96s)
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.93s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (3.68s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.93s)
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 (0.83s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.1 (0.94s)
Fetching https://github.com/apple/swift-crypto.git
[1/17428] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.29s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.1.0 (11.66s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.58.5 (5.34s)
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-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-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-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-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-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/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.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
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/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.8
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/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/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/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/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/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/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-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-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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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-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/swift-server-community/mqtt-nio
Working copy of https://github.com/swift-server-community/mqtt-nio resolved at 2.12.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin SwiftFormatPlugin
Building for debugging...
[3/498] Copying sma.data.Translation_Names.json
[3/498] Copying obisdefinition.json
[3/498] Copying SMANetPacketDefinitions.json
[3/498] Write sources
[8/498] Copying sma.data.objectMetaData.json
[9/498] Write sources
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:93:8: note: 'strftime_l' declared here
93 | size_t strftime_l (char * __restrict, size_t, const char * __restrict, const struct tm * __restrict, locale_t);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[11/498] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[11/498] Compiling _NumericsShims _NumericsShims.c
[11/498] Compiling c-nioatomics.c
[11/498] Compiling _CWASI _CWASI.c
[11/498] Compiling a_bitstr.cc
[11/498] Compiling a_bool.cc
[11/498] Compiling c-atomics.c
[11/498] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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/490] Write sources
[34/490] Compiling CNIOWindows shim.c
[35/490] Compiling _NumericsShims _NumericsShims.c
[36/490] Compiling CNIOWASI CNIOWASI.c
[36/490] Compiling _AtomicsShims.c
[38/490] Compiling CNIOLinux shim.c
[39/490] Compiling CNIOWindows WSAStartup.c
[40/490] Compiling CNIOPosix event_loop_id.c
[41/490] Compiling CNIOSHA1 c_nio_sha1.c
[42/490] Compiling CNIOLinux liburing_shims.c
[43/490] Compiling CNIODarwin shim.c
[44/490] Compiling CNIOExtrasZlib empty.c
[45/490] Compiling CNIOLLHTTP c_nio_http.c
[46/490] Compiling fiat_p256_adx_mul.S
[47/490] Compiling fiat_p256_adx_sqr.S
[48/490] Compiling fiat_curve25519_adx_square.S
[49/490] Compiling CNIOLLHTTP c_nio_api.c
[50/490] Compiling fiat_curve25519_adx_mul.S
[51/490] Compiling _CWASI _CWASI.c
[51/490] Write swift-version-24593BA9C3E375BF.txt
[53/490] 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.
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.
[54/494] Compiling tls_method.cc
[54/494] 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>
| ^~~~~~~~~~~
1 error generated.
[54/494] 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>
| ^~~~~~~~~~~
1 error generated.
[54/494] Compiling tls13_enc.cc
[54/494] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
| ^~~~~~~~~~~
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>
| ^~~~~~~~~~~
[54/494] Compiling tls13_client.cc
[54/494] Compiling tls13_both.cc
[55/494] Emitting module _NIODataStructures
BUILD FAILURE 6.1 wasm