The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VaporDeviceCheck, reference main (3e158c), with Swift 6.2 for Wasm on 15 Jan 2026 08:44:58 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/mcrich23/vapordevicecheck.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/mcrich23/vapordevicecheck
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3e158c2 Revert "Update DeviceCheck.swift"
Cloned https://github.com/mcrich23/vapordevicecheck.git
Revision (git rev-parse @):
3e158c23015856d3e2925875202634cc5e6965e7
SUCCESS checkout https://github.com/mcrich23/vapordevicecheck.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mcrich23/vapordevicecheck.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:e45aebddbd3fb4404abe9276e0d450e6fc2ef4836b534e79623bcca11b80d266
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/vapor/jwt.git
Fetching https://github.com/vapor/vapor.git
[1/2719] Fetching jwt
[2720/79232] Fetching jwt, vapor
Fetched https://github.com/vapor/jwt.git from cache (0.55s)
[766/76513] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (3.82s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 5.1.2 (4.60s)
Fetching https://github.com/vapor/jwt-kit.git
[1/9493] Fetching jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.53s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.3.0 (2.26s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
[1/7082] Fetching swift-certificates
[214/12870] Fetching swift-certificates, swift-log
[8348/30330] Fetching swift-certificates, swift-log, swift-crypto
Fetched https://github.com/apple/swift-certificates.git from cache (3.62s)
Fetched https://github.com/apple/swift-log.git from cache (3.63s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.68s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (12.11s)
Fetching https://github.com/apple/swift-asn1.git
[1/1692] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.56s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.1 (2.63s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.86s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.0 (0.69s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.121.1 (0.79s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/1820] Fetching swift-atomics
[147/7459] Fetching swift-atomics, swift-distributed-tracing
[682/13511] Fetching swift-atomics, swift-distributed-tracing, swift-algorithms
[992/19931] Fetching swift-atomics, swift-distributed-tracing, swift-algorithms, swift-nio-extras
[1722/31655] Fetching swift-atomics, swift-distributed-tracing, swift-algorithms, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (1.00s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.05s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-atomics.git from cache (1.24s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.26s)
Fetching https://github.com/vapor/routing-kit.git
[2697/11724] Fetching swift-nio-http2
[3167/15340] Fetching swift-nio-http2, multipart-kit
[7843/36696] Fetching swift-nio-http2, multipart-kit, routing-kit
[10904/51992] Fetching swift-nio-http2, multipart-kit, routing-kit, swift-nio-ssl
[15391/133277] Fetching swift-nio-http2, multipart-kit, routing-kit, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (4.23s)
[50670/121553] Fetching multipart-kit, routing-kit, swift-nio-ssl, swift-nio
Fetching https://github.com/vapor/async-kit.git
[69633/124018] Fetching multipart-kit, routing-kit, swift-nio-ssl, swift-nio, async-kit
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/routing-kit.git from cache (3.68s)
[50796/102662] Fetching multipart-kit, swift-nio-ssl, swift-nio, async-kit
Fetching https://github.com/apple/swift-service-context.git
Fetched https://github.com/vapor/async-kit.git from cache (1.00s)
[49040/100197] Fetching multipart-kit, swift-nio-ssl, swift-nio
[49041/106698] Fetching multipart-kit, swift-nio-ssl, swift-nio, console-kit
Fetching https://github.com/swift-server/async-http-client.git
[57490/107860] Fetching multipart-kit, swift-nio-ssl, swift-nio, console-kit, swift-service-context
[62834/122435] Fetching multipart-kit, swift-nio-ssl, swift-nio, console-kit, swift-service-context, async-http-client
Fetched https://github.com/vapor/console-kit.git from cache (1.07s)
Fetched https://github.com/apple/swift-service-context.git from cache (1.01s)
Fetching https://github.com/apple/swift-metrics.git
[55316/114772] Fetching multipart-kit, swift-nio-ssl, swift-nio, async-http-client
Fetching https://github.com/vapor/websocket-kit.git
[63625/117301] Fetching multipart-kit, swift-nio-ssl, swift-nio, async-http-client, swift-metrics
[68923/119933] Fetching multipart-kit, swift-nio-ssl, swift-nio, async-http-client, swift-metrics, websocket-kit
Fetched https://github.com/apple/swift-metrics.git from cache (0.90s)
[74178/117404] Fetching multipart-kit, swift-nio-ssl, swift-nio, async-http-client, websocket-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (1.02s)
[79007/114772] Fetching multipart-kit, swift-nio-ssl, swift-nio, async-http-client
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.99s)
[71027/99476] Fetching multipart-kit, swift-nio, async-http-client
Fetched https://github.com/vapor/multipart-kit.git from cache (7.11s)
Fetched https://github.com/swift-server/async-http-client.git from cache (2.91s)
[53649/81285] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (14.14s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (15.94s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.53s)
Fetching https://github.com/apple/swift-numerics.git
[1/6390] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
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.04s)
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.74s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (5.15s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (1.32s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2809] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.74s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (1.59s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.71s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.75s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.60s)
Fetching https://github.com/apple/swift-collections.git
[1/18623] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.77s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (3.42s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (2.01s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.08s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.3 (0.80s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/2568] Fetching swift-service-lifecycle
[53/3519] Fetching swift-service-lifecycle, swift-http-types
[1133/9414] Fetching swift-service-lifecycle, swift-http-types, swift-async-algorithms
[1627/10618] Fetching swift-service-lifecycle, swift-http-types, swift-async-algorithms, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.54s)
[9120/9414] Fetching swift-service-lifecycle, swift-http-types, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.61s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.74s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.74s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.37s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.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.5.1 (0.68s)
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 (0.72s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (1.02s)
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 (2.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.92.2 (1.20s)
Fetching https://github.com/apple/swift-system.git
[1/5415] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.95s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.88s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.3 (2.57s)
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-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/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.21.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.121.1
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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.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.36.0
Creating working copy for https://github.com/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 5.1.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.1
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.92.2
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-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.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/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/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/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/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-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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.1
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/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 5.3.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
Building for debugging...
[0/853] Write sources
[44/853] Compiling _CWASI _CWASI.c
[44/853] Write sources
[46/853] Compiling CNIOWindows shim.c
[47/853] Write sources
[49/853] Compiling CNIOWindows WSAStartup.c
[49/853] Write sources
[58/853] Compiling CVaporBcrypt bcrypt.c
[59/853] Compiling CNIOWASI CNIOWASI.c
[59/853] Compiling CNIOOpenBSD shim.c
[61/853] Write swift-version-24593BA9C3E375BF.txt
[62/853] Compiling _NumericsShims _NumericsShims.c
[62/853] Compiling CVaporBcrypt blf.c
[64/853] Compiling CXKCPShims shims.c
[65/853] Compiling _AtomicsShims.c
[66/853] Compiling SimpleFIPS202.c
[67/853] Compiling KeccakSponge.c
[68/859] Compiling KeccakHash.c
[70/897] Emitting module _NIODataStructures
[71/897] Compiling ServiceContextModule ServiceContextKey.swift
[72/897] Compiling RealModule Float+Real.swift
[73/897] Compiling RealModule AugmentedArithmetic.swift
[74/897] Compiling RealModule Double+Real.swift
[75/899] Compiling RealModule Real.swift
[76/900] Compiling RealModule AlgebraicField.swift
[77/900] Compiling RealModule ApproximateEquality.swift
[78/900] Compiling ServiceContextModule ServiceContext.swift
[79/900] Emitting module ServiceContextModule
[81/901] Compiling RealModule RelaxedArithmetic.swift
[82/901] Compiling RealModule RealFunctions.swift
[83/917] Emitting module _NIOBase64
[84/917] Compiling _NIOBase64 Base64.swift
[85/918] Compiling KeccakP-1600-opt64.c
[87/918] Compiling Logging LogHandler.swift
[88/918] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[89/918] Compiling InternalCollectionsUtilities Integer rank.swift
[90/918] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[91/918] Emitting module SwiftASN1
[92/918] Compiling InternalCollectionsUtilities _SortedCollection.swift
[93/918] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[94/918] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[95/918] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[96/918] Compiling InternalCollectionsUtilities Debugging.swift
[97/918] Compiling InternalCollectionsUtilities Descriptions.swift
[98/920] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[99/920] Compiling SwiftASN1 Errors.swift
[100/920] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[102/920] Emitting module RealModule
[104/920] Compiling InternalCollectionsUtilities UInt+reversed.swift
[105/923] Compiling RealModule Float16+Real.swift
[106/923] Compiling RealModule Float80+Real.swift
[107/923] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[108/923] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[109/923] 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
[110/923] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[113/923] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[114/928] Emitting module Logging
[115/928] Compiling Logging Locks.swift
[116/930] Compiling _CertificateInternals _TinyArray.swift
[117/930] Emitting module _CertificateInternals
[119/931] Compiling _NIODataStructures PriorityQueue.swift
[120/931] Compiling _NIODataStructures _TinyArray.swift
[125/931] Compiling Logging MetadataProvider.swift
[130/931] Compiling Instrumentation Locks.swift
[131/931] Compiling Instrumentation MultiplexInstrument.swift
[132/931] Compiling Instrumentation NoOpInstrument.swift
[133/931] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[135/931] Emitting module Instrumentation
[136/931] Compiling Instrumentation Instrument.swift
[137/931] Compiling Instrumentation InstrumentationSystem.swift
[142/933] Compiling Logging Logging.swift
[145/934] Compiling CSystem shims.c
[147/934] 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 |
[148/934] 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
[148/934] Compiling CNIOSHA1 c_nio_sha1.c
[152/934] Emitting module InternalCollectionsUtilities
[152/945] Compiling CNIOLinux shim.c
[153/946] Compiling CNIOPosix event_loop_id.c
[154/959] Compiling CNIOLinux liburing_shims.c
[156/959] Compiling _NIODataStructures Heap.swift
[156/981] Compiling CNIOLLHTTP c_nio_http.c
[159/981] Compiling CNIOLLHTTP c_nio_llhttp.c
[159/981] Compiling CNIOLLHTTP c_nio_api.c
BUILD FAILURE 6.2 wasm