The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-apple-search-ads-api, reference main (9d0805), with Swift 6.2 for Wasm on 30 Jan 2026 22:15:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihai8804858/swift-apple-search-ads-api.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/mihai8804858/swift-apple-search-ads-api
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9d08054 Run CI on latest swift
Cloned https://github.com/mihai8804858/swift-apple-search-ads-api.git
Revision (git rev-parse @):
9d08054dde045d17a96707de1cc7847442b0e848
SUCCESS checkout https://github.com/mihai8804858/swift-apple-search-ads-api.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mihai8804858/swift-apple-search-ads-api.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
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/pointfreeco/swift-snapshot-testing
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/pointfreeco/swift-clocks
[1/1299] Fetching swift-clocks
[1300/18804] Fetching swift-clocks, swift-crypto
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.61s)
[526/17505] Fetching swift-crypto
[1577/33162] Fetching swift-crypto, swift-snapshot-testing
Fetched https://github.com/apple/swift-crypto from cache (4.16s)
[14248/15657] Fetching swift-snapshot-testing
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/CreateAPI/URLQueryEncoder
Fetching https://github.com/fumoboy007/swift-retry
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (5.78s)
[1/128] Fetching urlqueryencoder
[12/357] Fetching urlqueryencoder, swift-retry
[358/1139] Fetching urlqueryencoder, swift-retry, anycodable
Fetched https://github.com/fumoboy007/swift-retry from cache (0.54s)
Fetched https://github.com/Flight-School/AnyCodable from cache (0.60s)
Fetched https://github.com/CreateAPI/URLQueryEncoder from cache (0.61s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (9.93s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.74s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/886] Fetching swift-concurrency-extras
[887/6493] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.17s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.20s)
Computing version for https://github.com/CreateAPI/URLQueryEncoder
Computed https://github.com/CreateAPI/URLQueryEncoder at 0.2.1 (2.01s)
Computing version for https://github.com/fumoboy007/swift-retry
Computed https://github.com/fumoboy007/swift-retry at 0.2.4 (0.64s)
Fetching https://github.com/apple/swift-log.git
[1/5888] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.78s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (1.54s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.9 (0.83s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4913] Fetching swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.54s)
[1/73905] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (10.30s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (11.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.74s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.22s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (0.75s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.15.1 (1.86s)
Fetching https://github.com/apple/swift-asn1.git
[1/1692] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (4.45s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/CreateAPI/URLQueryEncoder
Working copy of https://github.com/CreateAPI/URLQueryEncoder resolved at 0.2.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.9
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.1
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.1
Creating working copy for https://github.com/fumoboy007/swift-retry
Working copy of https://github.com/fumoboy007/swift-retry resolved at 0.2.4
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.81s)
Building for debugging...
[0/376] Write sources
[0/376] Copying PrivacyInfo.xcprivacy
[0/376] Write sources
[4/376] Compiling vpaes-x86_64-linux.S
[5/376] Write sources
[7/376] Compiling x86-mont-linux.S
[8/376] Compiling vpaes-x86-linux.S
[8/376] Compiling x86_64-mont-linux.S
[10/376] Compiling x86-mont-apple.S
[11/376] Compiling vpaes-x86_64-apple.S
[12/376] Compiling x86_64-mont-apple.S
[13/376] Compiling fiat_p256_adx_mul.S
[14/376] Write swift-version-24593BA9C3E375BF.txt
[15/376] Compiling fiat_p256_adx_sqr.S
[16/376] Compiling fiat_curve25519_adx_square.S
[17/376] Compiling fiat_curve25519_adx_mul.S
[18/376] Compiling md5-x86_64-linux.S
[19/376] Compiling md5-x86_64-apple.S
[20/376] Compiling md5-586-apple.S
[21/376] Compiling md5-586-linux.S
[22/380] Compiling chacha20_poly1305_x86_64-linux.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/380] Emitting module URLQueryEncoder
/host/spi-builder-workspace/.build/checkouts/URLQueryEncoder/Sources/URLQueryEncoder/URLQueryEncoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public final class URLQueryEncoder {
[24/380] Compiling chacha20_poly1305_armv8-win.S
[25/380] Compiling CCryptoBoringSSLShims shims.c
[26/380] Compiling chacha20_poly1305_x86_64-apple.S
[27/380] Compiling chacha20_poly1305_armv8-apple.S
[27/380] Compiling chacha20_poly1305_armv8-linux.S
[29/380] Compiling chacha-x86_64-linux.S
[30/380] Compiling chacha-x86_64-apple.S
[31/380] Compiling chacha-armv8-win.S
[32/380] Compiling chacha-x86-linux.S
[32/380] Compiling chacha-x86-apple.S
[34/380] Compiling chacha-armv8-linux.S
[35/380] Compiling chacha-armv8-apple.S
[36/380] Compiling aes128gcmsiv-x86_64-linux.S
[37/380] Compiling aes128gcmsiv-x86_64-apple.S
[38/380] Compiling x86_64-mont5-linux.S
[39/380] Compiling chacha-armv4-linux.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/380] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:48:8: error: The concurrency lock module was unable to identify your C library.
 46 | #endif
 47 | #else
 48 | #error("The concurrency lock module was unable to identify your C library.")
    |        `- error: The concurrency lock module was unable to identify your C library.
 49 | #endif
 50 |
/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:1455:16: error: Unsupported runtime
1453 |         let systemStderr = WASILibc.stderr!
1454 |         #else
1455 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1456 |         #endif
1457 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1475:16: error: Unsupported runtime
1473 |         let systemStdout = WASILibc.stdout!
1474 |         #else
1475 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1476 |         #endif
1477 |         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:65:49: error: cannot find type 'pthread_mutex_t' in scope
 63 |         UnsafeMutablePointer.allocate(capacity: 1)
 64 |     #else
 65 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 66 |         UnsafeMutablePointer.allocate(capacity: 1)
 67 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:180:50: error: cannot find type 'pthread_rwlock_t' in scope
178 |     fileprivate var shared: Bool = true
179 |     #else
180 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
181 |         UnsafeMutablePointer.allocate(capacity: 1)
182 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:988:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 986 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 987 |     /// `.critical` being the most severe.
 988 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 989 |         /// Appropriate for messages that contain information normally of use only when
 990 |         /// 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:1394:56: error: cannot find type 'FILE' in scope
1392 | internal typealias CFilePointer = OpaquePointer
1393 | #else
1394 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
     |                                                        `- error: cannot find type 'FILE' in scope
1395 | #endif
1396 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1457:40: error: cannot find 'systemStderr' in scope
1455 |         #error("Unsupported runtime")
1456 |         #endif
1457 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                        `- error: cannot find 'systemStderr' in scope
1458 |     }()
1459 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1457:66: error: cannot infer contextual base in reference to member 'always'
1455 |         #error("Unsupported runtime")
1456 |         #endif
1457 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1458 |     }()
1459 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1477:40: error: cannot find 'systemStdout' in scope
1475 |         #error("Unsupported runtime")
1476 |         #endif
1477 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                        `- error: cannot find 'systemStdout' in scope
1478 |     }()
1479 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1477:66: error: cannot infer contextual base in reference to member 'always'
1475 |         #error("Unsupported runtime")
1476 |         #endif
1477 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1478 |     }()
1479 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1411:13: error: cannot find 'flockfile' in scope
1409 |             // no file locking on WASI
1410 |             #else
1411 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1412 |             #endif
1413 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1422:17: error: cannot find 'fwrite' in scope
1420 |                 #endif
1421 |             }
1422 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1423 |             if case .always = self.flushMode {
1424 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1431:13: error: cannot find 'fflush' in scope
1429 |     /// Flush the underlying stream.
1430 |     internal func flush() {
1431 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1432 |     }
1433 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1659:25: error: cannot find 'time' in scope
1657 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1658 |         #else
1659 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1660 |         guard let localTime = localtime(&timestamp) else {
1661 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1659:30: error: 'nil' requires a contextual type
1657 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1658 |         #else
1659 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1660 |         guard let localTime = localtime(&timestamp) else {
1661 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1660:31: error: cannot find 'localtime' in scope
1658 |         #else
1659 |         var timestamp = time(nil)
1660 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1661 |             return "<unknown>"
1662 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1663:9: error: cannot find 'strftime' in scope
1661 |             return "<unknown>"
1662 |         }
1663 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1664 |         #endif
1665 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1802:54: error: 'description' is unavailable: unavailable in embedded Swift
1800 |         switch self {
1801 |         case .dictionary(let dict):
1802 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1803 |         case .array(let list):
1804 |             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:1804:48: error: 'description' is unavailable: unavailable in embedded Swift
1802 |             return dict.mapValues { $0.description }.description
1803 |         case .array(let list):
1804 |             return list.map { $0.description }.description
     |                                                `- error: 'description' is unavailable: unavailable in embedded Swift
1805 |         case .string(let str):
1806 |             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 |
[41/380] Compiling x86_64-mont5-apple.S
[42/380] Compiling vpaes-x86-apple.S
[43/380] Compiling vpaes-armv8-linux.S
[44/380] Compiling vpaes-armv8-win.S
[45/380] Compiling vpaes-armv8-apple.S
[46/380] Compiling vpaes-armv7-linux.S
[47/380] Compiling sha512-x86_64-linux.S
[48/380] Compiling sha512-x86_64-apple.S
[49/380] Compiling sha512-armv8-apple.S
[50/380] Compiling sha512-armv8-linux.S
[51/380] Compiling sha512-armv8-win.S
[52/380] Compiling sha512-armv4-linux.S
[53/380] Compiling sha256-x86_64-linux.S
[54/380] Compiling sha512-586-linux.S
[55/380] Compiling sha512-586-apple.S
[56/380] Compiling sha256-x86_64-apple.S
[57/380] Compiling sha256-armv8-apple.S
[58/380] Compiling sha256-armv8-win.S
[59/380] Compiling sha256-armv8-linux.S
[60/380] Compiling sha256-armv4-linux.S
[61/380] Compiling sha256-586-linux.S
[62/380] Compiling sha256-586-apple.S
[63/380] Compiling sha1-x86_64-linux.S
[64/380] Compiling sha1-x86_64-apple.S
[65/380] Compiling sha1-armv8-win.S
[66/380] Compiling sha1-armv8-linux.S
[67/380] Compiling sha1-armv4-large-linux.S
[68/380] Compiling sha1-armv8-apple.S
[69/380] Compiling sha1-586-apple.S
[70/380] Compiling sha1-586-linux.S
[71/380] Compiling rsaz-avx2-linux.S
[72/380] Compiling rdrand-x86_64-linux.S
[73/380] Compiling rsaz-avx2-apple.S
[74/380] Compiling err_data.cc
[75/380] Compiling rdrand-x86_64-apple.S
[76/380] Compiling p256_beeu-x86_64-asm-linux.S
[77/380] Compiling p256_beeu-x86_64-asm-apple.S
[78/380] Compiling p256_beeu-armv8-asm-win.S
[79/380] Compiling p256_beeu-armv8-asm-linux.S
[80/380] Compiling p256-x86_64-asm-linux.S
[81/380] Compiling p256_beeu-armv8-asm-apple.S
[82/380] Compiling p256-armv8-asm-win.S
[83/380] Compiling p256-x86_64-asm-apple.S
[84/380] Compiling p256-armv8-asm-linux.S
[84/380] Compiling p256-armv8-asm-apple.S
[86/380] Compiling ghashv8-armv8-win.S
[87/380] Compiling ghashv8-armv8-apple.S
[88/380] Compiling ghashv8-armv8-linux.S
[89/380] Compiling ghashv8-armv7-linux.S
[90/380] Compiling ghash-x86-linux.S
[91/380] Compiling ghash-x86-apple.S
[92/380] Compiling ghash-x86_64-linux.S
[93/380] Compiling ghash-x86_64-apple.S
[94/380] Compiling ghash-ssse3-x86_64-linux.S
[95/380] Compiling ghash-ssse3-x86_64-apple.S
[96/380] Compiling ghash-ssse3-x86-apple.S
[97/380] Compiling ghash-ssse3-x86-linux.S
[98/380] Compiling ghash-neon-armv8-linux.S
[99/380] Compiling ghash-neon-armv8-apple.S
[100/380] Compiling ghash-neon-armv8-win.S
[101/380] Compiling co-586-linux.S
[102/380] Compiling ghash-armv4-linux.S
[103/380] Compiling bn-armv8-win.S
[104/380] Compiling bsaes-armv7-linux.S
[105/380] Compiling co-586-apple.S
[106/380] Compiling bn-armv8-apple.S
[107/380] Compiling bn-armv8-linux.S
[108/380] Compiling bn-586-linux.S
[109/380] Compiling bn-586-apple.S
[110/380] Compiling armv8-mont-linux.S
[112/380] Compiling URLQueryEncoder URLQueryEncoder.swift
/host/spi-builder-workspace/.build/checkouts/URLQueryEncoder/Sources/URLQueryEncoder/URLQueryEncoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public final class URLQueryEncoder {
[112/380] Compiling armv8-mont-win.S
[112/380] Compiling aesv8-gcm-armv8-win.S
[112/380] Compiling armv4-mont-linux.S
[112/380] Compiling aesv8-gcm-armv8-linux.S
[112/380] Compiling armv8-mont-apple.S
[112/380] Compiling aesv8-gcm-armv8-apple.S
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:48:8: error: The concurrency lock module was unable to identify your C library.
 46 | #endif
 47 | #else
 48 | #error("The concurrency lock module was unable to identify your C library.")
    |        `- error: The concurrency lock module was unable to identify your C library.
 49 | #endif
 50 |
/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:1455:16: error: Unsupported runtime
1453 |         let systemStderr = WASILibc.stderr!
1454 |         #else
1455 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1456 |         #endif
1457 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1475:16: error: Unsupported runtime
1473 |         let systemStdout = WASILibc.stdout!
1474 |         #else
1475 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1476 |         #endif
1477 |         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:65:49: error: cannot find type 'pthread_mutex_t' in scope
 63 |         UnsafeMutablePointer.allocate(capacity: 1)
 64 |     #else
 65 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 66 |         UnsafeMutablePointer.allocate(capacity: 1)
 67 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:180:50: error: cannot find type 'pthread_rwlock_t' in scope
178 |     fileprivate var shared: Bool = true
179 |     #else
180 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
181 |         UnsafeMutablePointer.allocate(capacity: 1)
182 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:988:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 986 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 987 |     /// `.critical` being the most severe.
 988 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 989 |         /// Appropriate for messages that contain information normally of use only when
 990 |         /// 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:1394:56: error: cannot find type 'FILE' in scope
1392 | internal typealias CFilePointer = OpaquePointer
1393 | #else
1394 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
     |                                                        `- error: cannot find type 'FILE' in scope
1395 | #endif
1396 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1457:40: error: cannot find 'systemStderr' in scope
1455 |         #error("Unsupported runtime")
1456 |         #endif
1457 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                        `- error: cannot find 'systemStderr' in scope
1458 |     }()
1459 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1457:66: error: cannot infer contextual base in reference to member 'always'
1455 |         #error("Unsupported runtime")
1456 |         #endif
1457 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1458 |     }()
1459 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1477:40: error: cannot find 'systemStdout' in scope
1475 |         #error("Unsupported runtime")
1476 |         #endif
1477 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                        `- error: cannot find 'systemStdout' in scope
1478 |     }()
1479 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1477:66: error: cannot infer contextual base in reference to member 'always'
1475 |         #error("Unsupported runtime")
1476 |         #endif
1477 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1478 |     }()
1479 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1411:13: error: cannot find 'flockfile' in scope
1409 |             // no file locking on WASI
1410 |             #else
1411 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1412 |             #endif
1413 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1422:17: error: cannot find 'fwrite' in scope
1420 |                 #endif
1421 |             }
1422 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1423 |             if case .always = self.flushMode {
1424 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1431:13: error: cannot find 'fflush' in scope
1429 |     /// Flush the underlying stream.
1430 |     internal func flush() {
1431 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1432 |     }
1433 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1659:25: error: cannot find 'time' in scope
1657 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1658 |         #else
1659 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1660 |         guard let localTime = localtime(&timestamp) else {
1661 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1659:30: error: 'nil' requires a contextual type
1657 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1658 |         #else
1659 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1660 |         guard let localTime = localtime(&timestamp) else {
1661 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1660:31: error: cannot find 'localtime' in scope
1658 |         #else
1659 |         var timestamp = time(nil)
1660 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1661 |             return "<unknown>"
1662 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1663:9: error: cannot find 'strftime' in scope
1661 |             return "<unknown>"
1662 |         }
1663 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1664 |         #endif
1665 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1802:54: error: 'description' is unavailable: unavailable in embedded Swift
1800 |         switch self {
1801 |         case .dictionary(let dict):
1802 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1803 |         case .array(let list):
1804 |             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:1804:48: error: 'description' is unavailable: unavailable in embedded Swift
1802 |             return dict.mapValues { $0.description }.description
1803 |         case .array(let list):
1804 |             return list.map { $0.description }.description
     |                                                `- error: 'description' is unavailable: unavailable in embedded Swift
1805 |         case .string(let str):
1806 |             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 |
BUILD FAILURE 6.2 wasm