Build Information
Failed to build jwt, reference main (888361
), with Swift 6.2 (beta) for Wasm on 12 Sep 2025 19:31:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/jwt.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/jwt
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8883610 Update JWTTests.swift (#167)
Cloned https://github.com/vapor/jwt.git
Revision (git rev-parse @):
8883610b0d542461ccea6986f7350817c8dfaf94
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/jwt.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/vapor/jwt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/jwt-kit.git
[1/75104] Fetching vapor
[753/84241] Fetching vapor, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.78s)
[25536/75104] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (3.89s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.2.0 (4.68s)
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/3903] Fetching swift-log
[236/10486] Fetching swift-log, swift-certificates
[4288/27396] Fetching swift-log, swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.92s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.00s)
[1184/16910] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.35s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.117.0 (7.54s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-service-context.git
[1/5218] Fetching swift-distributed-tracing
[1463/11203] Fetching swift-distributed-tracing, swift-algorithms
[1859/13812] Fetching swift-distributed-tracing, swift-algorithms, websocket-kit
[1938/15626] Fetching swift-distributed-tracing, swift-algorithms, websocket-kit, swift-atomics
[2643/16714] Fetching swift-distributed-tracing, swift-algorithms, websocket-kit, swift-atomics, swift-service-context
[2883/20207] Fetching swift-distributed-tracing, swift-algorithms, websocket-kit, swift-atomics, swift-service-context, multipart-kit
Fetched https://github.com/apple/swift-service-context.git from cache (1.17s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.20s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/vapor/websocket-kit.git from cache (1.28s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.28s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.29s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1649/3493] Fetching multipart-kit
[1650/5843] Fetching multipart-kit, swift-metrics
[3107/11970] Fetching multipart-kit, swift-metrics, swift-nio-extras
[6145/23631] Fetching multipart-kit, swift-metrics, swift-nio-extras, swift-nio-http2
[11037/38706] Fetching multipart-kit, swift-metrics, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-metrics.git from cache (1.08s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.09s)
Fetching https://github.com/vapor/routing-kit.git
[6024/30229] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl
[8514/51269] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, routing-kit
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/routing-kit.git from cache (2.85s)
[29601/30229] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/vapor/async-kit.git
[30230/36419] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, console-kit
[33697/38858] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, console-kit, async-kit
Fetched https://github.com/vapor/multipart-kit.git from cache (6.06s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/async-kit.git from cache (0.94s)
Fetched https://github.com/vapor/console-kit.git from cache (1.05s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (5.48s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.47s)
[1/14259] Fetching async-http-client
[14260/92339] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.79s)
[3904/78080] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.69s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (16.26s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.78s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.88s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.68s)
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.45s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.76s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2718] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.56s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.37s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.79s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.30s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4937] Fetching swift-system
[4000/22397] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.69s)
[2969/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.90s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (3.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.90s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.0 (0.83s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.06s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1176] Fetching swift-http-structured-headers
[25/2805] Fetching swift-http-structured-headers, swift-asn1
[2302/3728] Fetching swift-http-structured-headers, swift-asn1, swift-http-types
[2568/6198] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-service-lifecycle
[3616/11589] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.65s)
[6427/10413] Fetching swift-asn1, swift-http-types, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.69s)
[6197/8784] Fetching swift-http-types, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.96s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.96s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.96s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.79s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.97s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.93s)
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.86s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.98s)
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.77s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (1.30s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.69s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.12s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (0.86s)
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.95s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.87s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.78s)
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.0
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-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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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/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-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/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/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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.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.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.28.0
Building for debugging...
[0/846] Write sources
[51/846] Compiling _NumericsShims _NumericsShims.c
[52/846] Compiling _CWASI _CWASI.c
[53/846] Compiling _AtomicsShims.c
[54/846] Compiling CSystem shims.c
[55/846] Compiling CNIOWindows shim.c
[56/846] Compiling CNIOWindows WSAStartup.c
[57/846] Compiling CNIOWASI CNIOWASI.c
[58/846] Compiling CNIOPosix event_loop_id.c
[59/846] Compiling CVaporBcrypt bcrypt.c
[60/846] Compiling CNIOLinux shim.c
[61/846] Compiling CNIOSHA1 c_nio_sha1.c
[62/846] Compiling CNIOLinux liburing_shims.c
[63/846] Compiling CNIOLLHTTP c_nio_http.c
[64/846] Compiling CNIOExtrasZlib empty.c
[64/846] Write swift-version-24593BA9C3E375BF.txt
[66/846] Compiling CNIODarwin shim.c
[67/846] Compiling CVaporBcrypt blf.c
[68/846] Compiling fiat_curve25519_adx_square.S
[69/846] Compiling fiat_p256_adx_sqr.S
[70/846] Compiling fiat_p256_adx_mul.S
[71/846] Compiling CNIOLLHTTP c_nio_api.c
[73/905] Emitting module ServiceContextModule
[73/905] Compiling CNIOBoringSSLShims shims.c
[75/916] Emitting module RealModule
[75/917] Compiling CNIOLLHTTP c_nio_llhttp.c
[77/922] Emitting module Logging
[78/922] Emitting module SwiftASN1
[79/924] Compiling RealModule RealFunctions.swift
[80/924] Compiling RealModule RelaxedArithmetic.swift
[81/924] Compiling RealModule ElementaryFunctions.swift
[82/924] Compiling RealModule Float+Real.swift
[83/924] Compiling SwiftASN1 TimeUtilities.swift
[84/924] Compiling SwiftASN1 UTCTime.swift
[85/924] Compiling ServiceContextModule ServiceContextKey.swift
[86/924] Compiling RealModule ApproximateEquality.swift
[89/924] Compiling SwiftASN1 ASN1Boolean.swift
[90/924] Compiling SwiftASN1 ASN1Identifier.swift
[91/924] Compiling SwiftASN1 DER.swift
[92/924] Compiling SwiftASN1 Errors.swift
[93/924] Compiling SwiftASN1 ArraySliceBigint.swift
[94/924] Compiling SwiftASN1 GeneralizedTime.swift
[95/924] Compiling SwiftASN1 ASN1OctetString.swift
[96/924] Compiling SwiftASN1 ASN1Strings.swift
[97/924] Compiling SwiftASN1 ObjectIdentifier.swift
[98/924] Compiling SwiftASN1 PEMDocument.swift
[99/924] Compiling RealModule Float80+Real.swift
[100/924] Compiling ServiceContextModule ServiceContext.swift
[101/924] Compiling RealModule Real.swift
[102/924] Compiling Logging Locks.swift
[103/924] Compiling _NIODataStructures PriorityQueue.swift
[104/924] Compiling RealModule AugmentedArithmetic.swift
[105/924] Compiling RealModule Double+Real.swift
[106/924] Compiling RealModule AlgebraicField.swift
[115/925] Compiling RealModule Float16+Real.swift
[116/931] Emitting module _NIOBase64
[117/931] Compiling _NIOBase64 Base64.swift
[123/932] Emitting module SystemPackage
[127/949] Compiling fiat_curve25519_adx_mul.S
[129/955] Compiling _NIODataStructures _TinyArray.swift
[130/955] Emitting module _CertificateInternals
[131/955] Compiling _CertificateInternals _TinyArray.swift
[133/956] Compiling Instrumentation NoOpInstrument.swift
[134/956] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[135/957] Compiling Instrumentation MultiplexInstrument.swift
[136/957] Compiling Instrumentation Instrument.swift
[137/957] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[138/957] Compiling InternalCollectionsUtilities Debugging.swift
[139/957] Compiling InternalCollectionsUtilities Descriptions.swift
[140/957] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[141/957] 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
[142/957] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[148/957] Compiling Logging MetadataProvider.swift
[149/957] Compiling SystemPackage IORing.swift
[150/957] Compiling SystemPackage RawIORequest.swift
[151/957] Compiling SystemPackage Backcompat.swift
[152/957] Compiling SystemPackage CInterop.swift
[153/957] Compiling SystemPackage Syscalls.swift
[154/957] Compiling SystemPackage WindowsSyscallAdapters.swift
[155/957] Compiling SystemPackage MachPort.swift
[156/957] Compiling SystemPackage PlatformString.swift
[157/957] Compiling SystemPackage FilePathWindows.swift
[158/957] Compiling SystemPackage FilePermissions.swift
[159/957] Compiling SystemPackage IOCompletion.swift
[160/957] Compiling SystemPackage IORequest.swift
[165/957] Compiling Instrumentation Locks.swift
[166/957] Compiling Instrumentation InstrumentationSystem.swift
[167/957] Emitting module Instrumentation
[169/958] Emitting module _NIODataStructures
[170/958] Compiling _NIODataStructures Heap.swift
[172/959] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[173/959] Compiling InternalCollectionsUtilities Integer rank.swift
[174/967] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[175/967] Compiling InternalCollectionsUtilities _SortedCollection.swift
[176/967] Emitting module InternalCollectionsUtilities
[177/967] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[178/967] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[179/967] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[180/967] Compiling InternalCollectionsUtilities UInt+reversed.swift
[182/968] Emitting module Tracing
[183/987] Compiling Tracing Tracer.swift
[184/1004] Compiling Tracing TracerProtocol.swift
[185/1004] Compiling Tracing TracingTime.swift
[186/1031] Compiling Logging Logging.swift
[187/1031] Compiling Logging LogHandler.swift
[188/1037] 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
[190/1037] 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 |
[191/1037] Compiling Tracing NoOpTracer.swift
[192/1037] Compiling Tracing InstrumentationSystem+Tracing.swift
[192/1037] Compiling tls13_server.cc
[192/1037] Compiling tls_method.cc
[192/1037] Compiling tls_record.cc
BUILD FAILURE 6.2 wasm