Build Information
Failed to build soto-elasticsearch-nio-client, reference main (1f21ca), with Swift 6.2 for Wasm on 4 Dec 2025 06:40:49 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brokenhandsio/soto-elasticsearch-nio-client.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/brokenhandsio/soto-elasticsearch-nio-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1f21cac Merge pull request #7 from brokenhandsio/dependabot/github_actions/actions/checkout-6
Cloned https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git
Revision (git rev-parse @):
1f21cacb357f6909ba07e1867fd12570b4651ecb
SUCCESS checkout https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/brokenhandsio/soto-elasticsearch-nio-client.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/brokenhandsio/elasticsearch-nio-client.git
Fetching https://github.com/soto-project/soto.git
[1/810] Fetching elasticsearch-nio-client
[658/143496] Fetching elasticsearch-nio-client, soto
Fetched https://github.com/brokenhandsio/elasticsearch-nio-client.git from cache (55.68s)
Fetched https://github.com/soto-project/soto.git from cache (57.72s)
Computing version for https://github.com/brokenhandsio/elasticsearch-nio-client.git
Computed https://github.com/brokenhandsio/elasticsearch-nio-client.git at 0.7.0 (65.08s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client.git
[1/14502] Fetching async-http-client
[1887/95103] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (9.72s)
Fetched https://github.com/apple/swift-nio.git from cache (9.81s)
Computing version for https://github.com/soto-project/soto.git
Computed https://github.com/soto-project/soto.git at 5.13.2 (12.69s)
Fetching https://github.com/soto-project/soto-core.git
[1/61868] Fetching soto-core
Fetched https://github.com/soto-project/soto-core.git from cache (3.34s)
Computing version for https://github.com/soto-project/soto-core.git
Computed https://github.com/soto-project/soto-core.git at 5.9.4 (3.96s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/adam-fowler/jmespath.swift.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/653] Fetching jmespath.swift
[54/3462] Fetching jmespath.swift, swift-nio-transport-services
[3463/5949] Fetching jmespath.swift, swift-nio-transport-services, swift-metrics
[4384/11625] Fetching jmespath.swift, swift-nio-transport-services, swift-metrics, swift-log
Fetched https://github.com/apple/swift-metrics.git from cache (0.39s)
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.50s)
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
[875/32753] Fetching swift-crypto, swift-nio-ssl
Fetched https://github.com/adam-fowler/jmespath.swift.git from cache (2.42s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.44s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.71s)
Computing version for https://github.com/adam-fowler/jmespath.swift.git
Computed https://github.com/adam-fowler/jmespath.swift.git at 1.0.3 (3.12s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.0 (0.40s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.71s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.44s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.38s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (0.83s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/5181] Fetching swift-system
[5182/23506] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.29s)
Fetched https://github.com/apple/swift-collections.git from cache (1.31s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.76s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.76s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.1 (5.20s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/5566] Fetching swift-distributed-tracing
[3619/11607] Fetching swift-distributed-tracing, swift-algorithms
[4474/17943] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-extras
[11401/29661] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.56s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.60s)
[8971/17759] Fetching swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.60s)
[3047/11718] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.46s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (1.86s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.24s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.70s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.59s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.91s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.37s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.0 (1.00s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/943] Fetching swift-http-types
[944/3511] Fetching swift-http-types, swift-service-lifecycle
[1689/4715] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers
[1968/10504] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms
[3844/17530] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-certificates
[4880/19193] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-certificates, swift-asn1
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.40s)
[14026/16625] Fetching swift-http-types, swift-http-structured-headers, swift-async-algorithms, swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.40s)
[13173/15421] Fetching swift-http-types, swift-async-algorithms, swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.57s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.61s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.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.9.1 (1.01s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.62s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (3.66s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.51s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.63s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/adam-fowler/jmespath.swift.git at 1.0.3 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.7.0 (0.00s)
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.00s)
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.91.0 (0.00s)
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.30.1 (0.00s)
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (0.00s)
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (1.41s)
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.00s)
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.00s)
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.00s)
Creating working copy for https://github.com/brokenhandsio/elasticsearch-nio-client.git
Working copy of https://github.com/brokenhandsio/elasticsearch-nio-client.git resolved at 0.7.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/soto-project/soto-core.git
Working copy of https://github.com/soto-project/soto-core.git resolved at 5.9.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.91.0
Creating working copy for https://github.com/soto-project/soto.git
Working copy of https://github.com/soto-project/soto.git resolved at 5.13.2
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/adam-fowler/jmespath.swift.git
Working copy of https://github.com/adam-fowler/jmespath.swift.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
Building for debugging...
[0/877] Write sources
[28/877] Compiling CNIOWASI CNIOWASI.c
[29/877] Compiling CNIOWindows shim.c
[30/877] Compiling CNIOOpenBSD shim.c
[30/877] Compiling CNIOWindows WSAStartup.c
[30/877] Write sources
[40/877] Compiling CNIOPosix event_loop_id.c
[41/877] Compiling CNIOLinux shim.c
[42/877] Write swift-version-24593BA9C3E375BF.txt
[43/877] Compiling _NumericsShims _NumericsShims.c
[44/877] Compiling CSotoExpat xmltok_ns.c
[45/877] Compiling _AtomicsShims.c
[46/877] Compiling _CWASI _CWASI.c
[47/877] Compiling CSotoExpat xmltok_impl.c
[48/881] Compiling CSotoExpat xmlrole.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/889] Emitting module ServiceContextModule
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:237:6: error: unknown attribute 'TaskLocal'
235 | /// A `ServiceContext` is automatically propagated through task-local storage. This API enables binding a top-level `ServiceContext` and
236 | /// implicitly passes it to child tasks when using structured concurrency.
237 | @TaskLocal public static var current: ServiceContext?
| `- error: unknown attribute 'TaskLocal'
238 |
239 | /// Convenience API to bind the task-local ``ServiceContext/current`` to the passed `value`, and execute the passed `operation`.
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:256:34: error: cannot find type 'Actor' in scope
254 | public static func withValue<T>(
255 | _ value: ServiceContext?,
256 | isolation: isolated (any Actor)? = #isolation,
| `- error: cannot find type 'Actor' in scope
257 | operation: () async throws -> T
258 | ) async rethrows -> T {
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:245:28: error: type 'ServiceContext' has no member '$current'
243 | /// SeeAlso: [Swift Task Locals](https://developer.apple.com/documentation/swift/tasklocal)
244 | public static func withValue<T>(_ value: ServiceContext?, operation: () throws -> T) rethrows -> T {
245 | try ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
246 | }
247 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:259:34: error: type 'ServiceContext' has no member '$current'
257 | operation: () async throws -> T
258 | ) async rethrows -> T {
259 | try await ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
260 | }
261 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:266:34: error: type 'ServiceContext' has no member '$current'
264 | @_disfavoredOverload
265 | public static func withValue<T>(_ value: ServiceContext?, operation: () async throws -> T) async rethrows -> T {
266 | try await ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
267 | }
268 | #else
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:73:31: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
71 | /// If no explicit name has been set on the wrapped key the type name is used.
72 | public var name: String {
73 | self._nameOverride ?? String(describing: self.keyType.self)
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
74 | }
75 |
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-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:9: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 | public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 | ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 | }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:42: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 | public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 | ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 | }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:88:24: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
86 |
87 | public func hash(into hasher: inout Hasher) {
88 | hasher.combine(ObjectIdentifier(self.keyType))
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
89 | }
90 | }
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
[50/889] Compiling CSotoExpat xmltok.c
[51/889] Compiling CSotoExpat xmlparse.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/889] 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)
[54/889] 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(×tamp) 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(×tamp) 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(×tamp) 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/893] Emitting module JMESPath
/host/spi-builder-workspace/.build/checkouts/jmespath.swift/Sources/JMESPath/Expression.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// JMES Expression
[56/893] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/894] 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 |
[59/894] Compiling ServiceContextModule ServiceContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:237:6: error: unknown attribute 'TaskLocal'
235 | /// A `ServiceContext` is automatically propagated through task-local storage. This API enables binding a top-level `ServiceContext` and
236 | /// implicitly passes it to child tasks when using structured concurrency.
237 | @TaskLocal public static var current: ServiceContext?
| `- error: unknown attribute 'TaskLocal'
238 |
239 | /// Convenience API to bind the task-local ``ServiceContext/current`` to the passed `value`, and execute the passed `operation`.
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:256:34: error: cannot find type 'Actor' in scope
254 | public static func withValue<T>(
255 | _ value: ServiceContext?,
256 | isolation: isolated (any Actor)? = #isolation,
| `- error: cannot find type 'Actor' in scope
257 | operation: () async throws -> T
258 | ) async rethrows -> T {
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:245:28: error: type 'ServiceContext' has no member '$current'
243 | /// SeeAlso: [Swift Task Locals](https://developer.apple.com/documentation/swift/tasklocal)
244 | public static func withValue<T>(_ value: ServiceContext?, operation: () throws -> T) rethrows -> T {
245 | try ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
246 | }
247 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:259:34: error: type 'ServiceContext' has no member '$current'
257 | operation: () async throws -> T
258 | ) async rethrows -> T {
259 | try await ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
260 | }
261 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:266:34: error: type 'ServiceContext' has no member '$current'
264 | @_disfavoredOverload
265 | public static func withValue<T>(_ value: ServiceContext?, operation: () async throws -> T) async rethrows -> T {
266 | try await ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
267 | }
268 | #else
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:73:31: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
71 | /// If no explicit name has been set on the wrapped key the type name is used.
72 | public var name: String {
73 | self._nameOverride ?? String(describing: self.keyType.self)
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
74 | }
75 |
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-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:9: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 | public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 | ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 | }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:42: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 | public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 | ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 | }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:88:24: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
86 |
87 | public func hash(into hasher: inout Hasher) {
88 | hasher.combine(ObjectIdentifier(self.keyType))
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
89 | }
90 | }
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
/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-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(×tamp) 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(×tamp) 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(×tamp) 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 |
BUILD FAILURE 6.2 wasm