Build Information
Failed to build swift-html-vapor, reference 0.5.0 (2e4685
), with Swift 6.1 for Wasm on 29 May 2025 10:13:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pointfreeco/swift-html-vapor.git
Reference: 0.5.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/pointfreeco/swift-html-vapor
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 2e46851 Update CI (#17)
Cloned https://github.com/pointfreeco/swift-html-vapor.git
Revision (git rev-parse @):
2e46851c978dcf5058b1cdcdd5c50a4093b43f72
SUCCESS checkout https://github.com/pointfreeco/swift-html-vapor.git at 0.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pointfreeco/swift-html-vapor.git
https://github.com/pointfreeco/swift-html-vapor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-html",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-html"
},
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor"
}
],
"manifest_display_name" : "swift-html-vapor",
"name" : "swift-html-vapor",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "HtmlVaporSupport",
"targets" : [
"HtmlVaporSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HtmlVaporSupportExample",
"targets" : [
"HtmlVaporSupportExample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "HtmlVaporSupportTests",
"module_type" : "SwiftTarget",
"name" : "HtmlVaporSupportTests",
"path" : "Tests/HtmlVaporSupportTests",
"sources" : [
"HtmlVaporSupportTests.swift"
],
"target_dependencies" : [
"HtmlVaporSupport"
],
"type" : "test"
},
{
"c99name" : "HtmlVaporSupportExample",
"module_type" : "SwiftTarget",
"name" : "HtmlVaporSupportExample",
"path" : "Sources/HtmlVaporSupportExample",
"product_memberships" : [
"HtmlVaporSupportExample"
],
"sources" : [
"AdvancedUsage.swift",
"Home.swift",
"Installation.swift",
"Layout.swift",
"Stylesheet.swift",
"Usage.swift",
"main.swift"
],
"target_dependencies" : [
"HtmlVaporSupport"
],
"type" : "executable"
},
{
"c99name" : "HtmlVaporSupport",
"module_type" : "SwiftTarget",
"name" : "HtmlVaporSupport",
"path" : "Sources/HtmlVaporSupport",
"product_dependencies" : [
"Html",
"Vapor"
],
"product_memberships" : [
"HtmlVaporSupport",
"HtmlVaporSupportExample"
],
"sources" : [
"HtmlVaporSupport.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/pointfreeco/swift-html
Fetching https://github.com/vapor/vapor
[1/1250] Fetching swift-html
[1251/75628] Fetching swift-html, vapor
Fetched https://github.com/pointfreeco/swift-html from cache (0.52s)
[2976/74378] Fetching vapor
Fetched https://github.com/vapor/vapor from cache (2.87s)
Computing version for https://github.com/pointfreeco/swift-html
Computed https://github.com/pointfreeco/swift-html at 0.5.0 (3.88s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/13189] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.74s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (6.79s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/75033] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (6.14s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.19s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.81s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.80s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.64s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.58s)
Computing version for https://github.com/vapor/vapor
Computed https://github.com/vapor/vapor at 4.115.0 (0.69s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
[108/4382] Fetching swift-service-context, multipart-kit
[677/9356] Fetching swift-service-context, multipart-kit, swift-distributed-tracing
[3752/11066] Fetching swift-service-context, multipart-kit, swift-distributed-tracing, swift-atomics
[5238/13675] Fetching swift-service-context, multipart-kit, swift-distributed-tracing, swift-atomics, websocket-kit
[9010/19634] Fetching swift-service-context, multipart-kit, swift-distributed-tracing, swift-atomics, websocket-kit, swift-algorithms
Fetched https://github.com/apple/swift-service-context.git from cache (0.50s)
[14680/18571] Fetching multipart-kit, swift-distributed-tracing, swift-atomics, websocket-kit, swift-algorithms
Fetched https://github.com/vapor/websocket-kit.git from cache (0.50s)
[12131/15962] Fetching multipart-kit, swift-distributed-tracing, swift-atomics, swift-algorithms
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.56s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.71s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.76s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1097/5525] Fetching multipart-kit, swift-metrics
[2377/9361] Fetching multipart-kit, swift-metrics, swift-log
[2493/15275] Fetching multipart-kit, swift-metrics, swift-log, swift-nio-extras
[8764/26802] Fetching multipart-kit, swift-metrics, swift-log, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-metrics.git from cache (0.70s)
[13383/39439] Fetching multipart-kit, swift-log, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (0.73s)
[10313/35603] Fetching multipart-kit, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.89s)
[6739/29689] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-crypto.git
[9557/50416] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, routing-kit
[21570/126509] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, routing-kit, swift-nio
[24680/140445] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, routing-kit, swift-nio, swift-crypto
Fetched https://github.com/vapor/multipart-kit.git from cache (3.19s)
[73513/137126] Fetching swift-nio-http2, swift-nio-ssl, routing-kit, swift-nio, swift-crypto
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.69s)
[65327/125599] Fetching swift-nio-ssl, routing-kit, swift-nio, swift-crypto
Fetching https://github.com/vapor/async-kit.git
[72472/131246] Fetching swift-nio-ssl, routing-kit, swift-nio, swift-crypto, console-kit
[85515/133616] Fetching swift-nio-ssl, routing-kit, swift-nio, swift-crypto, console-kit, async-kit
Fetched https://github.com/vapor/console-kit.git from cache (0.98s)
Fetched https://github.com/vapor/routing-kit.git from cache (2.90s)
Fetching https://github.com/swift-server/async-http-client.git
[65540/107242] Fetching swift-nio-ssl, swift-nio, swift-crypto, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.89s)
[63310/104872] Fetching swift-nio-ssl, swift-nio, swift-crypto
[72324/118886] Fetching swift-nio-ssl, swift-nio, swift-crypto, async-http-client
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.11s)
[81977/104043] Fetching swift-nio, swift-crypto, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (2.05s)
[71767/90029] Fetching swift-nio, swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (5.01s)
[59353/76093] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (11.62s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (0.55s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.55s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.54s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.41s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/16591] Fetching swift-collections
[997/20982] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
[4480/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.14s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (5.70s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.91s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.58s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.79s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (1.45s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.64s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.83s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
[1/1141] Fetching swift-http-structured-headers
[1142/6126] Fetching swift-http-structured-headers, swift-async-algorithms
[1242/8552] Fetching swift-http-structured-headers, swift-async-algorithms, swift-service-lifecycle
[1440/10142] Fetching swift-http-structured-headers, swift-async-algorithms, swift-service-lifecycle, swift-asn1
[2017/16297] Fetching swift-http-structured-headers, swift-async-algorithms, swift-service-lifecycle, swift-asn1, swift-certificates
[4140/17201] Fetching swift-http-structured-headers, swift-async-algorithms, swift-service-lifecycle, swift-asn1, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-asn1.git from cache (0.43s)
[15242/15611] Fetching swift-http-structured-headers, swift-async-algorithms, swift-service-lifecycle, swift-certificates, swift-http-types
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.49s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.61s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.61s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.62s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.31s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (3.40s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.99s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.06s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.68s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.73s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.80s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.77s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.69s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.66s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.76s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.75s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.61s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.60s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.26.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.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.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.2.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.2.0
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
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.24.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.27.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.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.10.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.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.36.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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.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.83.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.4.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.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.8.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.3
Creating working copy for https://github.com/pointfreeco/swift-html
Working copy of https://github.com/pointfreeco/swift-html resolved at 0.5.0
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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.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.31.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.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.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.115.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
Building for debugging...
[0/888] Write sources
[4/888] Write swift-version-24593BA9C3E375BF.txt
[4/888] Write sources
[6/888] Compiling _NumericsShims _NumericsShims.c
[7/901] Compiling tls_cbc.cc
[8/901] Compiling e_tls.cc
[8/901] Write sources
[13/901] Compiling sign.cc
[14/901] Compiling _AtomicsShims.c
[14/901] Write sources
[32/901] Compiling p_ec.cc
[33/901] Compiling p_dh_asn1.cc
[34/901] Write sources
[44/925] Compiling p_dsa_asn1.cc
[44/925] Write sources
[54/925] Compiling p_ec_asn1.cc
[56/942] Emitting module Logging
[57/942] Emitting module _NIOBase64
[58/942] Compiling RealModule Real.swift
[59/943] Compiling Html Node.swift
[60/944] Compiling RealModule RealFunctions.swift
[61/944] Compiling RealModule Float80+Real.swift
[62/944] Compiling CoreMetrics Metrics.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/944] Emitting module CoreMetrics
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
[64/944] Compiling CoreMetrics Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:65:20: error: cannot find 'pthread_mutexattr_t' in scope
63 | InitializeSRWLock(self.mutex)
64 | #else
65 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:66:9: error: cannot find 'pthread_mutexattr_init' in scope
64 | #else
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:9: error: cannot find 'pthread_mutexattr_settype' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:43: error: cannot infer contextual base in reference to member 'init'
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:69:19: error: cannot find 'pthread_mutex_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
71 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
76 | // SRWLOCK does not need to be free'd
77 | #else
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:92:19: error: cannot find 'pthread_mutex_lock' in scope
90 | AcquireSRWLockExclusive(self.mutex)
91 | #else
92 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
93 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
94 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:105:19: error: cannot find 'pthread_mutex_unlock' in scope
103 | ReleaseSRWLockExclusive(self.mutex)
104 | #else
105 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
106 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
107 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:177:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
175 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
176 | #endif
177 | self.rwlock.deallocate()
| `- error: value of type 'ReadWriteLock' has no member 'rwlock'
178 | }
179 |
[65/944] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[66/944] Compiling InternalCollectionsUtilities Integer rank.swift
[67/944] Emitting module InternalCollectionsUtilities
[68/944] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[69/944] Compiling InternalCollectionsUtilities UInt+reversed.swift
[72/944] Compiling Html Tag.swift
[73/944] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[74/944] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[75/944] Compiling InternalCollectionsUtilities Debugging.swift
[76/944] Compiling InternalCollectionsUtilities Descriptions.swift
[77/944] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[78/944] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[79/944] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[80/944] Compiling _NIODataStructures _TinyArray.swift
[81/944] Emitting module _NIODataStructures
[82/944] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[83/944] Compiling InternalCollectionsUtilities _SortedCollection.swift
[84/944] Compiling Logging LogHandler.swift
[85/944] Compiling ServiceContextModule ServiceContextKey.swift
[86/944] Compiling RealModule ElementaryFunctions.swift
[87/944] Compiling _NIOBase64 Base64.swift
[88/944] Emitting module ServiceContextModule
[89/944] Compiling ServiceContextModule ServiceContext.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/833] Write sources
[3/834] Compiling CNIOWASI CNIOWASI.c
[3/834] Compiling CSystem shims.c
[5/834] Compiling CNIOWindows WSAStartup.c
[6/834] Compiling CNIOLinux shim.c
[7/834] Compiling CNIOWindows shim.c
[8/834] Compiling CNIOLinux liburing_shims.c
[9/834] Compiling CVaporBcrypt bcrypt.c
[10/834] Compiling CVaporBcrypt blf.c
[11/834] Compiling CNIOExtrasZlib empty.c
[12/834] Compiling CNIOLLHTTP c_nio_http.c
[13/834] Compiling CNIODarwin shim.c
[14/834] Compiling CNIOSHA1 c_nio_sha1.c
[15/834] Compiling fiat_p256_adx_mul.S
[16/834] Compiling fiat_p256_adx_sqr.S
[17/834] Compiling fiat_curve25519_adx_mul.S
[18/834] Compiling fiat_curve25519_adx_square.S
[19/834] Compiling CNIOLLHTTP c_nio_api.c
[20/834] Compiling CNIOBoringSSLShims shims.c
[21/834] Write swift-version-24593BA9C3E375BF.txt
[22/834] Compiling CNIOLLHTTP c_nio_llhttp.c
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.
[23/838] Compiling tls13_server.cc
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.
[23/838] Compiling tls13_client.cc
[23/838] Compiling t1_enc.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>
| ^~~~~~~~~~~
[23/838] 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>
| ^~~~~~~~~~~
[23/838] Compiling tls13_enc.cc
[24/838] Compiling _NIODataStructures PriorityQueue.swift
[24/838] Compiling tls13_both.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>
| ^~~~~~~~~~~
[24/838] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm