Build Information
Failed to build pkl-swift, reference main (96bb8d), with Swift 6.3 for Wasm on 18 Oct 2026 00:26:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pkl-swift.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/apple/pkl-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 96bb8d2 Spawn and tear down pkl child processes via swift-subprocess (#193)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
96bb8d264e9667508da38432c831267794f1f791
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/apple/pkl-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:11aa8e4a9dbcd813ae44128d01e945c51d260b4dfda77b6bb7d997d0cc236164
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/swiftlang/swift-subprocess
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-system
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
[1/442] Fetching semanticversion
[351/2787] Fetching semanticversion, swift-docc-plugin
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (0.37s)
[212/2345] Fetching swift-docc-plugin
[236/7332] Fetching swift-docc-plugin, swift-subprocess
[7333/14655] Fetching swift-docc-plugin, swift-subprocess, swift-system
Fetched https://github.com/swiftlang/swift-subprocess from cache (0.58s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.58s)
[6811/7323] Fetching swift-system
[7324/68963] Fetching swift-system, swiftformat
Fetched https://github.com/apple/swift-system from cache (21.48s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (21.73s)
Computing version for https://github.com/swiftlang/swift-subprocess
Computed https://github.com/swiftlang/swift-subprocess at 1.0.2 (22.80s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.3 (1.54s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.22s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3842] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.18s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.64.0 (0.18s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.64.0
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.5.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at 1.0.2
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/18] Write sources
[8/18] Compiling CSystem shims.c
[9/18] Compiling PklSwiftInternals Discovery.cpp
[10/18] Write swift-version-24593BA9C3E375BF.txt
[12/59] Emitting module SystemPackage
[13/64] Compiling SystemPackage IOCompletion.swift
[14/64] Compiling SystemPackage IORequest.swift
[15/64] Compiling SystemPackage IORing+Util.swift
[16/64] Compiling SystemPackage IORing.swift
[17/64] Compiling SystemPackage RawIORequest.swift
[18/64] Compiling SystemPackage FilePathComponentView.swift
[19/64] Compiling SystemPackage FilePathComponents.swift
[20/64] Compiling SystemPackage FilePathParsing.swift
[21/64] Compiling SystemPackage FilePathString.swift
[22/64] Compiling SystemPackage FilePathSyntax.swift
[23/64] Compiling SystemPackage SystemString.swift
[24/64] Compiling SystemPackage Util+StringArray.swift
[25/64] Compiling SystemPackage Util.swift
[26/64] Compiling SystemPackage UtilConsumers.swift
[27/64] Compiling SystemPackage WinSDK+Overlay.swift
[28/64] Compiling SystemPackage Errno.swift
[29/64] Compiling SystemPackage ErrnoWindows.swift
[30/64] Compiling SystemPackage FileDescriptor.swift
[31/64] Compiling SystemPackage FileHelpers.swift
[32/64] Compiling SystemPackage FileOperations.swift
[33/64] Compiling SystemPackage FilePath.swift
[34/64] Compiling SystemPackage FilePathTemp.swift
[35/64] Compiling SystemPackage FilePathTempPosix.swift
[36/64] Compiling SystemPackage FilePathTempWindows.swift
[37/64] Compiling SystemPackage FilePathWindows.swift
[38/64] Compiling SystemPackage FilePermissions.swift
[39/64] Compiling SystemPackage Backcompat.swift
[40/64] Compiling SystemPackage CInterop.swift
[41/64] Compiling SystemPackage Constants.swift
[42/64] Compiling SystemPackage Exports.swift
[43/64] Compiling SystemPackage Mocking.swift
[44/64] Compiling SystemPackage FileFlags.swift
[45/64] Compiling SystemPackage FileMode.swift
[46/64] Compiling SystemPackage FileType.swift
[47/64] Compiling SystemPackage Identifiers.swift
[48/64] Compiling SystemPackage Stat.swift
[49/64] Compiling SystemPackage RawBuffer.swift
[50/64] Compiling SystemPackage Syscalls.swift
[51/64] Compiling SystemPackage WindowsSyscallAdapters.swift
[52/64] Compiling SystemPackage MachPort.swift
[53/64] Compiling SystemPackage PlatformString.swift
[54/65] Wrapping AST for SystemPackage for debugging
[56/80] Compiling SemanticVersion SemanticVersion+Codable.swift
[57/80] Emitting module SemanticVersion
[58/80] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[59/80] Compiling SemanticVersion SemanticVersion.swift
[60/81] Wrapping AST for SemanticVersion for debugging
[62/81] Compiling PklMessagePack _MessagePackDecoder.swift
[63/81] Compiling PklMessagePack KeyedEncodingContainer.swift
[64/81] Compiling PklMessagePack UnkeyedEncodingContainer.swift
[65/81] Compiling PklMessagePack FixedWidthInteger.swift
[66/82] Compiling PklMessagePack IO.swift
[67/82] Compiling PklMessagePack MessagePackEncoder.swift
[68/82] Compiling PklMessagePack SingleValueEncodingContainer.swift
[69/82] Compiling PklMessagePack MessagePackDecoder.swift
[70/82] Compiling PklMessagePack SingleValueDecodingContainer.swift
[71/82] Compiling PklMessagePack UnkeyedDecodingContainer.swift
[72/82] Compiling PklMessagePack UnkeyedMapDecodingContainer.swift
[73/82] Compiling PklMessagePack AnyCodingKey.swift
[74/82] Compiling PklMessagePack Box.swift
[75/82] Compiling PklMessagePack KeyedDecodingContainer.swift
[76/82] Compiling PklMessagePack KeyedSingleDecodingContainer.swift
[77/82] Emitting module PklMessagePack
[78/83] Wrapping AST for PklMessagePack for debugging
[80/106] Compiling PklSwift MessageTransport.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
/host/spi-builder-workspace/Sources/PklSwift/MessageTransport.swift:164:25: error: cannot find 'DispatchQueue' in scope
162 | // of the pkl server process; blocking a cooperative-pool
163 | // thread for that long starves other tasks.
164 | let queue = DispatchQueue(label: "pkl-swift.message-reader")
| `- error: cannot find 'DispatchQueue' in scope
165 | queue.async {
166 | while self.running {
[81/106] Compiling PklSwift ModuleSource.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
/host/spi-builder-workspace/Sources/PklSwift/MessageTransport.swift:164:25: error: cannot find 'DispatchQueue' in scope
162 | // of the pkl server process; blocking a cooperative-pool
163 | // thread for that long starves other tasks.
164 | let queue = DispatchQueue(label: "pkl-swift.message-reader")
| `- error: cannot find 'DispatchQueue' in scope
165 | queue.async {
166 | while self.running {
[82/106] Compiling PklSwift PklCodingKey.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
/host/spi-builder-workspace/Sources/PklSwift/MessageTransport.swift:164:25: error: cannot find 'DispatchQueue' in scope
162 | // of the pkl server process; blocking a cooperative-pool
163 | // thread for that long starves other tasks.
164 | let queue = DispatchQueue(label: "pkl-swift.message-reader")
| `- error: cannot find 'DispatchQueue' in scope
165 | queue.async {
166 | while self.running {
[83/109] Compiling PklSwift PklEvaluatorSettings.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[84/109] Compiling PklSwift Project.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[85/109] Compiling PklSwift Reader.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[86/109] Compiling PklSwift TypeAlias.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[87/109] Compiling PklSwift PklDecoder.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[88/109] Compiling PklSwift PklMapDecodingContainer.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[89/109] Compiling PklSwift Evaluator.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[90/109] Compiling PklSwift EvaluatorManager.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[91/109] Compiling PklSwift EvaluatorOptions.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[92/109] Emitting module PklSwift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:56:27: error: cannot find type 'pthread_mutex_t' in scope
54 | #else
55 | @usableFromInline
56 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | #endif
58 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:89:20: error: cannot find 'pthread_mutexattr_t' in scope
87 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
88 | #else
89 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
90 | pthread_mutexattr_init(&attr)
91 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:90:9: error: cannot find 'pthread_mutexattr_init' in scope
88 | #else
89 | var attr = pthread_mutexattr_t()
90 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
91 |
92 | debugOnly {
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:13: error: cannot find 'pthread_mutexattr_settype' in scope
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:52: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:47: error: cannot infer contextual base in reference to member 'init'
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:96:19: error: cannot find 'pthread_mutex_init' in scope
94 | }
95 |
96 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
97 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
98 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:108:19: error: cannot find 'pthread_mutex_destroy' in scope
106 | // SRWLOCK does not need to be free'd
107 | #else
108 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
109 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
110 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:120:19: error: cannot find 'pthread_mutex_lock' in scope
118 | AcquireSRWLockExclusive(mutex)
119 | #else
120 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
121 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
122 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:132:19: error: cannot find 'pthread_mutex_unlock' in scope
130 | ReleaseSRWLockExclusive(mutex)
131 | #else
132 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
133 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
134 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:170:27: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
168 | @inlinable
169 | static func create(value: Value) -> Self {
170 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
171 | value
172 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:184:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
182 | @inlinable
183 | func lock() {
184 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
185 | LockOperations.lock(lockPtr)
186 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:191:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
189 | @inlinable
190 | func unlock() {
191 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
192 | LockOperations.unlock(lockPtr)
193 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:198:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
196 | @inlinable
197 | deinit {
198 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
199 | LockOperations.destroy(lockPtr)
200 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:205:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
203 | @inlinable
204 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
205 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
206 | try body(lockPtr)
207 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:212:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
210 | @inlinable
211 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
212 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
213 | LockOperations.lock(lockPtr)
214 | defer { LockOperations.unlock(lockPtr) }
[93/109] Compiling PklSwift Class.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[94/109] Compiling PklSwift DataSize.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[95/109] Compiling PklSwift Duration.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[96/109] Compiling PklSwift Reference.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[97/109] Compiling PklSwift TypeRegistry.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:56:27: error: cannot find type 'pthread_mutex_t' in scope
54 | #else
55 | @usableFromInline
56 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | #endif
58 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:89:20: error: cannot find 'pthread_mutexattr_t' in scope
87 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
88 | #else
89 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
90 | pthread_mutexattr_init(&attr)
91 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:90:9: error: cannot find 'pthread_mutexattr_init' in scope
88 | #else
89 | var attr = pthread_mutexattr_t()
90 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
91 |
92 | debugOnly {
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:13: error: cannot find 'pthread_mutexattr_settype' in scope
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:52: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:47: error: cannot infer contextual base in reference to member 'init'
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:96:19: error: cannot find 'pthread_mutex_init' in scope
94 | }
95 |
96 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
97 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
98 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:108:19: error: cannot find 'pthread_mutex_destroy' in scope
106 | // SRWLOCK does not need to be free'd
107 | #else
108 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
109 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
110 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:120:19: error: cannot find 'pthread_mutex_lock' in scope
118 | AcquireSRWLockExclusive(mutex)
119 | #else
120 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
121 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
122 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:132:19: error: cannot find 'pthread_mutex_unlock' in scope
130 | ReleaseSRWLockExclusive(mutex)
131 | #else
132 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
133 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
134 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:170:27: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
168 | @inlinable
169 | static func create(value: Value) -> Self {
170 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
171 | value
172 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:184:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
182 | @inlinable
183 | func lock() {
184 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
185 | LockOperations.lock(lockPtr)
186 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:191:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
189 | @inlinable
190 | func unlock() {
191 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
192 | LockOperations.unlock(lockPtr)
193 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:198:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
196 | @inlinable
197 | deinit {
198 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
199 | LockOperations.destroy(lockPtr)
200 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:205:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
203 | @inlinable
204 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
205 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
206 | try body(lockPtr)
207 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:212:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
210 | @inlinable
211 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
212 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
213 | LockOperations.lock(lockPtr)
214 | defer { LockOperations.unlock(lockPtr) }
[98/109] Compiling PklSwift Utils.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:56:27: error: cannot find type 'pthread_mutex_t' in scope
54 | #else
55 | @usableFromInline
56 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | #endif
58 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:89:20: error: cannot find 'pthread_mutexattr_t' in scope
87 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
88 | #else
89 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
90 | pthread_mutexattr_init(&attr)
91 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:90:9: error: cannot find 'pthread_mutexattr_init' in scope
88 | #else
89 | var attr = pthread_mutexattr_t()
90 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
91 |
92 | debugOnly {
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:13: error: cannot find 'pthread_mutexattr_settype' in scope
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:52: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:47: error: cannot infer contextual base in reference to member 'init'
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:96:19: error: cannot find 'pthread_mutex_init' in scope
94 | }
95 |
96 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
97 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
98 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:108:19: error: cannot find 'pthread_mutex_destroy' in scope
106 | // SRWLOCK does not need to be free'd
107 | #else
108 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
109 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
110 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:120:19: error: cannot find 'pthread_mutex_lock' in scope
118 | AcquireSRWLockExclusive(mutex)
119 | #else
120 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
121 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
122 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:132:19: error: cannot find 'pthread_mutex_unlock' in scope
130 | ReleaseSRWLockExclusive(mutex)
131 | #else
132 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
133 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
134 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:170:27: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
168 | @inlinable
169 | static func create(value: Value) -> Self {
170 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
171 | value
172 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:184:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
182 | @inlinable
183 | func lock() {
184 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
185 | LockOperations.lock(lockPtr)
186 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:191:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
189 | @inlinable
190 | func unlock() {
191 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
192 | LockOperations.unlock(lockPtr)
193 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:198:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
196 | @inlinable
197 | deinit {
198 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
199 | LockOperations.destroy(lockPtr)
200 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:205:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
203 | @inlinable
204 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
205 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
206 | try body(lockPtr)
207 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:212:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
210 | @inlinable
211 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
212 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
213 | LockOperations.lock(lockPtr)
214 | defer { LockOperations.unlock(lockPtr) }
[99/109] Compiling PklSwift locks.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:56:27: error: cannot find type 'pthread_mutex_t' in scope
54 | #else
55 | @usableFromInline
56 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | #endif
58 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:89:20: error: cannot find 'pthread_mutexattr_t' in scope
87 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
88 | #else
89 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
90 | pthread_mutexattr_init(&attr)
91 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:90:9: error: cannot find 'pthread_mutexattr_init' in scope
88 | #else
89 | var attr = pthread_mutexattr_t()
90 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
91 |
92 | debugOnly {
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:13: error: cannot find 'pthread_mutexattr_settype' in scope
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:52: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:93:47: error: cannot infer contextual base in reference to member 'init'
91 |
92 | debugOnly {
93 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
94 | }
95 |
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:96:19: error: cannot find 'pthread_mutex_init' in scope
94 | }
95 |
96 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
97 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
98 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:108:19: error: cannot find 'pthread_mutex_destroy' in scope
106 | // SRWLOCK does not need to be free'd
107 | #else
108 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
109 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
110 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:120:19: error: cannot find 'pthread_mutex_lock' in scope
118 | AcquireSRWLockExclusive(mutex)
119 | #else
120 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
121 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
122 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:132:19: error: cannot find 'pthread_mutex_unlock' in scope
130 | ReleaseSRWLockExclusive(mutex)
131 | #else
132 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
133 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
134 | #endif
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:170:27: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
168 | @inlinable
169 | static func create(value: Value) -> Self {
170 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
171 | value
172 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:184:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
182 | @inlinable
183 | func lock() {
184 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
185 | LockOperations.lock(lockPtr)
186 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:191:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
189 | @inlinable
190 | func unlock() {
191 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
192 | LockOperations.unlock(lockPtr)
193 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:198:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
196 | @inlinable
197 | deinit {
198 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
199 | LockOperations.destroy(lockPtr)
200 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:205:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
203 | @inlinable
204 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
205 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
206 | try body(lockPtr)
207 | }
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:212:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
210 | @inlinable
211 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
212 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
213 | LockOperations.lock(lockPtr)
214 | defer { LockOperations.unlock(lockPtr) }
[100/109] Compiling PklSwift PklSingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[101/109] Compiling PklSwift PklTypedDecodingContainer.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[102/109] Compiling PklSwift PklUnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[103/109] Compiling PklSwift ExternalReaderClient.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[104/109] Compiling PklSwift Logger.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
[105/109] Compiling PklSwift Message.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
41 | import Android
42 | #else
43 | #error("The concurrency PklLock module was unable to identify your C library.")
| `- error: The concurrency PklLock module was unable to identify your C library.
44 | #endif
45 |
BUILD FAILURE 6.3 wasm