Build Information
Failed to build swift-smtp, reference 2.16.1 (0a387f), with Swift 6.1 for Wasm on 14 Nov 2025 01:07:53 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/sersoft-gmbh/swift-smtp.git
Reference: 2.16.1
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/sersoft-gmbh/swift-smtp
* tag 2.16.1 -> FETCH_HEAD
HEAD is now at 0a387f4 Add minimum requirements for platforms other than macOS. Fixes #152
Cloned https://github.com/sersoft-gmbh/swift-smtp.git
Revision (git rev-parse @):
0a387f46dbd5b033099192043830d0f377ebec9b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sersoft-gmbh/swift-smtp.git at 2.16.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/sersoft-gmbh/swift-smtp.git
https://github.com/sersoft-gmbh/swift-smtp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.78.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "swift-nio-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.29.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl"
},
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "4.111.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor"
}
],
"manifest_display_name" : "swift-smtp",
"name" : "swift-smtp",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftSMTP",
"targets" : [
"SwiftSMTP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftSMTPVapor",
"targets" : [
"SwiftSMTPVapor"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftSMTPCLI",
"targets" : [
"SwiftSMTPCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftSMTPVaporTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSMTPVaporTests",
"path" : "Tests/SwiftSMTPVaporTests",
"sources" : [
"SwiftSMTPVaporTests.swift"
],
"target_dependencies" : [
"SwiftSMTPVapor"
],
"type" : "test"
},
{
"c99name" : "SwiftSMTPVapor",
"module_type" : "SwiftTarget",
"name" : "SwiftSMTPVapor",
"path" : "Sources/SwiftSMTPVapor",
"product_dependencies" : [
"Vapor"
],
"product_memberships" : [
"SwiftSMTPVapor"
],
"sources" : [
"SwiftSMTP+Vapor.swift"
],
"target_dependencies" : [
"SwiftSMTP"
],
"type" : "library"
},
{
"c99name" : "SwiftSMTPTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSMTPTests",
"path" : "Tests/SwiftSMTPTests",
"sources" : [
"LogDuplexHandlerTests.swift",
"SMTPRequestEncoderTests.swift"
],
"target_dependencies" : [
"SwiftSMTP"
],
"type" : "test"
},
{
"c99name" : "SwiftSMTPCLI",
"module_type" : "SwiftTarget",
"name" : "SwiftSMTPCLI",
"path" : "Sources/SwiftSMTPCLI",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"SwiftSMTPCLI"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftSMTP"
],
"type" : "executable"
},
{
"c99name" : "SwiftSMTP",
"module_type" : "SwiftTarget",
"name" : "SwiftSMTP",
"path" : "Sources/SwiftSMTP",
"product_dependencies" : [
"Algorithms",
"NIO",
"NIOConcurrencyHelpers",
"NIOExtras",
"NIOSSL"
],
"product_memberships" : [
"SwiftSMTP",
"SwiftSMTPVapor",
"SwiftSMTPCLI"
],
"sources" : [
"Mailer.swift",
"Models/Configuration+Environment.swift",
"Models/Configuration.swift",
"Models/Email.swift",
"Models/NetworkModels.swift",
"Models/SMTPErrors.swift",
"NIO Channel Handlers/LogDuplexHandler.swift",
"NIO Channel Handlers/SMTPHandler.swift",
"NIO Channel Handlers/SMTPRequestEncoder.swift",
"NIO Channel Handlers/SMTPResponseDecoder.swift",
"NIO Channel Handlers/StartTLSDuplexHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
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 -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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/vapor
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-algorithms
[1/6029] Fetching swift-algorithms
[3920/21317] Fetching swift-algorithms, swift-nio-ssl
[4653/96953] Fetching swift-algorithms, swift-nio-ssl, vapor
Fetched https://github.com/apple/swift-algorithms from cache (1.09s)
[10163/90924] Fetching swift-nio-ssl, vapor
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/apple/swift-nio-ssl from cache (4.46s)
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.02s)
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-nio-extras
Fetched https://github.com/vapor/vapor from cache (5.65s)
[1/6314] Fetching swift-nio-extras
[6315/86633] Fetching swift-nio-extras, swift-nio
Fetched https://github.com/apple/swift-nio-extras from cache (0.84s)
[1607/80319] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (10.63s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (20.12s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.67s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.79s)
Computing version for https://github.com/apple/swift-nio-extras
Computed https://github.com/apple/swift-nio-extras at 1.31.0 (1.22s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2562] Fetching swift-service-lifecycle
[27/4382] Fetching swift-service-lifecycle, swift-atomics
[228/8780] Fetching swift-service-lifecycle, swift-atomics, swift-log
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.86s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/apple/swift-log.git from cache (1.03s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-atomics.git from cache (1.20s)
Fetching https://github.com/apple/swift-nio-http2.git
[1/1204] Fetching swift-http-structured-headers
[423/2143] Fetching swift-http-structured-headers, swift-http-types
[921/3796] Fetching swift-http-structured-headers, swift-http-types, swift-asn1
[3252/10711] Fetching swift-http-structured-headers, swift-http-types, swift-asn1, swift-certificates
[3576/16392] Fetching swift-http-structured-headers, swift-http-types, swift-asn1, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.76s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.90s)
[3682/14249] Fetching swift-asn1, swift-certificates, swift-async-algorithms
[5096/25967] Fetching swift-asn1, swift-certificates, swift-async-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.34s)
[11264/20286] Fetching swift-asn1, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-asn1.git from cache (1.62s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.62s)
[2930/11718] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.25s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (5.61s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.10s)
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.16s)
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.21s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.52s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.36.0 (3.83s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (4.16s)
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.13s)
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.07s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.1 (1.18s)
Fetching https://github.com/apple/swift-crypto.git
[1/17439] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (4.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3577] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.64s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.45s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.89.0 (1.74s)
Fetching https://github.com/apple/swift-system.git
[1/5181] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.75s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.93s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.1.0 (3.52s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (2.70s)
Computing version for https://github.com/vapor/vapor
Computed https://github.com/vapor/vapor at 4.119.2 (1.32s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/vapor/routing-kit.git
[1/5566] Fetching swift-distributed-tracing
[335/8193] Fetching swift-distributed-tracing, websocket-kit
[877/10680] Fetching swift-distributed-tracing, websocket-kit, swift-metrics
[2119/14263] Fetching swift-distributed-tracing, websocket-kit, swift-metrics, multipart-kit
[2693/15425] Fetching swift-distributed-tracing, websocket-kit, swift-metrics, multipart-kit, swift-service-context
[9065/36677] Fetching swift-distributed-tracing, websocket-kit, swift-metrics, multipart-kit, swift-service-context, routing-kit
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.38s)
Fetching https://github.com/vapor/console-kit.git
[23335/31111] Fetching websocket-kit, swift-metrics, multipart-kit, swift-service-context, routing-kit
[24612/37520] Fetching websocket-kit, swift-metrics, multipart-kit, swift-service-context, routing-kit, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (1.04s)
Fetching https://github.com/vapor/async-kit.git
[28648/31111] Fetching websocket-kit, swift-metrics, multipart-kit, swift-service-context, routing-kit
[28649/33550] Fetching websocket-kit, swift-metrics, multipart-kit, swift-service-context, routing-kit, async-kit
Fetched https://github.com/vapor/routing-kit.git from cache (2.97s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/async-kit.git from cache (0.60s)
[7397/24291] Fetching websocket-kit, swift-metrics, multipart-kit, swift-service-context, async-http-client
Fetched https://github.com/apple/swift-service-context.git from cache (4.51s)
Fetched https://github.com/vapor/websocket-kit.git from cache (4.51s)
Fetched https://github.com/apple/swift-metrics.git from cache (4.52s)
Fetched https://github.com/vapor/multipart-kit.git from cache (4.70s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.80s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (5.98s)
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.16s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (1.03s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2806] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.49s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (1.56s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (1.01s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (1.02s)
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.12s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (1.05s)
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.0 (1.19s)
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)
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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.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
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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-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/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/apple/swift-nio-extras
Working copy of https://github.com/apple/swift-nio-extras resolved at 1.31.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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
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-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.36.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-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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.0
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-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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/vapor
Working copy of https://github.com/vapor/vapor resolved at 4.119.2
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/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/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
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-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-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.89.0
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/874] Write sources
[9/874] Compiling sha1-586-apple.S
[10/874] Write sources
[11/874] Compiling _NumericsShims _NumericsShims.c
[12/874] Write sources
[18/874] Compiling _CWASI _CWASI.c
[19/874] Compiling _AtomicsShims.c
[20/874] Write sources
[59/874] Compiling CXKCPShims shims.c
[60/874] Compiling SimpleFIPS202.c
[61/874] Compiling KeccakSponge.c
[62/874] Compiling v3_prn.cc
[63/874] Compiling v3_ocsp.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/v3_pmaps.cc:19:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/internal.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[64/874] Compiling v3_pmaps.cc
[64/874] Compiling CVaporBcrypt blf.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/v3_pcons.cc:21:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/internal.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[277/874] Compiling v3_pcons.cc
[277/874] Compiling KeccakHash.c
[321/874] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/v3_ncons.cc:20:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[851/874] Compiling v3_ncons.cc
[851/874] Compiling KeccakP-1600-opt64.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/v3_purp.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[851/874] Compiling v3_purp.cc
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: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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/812] Write sources
[3/812] Compiling CSystem shims.c
[4/812] Compiling CNIOWindows shim.c
[5/812] Compiling CNIOWindows WSAStartup.c
[6/812] Compiling KeccakHash.c
[7/812] Compiling CVaporBcrypt bcrypt.c
[8/812] Compiling CNIOWASI CNIOWASI.c
[9/812] Compiling CNIOPosix event_loop_id.c
[10/812] Compiling CNIOLinux shim.c
[11/812] Compiling CNIOLinux liburing_shims.c
[12/812] Compiling CVaporBcrypt blf.c
[13/812] Compiling CNIOSHA1 c_nio_sha1.c
[14/812] Compiling CNIOLLHTTP c_nio_http.c
[15/812] Compiling CNIOExtrasZlib empty.c
[16/812] Compiling CNIODarwin shim.c
[17/812] Compiling CNIOLLHTTP c_nio_api.c
[18/812] Compiling fiat_p256_adx_sqr.S
[19/812] Compiling fiat_p256_adx_mul.S
[20/812] Compiling fiat_curve25519_adx_square.S
[21/812] Compiling fiat_curve25519_adx_mul.S
[22/812] Write swift-version-24593BA9C3E375BF.txt
[23/812] Compiling CCryptoBoringSSLShims shims.c
[24/812] 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.
[25/818] Compiling tls_record.cc
[25/818] Compiling CNIOLLHTTP c_nio_llhttp.c
[25/818] 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>
| ^~~~~~~~~~~
1 error generated.
[25/818] Compiling tls_method.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>
| ^~~~~~~~~~~
[25/818] Compiling tls13_enc.cc
[26/818] Emitting module _NIOBase64
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>
| ^~~~~~~~~~~
[26/818] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm