The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Imperial, reference 2.2.0 (e1ecc8), with Swift 6.2 for Wasm on 11 Oct 2025 04:42:33 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/vapor-community/imperial.git
Reference: 2.2.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/vapor-community/imperial
 * tag               2.2.0      -> FETCH_HEAD
HEAD is now at e1ecc85 ImperialLinkedIn (#123)
Cloned https://github.com/vapor-community/imperial.git
Revision (git rev-parse @):
e1ecc8529dbf470c237f0ccfaa803b712a964cd0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor-community/imperial.git at 2.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vapor-community/imperial.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:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
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/vapor.git
Fetching https://github.com/vapor/jwt-kit.git
[1/75488] Fetching vapor
[7550/84691] Fetching vapor, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (2.18s)
Fetched https://github.com/vapor/vapor.git from cache (2.21s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.2.0 (2.61s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates.git
[1/3933] Fetching swift-log
[2519/10584] Fetching swift-log, swift-certificates
[7127/27791] Fetching swift-log, swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (2.07s)
Fetched https://github.com/apple/swift-certificates.git from cache (2.07s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.12s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.117.0 (4.99s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-metrics.git
[1/2357] Fetching swift-metrics
[214/4966] Fetching swift-metrics, websocket-kit
[465/6780] Fetching swift-metrics, websocket-kit, swift-atomics
[939/10285] Fetching swift-metrics, websocket-kit, swift-atomics, multipart-kit
[2744/15730] Fetching swift-metrics, websocket-kit, swift-atomics, multipart-kit, swift-distributed-tracing
Fetched https://github.com/apple/swift-metrics.git from cache (0.62s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/vapor/websocket-kit.git from cache (0.72s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.72s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-service-context.git
[7094/15120] Fetching multipart-kit, swift-distributed-tracing, swift-nio-extras
[11537/16237] Fetching multipart-kit, swift-distributed-tracing, swift-nio-extras, swift-service-context
[14381/27937] Fetching multipart-kit, swift-distributed-tracing, swift-nio-extras, swift-service-context, swift-nio-http2
Fetched https://github.com/apple/swift-service-context.git from cache (0.45s)
[14433/26820] Fetching multipart-kit, swift-distributed-tracing, swift-nio-extras, swift-nio-http2
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.59s)
[8731/20650] Fetching multipart-kit, swift-distributed-tracing, swift-nio-http2
Fetching https://github.com/vapor/routing-kit.git
[9083/35781] Fetching multipart-kit, swift-distributed-tracing, swift-nio-http2, swift-nio-ssl
[14031/56943] Fetching multipart-kit, swift-distributed-tracing, swift-nio-http2, swift-nio-ssl, routing-kit
[47236/136077] Fetching multipart-kit, swift-distributed-tracing, swift-nio-http2, swift-nio-ssl, routing-kit, swift-nio
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (2.40s)
[50743/130632] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, routing-kit, swift-nio
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/multipart-kit.git from cache (2.47s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.77s)
Fetching https://github.com/vapor/async-kit.git
Fetched https://github.com/vapor/routing-kit.git from cache (1.34s)
Fetching https://github.com/swift-server/async-http-client.git
[15133/100598] Fetching swift-nio-ssl, swift-nio, console-kit
[19377/103037] Fetching swift-nio-ssl, swift-nio, console-kit, async-kit
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/vapor/async-kit.git from cache (0.46s)
Fetched https://github.com/vapor/console-kit.git from cache (0.55s)
[15486/108616] Fetching swift-nio-ssl, swift-nio, async-http-client
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.54s)
[19891/93485] Fetching swift-nio, async-http-client
[19892/99472] Fetching swift-nio, async-http-client, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.74s)
[38883/93485] Fetching swift-nio, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.20s)
[31654/79134] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (8.29s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.40s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.40s)
Fetching https://github.com/apple/swift-numerics.git
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.46s)
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.83s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.37s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2771] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.37s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.78s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.40s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (4.28s)
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.66s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.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/2525] Fetching swift-service-lifecycle
[304/3464] Fetching swift-service-lifecycle, swift-http-types
[3465/4654] Fetching swift-service-lifecycle, swift-http-types, swift-http-structured-headers
[4655/6299] Fetching swift-service-lifecycle, swift-http-types, swift-http-structured-headers, swift-asn1
[5363/11849] Fetching swift-service-lifecycle, swift-http-types, swift-http-structured-headers, swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.43s)
[9272/10659] Fetching swift-service-lifecycle, swift-http-types, swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.59s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.59s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.59s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.59s)
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.0 (1.04s)
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.81s)
Fetching https://github.com/apple/swift-collections.git
[1/18181] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (11.53s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (11.98s)
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.38s)
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 (0.36s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.14.0 (1.56s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.1 (0.54s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.38s)
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)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (0.73s)
Fetching https://github.com/apple/swift-system.git
[1/5049] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.01s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.79s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.29.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.42s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.2 (0.50s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.42s)
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-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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.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.29.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-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/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
Creating working copy for https://github.com/apple/swift-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/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-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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
Creating working copy for https://github.com/apple/swift-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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.2
Creating working copy for https://github.com/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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.117.0
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.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-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-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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.14.0
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/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/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Found unhandled resource at /host/spi-builder-workspace/.env.testing
Building for debugging...
[0/859] Write sources
[65/859] Compiling _CWASI _CWASI.c
[66/859] Compiling _NumericsShims _NumericsShims.c
[67/859] Compiling CSystem shims.c
[67/859] Compiling _AtomicsShims.c
[69/859] Compiling CNIOWindows shim.c
[70/859] Compiling CNIOWASI CNIOWASI.c
[71/859] Compiling CNIOWindows WSAStartup.c
[72/859] Compiling CNIOPosix event_loop_id.c
[72/859] Compiling CVaporBcrypt blf.c
[74/859] Write swift-version-24593BA9C3E375BF.txt
[75/859] Compiling CVaporBcrypt bcrypt.c
[76/859] Compiling CNIOLinux shim.c
[77/859] Compiling CNIOLinux liburing_shims.c
[77/859] Compiling CNIOSHA1 c_nio_sha1.c
[79/859] Compiling CNIOLLHTTP c_nio_http.c
[80/859] Compiling CNIOExtrasZlib empty.c
[81/861] Compiling CNIOLLHTTP c_nio_api.c
[82/929] Compiling CNIOLLHTTP c_nio_llhttp.c
[84/934] Compiling _NIODataStructures PriorityQueue.swift
[85/934] Compiling ServiceContextModule ServiceContextKey.swift
[86/934] Emitting module _CertificateInternals
[87/934] Compiling _CertificateInternals _TinyArray.swift
[89/935] Compiling RealModule AugmentedArithmetic.swift
[90/935] Compiling RealModule Double+Real.swift
[91/936] Compiling SwiftASN1 ArraySliceBigint.swift
[92/936] Compiling SwiftASN1 GeneralizedTime.swift
[93/936] Compiling Logging Locks.swift
[94/938] Emitting module RealModule
[95/938] Compiling RealModule AlgebraicField.swift
[96/938] Compiling RealModule ApproximateEquality.swift
[97/938] Emitting module Logging
[98/938] Compiling Logging LogHandler.swift
[99/938] Compiling RealModule Float80+Real.swift
[100/938] Compiling RealModule RealFunctions.swift
[101/938] Compiling RealModule Real.swift
[102/938] Compiling RealModule Float+Real.swift
[103/938] Compiling SwiftASN1 ASN1Null.swift
[104/938] Compiling SwiftASN1 ASN1BitString.swift
[105/938] Compiling SwiftASN1 ASN1Boolean.swift
[106/938] Compiling SwiftASN1 ASN1Identifier.swift
[108/938] Compiling RealModule ElementaryFunctions.swift
[109/938] Compiling SwiftASN1 TimeUtilities.swift
[110/938] Compiling SwiftASN1 UTCTime.swift
[111/938] Compiling Logging MetadataProvider.swift
[112/938] Compiling SystemPackage Syscalls.swift
[113/938] Compiling SystemPackage WindowsSyscallAdapters.swift
[114/938] Compiling SystemPackage MachPort.swift
[115/938] Compiling SystemPackage PlatformString.swift
[116/938] Emitting module SwiftASN1
[120/942] Compiling RealModule Float16+Real.swift
[121/942] Compiling SwiftASN1 ObjectIdentifier.swift
[122/942] Compiling SwiftASN1 PEMDocument.swift
[123/942] Emitting module SystemPackage
[131/942] Compiling SystemPackage IORing.swift
[132/942] Compiling SystemPackage RawIORequest.swift
[133/942] Compiling SystemPackage Backcompat.swift
[134/942] Compiling SystemPackage CInterop.swift
[135/942] Compiling SystemPackage Constants.swift
[136/942] Compiling SystemPackage Exports.swift
[137/942] Compiling SystemPackage Mocking.swift
[138/942] Compiling SystemPackage RawBuffer.swift
[141/942] Compiling SwiftASN1 DER.swift
[142/942] Compiling SwiftASN1 Errors.swift
[143/942] Emitting module ServiceContextModule
[144/942] Compiling ServiceContextModule ServiceContext.swift
[149/947] Emitting module _NIOBase64
[150/947] Compiling _NIOBase64 Base64.swift
[151/954] Emitting module _NIODataStructures
[153/956] Compiling _NIODataStructures Heap.swift
[154/958] Compiling RealModule RelaxedArithmetic.swift
[155/961] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[156/961] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[157/961] Compiling InternalCollectionsUtilities _SortedCollection.swift
[158/961] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[159/961] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[161/964] Compiling CNIODarwin shim.c
[163/964] Compiling _NIODataStructures _TinyArray.swift
[167/973] Emitting module Instrumentation
[167/973] Compiling fiat_p256_adx_sqr.S
[168/973] Compiling fiat_p256_adx_mul.S
[170/973] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[171/973] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[172/973] Compiling Instrumentation NoOpInstrument.swift
[173/973] Compiling Instrumentation Locks.swift
[174/973] Compiling Instrumentation MultiplexInstrument.swift
[175/973] Compiling Instrumentation Instrument.swift
[176/973] Compiling Instrumentation InstrumentationSystem.swift
[176/973] Compiling fiat_curve25519_adx_square.S
[177/974] Compiling CNIOBoringSSLShims shims.c
[179/974] Compiling fiat_curve25519_adx_mul.S
[181/977] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[182/977] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[184/978] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[185/978] Compiling InternalCollectionsUtilities Debugging.swift
[186/978] Compiling InternalCollectionsUtilities Descriptions.swift
[187/982] Compiling Logging Logging.swift
[189/983] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[190/983] Compiling InternalCollectionsUtilities Integer rank.swift
[191/983] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[192/983] Compiling Tracing NoOpTracer.swift
[196/984] Compiling Tracing TracingTime.swift
[197/984] Compiling Tracing TracerProtocol.swift
[198/984] Compiling Tracing Tracer.swift
[199/984] Compiling Tracing TracerProtocol+Legacy.swift
[200/984] Emitting module InternalCollectionsUtilities
[201/984] 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)
[202/984] 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
[203/984] 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
[206/990] Compiling InternalCollectionsUtilities UInt+reversed.swift
[207/990] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[208/991] Compiling tls13_server.cc
[208/991] Compiling tls_record.cc
[209/991] Emitting module Tracing
[210/991] Compiling Tracing InstrumentationSystem+Tracing.swift
[210/991] Compiling tls_method.cc
BUILD FAILURE 6.2 wasm