The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GraphQLHummingbird, reference 1.0.0 (a4e9c4), with Swift 6.2 for Wasm on 16 Feb 2026 13:09:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GraphQLSwift/graphql-hummingbird.git
Reference: 1.0.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/GraphQLSwift/graphql-hummingbird
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at a4e9c48 Merge pull request #12 from GraphQLSwift/fix/websocket-collection-size
Cloned https://github.com/GraphQLSwift/graphql-hummingbird.git
Revision (git rev-parse @):
a4e9c48bbee95b30e5418579747d75b28472adeb
SUCCESS checkout https://github.com/GraphQLSwift/graphql-hummingbird.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/GraphQLSwift/graphql-hummingbird.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/GraphQLSwift/GraphQLTransportWS.git
Fetching https://github.com/hummingbird-project/hummingbird-websocket.git
Fetching https://github.com/hummingbird-project/hummingbird.git
Fetching https://github.com/GraphQLSwift/GraphQLWS.git
[1/3224] Fetching hummingbird-websocket
[614/3789] Fetching hummingbird-websocket, graphqltransportws
[3339/4254] Fetching hummingbird-websocket, graphqltransportws, graphqlws
Fetched https://github.com/hummingbird-project/hummingbird-websocket.git from cache (0.32s)
[1/26013] Fetching hummingbird
[5464/108212] Fetching hummingbird, swift-nio
Fetched https://github.com/GraphQLSwift/GraphQLTransportWS.git from cache (1.46s)
Fetched https://github.com/GraphQLSwift/GraphQLWS.git from cache (1.46s)
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (1.50s)
[36258/82199] Fetching swift-nio
Fetching https://github.com/GraphQLSwift/GraphQL.git
Fetched https://github.com/apple/swift-nio.git from cache (7.76s)
[1/5706] Fetching graphql
Fetched https://github.com/GraphQLSwift/GraphQL.git from cache (1.52s)
Computing version for https://github.com/GraphQLSwift/GraphQLWS.git
Computed https://github.com/GraphQLSwift/GraphQLWS.git at 1.0.0 (11.78s)
Fetching https://github.com/GraphQLSwift/Graphiti.git
[1/3742] Fetching graphiti
Fetched https://github.com/GraphQLSwift/Graphiti.git from cache (0.29s)
Computing version for https://github.com/GraphQLSwift/GraphQLTransportWS.git
Computed https://github.com/GraphQLSwift/GraphQLTransportWS.git at 1.0.0 (0.73s)
Computing version for https://github.com/GraphQLSwift/Graphiti.git
Computed https://github.com/GraphQLSwift/Graphiti.git at 3.1.0 (0.38s)
Computing version for https://github.com/hummingbird-project/hummingbird-websocket.git
Computed https://github.com/hummingbird-project/hummingbird-websocket.git at 2.6.0 (0.42s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/hummingbird-project/swift-websocket.git
[1/721] Fetching swift-websocket
[722/7158] Fetching swift-websocket, swift-nio-extras
Fetched https://github.com/hummingbird-project/swift-websocket.git from cache (0.30s)
[2833/6437] Fetching swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.45s)
Computing version for https://github.com/hummingbird-project/swift-websocket.git
Computed https://github.com/hummingbird-project/swift-websocket.git at 1.4.0 (0.93s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/adam-fowler/compress-nio.git
[1/951] Fetching swift-http-types
[952/1594] Fetching swift-http-types, compress-nio
[1595/4168] Fetching swift-http-types, compress-nio, swift-service-lifecycle
[1596/6977] Fetching swift-http-types, compress-nio, swift-service-lifecycle, swift-nio-transport-services
Fetched https://github.com/apple/swift-http-types.git from cache (0.37s)
[5846/6026] Fetching compress-nio, swift-service-lifecycle, swift-nio-transport-services
Fetched https://github.com/adam-fowler/compress-nio.git from cache (0.37s)
[5229/5383] Fetching swift-service-lifecycle, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.50s)
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.52s)
[1/15296] Fetching swift-nio-ssl
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.36s)
[1/5899] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.94.1 (3.78s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[1821/7372] Fetching swift-atomics, swift-system
[4320/26892] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
[3889/25072] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.93s)
Fetched https://github.com/apple/swift-collections.git from cache (1.97s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (2.64s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1204] Fetching swift-http-structured-headers
[1205/7346] Fetching swift-http-structured-headers, swift-async-algorithms
[3110/13398] Fetching swift-http-structured-headers, swift-async-algorithms, swift-algorithms
Fetching https://github.com/apple/swift-asn1.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.32s)
[2455/12194] Fetching swift-async-algorithms, swift-algorithms
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-certificates.git
[12195/13886] Fetching swift-async-algorithms, swift-algorithms, swift-asn1
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.61s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.65s)
[1/7097] Fetching swift-certificates
[143/19048] Fetching swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git from cache (0.83s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.86s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.87s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.82s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.75s)
Fetching https://github.com/apple/swift-numerics.git
[1/6410] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.9.1 (1.01s)
Computing version for https://github.com/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.4.2 (0.41s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.59s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.2 (0.63s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.60s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (3.28s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.57s)
Computing version for https://github.com/GraphQLSwift/GraphQL.git
Computed https://github.com/GraphQLSwift/GraphQL.git at 4.1.0 (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.45s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.49s)
Fetching https://github.com/apple/swift-crypto.git
[1/17526] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.72s)
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 (4.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.71s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.43s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.20.1 (0.82s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/2573] Fetching swift-metrics
[53/5132] Fetching swift-metrics, swift-configuration
[4391/10780] Fetching swift-metrics, swift-configuration, swift-distributed-tracing
Fetched https://github.com/apple/swift-configuration.git from cache (0.40s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.40s)
[3616/20701] Fetching swift-distributed-tracing, async-http-client
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.58s)
[10688/15053] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.05s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.0.2 (1.57s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (0.38s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (2.54s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.1 (3.34s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.34s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.31.0 (0.44s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.41s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.29s)
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.0.2
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.2
Creating working copy for https://github.com/hummingbird-project/swift-websocket.git
Working copy of https://github.com/hummingbird-project/swift-websocket.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.26.0
Creating working copy for https://github.com/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 2.20.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.2.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.9.1
Creating working copy for https://github.com/hummingbird-project/hummingbird-websocket.git
Working copy of https://github.com/hummingbird-project/hummingbird-websocket.git resolved at 2.6.0
Creating working copy for https://github.com/GraphQLSwift/GraphQL.git
Working copy of https://github.com/GraphQLSwift/GraphQL.git resolved at 4.1.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.32.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.94.1
Creating working copy for https://github.com/GraphQLSwift/GraphQLWS.git
Working copy of https://github.com/GraphQLSwift/GraphQLWS.git 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/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.9.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.5.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.31.0
Creating working copy for https://github.com/adam-fowler/compress-nio.git
Working copy of https://github.com/adam-fowler/compress-nio.git resolved at 1.4.2
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/GraphQLSwift/GraphQLTransportWS.git
Working copy of https://github.com/GraphQLSwift/GraphQLTransportWS.git resolved at 1.0.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
Creating working copy for https://github.com/GraphQLSwift/Graphiti.git
Working copy of https://github.com/GraphQLSwift/Graphiti.git resolved at 3.1.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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Building for debugging...
[0/61] Write sources
[42/61] Compiling CNIOWindows WSAStartup.c
[42/61] Compiling _AtomicsShims.c
[42/61] Compiling _CWASI _CWASI.c
[45/61] Write swift-version-24593BA9C3E375BF.txt
[46/61] Compiling CNIOWindows shim.c
[47/61] Compiling CSystem shims.c
[48/61] Compiling CNIOPosix event_loop_id.c
[49/61] Compiling CNIOWASI CNIOWASI.c
[50/61] Compiling CNIOOpenBSD shim.c
[51/61] Compiling CNIOSHA1 c_nio_sha1.c
[52/61] Compiling CNIOLinux shim.c
[53/61] Compiling CNIOLinux liburing_shims.c
[55/134] Emitting module ServiceContextModule
[56/134] Emitting module HTTPTypes
[57/135] 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
[58/135] Compiling Logging LogHandler.swift
[59/135] Compiling HTTPTypes HTTPField.swift
[60/135] Compiling HTTPTypes HTTPFieldName.swift
[61/135] Compiling SystemPackage FilePathWindows.swift
[62/135] Compiling SystemPackage FilePermissions.swift
[63/135] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[64/135] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[65/135] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[66/135] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[67/135] Compiling InternalCollectionsUtilities Debugging.swift
[68/135] Compiling InternalCollectionsUtilities Descriptions.swift
[69/135] Compiling SystemPackage IOCompletion.swift
[70/135] Compiling SystemPackage IORequest.swift
[71/135] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/135] 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
[77/137] Compiling SystemPackage FileDescriptor.swift
[78/137] Compiling SystemPackage FileHelpers.swift
[79/137] Compiling SystemPackage FileOperations.swift
[82/137] Emitting module InternalCollectionsUtilities
[83/141] Compiling ServiceContextModule ServiceContextKey.swift
[84/141] Compiling ServiceContextModule ServiceContext.swift
[90/142] Emitting module SystemPackage
[91/142] Compiling SystemPackage FilePath.swift
[92/142] Compiling SystemPackage FilePathComponentView.swift
[93/142] Compiling SystemPackage FilePathComponents.swift
[94/142] Compiling SystemPackage FilePathParsing.swift
[95/142] Compiling SystemPackage FilePathString.swift
[100/142] Emitting module Logging
[101/142] Emitting module _NIODataStructures
[102/142] Emitting module _NIOBase64
BUILD FAILURE 6.2 wasm