Build Information
Failed to build Imperial, reference main (e1ecc8), with Swift 6.2 for Wasm on 11 Oct 2025 04:53:56 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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/imperial.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/vapor-community/imperial
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-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.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/jwt-kit.git
Fetching https://github.com/vapor/vapor.git
[1/75488] Fetching vapor
[756/84691] Fetching vapor, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (4.41s)
Fetched https://github.com/vapor/vapor.git from cache (4.48s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.2.0 (5.04s)
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/3933] Fetching swift-log
[945/10584] Fetching swift-log, swift-certificates
[5135/27791] Fetching swift-log, swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (3.60s)
Fetched https://github.com/apple/swift-certificates.git from cache (3.61s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.63s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.117.0 (7.16s)
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/vapor/multipart-kit.git
[1/2609] Fetching websocket-kit
[915/6114] Fetching websocket-kit, multipart-kit
[1622/12101] Fetching websocket-kit, multipart-kit, swift-algorithms
[2612/13915] Fetching websocket-kit, multipart-kit, swift-algorithms, swift-atomics
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.94s)
Fetching https://github.com/apple/swift-metrics.git
[6072/13373] Fetching websocket-kit, multipart-kit, swift-atomics, swift-distributed-tracing
[6617/14490] Fetching websocket-kit, multipart-kit, swift-atomics, swift-distributed-tracing, swift-service-context
Fetched https://github.com/vapor/websocket-kit.git from cache (1.12s)
[5495/11881] Fetching multipart-kit, swift-atomics, swift-distributed-tracing, swift-service-context
Fetching https://github.com/apple/swift-nio-extras.git
[10025/14238] Fetching multipart-kit, swift-atomics, swift-distributed-tracing, swift-service-context, swift-metrics
[11700/20408] Fetching multipart-kit, swift-atomics, swift-distributed-tracing, swift-service-context, swift-metrics, swift-nio-extras
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.00s)
Fetched https://github.com/apple/swift-service-context.git from cache (1.01s)
Fetching https://github.com/apple/swift-nio-http2.git
[7486/13846] Fetching multipart-kit, swift-atomics, swift-metrics, swift-nio-extras
Fetched https://github.com/apple/swift-metrics.git from cache (0.76s)
[8646/11489] Fetching multipart-kit, swift-atomics, swift-nio-extras
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.85s)
Fetching https://github.com/vapor/routing-kit.git
[3464/17019] Fetching multipart-kit, swift-atomics, swift-nio-http2
[6155/38181] Fetching multipart-kit, swift-atomics, swift-nio-http2, routing-kit
[10360/117315] Fetching multipart-kit, swift-atomics, swift-nio-http2, routing-kit, swift-nio
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/vapor/routing-kit.git from cache (2.93s)
[36012/96153] Fetching multipart-kit, swift-atomics, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.40s)
[25103/84453] Fetching multipart-kit, swift-atomics, swift-nio
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/vapor/async-kit.git
Fetched https://github.com/apple/swift-atomics.git from cache (5.00s)
[24080/82639] Fetching multipart-kit, swift-nio
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/multipart-kit.git from cache (5.13s)
[26115/79134] Fetching swift-nio
[30072/81573] Fetching swift-nio, async-kit
[30585/87906] Fetching swift-nio, async-kit, console-kit
[31750/103037] Fetching swift-nio, async-kit, console-kit, swift-nio-ssl
[40206/117388] Fetching swift-nio, async-kit, console-kit, swift-nio-ssl, async-http-client
Fetched https://github.com/vapor/async-kit.git from cache (0.59s)
[41893/114949] Fetching swift-nio, console-kit, swift-nio-ssl, async-http-client
Fetched https://github.com/vapor/console-kit.git from cache (0.80s)
[49581/108616] Fetching swift-nio, swift-nio-ssl, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (2.72s)
[70525/94265] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.88s)
[64890/79134] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (11.05s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (13.39s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.54s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.65s)
Fetching https://github.com/apple/swift-numerics.git
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.60s)
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.20s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (3.01s)
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.54s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (1.15s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.61s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.58s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.84s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
[1/1190] Fetching swift-http-structured-headers
[858/2835] Fetching swift-http-structured-headers, swift-asn1
[1734/8385] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.44s)
[5031/7195] Fetching swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
[5162/5550] Fetching swift-async-algorithms
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.68s)
[1/939] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.39s)
[1/2525] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.40s)
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 (2.60s)
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.53s)
Fetching https://github.com/apple/swift-collections.git
[1/18181] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.83s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (2.49s)
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.56s)
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.53s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.14.0 (0.97s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.1 (2.16s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.71s)
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.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (0.98s)
Fetching https://github.com/apple/swift-system.git
[1/5049] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.63s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.36s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.77s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.36s)
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.60s)
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.60s)
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.59s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.60s)
Creating working copy for https://github.com/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/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/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-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-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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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-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-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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
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/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-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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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.29.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/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-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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.2
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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.117.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
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
Found unhandled resource at /host/spi-builder-workspace/.env.testing
Building for debugging...
[0/859] Write sources
[65/859] Compiling CSystem shims.c
[66/859] Compiling _CWASI _CWASI.c
[67/859] Compiling _AtomicsShims.c
[68/859] Compiling _NumericsShims _NumericsShims.c
[69/859] Compiling CNIOWindows WSAStartup.c
[70/859] Compiling CNIOWindows shim.c
[71/859] Compiling CNIOWASI CNIOWASI.c
[72/859] Compiling CNIOPosix event_loop_id.c
[73/859] Compiling CNIOLinux shim.c
[74/859] Compiling CNIOLinux liburing_shims.c
[75/859] Write swift-version-24593BA9C3E375BF.txt
[76/859] Compiling CNIOExtrasZlib empty.c
[77/859] Compiling CNIODarwin shim.c
[77/859] Compiling CVaporBcrypt bcrypt.c
[79/859] Compiling CNIOLLHTTP c_nio_http.c
[79/859] Compiling CNIOSHA1 c_nio_sha1.c
[81/859] Compiling CVaporBcrypt blf.c
[82/859] Compiling CNIOLLHTTP c_nio_api.c
[84/929] Emitting module _NIOBase64
[84/929] Compiling CNIOLLHTTP c_nio_llhttp.c
[86/934] Compiling RealModule Real.swift
[87/934] Compiling RealModule Float+Real.swift
[88/934] Compiling RealModule AugmentedArithmetic.swift
[89/934] Compiling Logging LogHandler.swift
[90/937] Emitting module RealModule
[91/937] Compiling RealModule RealFunctions.swift
[92/937] Emitting module Logging
[93/937] Compiling SwiftASN1 TimeUtilities.swift
[94/937] Compiling Logging Locks.swift
[95/937] Compiling SwiftASN1 UTCTime.swift
[96/937] Compiling RealModule Double+Real.swift
[97/937] Compiling SystemPackage FilePathComponentView.swift
[98/937] Compiling SystemPackage FilePathComponents.swift
[99/937] Emitting module _CertificateInternals
[100/937] Compiling _CertificateInternals _TinyArray.swift
[101/937] Compiling SwiftASN1 ArraySliceBigint.swift
[102/937] Compiling SwiftASN1 GeneralizedTime.swift
[103/937] Compiling SwiftASN1 ObjectIdentifier.swift
[104/937] Compiling SwiftASN1 PEMDocument.swift
[105/942] Compiling RealModule RelaxedArithmetic.swift
[107/942] Compiling _NIODataStructures _TinyArray.swift
[108/942] Compiling SystemPackage FilePathParsing.swift
[109/942] Compiling SystemPackage FilePathString.swift
[110/942] Compiling _NIOBase64 Base64.swift
[111/942] Compiling _NIODataStructures PriorityQueue.swift
[112/942] Compiling ServiceContextModule ServiceContextKey.swift
[114/943] Emitting module ServiceContextModule
[115/943] Compiling ServiceContextModule ServiceContext.swift
[116/943] Compiling RealModule Float16+Real.swift
[117/943] Compiling RealModule Float80+Real.swift
[118/944] Compiling RealModule AlgebraicField.swift
[119/944] Compiling RealModule ApproximateEquality.swift
[122/944] Compiling RealModule ElementaryFunctions.swift
[123/944] Emitting module SystemPackage
[140/964] Compiling SystemPackage Syscalls.swift
[141/964] Compiling SystemPackage WindowsSyscallAdapters.swift
[142/964] Compiling SystemPackage MachPort.swift
[143/964] Compiling SystemPackage PlatformString.swift
[144/964] Emitting module SwiftASN1
[145/964] Compiling SystemPackage Constants.swift
[146/964] Compiling SystemPackage Exports.swift
[147/964] Compiling SystemPackage Mocking.swift
[148/964] Compiling SystemPackage RawBuffer.swift
[149/965] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[150/965] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[151/972] Emitting module _NIODataStructures
[152/972] Compiling _NIODataStructures Heap.swift
[154/973] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[155/973] Compiling InternalCollectionsUtilities Descriptions.swift
[157/973] Compiling Instrumentation Instrument.swift
[159/973] Compiling SystemPackage IORing.swift
[160/973] Compiling SystemPackage RawIORequest.swift
[161/973] Compiling SystemPackage Backcompat.swift
[162/973] Compiling SystemPackage CInterop.swift
[163/973] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[164/973] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[165/973] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[166/973] Compiling SwiftASN1 Errors.swift
[166/973] Compiling CNIOBoringSSLShims shims.c
[168/973] Compiling Logging MetadataProvider.swift
[168/973] Compiling fiat_p256_adx_sqr.S
[170/973] Compiling InternalCollectionsUtilities Debugging.swift
[172/973] Compiling InternalCollectionsUtilities _SortedCollection.swift
[173/973] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[176/973] Compiling Instrumentation NoOpInstrument.swift
[177/973] Emitting module Instrumentation
[177/973] Compiling fiat_p256_adx_mul.S
[178/973] Compiling fiat_curve25519_adx_square.S
[180/973] Compiling Instrumentation InstrumentationSystem.swift
[181/973] Compiling Instrumentation Locks.swift
[182/973] Compiling Instrumentation MultiplexInstrument.swift
[182/974] Compiling fiat_curve25519_adx_mul.S
[187/974] Compiling Logging Logging.swift
[191/976] 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
[192/976] 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)
[193/976] 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
[193/976] Compiling tls13_server.cc
[193/976] Compiling tls_method.cc
[193/976] Compiling tls_record.cc
BUILD FAILURE 6.2 wasm