The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build AlgoliaSearchClient, reference 9.37.0 (2e82b7), with Swift 6.2 for Wasm on 4 Dec 2025 17:50:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/algolia/algoliasearch-client-swift.git
Reference: 9.37.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/algolia/algoliasearch-client-swift
 * tag               9.37.0     -> FETCH_HEAD
HEAD is now at 2e82b77 chore: release 9.37.0
Cloned https://github.com/algolia/algoliasearch-client-swift.git
Revision (git rev-parse @):
2e82b7716648f3a12783b5fb29f79bf3a22dc32b
SUCCESS checkout https://github.com/algolia/algoliasearch-client-swift.git at 9.37.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/algolia/algoliasearch-client-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
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/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
[1/5708] Fetching swift-log
[5196/23173] Fetching swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (1.66s)
[4716/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.1 (5.38s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.78s)
Fetching https://github.com/apple/swift-asn1.git
[1/1667] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.41s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (4.31s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.7.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
Building for debugging...
[0/383] Write sources
[12/383] Compiling fiat_curve25519_adx_mul.S
[13/383] Compiling fiat_p256_adx_sqr.S
[14/383] Compiling fiat_p256_adx_mul.S
[15/383] Compiling fiat_curve25519_adx_square.S
[16/383] Write swift-version-24593BA9C3E375BF.txt
[17/383] Compiling md5-x86_64-apple.S
[18/383] Compiling md5-586-apple.S
[19/383] Compiling md5-x86_64-linux.S
[20/383] Compiling md5-586-linux.S
[21/383] Compiling chacha20_poly1305_x86_64-linux.S
[22/383] Compiling chacha20_poly1305_x86_64-apple.S
[23/383] Compiling chacha20_poly1305_armv8-win.S
[24/385] Compiling chacha20_poly1305_armv8-apple.S
[25/385] Compiling chacha-x86_64-linux.S
[26/385] Compiling chacha20_poly1305_armv8-linux.S
[27/385] Compiling chacha-x86_64-apple.S
[28/385] Compiling chacha-x86-apple.S
[29/385] Compiling chacha-armv8-win.S
[30/385] Compiling chacha-armv8-linux.S
[31/385] Compiling chacha-armv8-apple.S
[32/385] Compiling chacha-x86-linux.S
[33/385] Compiling chacha-armv4-linux.S
[34/385] Compiling x86_64-mont5-linux.S
[35/385] Compiling aes128gcmsiv-x86_64-apple.S
[36/385] Compiling x86_64-mont5-apple.S
[37/385] Compiling aes128gcmsiv-x86_64-linux.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/385] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
 40 | import Musl
 41 | #else
 42 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 43 | #endif
 44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:8: error: Unsupported runtime
  26 | import WASILibc
  27 | #else
  28 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  29 | #endif
  30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1366:16: error: Unsupported runtime
1364 |         let systemStderr = WASILibc.stderr!
1365 |         #else
1366 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1386:16: error: Unsupported runtime
1384 |         let systemStdout = WASILibc.stdout!
1385 |         #else
1386 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
 26 | import WASILibc
 27 | #else
 28 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
 56 |         UnsafeMutablePointer.allocate(capacity: 1)
 57 |     #else
 58 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 59 |         UnsafeMutablePointer.allocate(capacity: 1)
 60 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 |     fileprivate var shared: Bool = true
160 |     #else
161 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
162 |         UnsafeMutablePointer.allocate(capacity: 1)
163 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
 67 |         InitializeSRWLock(self.mutex)
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 74 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 75 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
 83 |         self.mutex.deallocate()
 84 |         #else
 85 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 86 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 87 |         self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
 99 |         AcquireSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 |         ReleaseSRWLockExclusive(self.mutex)
115 |         #else
116 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
117 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 |         self.rwlock.deallocate()
183 |         #else
184 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
185 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 |         self.shared = true
200 |         #else
201 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 |         self.shared = false
216 |         #else
217 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 |         }
236 |         #else
237 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
238 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:912:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 910 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 911 |     /// `.critical` being the most severe.
 912 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 913 |         /// Appropriate for messages that contain information normally of use only when
 914 |         /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1305:56: error: cannot find type 'FILE' in scope
1303 | internal typealias CFilePointer = OpaquePointer
1304 | #else
1305 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
     |                                                        `- error: cannot find type 'FILE' in scope
1306 | #endif
1307 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:40: error: cannot find 'systemStderr' in scope
1366 |         #error("Unsupported runtime")
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                        `- error: cannot find 'systemStderr' in scope
1369 |     }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:66: error: cannot infer contextual base in reference to member 'always'
1366 |         #error("Unsupported runtime")
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1369 |     }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:40: error: cannot find 'systemStdout' in scope
1386 |         #error("Unsupported runtime")
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                        `- error: cannot find 'systemStdout' in scope
1389 |     }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:66: error: cannot infer contextual base in reference to member 'always'
1386 |         #error("Unsupported runtime")
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1389 |     }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1322:13: error: cannot find 'flockfile' in scope
1320 |             // no file locking on WASI
1321 |             #else
1322 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1323 |             #endif
1324 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1333:17: error: cannot find 'fwrite' in scope
1331 |                 #endif
1332 |             }
1333 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1334 |             if case .always = self.flushMode {
1335 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1342:13: error: cannot find 'fflush' in scope
1340 |     /// Flush the underlying stream.
1341 |     internal func flush() {
1342 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1343 |     }
1344 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:25: error: cannot find 'time' in scope
1568 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 |         #else
1570 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1571 |         guard let localTime = localtime(&timestamp) else {
1572 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:30: error: 'nil' requires a contextual type
1568 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 |         #else
1570 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1571 |         guard let localTime = localtime(&timestamp) else {
1572 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1571:31: error: cannot find 'localtime' in scope
1569 |         #else
1570 |         var timestamp = time(nil)
1571 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1572 |             return "<unknown>"
1573 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1574:9: error: cannot find 'strftime' in scope
1572 |             return "<unknown>"
1573 |         }
1574 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1575 |         #endif
1576 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1713:54: error: 'description' is unavailable: unavailable in embedded Swift
1711 |         switch self {
1712 |         case .dictionary(let dict):
1713 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1714 |         case .array(let list):
1715 |             return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1715:48: error: 'description' is unavailable: unavailable in embedded Swift
1713 |             return dict.mapValues { $0.description }.description
1714 |         case .array(let list):
1715 |             return list.map { $0.description }.description
     |                                                `- error: 'description' is unavailable: unavailable in embedded Swift
1716 |         case .string(let str):
1717 |             return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
[39/385] Compiling x86_64-mont-apple.S
[40/385] Compiling x86_64-mont-linux.S
[40/385] Compiling vpaes-x86_64-linux.S
[42/385] Compiling x86-mont-linux.S
[43/385] Compiling x86-mont-apple.S
[44/385] Compiling err_data.cc
[45/385] Compiling vpaes-x86_64-apple.S
[46/385] Compiling vpaes-armv8-linux.S
[47/385] Compiling vpaes-armv8-win.S
[48/385] Compiling vpaes-x86-apple.S
[49/385] Compiling vpaes-armv8-apple.S
[49/385] Compiling vpaes-x86-linux.S
[51/385] Compiling vpaes-armv7-linux.S
[52/385] Compiling sha512-x86_64-linux.S
[53/385] Compiling sha512-armv8-win.S
[54/385] Compiling sha512-x86_64-apple.S
[54/385] Compiling CCryptoBoringSSLShims shims.c
[56/385] Compiling sha512-armv4-linux.S
[57/385] Compiling sha512-armv8-apple.S
[58/385] Compiling sha512-armv8-linux.S
[59/385] Compiling sha512-586-linux.S
[60/385] Compiling sha256-x86_64-linux.S
[61/385] Compiling sha256-x86_64-apple.S
[62/385] Compiling sha512-586-apple.S
[63/385] Compiling sha256-armv8-apple.S
[64/385] Compiling sha256-armv8-win.S
[65/385] Compiling sha256-armv8-linux.S
[66/385] Compiling sha256-586-apple.S
[67/385] Compiling sha256-armv4-linux.S
[68/385] Compiling sha256-586-linux.S
[69/385] Compiling sha1-x86_64-linux.S
[70/385] Compiling sha1-x86_64-apple.S
[71/385] Compiling sha1-586-linux.S
[72/385] Compiling sha1-armv8-win.S
[73/385] Compiling sha1-armv8-linux.S
[74/385] Compiling sha1-586-apple.S
[75/385] Compiling sha1-armv8-apple.S
[76/385] Compiling rsaz-avx2-linux.S
[77/385] Compiling rsaz-avx2-apple.S
[78/385] Compiling sha1-armv4-large-linux.S
[79/385] Compiling rdrand-x86_64-linux.S
[80/385] Compiling p256_beeu-armv8-asm-win.S
[81/385] Compiling p256_beeu-x86_64-asm-apple.S
[82/385] Compiling p256_beeu-armv8-asm-linux.S
[83/385] Compiling p256_beeu-x86_64-asm-linux.S
[84/385] Compiling p256_beeu-armv8-asm-apple.S
[85/385] Compiling rdrand-x86_64-apple.S
[86/385] Compiling p256-armv8-asm-linux.S
[87/385] Compiling p256-armv8-asm-win.S
[88/385] Compiling p256-x86_64-asm-linux.S
[89/385] Compiling p256-x86_64-asm-apple.S
[90/385] Compiling p256-armv8-asm-apple.S
[91/385] Compiling ghashv8-armv8-linux.S
[92/385] Compiling ghashv8-armv8-win.S
[93/385] Compiling ghash-x86_64-linux.S
[94/385] Compiling ghashv8-armv7-linux.S
[95/385] Compiling ghash-x86_64-apple.S
[96/385] Compiling ghashv8-armv8-apple.S
[97/385] Compiling ghash-x86-apple.S
[98/385] Compiling ghash-ssse3-x86_64-linux.S
[99/385] Compiling ghash-x86-linux.S
[100/385] Compiling ghash-ssse3-x86_64-apple.S
[101/385] Compiling ghash-ssse3-x86-linux.S
[102/385] Compiling ghash-neon-armv8-linux.S
[103/385] Compiling ghash-ssse3-x86-apple.S
[104/385] Compiling ghash-armv4-linux.S
[105/385] Compiling ghash-neon-armv8-win.S
[106/385] Compiling ghash-neon-armv8-apple.S
[107/385] Compiling co-586-linux.S
[108/385] Compiling co-586-apple.S
[109/385] Compiling bn-armv8-linux.S
[110/385] Compiling bn-armv8-win.S
[111/385] Compiling bsaes-armv7-linux.S
[112/385] Compiling bn-armv8-apple.S
[113/385] Compiling bn-586-linux.S
[114/385] Compiling bn-586-apple.S
[114/385] Compiling armv8-mont-linux.S
[116/385] Compiling armv8-mont-win.S
[117/385] Compiling armv8-mont-apple.S
[118/385] Compiling aesv8-gcm-armv8-win.S
[119/385] Compiling aesv8-armv8-win.S
[120/385] Compiling aesv8-gcm-armv8-linux.S
[120/385] Compiling armv4-mont-linux.S
[122/385] Compiling aesv8-gcm-armv8-apple.S
[123/385] Compiling aesv8-armv8-linux.S
[124/385] Compiling aesv8-armv7-linux.S
[125/385] Compiling aesni-x86_64-linux.S
[126/385] Compiling aesv8-armv8-apple.S
[127/385] Compiling aesni-x86_64-apple.S
[128/385] Compiling aesni-x86-apple.S
[129/385] Compiling aesni-x86-linux.S
[129/385] Compiling aes-gcm-avx512-x86_64-linux.S
[132/385] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
 40 | import Musl
 41 | #else
 42 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 43 | #endif
 44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:8: error: Unsupported runtime
  26 | import WASILibc
  27 | #else
  28 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  29 | #endif
  30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1366:16: error: Unsupported runtime
1364 |         let systemStderr = WASILibc.stderr!
1365 |         #else
1366 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1386:16: error: Unsupported runtime
1384 |         let systemStdout = WASILibc.stdout!
1385 |         #else
1386 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
 26 | import WASILibc
 27 | #else
 28 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
 56 |         UnsafeMutablePointer.allocate(capacity: 1)
 57 |     #else
 58 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 59 |         UnsafeMutablePointer.allocate(capacity: 1)
 60 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 |     fileprivate var shared: Bool = true
160 |     #else
161 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
162 |         UnsafeMutablePointer.allocate(capacity: 1)
163 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
 67 |         InitializeSRWLock(self.mutex)
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 74 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 75 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
 83 |         self.mutex.deallocate()
 84 |         #else
 85 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 86 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 87 |         self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
 99 |         AcquireSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 |         ReleaseSRWLockExclusive(self.mutex)
115 |         #else
116 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
117 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 |         self.rwlock.deallocate()
183 |         #else
184 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
185 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 |         self.shared = true
200 |         #else
201 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 |         self.shared = false
216 |         #else
217 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 |         }
236 |         #else
237 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
238 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:912:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 910 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 911 |     /// `.critical` being the most severe.
 912 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 913 |         /// Appropriate for messages that contain information normally of use only when
 914 |         /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1305:56: error: cannot find type 'FILE' in scope
1303 | internal typealias CFilePointer = OpaquePointer
1304 | #else
1305 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
     |                                                        `- error: cannot find type 'FILE' in scope
1306 | #endif
1307 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:40: error: cannot find 'systemStderr' in scope
1366 |         #error("Unsupported runtime")
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                        `- error: cannot find 'systemStderr' in scope
1369 |     }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:66: error: cannot infer contextual base in reference to member 'always'
1366 |         #error("Unsupported runtime")
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1369 |     }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:40: error: cannot find 'systemStdout' in scope
1386 |         #error("Unsupported runtime")
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                        `- error: cannot find 'systemStdout' in scope
1389 |     }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:66: error: cannot infer contextual base in reference to member 'always'
1386 |         #error("Unsupported runtime")
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1389 |     }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1322:13: error: cannot find 'flockfile' in scope
1320 |             // no file locking on WASI
1321 |             #else
1322 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1323 |             #endif
1324 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1333:17: error: cannot find 'fwrite' in scope
1331 |                 #endif
1332 |             }
1333 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1334 |             if case .always = self.flushMode {
1335 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1342:13: error: cannot find 'fflush' in scope
1340 |     /// Flush the underlying stream.
1341 |     internal func flush() {
1342 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1343 |     }
1344 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:25: error: cannot find 'time' in scope
1568 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 |         #else
1570 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1571 |         guard let localTime = localtime(&timestamp) else {
1572 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:30: error: 'nil' requires a contextual type
1568 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 |         #else
1570 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1571 |         guard let localTime = localtime(&timestamp) else {
1572 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1571:31: error: cannot find 'localtime' in scope
1569 |         #else
1570 |         var timestamp = time(nil)
1571 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1572 |             return "<unknown>"
1573 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1574:9: error: cannot find 'strftime' in scope
1572 |             return "<unknown>"
1573 |         }
1574 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1575 |         #endif
1576 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1713:54: error: 'description' is unavailable: unavailable in embedded Swift
1711 |         switch self {
1712 |         case .dictionary(let dict):
1713 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1714 |         case .array(let list):
1715 |             return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1715:48: error: 'description' is unavailable: unavailable in embedded Swift
1713 |             return dict.mapValues { $0.description }.description
1714 |         case .array(let list):
1715 |             return list.map { $0.description }.description
     |                                                `- error: 'description' is unavailable: unavailable in embedded Swift
1716 |         case .string(let str):
1717 |             return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
[132/385] Compiling aes-gcm-avx2-x86_64-linux.S
[132/385] Compiling aesni-gcm-x86_64-linux.S
[132/385] Compiling aes-gcm-avx512-x86_64-apple.S
[132/385] Compiling aes-gcm-avx2-x86_64-apple.S
[132/385] Compiling aesni-gcm-x86_64-apple.S
[132/385] Compiling xwing.cc
[132/385] Compiling x_x509a.cc
BUILD FAILURE 6.2 wasm