Build Information
Failed to build swift-openapi-vapor, reference 1.0.1 (b53c15), with Swift 6.2 for Wasm on 8 Oct 2025 06:57:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/vapor/swift-openapi-vapor.git
Reference: 1.0.1
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/vapor/swift-openapi-vapor
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at b53c151 Merge pull request #18 from swift-server/nio-http-types
Cloned https://github.com/vapor/swift-openapi-vapor.git
Revision (git rev-parse @):
b53c1517e889d5479567729fbe143a59da302ffc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/swift-openapi-vapor.git at 1.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/vapor/swift-openapi-vapor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
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/vapor/vapor.git
Fetching https://github.com/apple/swift-openapi-runtime.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras
[1/1814] Fetching swift-atomics
[618/7559] Fetching swift-atomics, swift-openapi-runtime
[939/13729] Fetching swift-atomics, swift-openapi-runtime, swift-nio-extras
[12496/89203] Fetching swift-atomics, swift-openapi-runtime, swift-nio-extras, vapor
Fetched https://github.com/apple/swift-atomics.git from cache (0.96s)
Fetched https://github.com/apple/swift-openapi-runtime.git from cache (0.96s)
Fetched https://github.com/apple/swift-nio-extras from cache (0.96s)
[11322/75474] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (3.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.13s)
Computing version for https://github.com/apple/swift-nio-extras
Computed https://github.com/apple/swift-nio-extras at 1.29.0 (0.74s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/2518] Fetching swift-service-lifecycle
[908/6451] Fetching swift-service-lifecycle, swift-log
[1806/12001] Fetching swift-service-lifecycle, swift-log, swift-async-algorithms
[12002/27132] Fetching swift-service-lifecycle, swift-log, swift-async-algorithms, swift-nio-ssl
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.68s)
[10997/24614] Fetching swift-log, swift-async-algorithms, swift-nio-ssl
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.77s)
[5749/19064] Fetching swift-log, swift-nio-ssl
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/apple/swift-log.git from cache (0.81s)
Fetching https://github.com/apple/swift-certificates.git
[1968/15131] Fetching swift-nio-ssl
[2876/16321] Fetching swift-nio-ssl, swift-http-structured-headers
[4823/22307] Fetching swift-nio-ssl, swift-http-structured-headers, swift-algorithms
[4883/28914] Fetching swift-nio-ssl, swift-http-structured-headers, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.51s)
[7289/27724] Fetching swift-nio-ssl, swift-algorithms, swift-certificates
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.87s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.88s)
[7415/15131] Fetching swift-nio-ssl
Fetching https://github.com/apple/swift-asn1.git
[11047/94228] Fetching swift-nio-ssl, swift-nio
[11048/95873] Fetching swift-nio-ssl, swift-nio, swift-asn1
[11542/96812] Fetching swift-nio-ssl, swift-nio, swift-asn1, swift-http-types
[11813/108512] Fetching swift-nio-ssl, swift-nio, swift-asn1, swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-asn1.git from cache (0.60s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.62s)
[15271/105928] Fetching swift-nio-ssl, swift-nio, swift-nio-http2
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.25s)
[55995/90797] Fetching swift-nio, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.74s)
[48250/79097] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.59s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (9.85s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.43s)
Fetching https://github.com/apple/swift-collections.git
[1/18153] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.67s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.48s)
Fetching https://github.com/apple/swift-numerics.git
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.62s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.16s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.45s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.44s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.14.0 (0.45s)
Fetching https://github.com/apple/swift-crypto.git
[1/17193] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.29s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (2.63s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.1 (0.51s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (0.57s)
Fetching https://github.com/apple/swift-system.git
[1/5049] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.86s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.57s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.86s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.33s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.8.3 (0.32s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.117.0 (0.45s)
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/vapor/routing-kit.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-service-context.git
[1/21162] Fetching routing-kit
[636/24667] Fetching routing-kit, multipart-kit
[1376/27276] Fetching routing-kit, multipart-kit, websocket-kit
[3561/28393] Fetching routing-kit, multipart-kit, websocket-kit, swift-service-context
[6924/33834] Fetching routing-kit, multipart-kit, websocket-kit, swift-service-context, swift-distributed-tracing
[23158/48151] Fetching routing-kit, multipart-kit, websocket-kit, swift-service-context, swift-distributed-tracing, async-http-client
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.53s)
[27328/42710] Fetching routing-kit, multipart-kit, websocket-kit, swift-service-context, async-http-client
Fetching https://github.com/vapor/async-kit.git
[39162/45149] Fetching routing-kit, multipart-kit, websocket-kit, swift-service-context, async-http-client, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.43s)
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/vapor/websocket-kit.git from cache (1.11s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.12s)
Fetching https://github.com/vapor/console-kit.git
[23928/25784] Fetching routing-kit, multipart-kit, swift-service-context
Fetched https://github.com/vapor/routing-kit.git from cache (1.23s)
[2767/6979] Fetching multipart-kit, swift-service-context, swift-metrics
[5124/13270] Fetching multipart-kit, swift-service-context, swift-metrics, console-kit
Fetched https://github.com/apple/swift-metrics.git from cache (0.43s)
[6352/10913] Fetching multipart-kit, swift-service-context, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (0.39s)
[4482/4622] Fetching multipart-kit, swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (1.76s)
Fetched https://github.com/vapor/multipart-kit.git from cache (1.81s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (2.16s)
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.31s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.31s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2771] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.38s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.88s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.43s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.38s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (0.38s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (0.43s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.34s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.39s)
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.25.1
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.8.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-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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.21.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.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.0.4
Creating working copy for https://github.com/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.8.3
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.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.34.1
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.2
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.117.0
Creating working copy for https://github.com/apple/swift-nio-extras
Working copy of https://github.com/apple/swift-nio-extras resolved at 1.29.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.14.0
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-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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.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.28.0
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.4.0
Building for debugging...
[0/844] Write sources
[53/844] Write swift-version-24593BA9C3E375BF.txt
[54/844] Compiling _CWASI _CWASI.c
[55/844] Compiling _NumericsShims _NumericsShims.c
[56/844] Compiling CSystem shims.c
[57/844] Compiling CNIOWindows shim.c
[58/844] Compiling _AtomicsShims.c
[59/844] Compiling CNIOWindows WSAStartup.c
[60/844] Compiling CVaporBcrypt bcrypt.c
[61/844] Compiling CVaporBcrypt blf.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/860] 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)
[64/860] 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:32:8: error: Unsupported runtime
30 | import WASILibc
31 | #else
32 | #error("Unsupported runtime")
| `- error: Unsupported runtime
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 | let systemStderr = WASILibc.stderr!
1269 | #else
1270 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 | let systemStdout = WASILibc.stdout!
1289 | #else
1290 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1291 | #endif
1292 | 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:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
845 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
846 | /// `.critical` being the most severe.
847 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
848 | /// Appropriate for messages that contain information normally of use only when
849 | /// 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:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot find 'systemStderr' in scope
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot find 'systemStdout' in scope
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 | // no file locking on WASI
1225 | #else
1226 | flockfile(self.file)
| `- error: cannot find 'flockfile' in scope
1227 | #endif
1228 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 | #endif
1236 | }
1237 | _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
| `- error: cannot find 'fwrite' in scope
1238 | if case .always = self.flushMode {
1239 | self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 | /// Flush the underlying stream.
1245 | internal func flush() {
1246 | _ = fflush(self.file)
| `- error: cannot find 'fflush' in scope
1247 | }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 | #else
1447 | var timestamp = time(nil)
1448 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1449 | return "<unknown>"
1450 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 | return "<unknown>"
1450 | }
1451 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1452 | #endif
1453 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 | switch self {
1547 | case .dictionary(let dict):
1548 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1549 | case .array(let list):
1550 | 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:1550:48: error: 'description' is unavailable: unavailable in embedded Swift
1548 | return dict.mapValues { $0.description }.description
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1551 | case .string(let str):
1552 | 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 |
[65/860] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/861] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/861] 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 |
[69/861] 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-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:32:8: error: Unsupported runtime
30 | import WASILibc
31 | #else
32 | #error("Unsupported runtime")
| `- error: Unsupported runtime
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 | let systemStderr = WASILibc.stderr!
1269 | #else
1270 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 | let systemStdout = WASILibc.stdout!
1289 | #else
1290 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1291 | #endif
1292 | 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:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
845 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
846 | /// `.critical` being the most severe.
847 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
848 | /// Appropriate for messages that contain information normally of use only when
849 | /// 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:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot find 'systemStderr' in scope
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot find 'systemStdout' in scope
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 | // no file locking on WASI
1225 | #else
1226 | flockfile(self.file)
| `- error: cannot find 'flockfile' in scope
1227 | #endif
1228 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 | #endif
1236 | }
1237 | _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
| `- error: cannot find 'fwrite' in scope
1238 | if case .always = self.flushMode {
1239 | self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 | /// Flush the underlying stream.
1245 | internal func flush() {
1246 | _ = fflush(self.file)
| `- error: cannot find 'fflush' in scope
1247 | }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 | #else
1447 | var timestamp = time(nil)
1448 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1449 | return "<unknown>"
1450 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 | return "<unknown>"
1450 | }
1451 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1452 | #endif
1453 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 | switch self {
1547 | case .dictionary(let dict):
1548 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1549 | case .array(let list):
1550 | 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-system/Sources/System/Internals/CInterop.swift:27:8: error: Unsupported Platform
25 | import Bionic
26 | #else
27 | #error("Unsupported Platform")
| `- error: Unsupported Platform
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:30:8: error: Unsupported Platform
28 | import Android
29 | #else
30 | #error("Unsupported Platform")
| `- error: Unsupported Platform
31 | #endif
32 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:32:8: error: Unsupported Platform
30 | import Android
31 | #else
32 | #error("Unsupported Platform")
| `- error: Unsupported Platform
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:24:8: error: Unsupported Platform
22 | import Android
23 | #else
24 | #error("Unsupported Platform")
| `- error: Unsupported Platform
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Decodable'
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: type 'Errno' does not conform to protocol 'Decodable'
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
17 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
18 |
19 | /// Creates a strongly typed error number from a raw C error number.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:57: error: 'Codable' is unavailable: unavailable in embedded Swift
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
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-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Encodable'
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: type 'Errno' does not conform to protocol 'Encodable'
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
17 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
18 |
19 | /// Creates a strongly typed error number from a raw C error number.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Decodable'
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: type 'Errno' does not conform to protocol 'Decodable'
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
17 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
18 |
19 | /// Creates a strongly typed error number from a raw C error number.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:1532:27: error: cannot find 'system_errno' in scope
1530 | /// The corresponding C global variable is `errno`.
1531 | internal static var current: Errno {
1532 | get { Errno(rawValue: system_errno) }
| `- error: cannot find 'system_errno' in scope
1533 | set { system_errno = newValue.rawValue }
1534 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:1533:11: error: cannot find 'system_errno' in scope
1531 | internal static var current: Errno {
1532 | get { Errno(rawValue: system_errno) }
1533 | set { system_errno = newValue.rawValue }
| `- error: cannot find 'system_errno' in scope
1534 | }
1535 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Decodable'
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: type 'FileDescriptor' does not conform to protocol 'Decodable'
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
21 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
22 |
23 | /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:59: error: 'Codable' is unavailable: unavailable in embedded Swift
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
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-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Encodable'
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: type 'FileDescriptor' does not conform to protocol 'Encodable'
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
21 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
22 |
23 | /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
52 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
53 |
54 | /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:67: error: 'Codable' is unavailable: unavailable in embedded Swift
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
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-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Encodable'
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Encodable'
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
52 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
53 |
54 | /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
95 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
96 |
97 | /// Create a strongly-typed options value from raw C options.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:61: error: 'Codable' is unavailable: unavailable in embedded Swift
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
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-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Encodable'
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Encodable'
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
95 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
96 |
97 | /// Create a strongly-typed options value from raw C options.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
333 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
334 |
335 | /// Create a strongly-typed seek origin from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:67: error: 'Codable' is unavailable: unavailable in embedded Swift
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
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-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Encodable'
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Encodable'
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
333 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
334 |
335 | /// Create a strongly-typed seek origin from a raw C value.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Decodable'
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: type 'FileDescriptor' does not conform to protocol 'Decodable'
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
21 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
22 |
23 | /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
52 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
53 |
54 | /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
95 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
96 |
97 | /// Create a strongly-typed options value from raw C options.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
333 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
334 |
335 | /// Create a strongly-typed seek origin from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:50:27: error: cannot find type 'mode_t' in scope
48 | public typealias Mode = CInt
49 | #else
50 | public typealias Mode = mode_t
| `- error: cannot find type 'mode_t' in scope
51 | #endif
52 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:41:27: error: cannot find type 'mode_t' in scope
39 | /// The C `mode_t` type.
40 | @available(System 0.0.1, *)
41 | public typealias CModeT = mode_t
| `- error: cannot find type 'mode_t' in scope
42 | #endif
43 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:89:53: error: extra argument in call
87 | let descOrError: Result<CInt, Errno> = valueOrErrno(retryOnInterrupt: retryOnInterrupt) {
88 | if let permissions = permissions {
89 | return system_open(path, oFlag, permissions.rawValue)
| `- error: extra argument in call
90 | }
91 | precondition(!options.contains(.create),
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:93:6: error: cannot find type 'off_t' in scope
91 | internal func system_lseek(
92 | _ fd: Int32, _ off: off_t, _ whence: Int32
93 | ) -> off_t {
| `- error: cannot find type 'off_t' in scope
94 | #if ENABLE_MOCKING
95 | if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:92:23: error: cannot find type 'off_t' in scope
90 | // lseek
91 | internal func system_lseek(
92 | _ fd: Int32, _ off: off_t, _ whence: Int32
| `- error: cannot find type 'off_t' in scope
93 | ) -> off_t {
94 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:35:29: error: cannot find type 'off_t' in scope
33 | #endif
34 |
35 | internal typealias _COffT = off_t
| `- error: cannot find type 'off_t' in scope
36 |
37 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:74:73: error: cannot find type 'off_t' in scope
72 | // pread
73 | internal func system_pread(
74 | _ fd: Int32, _ buf: UnsafeMutableRawPointer?, _ nbyte: Int, _ offset: off_t
| `- error: cannot find type 'off_t' in scope
75 | ) -> Int {
76 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:112:66: error: cannot find type 'off_t' in scope
110 | // pwrite
111 | internal func system_pwrite(
112 | _ fd: Int32, _ buf: UnsafeRawPointer?, _ nbyte: Int, _ offset: off_t
| `- error: cannot find type 'off_t' in scope
113 | ) -> Int {
114 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:153:55: error: cannot find type 'off_t' in scope
151 | #endif
152 |
153 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
| `- error: cannot find type 'off_t' in scope
154 | #if ENABLE_MOCKING
155 | if mockingEnabled { return _mock(fd, length) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:78:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
76 | // Decoder is written explicitly to ensure that we validate invariants on
77 | // untrusted input.
78 | public init(from decoder: any Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
79 | let container = try decoder.container(keyedBy: CodingKeys.self)
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:72:21: error: 'Codable' is unavailable: unavailable in embedded Swift
70 |
71 | @available(System 0.0.1, *)
72 | extension FilePath: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
73 | // Encoder is synthesized; it probably should have been explicit and used
74 | // a single-value container, but making that change now is somewhat risky.
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-system/Sources/System/FilePath/FilePath.swift:80:35: error: value of type 'KeyedDecodingContainer<FilePath.CodingKeys>' has no member 'decode'
78 | public init(from decoder: any Decoder) throws {
79 | let container = try decoder.container(keyedBy: CodingKeys.self)
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
| `- error: value of type 'KeyedDecodingContainer<FilePath.CodingKeys>' has no member 'decode'
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:80:70: error: cannot infer contextual base in reference to member '_storage'
78 | public init(from decoder: any Decoder) throws {
79 | let container = try decoder.container(keyedBy: CodingKeys.self)
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
| `- error: cannot infer contextual base in reference to member '_storage'
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:82:27: error: type 'DecodingError' has no member 'dataCorruptedError'
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
83 | forKey: ._storage,
84 | in: container,
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:83:18: error: cannot infer contextual base in reference to member '_storage'
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
83 | forKey: ._storage,
| `- error: cannot infer contextual base in reference to member '_storage'
84 | in: container,
85 | debugDescription:
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
32 | public struct ComponentView: Sendable {
33 | internal var _path: FilePath
34 | internal var _start: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath) {
:
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
| `- error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
184 | internal var _range: Range<SystemString.Index> {
185 | _start ..< _path._storage.endIndex
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Encodable'
32 | public struct ComponentView: Sendable {
33 | internal var _path: FilePath
34 | internal var _start: SystemString.Index
| `- note: cannot automatically synthesize 'Encodable' because 'SystemString.Index' does not conform to 'Encodable'
35 |
36 | internal init(_ path: FilePath) {
:
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
| `- error: type 'FilePath.ComponentView' does not conform to protocol 'Encodable'
184 | internal var _range: Range<SystemString.Index> {
185 | _start ..< _path._storage.endIndex
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
32 | public struct ComponentView: Sendable {
33 | internal var _path: FilePath
34 | internal var _start: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath) {
:
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
| `- error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
184 | internal var _range: Range<SystemString.Index> {
185 | _start ..< _path._storage.endIndex
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Decodable'
32 | public struct Root: Sendable {
33 | internal var _path: FilePath
34 | internal var _rootEnd: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath, rootEnd: SystemString.Index) {
:
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
| `- error: type 'FilePath.Root' does not conform to protocol 'Decodable'
194 | internal var _range: Range<SystemString.Index> {
195 | (..<_rootEnd).relative(to: _path._storage)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Decodable'
32 | public struct Root: Sendable {
33 | internal var _path: FilePath
34 | internal var _rootEnd: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath, rootEnd: SystemString.Index) {
:
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
| `- error: type 'FilePath.Root' does not conform to protocol 'Decodable'
194 | internal var _range: Range<SystemString.Index> {
195 | (..<_rootEnd).relative(to: _path._storage)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Decodable'
59 | public struct Component: Sendable {
60 | internal var _path: FilePath
61 | internal var _range: Range<SystemString.Index>
| `- note: cannot automatically synthesize 'Decodable' because 'Range<SystemString.Index>' does not conform to 'Decodable'
62 |
63 | // TODO: Make a small-component form to save on ARC overhead when
:
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
| `- error: type 'FilePath.Component' does not conform to protocol 'Decodable'
191 | }
192 | @available(System 0.0.2, *)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Decodable'
59 | public struct Component: Sendable {
60 | internal var _path: FilePath
61 | internal var _range: Range<SystemString.Index>
| `- note: cannot automatically synthesize 'Decodable' because 'Range<SystemString.Index>' does not conform to 'Decodable'
62 |
63 | // TODO: Make a small-component form to save on ARC overhead when
:
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
| `- error: type 'FilePath.Component' does not conform to protocol 'Decodable'
191 | }
192 | @available(System 0.0.2, *)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:133:61: error: 'Codable' is unavailable: unavailable in embedded Swift
131 | // Unifying protocol for common functionality between roots, components,
132 | // and views onto SystemString and FilePath.
133 | internal protocol _StrSlice: _PlatformStringable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
134 | var _storage: SystemString { get }
135 | var _range: Range<SystemString.Index> { get }
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-system/Sources/System/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Encodable'
59 | public struct Component: Sendable {
60 | internal var _path: FilePath
61 | internal var _range: Range<SystemString.Index>
| `- note: cannot automatically synthesize 'Encodable' because 'Range<SystemString.Index>' does not conform to 'Encodable'
62 |
63 | // TODO: Make a small-component form to save on ARC overhead when
:
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
| `- error: type 'FilePath.Component' does not conform to protocol 'Encodable'
191 | }
192 | @available(System 0.0.2, *)
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Encodable'
32 | public struct Root: Sendable {
33 | internal var _path: FilePath
34 | internal var _rootEnd: SystemString.Index
| `- note: cannot automatically synthesize 'Encodable' because 'SystemString.Index' does not conform to 'Encodable'
35 |
36 | internal init(_ path: FilePath, rootEnd: SystemString.Index) {
:
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
| `- error: type 'FilePath.Root' does not conform to protocol 'Encodable'
194 | internal var _range: Range<SystemString.Index> {
195 | (..<_rootEnd).relative(to: _path._storage)
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/SystemString.swift:11:17: error: type 'SystemChar' does not conform to protocol 'Decodable'
9 |
10 | // A platform-native character representation, currently used for file paths
11 | internal struct SystemChar:
| `- error: type 'SystemChar' does not conform to protocol 'Decodable'
12 | RawRepresentable, Sendable, Comparable, Hashable, Codable {
13 | internal typealias RawValue = CInterop.PlatformChar
14 |
15 | internal var rawValue: RawValue
| `- note: cannot automatically synthesize 'Decodable' because 'RawValue' does not conform to 'Decodable'
16 |
17 | internal init(rawValue: RawValue) { self.rawValue = rawValue }
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/SystemString.swift:11:17: error: type 'SystemChar' does not conform to protocol 'Decodable'
9 |
10 | // A platform-native character representation, currently used for file paths
11 | internal struct SystemChar:
| `- error: type 'SystemChar' does not conform to protocol 'Decodable'
12 | RawRepresentable, Sendable, Comparable, Hashable, Codable {
13 | internal typealias RawValue = CInterop.PlatformChar
14 |
15 | internal var rawValue: RawValue
| `- note: cannot automatically synthesize 'Decodable' because 'RawValue' does not conform to 'Decodable'
16 |
17 | internal init(rawValue: RawValue) { self.rawValue = rawValue }
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
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-http-types/Sources/HTTPTypes/NIOLock.swift:45:8: error: The concurrency NIOLock module was unable to identify your C library.
43 | #endif
44 | #else
45 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
46 | #endif
47 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:222:22: error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
220 | }
221 |
222 | extension HTTPField: CustomPlaygroundDisplayConvertible {
| `- error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
223 | public var playgroundDescription: Any {
224 | self.description
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:229:30: error: 'CodingKey' is unavailable: unavailable in embedded Swift
227 |
228 | extension HTTPField: Codable {
229 | enum CodingKeys: String, CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
230 | case name
231 | case value
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:235:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
233 | }
234 |
235 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:244:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
242 | }
243 |
244 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:228:22: error: 'Codable' is unavailable: unavailable in embedded Swift
226 | }
227 |
228 | extension HTTPField: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
229 | enum CodingKeys: String, CodingKey {
230 | case name
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-http-types/Sources/HTTPTypes/HTTPField.swift:237:23: error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
235 | public func encode(to encoder: Encoder) throws {
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
| `- error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:237:50: error: cannot infer contextual base in reference to member 'name'
235 | public func encode(to encoder: Encoder) throws {
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
| `- error: cannot infer contextual base in reference to member 'name'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:238:23: error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
238 | try container.encode(self.rawValue._storage, forKey: .value)
| `- error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:238:63: error: cannot infer contextual base in reference to member 'value'
236 | var container = encoder.container(keyedBy: CodingKeys.self)
237 | try container.encode(self.name, forKey: .name)
238 | try container.encode(self.rawValue._storage, forKey: .value)
| `- error: cannot infer contextual base in reference to member 'value'
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:240:27: error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
| `- error: value of type 'KeyedEncodingContainer<HTTPField.CodingKeys>' has no member 'encode'
241 | }
242 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:240:75: error: cannot infer contextual base in reference to member 'indexingStrategy'
238 | try container.encode(self.rawValue._storage, forKey: .value)
239 | if self.indexingStrategy != .automatic {
240 | try container.encode(self.indexingStrategy.rawValue, forKey: .indexingStrategy)
| `- error: cannot infer contextual base in reference to member 'indexingStrategy'
241 | }
242 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:246:34: error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
244 | public init(from decoder: Decoder) throws {
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
| `- error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
247 | let value = try container.decode(String.self, forKey: .value)
248 | guard Self.isValidValue(value) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:246:61: error: cannot infer contextual base in reference to member 'name'
244 | public init(from decoder: Decoder) throws {
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
| `- error: cannot infer contextual base in reference to member 'name'
247 | let value = try container.decode(String.self, forKey: .value)
248 | guard Self.isValidValue(value) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:247:35: error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
247 | let value = try container.decode(String.self, forKey: .value)
| `- error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decode'
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:247:64: error: cannot infer contextual base in reference to member 'value'
245 | let container = try decoder.container(keyedBy: CodingKeys.self)
246 | let name = try container.decode(Name.self, forKey: .name)
247 | let value = try container.decode(String.self, forKey: .value)
| `- error: cannot infer contextual base in reference to member 'value'
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:249:33: error: type 'DecodingError' has no member 'dataCorruptedError'
247 | let value = try container.decode(String.self, forKey: .value)
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
250 | forKey: .value,
251 | in: container,
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:250:26: error: cannot infer contextual base in reference to member 'value'
248 | guard Self.isValidValue(value) else {
249 | throw DecodingError.dataCorruptedError(
250 | forKey: .value,
| `- error: cannot infer contextual base in reference to member 'value'
251 | in: container,
252 | debugDescription: "HTTP field value \"\(value)\" contains invalid characters"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:256:54: error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decodeIfPresent'
254 | }
255 | self.init(name: name, uncheckedValue: ISOLatin1String(unchecked: value))
256 | if let indexingStrategyValue = try container.decodeIfPresent(UInt8.self, forKey: .indexingStrategy),
| `- error: value of type 'KeyedDecodingContainer<HTTPField.CodingKeys>' has no member 'decodeIfPresent'
257 | let indexingStrategy = DynamicTableIndexingStrategy(rawValue: indexingStrategyValue)
258 | {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPField.swift:256:91: error: cannot infer contextual base in reference to member 'indexingStrategy'
254 | }
255 | self.init(name: name, uncheckedValue: ISOLatin1String(unchecked: value))
256 | if let indexingStrategyValue = try container.decodeIfPresent(UInt8.self, forKey: .indexingStrategy),
| `- error: cannot infer contextual base in reference to member 'indexingStrategy'
257 | let indexingStrategy = DynamicTableIndexingStrategy(rawValue: indexingStrategyValue)
258 | {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:114:27: error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
112 | }
113 |
114 | extension HTTPField.Name: CustomPlaygroundDisplayConvertible {
| `- error: cannot find type 'CustomPlaygroundDisplayConvertible' in scope
115 | public var playgroundDescription: Any {
116 | self.description
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:121:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
119 |
120 | extension HTTPField.Name: Codable {
121 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
122 | var container = encoder.singleValueContainer()
123 | try container.encode(self.rawName)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:126:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
124 | }
125 |
126 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
127 | let container = try decoder.singleValueContainer()
128 | let nameString = try container.decode(String.self)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:120:27: error: 'Codable' is unavailable: unavailable in embedded Swift
118 | }
119 |
120 | extension HTTPField.Name: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
121 | public func encode(to encoder: Encoder) throws {
122 | var container = encoder.singleValueContainer()
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-http-types/Sources/HTTPTypes/HTTPFieldName.swift:123:23: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
121 | public func encode(to encoder: Encoder) throws {
122 | var container = encoder.singleValueContainer()
123 | try container.encode(self.rawName)
| `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
124 | }
125 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:128:40: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
126 | public init(from decoder: Decoder) throws {
127 | let container = try decoder.singleValueContainer()
128 | let nameString = try container.decode(String.self)
| `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
129 | if nameString.utf8.first == UInt8(ascii: ":") {
130 | guard nameString.lowercased() == nameString,
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:133:37: error: type 'DecodingError' has no member 'dataCorruptedError'
131 | HTTPField.isValidToken(nameString.dropFirst())
132 | else {
133 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
134 | in: container,
135 | debugDescription: "HTTP pseudo field name \"\(nameString)\" contains invalid characters"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFieldName.swift:141:37: error: type 'DecodingError' has no member 'dataCorruptedError'
139 | } else {
140 | guard let name = Self(nameString) else {
141 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
142 | in: container,
143 | debugDescription: "HTTP field name \"\(nameString)\" contains invalid characters"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:115:21: error: cannot find 'Mutex' in scope
113 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
114 | private final class _StorageWithMutex: _Storage, @unchecked Sendable {
115 | let mutex = Mutex<Void>(())
| `- error: cannot find 'Mutex' in scope
116 |
117 | override func withLock<Result>(_ body: () throws -> Result) rethrows -> Result {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/NIOLock.swift:53:27: error: cannot find type 'pthread_mutex_t' in scope
51 | typealias LockPrimitive = os_unfair_lock
52 | #else
53 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
54 | #endif
55 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:367:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
365 |
366 | extension HTTPFields: Codable {
367 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
368 | var container = encoder.unkeyedContainer()
369 | try container.encode(contentsOf: self)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:372:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
370 | }
371 |
372 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
373 | var container = try decoder.unkeyedContainer()
374 | if let count = container.count {
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:366:23: error: 'Codable' is unavailable: unavailable in embedded Swift
364 | }
365 |
366 | extension HTTPFields: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
367 | public func encode(to encoder: Encoder) throws {
368 | var container = encoder.unkeyedContainer()
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-http-types/Sources/HTTPTypes/HTTPFields.swift:182:51: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
180 | {
181 | self.setFields(
182 | newValue.split(separator: "; ", omittingEmptySubsequences: false).lazy.map {
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
183 | HTTPField(name: name, value: String($0))
184 | },
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:362:30: error: 'description' is unavailable: unavailable in embedded Swift
360 | extension HTTPFields: CustomDebugStringConvertible {
361 | public var debugDescription: String {
362 | self._storage.fields.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
363 | }
364 | }
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 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:369:29: error: extraneous argument label 'contentsOf:' in call
367 | public func encode(to encoder: Encoder) throws {
368 | var container = encoder.unkeyedContainer()
369 | try container.encode(contentsOf: self)
| `- error: extraneous argument label 'contentsOf:' in call
370 | }
371 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:374:34: error: value of type 'any UnkeyedDecodingContainer' has no member 'count'
372 | public init(from decoder: Decoder) throws {
373 | var container = try decoder.unkeyedContainer()
374 | if let count = container.count {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'count'
375 | self.reserveCapacity(count)
376 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:377:26: error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
375 | self.reserveCapacity(count)
376 | }
377 | while !container.isAtEnd {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
378 | let field = try container.decode(HTTPField.self)
379 | guard !field.name.isPseudo else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPFields.swift:380:37: error: type 'DecodingError' has no member 'dataCorruptedError'
378 | let field = try container.decode(HTTPField.self)
379 | guard !field.name.isPseudo else {
380 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
381 | in: container,
382 | debugDescription: "Pseudo header field \"\(field)\" disallowed"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:336:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
334 |
335 | extension HTTPRequest.PseudoHeaderFields: Codable {
336 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
337 | var container = encoder.unkeyedContainer()
338 | try container.encode(self.method)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:353:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
351 | }
352 |
353 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
354 | var container = try decoder.unkeyedContainer()
355 | var method: HTTPField?
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:335:43: error: 'Codable' is unavailable: unavailable in embedded Swift
333 | }
334 |
335 | extension HTTPRequest.PseudoHeaderFields: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
336 | public func encode(to encoder: Encoder) throws {
337 | var container = encoder.unkeyedContainer()
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-http-types/Sources/HTTPTypes/HTTPRequest.swift:435:30: error: 'CodingKey' is unavailable: unavailable in embedded Swift
433 |
434 | extension HTTPRequest: Codable {
435 | enum CodingKeys: String, CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
436 | case pseudoHeaderFields
437 | case headerFields
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:440:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
438 | }
439 |
440 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:446:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
444 | }
445 |
446 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:434:24: error: 'Codable' is unavailable: unavailable in embedded Swift
432 | }
433 |
434 | extension HTTPRequest: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
435 | enum CodingKeys: String, CodingKey {
436 | case pseudoHeaderFields
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-http-types/Sources/HTTPTypes/HTTPRequest.swift:360:26: error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
358 | var path: HTTPField?
359 | var extendedConnectProtocol: HTTPField?
360 | while !container.isAtEnd {
| `- error: value of type 'any UnkeyedDecodingContainer' has no member 'isAtEnd'
361 | let field = try container.decode(HTTPField.self)
362 | switch field.name {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:365:41: error: type 'DecodingError' has no member 'dataCorruptedError'
363 | case .method:
364 | guard method == nil else {
365 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
366 | in: container,
367 | debugDescription: "Multiple \":method\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:373:41: error: type 'DecodingError' has no member 'dataCorruptedError'
371 | case .scheme:
372 | guard scheme == nil else {
373 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
374 | in: container,
375 | debugDescription: "Multiple \":scheme\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:381:41: error: type 'DecodingError' has no member 'dataCorruptedError'
379 | case .authority:
380 | guard authority == nil else {
381 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
382 | in: container,
383 | debugDescription: "Multiple \":authority\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:389:41: error: type 'DecodingError' has no member 'dataCorruptedError'
387 | case .path:
388 | guard path == nil else {
389 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
390 | in: container,
391 | debugDescription: "Multiple \":path\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:397:41: error: type 'DecodingError' has no member 'dataCorruptedError'
395 | case .protocol:
396 | guard extendedConnectProtocol == nil else {
397 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
398 | in: container,
399 | debugDescription: "Multiple \":protocol\" pseudo header fields"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:405:41: error: type 'DecodingError' has no member 'dataCorruptedError'
403 | default:
404 | guard field.name.rawName.utf8.first == UInt8(ascii: ":") else {
405 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
406 | in: container,
407 | debugDescription: "\"\(field)\" is not a pseudo header field"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:413:33: error: type 'DecodingError' has no member 'dataCorruptedError'
411 | }
412 | guard let method else {
413 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
414 | in: container,
415 | debugDescription: "\":method\" pseudo header field is missing"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:419:33: error: type 'DecodingError' has no member 'dataCorruptedError'
417 | }
418 | guard HTTPField.isValidToken(method.rawValue._storage) else {
419 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
420 | in: container,
421 | debugDescription: "\"\(method.rawValue._storage)\" is not a valid method"
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:442:23: error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
440 | public func encode(to encoder: Encoder) throws {
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
| `- error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
443 | try container.encode(self.headerFields, forKey: .headerFields)
444 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:442:64: error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
440 | public func encode(to encoder: Encoder) throws {
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
| `- error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
443 | try container.encode(self.headerFields, forKey: .headerFields)
444 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:443:23: error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
443 | try container.encode(self.headerFields, forKey: .headerFields)
| `- error: value of type 'KeyedEncodingContainer<HTTPRequest.CodingKeys>' has no member 'encode'
444 | }
445 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:443:58: error: cannot infer contextual base in reference to member 'headerFields'
441 | var container = encoder.container(keyedBy: CodingKeys.self)
442 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
443 | try container.encode(self.headerFields, forKey: .headerFields)
| `- error: cannot infer contextual base in reference to member 'headerFields'
444 | }
445 |
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:448:49: error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
446 | public init(from decoder: Decoder) throws {
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
| `- error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
450 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:448:90: error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
446 | public init(from decoder: Decoder) throws {
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
| `- error: cannot infer contextual base in reference to member 'pseudoHeaderFields'
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
450 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:449:43: error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
| `- error: value of type 'KeyedDecodingContainer<HTTPRequest.CodingKeys>' has no member 'decode'
450 | }
451 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest.swift:449:76: error: cannot infer contextual base in reference to member 'headerFields'
447 | let container = try decoder.container(keyedBy: CodingKeys.self)
448 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
449 | self.headerFields = try container.decode(HTTPFields.self, forKey: .headerFields)
| `- error: cannot infer contextual base in reference to member 'headerFields'
450 | }
451 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:267:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
265 |
266 | extension HTTPResponse.PseudoHeaderFields: Codable {
267 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
268 | var container = encoder.unkeyedContainer()
269 | try container.encode(self.status)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:272:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
270 | }
271 |
272 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
273 | var container = try decoder.unkeyedContainer()
274 | var status: HTTPField?
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:266:44: error: 'Codable' is unavailable: unavailable in embedded Swift
264 | }
265 |
266 | extension HTTPResponse.PseudoHeaderFields: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
267 | public func encode(to encoder: Encoder) throws {
268 | var container = encoder.unkeyedContainer()
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-http-types/Sources/HTTPTypes/HTTPResponse.swift:312:30: error: 'CodingKey' is unavailable: unavailable in embedded Swift
310 |
311 | extension HTTPResponse: Codable {
312 | enum CodingKeys: String, CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
313 | case pseudoHeaderFields
314 | case headerFields
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:318:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
316 | }
317 |
318 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
319 | var container = encoder.container(keyedBy: CodingKeys.self)
320 | try container.encode(self.pseudoHeaderFields, forKey: .pseudoHeaderFields)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPResponse.swift:329:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
327 | }
328 |
329 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
330 | let container = try decoder.container(keyedBy: CodingKeys.self)
331 | self.pseudoHeaderFields = try container.decode(PseudoHeaderFields.self, forKey: .pseudoHeaderFields)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
BUILD FAILURE 6.2 wasm