Build Information
Failed to build swift-aws-lambda-runtime, reference main (f3bd0a), with Swift 6.2 for Wasm on 10 Apr 2026 03:38:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awslabs/swift-aws-lambda-runtime.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/awslabs/swift-aws-lambda-runtime
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f3bd0ae Bump picomatch from 2.3.1 to 2.3.2 in /Examples/CDK/infra (#660)
Cloned https://github.com/awslabs/swift-aws-lambda-runtime.git
Revision (git rev-parse @):
f3bd0ae938d95701b9b5030be6678166489139e1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/awslabs/swift-aws-lambda-runtime.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/awslabs/swift-aws-lambda-runtime.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/2719] Fetching swift-service-lifecycle
[654/26242] Fetching swift-service-lifecycle, swift-collections
[2275/32705] Fetching swift-service-lifecycle, swift-collections, swift-log
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.93s)
[8345/29986] Fetching swift-collections, swift-log
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (2.75s)
Fetched https://github.com/apple/swift-collections.git from cache (2.84s)
[1/83101] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.61s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (11.74s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6224] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.44s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.95s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.55s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.77s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1002/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
Fetched https://github.com/apple/swift-system.git from cache (0.50s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.13s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.73s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
[1/1] Compiling plugin AWSLambdaPackager
Building for debugging...
[1/48] Write sources
[16/48] Compiling CNIOWASI CNIOWASI.c
[16/48] Compiling CNIOPosix event_loop_id.c
[17/48] Compiling _AtomicsShims.c
[19/48] Compiling CNIOWindows WSAStartup.c
[20/48] Compiling CNIOLinux shim.c
[20/48] Compiling CNIOWindows shim.c
[22/48] Compiling CNIOLinux liburing_shims.c
[23/48] Compiling CNIOOpenBSD shim.c
[23/48] Compiling CNIOLLHTTP c_nio_http.c
[25/48] Write sources
[28/48] Compiling CNIODarwin shim.c
[29/48] Write swift-version-24593BA9C3E375BF.txt
[30/48] Compiling CNIOLLHTTP c_nio_api.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/58] Emitting module ConcurrencyHelpers
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:52:27: error: cannot find type 'pthread_mutex_t' in scope
50 | #else
51 | @usableFromInline
52 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
53 | #endif
54 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:143:27: error: type of expression is ambiguous without a type annotation
141 | @inlinable
142 | static func create(value: Value) -> Self {
143 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
144 | return value
145 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:158:14: error: type of expression is ambiguous without a type annotation
156 | @inlinable
157 | func lock() {
158 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
159 | LockOperations.lock(lockPtr)
160 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:165:14: error: type of expression is ambiguous without a type annotation
163 | @inlinable
164 | func unlock() {
165 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
166 | LockOperations.unlock(lockPtr)
167 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:172:14: error: type of expression is ambiguous without a type annotation
170 | @inlinable
171 | deinit {
172 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
173 | LockOperations.destroy(lockPtr)
174 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:179:18: error: type of expression is ambiguous without a type annotation
177 | @inlinable
178 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
179 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
180 | return try body(lockPtr)
181 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:186:18: error: type of expression is ambiguous without a type annotation
184 | @inlinable
185 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
186 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
187 | LockOperations.lock(lockPtr)
188 | defer { LockOperations.unlock(lockPtr) }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/58] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
25 | @preconcurrency import Bionic
26 | #else
27 | #error("The Heap module was unable to identify your C library.")
| `- error: The Heap module was unable to identify your C library.
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 | return "<empty heap>"
169 | }
170 | let descriptions = self.storage.map { String(describing: $0) }
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 | let maxLen: Int = descriptions.map { $0.count }.max()! // storage checked non-empty above
172 | let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 | func height(index: Int) -> Int {
208 | Int(log2(Double(index + 1)))
| `- error: cannot find 'log2' in scope
209 | }
210 | let myHeight = height(index: index)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/58] 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:1510:16: error: Unsupported runtime
1508 | )
1509 | #else
1510 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1511 | #endif
1512 | }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1582:16: error: Unsupported runtime
1580 | )
1581 | #else
1582 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1583 | #endif
1584 | }()
/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:194:50: error: cannot find type 'pthread_rwlock_t' in scope
192 | UnsafeMutablePointer.allocate(capacity: 1)
193 | #else
194 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
195 | UnsafeMutablePointer.allocate(capacity: 1)
196 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:990:32: error: 'Codable' is unavailable: unavailable in embedded Swift
988 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
989 | /// `.critical` being the most severe.
990 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
991 | /// Appropriate for messages that contain information normally of use only when
992 | /// 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:1442:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1440 | }
1441 |
1442 | internal static let stderr: StdioOutputStream = {
| `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1443 | #if canImport(Darwin)
1444 | return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1514:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1512 | }()
1513 |
1514 | internal static let stdout: StdioOutputStream = {
| `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1515 | #if canImport(Darwin)
1516 | return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:25: error: cannot find 'time' in scope
1768 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 | #else
1770 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1771 | guard let localTime = localtime(×tamp) else {
1772 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:30: error: 'nil' requires a contextual type
1768 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 | #else
1770 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1771 | guard let localTime = localtime(×tamp) else {
1772 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1771:31: error: cannot find 'localtime' in scope
1769 | #else
1770 | var timestamp = time(nil)
1771 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1772 | return "<unknown>"
1773 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1774:9: error: cannot find 'strftime' in scope
1772 | return "<unknown>"
1773 | }
1774 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1775 | #endif
1776 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1895:54: error: 'description' is unavailable: unavailable in embedded Swift
1893 | switch self {
1894 | case .dictionary(let dict):
1895 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1896 | case .array(let list):
1897 | 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:1897:48: error: 'description' is unavailable: unavailable in embedded Swift
1895 | return dict.mapValues { $0.description }.description
1896 | case .array(let list):
1897 | return list.map { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1898 | case .string(let str):
1899 | 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/58] Emitting module _NIOBase64
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIOBase64/Base64.swift:112:39: error: cannot use a value of protocol type 'any Error' in embedded Swift
27 | @inlinable
28 | public func base64Decoded() throws -> [UInt8] {
29 | try self._base64Decoded()
| `- note: called from here
30 | }
31 |
:
38 | @inlinable
39 | public func _base64Decoded() throws -> [UInt8] {
40 | try Base64.decode(string: self)
| `- note: called from here
41 | }
42 | }
:
110 | if bytes[i + 2] != Base64.encodePaddingCharacter {
111 | guard let byte2Index = Base64.encodingTable.firstIndex(of: bytes[i + 2]) else {
112 | throw Base64Error.invalidCharacter
| `- error: cannot use a value of protocol type 'any Error' in embedded Swift
113 | }
114 |
[36/58] Compiling ConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:52:27: error: cannot find type 'pthread_mutex_t' in scope
50 | #else
51 | @usableFromInline
52 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
53 | #endif
54 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:143:27: error: type of expression is ambiguous without a type annotation
141 | @inlinable
142 | static func create(value: Value) -> Self {
143 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
144 | return value
145 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:158:14: error: type of expression is ambiguous without a type annotation
156 | @inlinable
157 | func lock() {
158 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
159 | LockOperations.lock(lockPtr)
160 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:165:14: error: type of expression is ambiguous without a type annotation
163 | @inlinable
164 | func unlock() {
165 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
166 | LockOperations.unlock(lockPtr)
167 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:172:14: error: type of expression is ambiguous without a type annotation
170 | @inlinable
171 | deinit {
172 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
173 | LockOperations.destroy(lockPtr)
174 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:179:18: error: type of expression is ambiguous without a type annotation
177 | @inlinable
178 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
179 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
180 | return try body(lockPtr)
181 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:186:18: error: type of expression is ambiguous without a type annotation
184 | @inlinable
185 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
186 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
187 | LockOperations.lock(lockPtr)
188 | defer { LockOperations.unlock(lockPtr) }
[36/58] Compiling CNIOLLHTTP c_nio_llhttp.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
25 | @preconcurrency import Bionic
26 | #else
27 | #error("The Heap module was unable to identify your C library.")
| `- error: The Heap module was unable to identify your C library.
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 | return "<empty heap>"
169 | }
170 | let descriptions = self.storage.map { String(describing: $0) }
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 | let maxLen: Int = descriptions.map { $0.count }.max()! // storage checked non-empty above
172 | let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
[36/58] Compiling c-nioatomics.c
/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:1510:16: error: Unsupported runtime
1508 | )
1509 | #else
1510 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1511 | #endif
1512 | }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1582:16: error: Unsupported runtime
1580 | )
1581 | #else
1582 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1583 | #endif
1584 | }()
/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:194:50: error: cannot find type 'pthread_rwlock_t' in scope
192 | UnsafeMutablePointer.allocate(capacity: 1)
193 | #else
194 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
195 | UnsafeMutablePointer.allocate(capacity: 1)
196 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:990:32: error: 'Codable' is unavailable: unavailable in embedded Swift
988 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
989 | /// `.critical` being the most severe.
990 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
991 | /// Appropriate for messages that contain information normally of use only when
992 | /// 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:1442:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1440 | }
1441 |
1442 | internal static let stderr: StdioOutputStream = {
| `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1443 | #if canImport(Darwin)
1444 | return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1514:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1512 | }()
1513 |
1514 | internal static let stdout: StdioOutputStream = {
| `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1515 | #if canImport(Darwin)
1516 | return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:25: error: cannot find 'time' in scope
1768 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 | #else
1770 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1771 | guard let localTime = localtime(×tamp) else {
1772 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:30: error: 'nil' requires a contextual type
1768 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 | #else
1770 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1771 | guard let localTime = localtime(×tamp) else {
1772 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1771:31: error: cannot find 'localtime' in scope
1769 | #else
1770 | var timestamp = time(nil)
1771 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1772 | return "<unknown>"
1773 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1774:9: error: cannot find 'strftime' in scope
1772 | return "<unknown>"
1773 | }
1774 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1775 | #endif
1776 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1895:54: error: 'description' is unavailable: unavailable in embedded Swift
1893 | switch self {
1894 | case .dictionary(let dict):
1895 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1896 | case .array(let list):
1897 | 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 |
[36/58] Compiling c-atomics.c
BUILD FAILURE 6.2 wasm