Build Information
Failed to build hummingbird-macrorouting, reference v0.3.0 (6e2e70), with Swift 6.1 for Wasm on 30 Sep 2025 08:01:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/sloatescoan/hummingbird-macrorouting.git
Reference: v0.3.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/sloatescoan/hummingbird-macrorouting
* tag v0.3.0 -> FETCH_HEAD
HEAD is now at 6e2e702 0.3.0 (#8)
Cloned https://github.com/sloatescoan/hummingbird-macrorouting.git
Revision (git rev-parse @):
6e2e702a31c9fa4b53a06b9a9e012eb8ff866c28
SUCCESS checkout https://github.com/sloatescoan/hummingbird-macrorouting.git at v0.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/sloatescoan/hummingbird-macrorouting.git
https://github.com/sloatescoan/hummingbird-macrorouting.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "hummingbird",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.1",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
}
],
"manifest_display_name" : "hummingbird-macrorouting",
"name" : "hummingbird-macrorouting",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "HummingbirdMacroRouting",
"targets" : [
"HummingbirdMacroRouting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RoutingMacros",
"targets" : [
"RoutingMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "RoutingMacros",
"module_type" : "SwiftTarget",
"name" : "RoutingMacros",
"path" : "Sources/RoutingMacros",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftCompilerPlugin",
"SwiftDiagnostics"
],
"product_memberships" : [
"HummingbirdMacroRouting",
"RoutingMacros"
],
"sources" : [
"DiagnosticMessages.swift",
"ReservedWord.swift",
"RoutingMacros.swift"
],
"type" : "macro"
},
{
"c99name" : "HummingbirdMacroRoutingTests",
"module_type" : "SwiftTarget",
"name" : "HummingbirdMacroRoutingTests",
"path" : "Tests",
"product_dependencies" : [
"Hummingbird",
"HummingbirdTesting"
],
"sources" : [
"HummingbirdMacroRoutingTests.swift",
"Sources/NameMacroRoutingController.swift",
"Sources/PathAgumentsMacroRoutingController.swift",
"Sources/PrefixedMacroRoutingController.swift",
"Sources/SimpleMacroRoutingController.swift",
"Sources/SimpleMacroRoutingRequestContext.swift",
"Sources/TrickyMacroRoutingController.swift",
"TestName.swift",
"TestPathArguments.swift",
"TestPrefix.swift",
"TestSimple.swift",
"TestTricky.swift"
],
"target_dependencies" : [
"HummingbirdMacroRouting"
],
"type" : "test"
},
{
"c99name" : "HummingbirdMacroRouting",
"module_type" : "SwiftTarget",
"name" : "HummingbirdMacroRouting",
"path" : "Sources/HummingbirdMacroRouting",
"product_dependencies" : [
"Hummingbird"
],
"product_memberships" : [
"HummingbirdMacroRouting"
],
"sources" : [
"Extensions/RouterMethods+RouteCollectionContainer.swift",
"Protocols/MacroRoutingRoute.swift",
"RouteCollectionContainer.swift",
"attachment.swift"
],
"target_dependencies" : [
"RoutingMacros"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/hummingbird-project/hummingbird.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/24863] Fetching hummingbird
[4477/97201] Fetching hummingbird, swift-syntax
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (7.87s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.90s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (11.76s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.16.0 (1.00s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/6170] Fetching swift-nio-extras
[865/8941] Fetching swift-nio-extras, swift-nio-transport-services
[1368/11446] Fetching swift-nio-extras, swift-nio-transport-services, swift-service-lifecycle
[5853/23129] Fetching swift-nio-extras, swift-nio-transport-services, swift-service-lifecycle, swift-nio-http2
[10518/37445] Fetching swift-nio-extras, swift-nio-transport-services, swift-service-lifecycle, swift-nio-http2, async-http-client
[10786/52565] Fetching swift-nio-extras, swift-nio-transport-services, swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.91s)
[13822/46395] Fetching swift-nio-transport-services, swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
[37057/124981] Fetching swift-nio-transport-services, swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (2.28s)
[33499/110665] Fetching swift-nio-transport-services, swift-service-lifecycle, swift-nio-http2, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-distributed-tracing.git
[50941/116072] Fetching swift-nio-transport-services, swift-service-lifecycle, swift-nio-http2, swift-nio-ssl, swift-nio, swift-distributed-tracing
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.97s)
[51413/113567] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio, swift-distributed-tracing
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.01s)
[40001/101884] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-distributed-tracing
Fetching https://github.com/apple/swift-http-types.git
[57091/102820] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-distributed-tracing, swift-http-types
[57176/105177] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-distributed-tracing, swift-http-types, swift-metrics
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.24s)
[52097/99770] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-http-types, swift-metrics
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.69s)
[59377/98834] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-metrics
Fetching https://github.com/apple/swift-collections.git
[65044/102744] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-metrics, swift-log
Fetched https://github.com/apple/swift-metrics.git from cache (1.08s)
[63823/100387] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-log
Fetching https://github.com/apple/swift-atomics.git
[69740/118292] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-log, swift-collections
[71243/120106] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-log, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-log.git from cache (1.08s)
[68212/116196] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-collections, swift-atomics
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.80s)
[66968/113425] Fetching swift-nio-ssl, swift-nio, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.86s)
[52533/98305] Fetching swift-nio, swift-collections, swift-atomics
[57194/103760] Fetching swift-nio, swift-collections, swift-atomics, swift-async-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (1.21s)
[61799/101946] Fetching swift-nio, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.85s)
[60960/96491] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.02s)
[63655/78586] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.46s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (12.37s)
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.97s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.86s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (1.41s)
Fetching https://github.com/apple/swift-system.git
[1/5022] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.64s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (1.54s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.0 (0.91s)
Fetching https://github.com/apple/swift-service-context.git
[1/1117] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.43s)
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.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.35s)
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.1 (0.88s)
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.79s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.17s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.06s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1645] Fetching swift-asn1
[34/7631] Fetching swift-asn1, swift-algorithms
[286/14223] Fetching swift-asn1, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.79s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.80s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-certificates.git from cache (1.91s)
[1/1190] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.97s)
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 (3.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.84s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.88s)
Fetching https://github.com/apple/swift-numerics.git
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.69s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.66s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (1.76s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.14.0 (3.30s)
Fetching https://github.com/apple/swift-crypto.git
[1/17184] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.35s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (5.36s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.1 (1.13s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.74s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (0.95s)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.14.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/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 2.16.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/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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.34.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.38.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-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-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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.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.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.4.0
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.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.8.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.86.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.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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.4.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.28.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/82] Write sources
[46/82] Compiling CNIOWindows WSAStartup.c
[47/82] Compiling CNIOWindows shim.c
[48/82] Compiling CNIOWASI CNIOWASI.c
[49/82] Compiling _CWASI _CWASI.c
[50/82] Compiling _SwiftSyntaxCShims dummy.c
[51/82] Compiling CNIOPosix event_loop_id.c
[52/82] Compiling CNIOLinux shim.c
[53/82] Compiling _AtomicsShims.c
[54/82] Compiling CNIODarwin shim.c
[54/82] Write sources
[54/82] Compiling CNIOLinux liburing_shims.c
[59/82] Compiling CNIOLLHTTP c_nio_http.c
[60/82] Compiling CNIOLLHTTP c_nio_api.c
[61/82] Write swift-version-24593BA9C3E375BF.txt
[62/98] Compiling CNIOLLHTTP c_nio_llhttp.c
[64/100] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[65/100] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[66/101] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[67/101] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/102] Compiling ServiceContextModule ServiceContextKey.swift
[69/102] Compiling Logging Locks.swift
[70/102] Emitting module _NIOBase64
[71/102] Compiling _NIOBase64 Base64.swift
[72/102] Compiling _NIODataStructures _TinyArray.swift
[73/102] Compiling _NIODataStructures PriorityQueue.swift
[74/103] Compiling ServiceContextModule ServiceContext.swift
[75/103] Emitting module ServiceContextModule
[77/104] Compiling c-nioatomics.c
[81/134] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[82/134] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[84/137] Compiling InternalCollectionsUtilities _SortedCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[85/137] Compiling InternalCollectionsUtilities _UniqueCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[86/139] Compiling ConcurrencyHelpers LockedValueBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
[87/139] Compiling InternalCollectionsUtilities LifetimeOverride.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[88/139] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/139] Emitting module ConcurrencyHelpers
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
59 | InitializeSRWLock(mutex)
60 | #else
61 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
62 | pthread_mutexattr_init(&attr)
63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
60 | #else
61 | var attr = pthread_mutexattr_t()
62 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
62 | pthread_mutexattr_init(&attr)
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
65 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
66 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
74 | // SRWLOCK does not need to be free'd
75 | #else
76 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
86 | AcquireSRWLockExclusive(mutex)
87 | #else
88 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
89 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
90 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
98 | ReleaseSRWLockExclusive(mutex)
99 | #else
100 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
101 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 | @inlinable
137 | static func create(value: Value) -> Self {
138 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
139 | return value
140 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 | @inlinable
152 | func lock() {
153 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
154 | LockOperations.lock(lockPtr)
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 | @inlinable
159 | func unlock() {
160 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
161 | LockOperations.unlock(lockPtr)
162 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 | @inlinable
166 | deinit {
167 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
168 | LockOperations.destroy(lockPtr)
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 | @inlinable
173 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | return try body(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 | @inlinable
180 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
182 | LockOperations.lock(lockPtr)
183 | defer { LockOperations.unlock(lockPtr) }
[90/139] Compiling ConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
59 | InitializeSRWLock(mutex)
60 | #else
61 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
62 | pthread_mutexattr_init(&attr)
63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
60 | #else
61 | var attr = pthread_mutexattr_t()
62 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
62 | pthread_mutexattr_init(&attr)
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
65 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
66 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
74 | // SRWLOCK does not need to be free'd
75 | #else
76 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
86 | AcquireSRWLockExclusive(mutex)
87 | #else
88 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
89 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
90 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
98 | ReleaseSRWLockExclusive(mutex)
99 | #else
100 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
101 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 | @inlinable
137 | static func create(value: Value) -> Self {
138 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
139 | return value
140 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 | @inlinable
152 | func lock() {
153 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
154 | LockOperations.lock(lockPtr)
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 | @inlinable
159 | func unlock() {
160 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
161 | LockOperations.unlock(lockPtr)
162 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 | @inlinable
166 | deinit {
167 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
168 | LockOperations.destroy(lockPtr)
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 | @inlinable
173 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | return try body(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 | @inlinable
180 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
182 | LockOperations.lock(lockPtr)
183 | defer { LockOperations.unlock(lockPtr) }
[91/139] 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 |
[91/139] Compiling c-atomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Building for debugging...
[0/19] Write swift-version-24593BA9C3E375BF.txt
[2/39] Compiling SwiftSyntax509 Empty.swift
[3/39] Emitting module SwiftSyntax509
[4/40] Emitting module SwiftSyntax510
[5/40] Compiling SwiftSyntax510 Empty.swift
[6/40] Compiling SwiftSyntax600 Empty.swift
[7/40] Emitting module SwiftSyntax600
[8/42] Compiling Logging Locks.swift
[9/42] Compiling ServiceContextModule ServiceContextKey.swift
[10/42] Compiling Logging MetadataProvider.swift
[14/42] Compiling ServiceContextModule ServiceContext.swift
[15/42] Emitting module ServiceContextModule
[16/43] Emitting module _NIOBase64
[17/51] Compiling _NIODataStructures _TinyArray.swift
[18/51] Compiling _NIODataStructures PriorityQueue.swift
[20/70] Compiling _NIODataStructures Heap.swift
[21/70] Emitting module _NIODataStructures
[22/71] 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 |
[24/71] Compiling _NIOBase64 Base64.swift
[25/136] Compiling SwiftSyntax MemoryLayout.swift
[26/136] Compiling SwiftSyntax MissingNodeInitializers.swift
[28/138] Compiling HTTPTypes HTTPFieldName.swift
[29/145] Compiling Instrumentation Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:19: error: cannot find 'pthread_rwlock_init' in scope
55 | /// Create a new lock.
56 | public init() {
57 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
58 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
59 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:52: error: 'nil' requires a contextual type
55 | /// Create a new lock.
56 | public init() {
57 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
58 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
59 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:62:19: error: cannot find 'pthread_rwlock_destroy' in scope
60 |
61 | deinit {
62 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
63 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
64 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:72:19: error: cannot find 'pthread_rwlock_rdlock' in scope
70 | /// `unlock`, to simplify lock handling.
71 | public func lockRead() {
72 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
73 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:81:19: error: cannot find 'pthread_rwlock_wrlock' in scope
79 | /// `unlock`, to simplify lock handling.
80 | public func lockWrite() {
81 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
82 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
83 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:90:19: error: cannot find 'pthread_rwlock_unlock' in scope
88 | /// `lock`, to simplify lock handling.
89 | public func unlock() {
90 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
91 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
92 | }
[30/145] Compiling HTTPTypes HTTPField.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/145] 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
[32/145] Compiling SwiftSyntax RawSyntax.swift
[33/145] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[34/145] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[35/145] Compiling SwiftSyntax RawSyntaxTokenView.swift
[36/145] Compiling HTTPTypes ISOLatin1String.swift
[37/145] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[38/145] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[39/145] Compiling SwiftSyntax SourcePresence.swift
[40/145] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[41/148] Compiling Instrumentation NoOpInstrument.swift
[42/148] Compiling Instrumentation Instrument.swift
[43/148] Compiling HTTPTypes NIOLock.swift
[44/148] Compiling Instrumentation InstrumentationSystem.swift
[45/148] Emitting module Instrumentation
[46/148] Compiling Instrumentation MultiplexInstrument.swift
[47/148] Compiling Logging LogHandler.swift
[48/148] Emitting module Logging
[48/148] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm