The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build vapor-elementary, reference 0.2.2 (e1326d), with Swift 6.2 for Wasm on 8 Dec 2025 14:34:51 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/vapor-elementary.git
Reference: 0.2.2
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-community/vapor-elementary
 * tag               0.2.2      -> FETCH_HEAD
HEAD is now at e1326d2 Elementary moved to `elementary-swift` (#7)
Cloned https://github.com/vapor-community/vapor-elementary.git
Revision (git rev-parse @):
e1326d2439a9d4bd271c24b9765c195f7f793e77
SUCCESS checkout https://github.com/vapor-community/vapor-elementary.git at 0.2.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vapor-community/vapor-elementary.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/elementary-swift/elementary.git
[1/1423] Fetching elementary
[1424/77765] Fetching elementary, vapor
Fetched https://github.com/elementary-swift/elementary.git from cache (2.11s)
Fetched https://github.com/vapor/vapor.git from cache (2.15s)
Computing version for https://github.com/elementary-swift/elementary.git
Computed https://github.com/elementary-swift/elementary.git at 0.6.0 (2.57s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.119.2 (0.51s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1162] Fetching swift-service-context
[280/4778] Fetching swift-service-context, multipart-kit
[2501/11818] Fetching swift-service-context, multipart-kit, swift-certificates
[2862/13485] Fetching swift-service-context, multipart-kit, swift-certificates, swift-asn1
[3770/16117] Fetching swift-service-context, multipart-kit, swift-certificates, swift-asn1, websocket-kit
[6735/22158] Fetching swift-service-context, multipart-kit, swift-certificates, swift-asn1, websocket-kit, swift-algorithms
Fetched https://github.com/apple/swift-service-context.git from cache (0.69s)
Fetched https://github.com/vapor/websocket-kit.git from cache (0.69s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.69s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.69s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-certificates.git from cache (0.93s)
Fetching https://github.com/apple/swift-nio-extras.git
[1629/6103] Fetching multipart-kit, swift-metrics
[2202/7923] Fetching multipart-kit, swift-metrics, swift-atomics
[5936/13489] Fetching multipart-kit, swift-metrics, swift-atomics, swift-distributed-tracing
Fetched https://github.com/apple/swift-metrics.git from cache (0.47s)
[5174/11002] Fetching multipart-kit, swift-atomics, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
[6603/9182] Fetching multipart-kit, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-ssl.git
[7216/15536] Fetching multipart-kit, swift-distributed-tracing, swift-nio-extras
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.79s)
[8004/15688] Fetching multipart-kit, swift-nio-extras, swift-log
Fetching https://github.com/vapor/routing-kit.git
[8633/27406] Fetching multipart-kit, swift-nio-extras, swift-log, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.69s)
[9360/21052] Fetching multipart-kit, swift-log, swift-nio-http2
Fetching https://github.com/apple/swift-crypto.git
[9946/36340] Fetching multipart-kit, swift-log, swift-nio-http2, swift-nio-ssl
[9947/57696] Fetching multipart-kit, swift-log, swift-nio-http2, swift-nio-ssl, routing-kit
[37046/75161] Fetching multipart-kit, swift-log, swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.89s)
[32533/69443] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/multipart-kit.git from cache (2.42s)
[36338/65827] Fetching swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto
Fetching https://github.com/vapor/async-kit.git
[42139/72307] Fetching swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto, console-kit
[52310/74746] Fetching swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto, console-kit, async-kit
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.74s)
[43013/63028] Fetching swift-nio-ssl, routing-kit, swift-crypto, console-kit, async-kit
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/console-kit.git from cache (0.84s)
[37205/56548] Fetching swift-nio-ssl, routing-kit, swift-crypto, async-kit
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/vapor/async-kit.git from cache (0.67s)
[38565/54109] Fetching swift-nio-ssl, routing-kit, swift-crypto
Fetched https://github.com/vapor/routing-kit.git from cache (1.66s)
[18192/32753] Fetching swift-nio-ssl, swift-crypto
[22450/47257] Fetching swift-nio-ssl, swift-crypto, async-http-client
[28436/127920] Fetching swift-nio-ssl, swift-crypto, async-http-client, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.13s)
[41649/112632] Fetching swift-crypto, async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.85s)
[44084/98128] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (3.63s)
[36259/80663] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (13.18s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.70s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.92s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.27s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.39s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (0.34s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (2.29s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.34s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2809] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.31s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.32s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.45s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.34s)
Fetching https://github.com/apple/swift-collections.git
[1/18364] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.36s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (1.74s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.1 (0.37s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.1 (0.48s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1204] Fetching swift-http-structured-headers
[423/2155] Fetching swift-http-structured-headers, swift-http-types
[2156/4723] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle
[3338/10512] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.34s)
[8925/9561] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.38s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.38s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.47s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (0.92s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.50s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.35s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.59s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.32s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.33s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.39s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (0.81s)
Fetching https://github.com/apple/swift-system.git
[1/5201] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.93s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.1 (0.39s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.42s)
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.1
Creating working copy for https://github.com/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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.1
Creating working copy for https://github.com/elementary-swift/elementary.git
Working copy of https://github.com/elementary-swift/elementary.git resolved at 0.6.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/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.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.5.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.119.2
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-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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.91.0
Building for debugging...
[0/852] Write sources
[52/852] Compiling _NumericsShims _NumericsShims.c
[53/852] Compiling _AtomicsShims.c
[54/852] Compiling CXKCPShims shims.c
[55/852] Compiling KeccakSponge.c
[56/852] Compiling _CWASI _CWASI.c
[57/852] Write swift-version-24593BA9C3E375BF.txt
[58/852] Compiling CSystem shims.c
[58/852] Compiling SimpleFIPS202.c
[60/852] Compiling KeccakHash.c
[61/852] Compiling CNIOWindows shim.c
[62/852] Compiling CVaporBcrypt bcrypt.c
[63/852] Compiling CNIOWindows WSAStartup.c
[64/857] Compiling CVaporBcrypt blf.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/866] 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 |
[67/866] Emitting module _CertificateInternals
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/867] 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)
[70/867] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/868] 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 |
[73/868] Compiling RealModule AlgebraicField.swift
[74/868] Compiling _NIOBase64 Base64.swift
/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 |
/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-system/Sources/System/FilePath/FilePathTemp.swift:52:15: error: cannot find 'system_errno' in scope
50 |       return true
51 |     }
52 |     let err = system_errno
   |               `- error: cannot find 'system_errno' in scope
53 |     if err == Errno.fileExists.rawValue {
54 |       return false
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:195:36: error: cannot find type '_system_dirent' in scope
193 | #if os(WASI)
194 | internal let SYSTEM_DT_DIR = _getConst_DT_DIR()
195 | internal typealias system_dirent = _system_dirent
    |                                    `- error: cannot find type '_system_dirent' in scope
196 | #else
197 | internal let SYSTEM_DT_DIR = DT_DIR
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:194:30: error: cannot find '_getConst_DT_DIR' in scope
192 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
193 | #if os(WASI)
194 | internal let SYSTEM_DT_DIR = _getConst_DT_DIR()
    |                              `- error: cannot find '_getConst_DT_DIR' in scope
195 | internal typealias system_dirent = _system_dirent
196 | #else
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Decodable'
 19 | @frozen
 20 | @available(System 0.0.1, *)
 21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CModeT
    |              `- note: cannot automatically synthesize 'Decodable' because 'CModeT' does not conform to 'Decodable'
 25 |
 26 |   /// Create a strongly-typed file permission 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/FilePermissions.swift:21:63: error: 'Codable' is unavailable: unavailable in embedded Swift
 19 | @frozen
 20 | @available(System 0.0.1, *)
 21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
    |                                                               `- error: 'Codable' is unavailable: unavailable in embedded Swift
 22 |   /// The raw C file permissions.
 23 |   @_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/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Hashable'
 19 | @frozen
 20 | @available(System 0.0.1, *)
 21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Hashable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CModeT
    |              `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FilePermissions' to 'Hashable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Encodable'
 19 | @frozen
 20 | @available(System 0.0.1, *)
 21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Encodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CModeT
    |              `- note: cannot automatically synthesize 'Encodable' because 'CModeT' does not conform to 'Encodable'
 25 |
 26 |   /// Create a strongly-typed file permission 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/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'SetAlgebra'
 19 | @frozen
 20 | @available(System 0.0.1, *)
 21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'SetAlgebra'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
Swift.OptionSet.init:2:19: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
  |                   `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 19 | @frozen
 20 | @available(System 0.0.1, *)
 21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Equatable'
 19 | @frozen
 20 | @available(System 0.0.1, *)
 21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
    |               |- error: type 'FilePermissions' does not conform to protocol 'Equatable'
    |               `- note: add stubs for conformance
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CModeT
    |              `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FilePermissions' to 'Equatable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:172:22: note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
170 | }
171 | extension _StrSlice {
172 |   public static func == (lhs: Self, rhs: Self) -> Bool {
    |                      `- note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
173 |     lhs._slice.elementsEqual(rhs._slice)
174 |   }
Swift.==:1:24: note: candidate would match if 'FilePermissions.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FilePermissions' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FilePermissions' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'FilePermissions' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FilePermissions' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'FilePermissions' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FilePermissions' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'FilePermissions' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
  | `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
  |               `- note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
  |               `- note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
  |               `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
  |                `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Decodable'
 19 | @frozen
 20 | @available(System 0.0.1, *)
 21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CModeT
    |              `- note: cannot automatically synthesize 'Decodable' because 'CModeT' does not conform to 'Decodable'
 25 |
 26 |   /// Create a strongly-typed file permission 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/FilePermissions.swift:32:51: error: no exact matches in call to initializer
 30 |   /// Indicates that other users have read-only permission.
 31 |   @_alwaysEmitIntoClient
 32 |   public static var otherRead: FilePermissions { .init(rawValue: 0o4) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                   `- note: found candidate with type '() -> FilePermissions'
 33 |
 34 |   /// Indicates that other users have write-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:36:52: error: no exact matches in call to initializer
 34 |   /// Indicates that other users have write-only permission.
 35 |   @_alwaysEmitIntoClient
 36 |   public static var otherWrite: FilePermissions { .init(rawValue: 0o2) }
    |                                                    |- error: no exact matches in call to initializer
    |                                                    |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                    `- note: found candidate with type '() -> FilePermissions'
 37 |
 38 |   /// Indicates that other users have execute-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:40:54: error: no exact matches in call to initializer
 38 |   /// Indicates that other users have execute-only permission.
 39 |   @_alwaysEmitIntoClient
 40 |   public static var otherExecute: FilePermissions { .init(rawValue: 0o1) }
    |                                                      |- error: no exact matches in call to initializer
    |                                                      |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                      `- note: found candidate with type '() -> FilePermissions'
 41 |
 42 |   /// Indicates that other users have read-write permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:44:56: error: no exact matches in call to initializer
 42 |   /// Indicates that other users have read-write permission.
 43 |   @_alwaysEmitIntoClient
 44 |   public static var otherReadWrite: FilePermissions { .init(rawValue: 0o6) }
    |                                                        |- error: no exact matches in call to initializer
    |                                                        |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                        `- note: found candidate with type '() -> FilePermissions'
 45 |
 46 |   /// Indicates that other users have read-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:48:58: error: no exact matches in call to initializer
 46 |   /// Indicates that other users have read-execute permission.
 47 |   @_alwaysEmitIntoClient
 48 |   public static var otherReadExecute: FilePermissions { .init(rawValue: 0o5) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                          `- note: found candidate with type '() -> FilePermissions'
 49 |
 50 |   /// Indicates that other users have write-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:52:59: error: no exact matches in call to initializer
 50 |   /// Indicates that other users have write-execute permission.
 51 |   @_alwaysEmitIntoClient
 52 |   public static var otherWriteExecute: FilePermissions { .init(rawValue: 0o3) }
    |                                                           |- error: no exact matches in call to initializer
    |                                                           |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                           `- note: found candidate with type '() -> FilePermissions'
 53 |
 54 |   /// Indicates that other users have read, write, and execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:56:63: error: no exact matches in call to initializer
 54 |   /// Indicates that other users have read, write, and execute permission.
 55 |   @_alwaysEmitIntoClient
 56 |   public static var otherReadWriteExecute: FilePermissions { .init(rawValue: 0o7) }
    |                                                               |- error: no exact matches in call to initializer
    |                                                               |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                               `- note: found candidate with type '() -> FilePermissions'
 57 |
 58 |   /// Indicates that the group has read-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:60:51: error: no exact matches in call to initializer
 58 |   /// Indicates that the group has read-only permission.
 59 |   @_alwaysEmitIntoClient
 60 |   public static var groupRead: FilePermissions { .init(rawValue: 0o40) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                   `- note: found candidate with type '() -> FilePermissions'
 61 |
 62 |   /// Indicates that the group has write-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:64:52: error: no exact matches in call to initializer
 62 |   /// Indicates that the group has write-only permission.
 63 |   @_alwaysEmitIntoClient
 64 |   public static var groupWrite: FilePermissions { .init(rawValue: 0o20) }
    |                                                    |- error: no exact matches in call to initializer
    |                                                    |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                    `- note: found candidate with type '() -> FilePermissions'
 65 |
 66 |   /// Indicates that the group has execute-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:68:54: error: no exact matches in call to initializer
 66 |   /// Indicates that the group has execute-only permission.
 67 |   @_alwaysEmitIntoClient
 68 |   public static var groupExecute: FilePermissions { .init(rawValue: 0o10) }
    |                                                      |- error: no exact matches in call to initializer
    |                                                      |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                      `- note: found candidate with type '() -> FilePermissions'
 69 |
 70 |   /// Indicates that the group has read-write permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:72:56: error: no exact matches in call to initializer
 70 |   /// Indicates that the group has read-write permission.
 71 |   @_alwaysEmitIntoClient
 72 |   public static var groupReadWrite: FilePermissions { .init(rawValue: 0o60) }
    |                                                        |- error: no exact matches in call to initializer
    |                                                        |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                        `- note: found candidate with type '() -> FilePermissions'
 73 |
 74 |   /// Indicates that the group has read-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:76:58: error: no exact matches in call to initializer
 74 |   /// Indicates that the group has read-execute permission.
 75 |   @_alwaysEmitIntoClient
 76 |   public static var groupReadExecute: FilePermissions { .init(rawValue: 0o50) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                          `- note: found candidate with type '() -> FilePermissions'
 77 |
 78 |   /// Indicates that the group has write-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:80:59: error: no exact matches in call to initializer
 78 |   /// Indicates that the group has write-execute permission.
 79 |   @_alwaysEmitIntoClient
 80 |   public static var groupWriteExecute: FilePermissions { .init(rawValue: 0o30) }
    |                                                           |- error: no exact matches in call to initializer
    |                                                           |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                           `- note: found candidate with type '() -> FilePermissions'
 81 |
 82 |   /// Indicates that the group has read, write, and execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:84:63: error: no exact matches in call to initializer
 82 |   /// Indicates that the group has read, write, and execute permission.
 83 |   @_alwaysEmitIntoClient
 84 |   public static var groupReadWriteExecute: FilePermissions { .init(rawValue: 0o70) }
    |                                                               |- error: no exact matches in call to initializer
    |                                                               |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                               `- note: found candidate with type '() -> FilePermissions'
 85 |
 86 |   /// Indicates that the owner has read-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:88:51: error: no exact matches in call to initializer
 86 |   /// Indicates that the owner has read-only permission.
 87 |   @_alwaysEmitIntoClient
 88 |   public static var ownerRead: FilePermissions { .init(rawValue: 0o400) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                   `- note: found candidate with type '() -> FilePermissions'
 89 |
 90 |   /// Indicates that the owner has write-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:92:52: error: no exact matches in call to initializer
 90 |   /// Indicates that the owner has write-only permission.
 91 |   @_alwaysEmitIntoClient
 92 |   public static var ownerWrite: FilePermissions { .init(rawValue: 0o200) }
    |                                                    |- error: no exact matches in call to initializer
    |                                                    |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                    `- note: found candidate with type '() -> FilePermissions'
 93 |
 94 |   /// Indicates that the owner has execute-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:96:54: error: no exact matches in call to initializer
 94 |   /// Indicates that the owner has execute-only permission.
 95 |   @_alwaysEmitIntoClient
 96 |   public static var ownerExecute: FilePermissions { .init(rawValue: 0o100) }
    |                                                      |- error: no exact matches in call to initializer
    |                                                      |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                      `- note: found candidate with type '() -> FilePermissions'
 97 |
 98 |   /// Indicates that the owner has read-write permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:100:56: error: no exact matches in call to initializer
 98 |   /// Indicates that the owner has read-write permission.
 99 |   @_alwaysEmitIntoClient
100 |   public static var ownerReadWrite: FilePermissions { .init(rawValue: 0o600) }
    |                                                        |- error: no exact matches in call to initializer
    |                                                        |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                        `- note: found candidate with type '() -> FilePermissions'
101 |
102 |   /// Indicates that the owner has read-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:104:58: error: no exact matches in call to initializer
102 |   /// Indicates that the owner has read-execute permission.
103 |   @_alwaysEmitIntoClient
104 |   public static var ownerReadExecute: FilePermissions { .init(rawValue: 0o500) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                          `- note: found candidate with type '() -> FilePermissions'
105 |
106 |   /// Indicates that the owner has write-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:108:59: error: no exact matches in call to initializer
106 |   /// Indicates that the owner has write-execute permission.
107 |   @_alwaysEmitIntoClient
108 |   public static var ownerWriteExecute: FilePermissions { .init(rawValue: 0o300) }
    |                                                           |- error: no exact matches in call to initializer
    |                                                           |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                           `- note: found candidate with type '() -> FilePermissions'
109 |
110 |   /// Indicates that the owner has read, write, and execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:112:63: error: no exact matches in call to initializer
110 |   /// Indicates that the owner has read, write, and execute permission.
111 |   @_alwaysEmitIntoClient
112 |   public static var ownerReadWriteExecute: FilePermissions { .init(rawValue: 0o700) }
    |                                                               |- error: no exact matches in call to initializer
    |                                                               |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                               `- note: found candidate with type '() -> FilePermissions'
113 |
114 |   /// Indicates that the file is executed as the owner.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:118:51: error: no exact matches in call to initializer
116 |   /// For more information, see the `setuid(2)` man page.
117 |   @_alwaysEmitIntoClient
118 |   public static var setUserID: FilePermissions { .init(rawValue: 0o4000) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                   `- note: found candidate with type '() -> FilePermissions'
119 |
120 |   /// Indicates that the file is executed as the group.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:124:52: error: no exact matches in call to initializer
122 |   /// For more information, see the `setgid(2)` man page.
123 |   @_alwaysEmitIntoClient
124 |   public static var setGroupID: FilePermissions { .init(rawValue: 0o2000) }
    |                                                    |- error: no exact matches in call to initializer
    |                                                    |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                    `- note: found candidate with type '() -> FilePermissions'
125 |
126 |   /// Indicates that executable's text segment
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:132:50: error: no exact matches in call to initializer
130 |   /// discussion of `S_ISVTX` (the sticky bit).
131 |   @_alwaysEmitIntoClient
132 |   public static var saveText: FilePermissions { .init(rawValue: 0o1000) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
    |                                                  `- note: found candidate with type '() -> FilePermissions'
133 | }
134 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:40:29: error: cannot find 'EPERM' in scope
 38 |
 39 | @_alwaysEmitIntoClient
 40 | internal var _EPERM: CInt { EPERM }
    |                             `- error: cannot find 'EPERM' in scope
 41 |
 42 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:43:30: error: cannot find 'ENOENT' in scope
 41 |
 42 | @_alwaysEmitIntoClient
 43 | internal var _ENOENT: CInt { ENOENT }
    |                              `- error: cannot find 'ENOENT' in scope
 44 |
 45 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:46:29: error: cannot find 'ESRCH' in scope
 44 |
 45 | @_alwaysEmitIntoClient
 46 | internal var _ESRCH: CInt { ESRCH }
    |                             `- error: cannot find 'ESRCH' in scope
 47 |
 48 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:49:29: error: cannot find 'EINTR' in scope
 47 |
 48 | @_alwaysEmitIntoClient
 49 | internal var _EINTR: CInt { EINTR }
    |                             `- error: cannot find 'EINTR' in scope
 50 |
 51 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:52:27: error: cannot find 'EIO' in scope
 50 |
 51 | @_alwaysEmitIntoClient
 52 | internal var _EIO: CInt { EIO }
    |                           `- error: cannot find 'EIO' in scope
 53 |
 54 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:55:29: error: cannot find 'ENXIO' in scope
 53 |
 54 | @_alwaysEmitIntoClient
 55 | internal var _ENXIO: CInt { ENXIO }
    |                             `- error: cannot find 'ENXIO' in scope
 56 |
 57 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:58:29: error: cannot find 'E2BIG' in scope
 56 |
 57 | @_alwaysEmitIntoClient
 58 | internal var _E2BIG: CInt { E2BIG }
    |                             `- error: cannot find 'E2BIG' in scope
 59 |
 60 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:61:31: error: cannot find 'ENOEXEC' in scope
 59 |
 60 | @_alwaysEmitIntoClient
 61 | internal var _ENOEXEC: CInt { ENOEXEC }
    |                               `- error: cannot find 'ENOEXEC' in scope
 62 |
 63 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:64:29: error: cannot find 'EBADF' in scope
 62 |
 63 | @_alwaysEmitIntoClient
 64 | internal var _EBADF: CInt { EBADF }
    |                             `- error: cannot find 'EBADF' in scope
 65 |
 66 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:67:30: error: cannot find 'ECHILD' in scope
 65 |
 66 | @_alwaysEmitIntoClient
 67 | internal var _ECHILD: CInt { ECHILD }
    |                              `- error: cannot find 'ECHILD' in scope
 68 |
 69 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:70:31: error: cannot find 'EDEADLK' in scope
 68 |
 69 | @_alwaysEmitIntoClient
 70 | internal var _EDEADLK: CInt { EDEADLK }
    |                               `- error: cannot find 'EDEADLK' in scope
 71 |
 72 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:73:30: error: cannot find 'ENOMEM' in scope
 71 |
 72 | @_alwaysEmitIntoClient
 73 | internal var _ENOMEM: CInt { ENOMEM }
    |                              `- error: cannot find 'ENOMEM' in scope
 74 |
 75 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:76:30: error: cannot find 'EACCES' in scope
 74 |
 75 | @_alwaysEmitIntoClient
 76 | internal var _EACCES: CInt { EACCES }
    |                              `- error: cannot find 'EACCES' in scope
 77 |
 78 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:79:30: error: cannot find 'EFAULT' in scope
 77 |
 78 | @_alwaysEmitIntoClient
 79 | internal var _EFAULT: CInt { EFAULT }
    |                              `- error: cannot find 'EFAULT' in scope
 80 |
 81 | #if !os(Windows) && !os(WASI)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:87:29: error: cannot find 'EBUSY' in scope
 85 |
 86 | @_alwaysEmitIntoClient
 87 | internal var _EBUSY: CInt { EBUSY }
    |                             `- error: cannot find 'EBUSY' in scope
 88 |
 89 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:90:30: error: cannot find 'EEXIST' in scope
 88 |
 89 | @_alwaysEmitIntoClient
 90 | internal var _EEXIST: CInt { EEXIST }
    |                              `- error: cannot find 'EEXIST' in scope
 91 |
 92 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:93:29: error: cannot find 'EXDEV' in scope
 91 |
 92 | @_alwaysEmitIntoClient
 93 | internal var _EXDEV: CInt { EXDEV }
    |                             `- error: cannot find 'EXDEV' in scope
 94 |
 95 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:96:30: error: cannot find 'ENODEV' in scope
 94 |
 95 | @_alwaysEmitIntoClient
 96 | internal var _ENODEV: CInt { ENODEV }
    |                              `- error: cannot find 'ENODEV' in scope
 97 |
 98 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:99:31: error: cannot find 'ENOTDIR' in scope
 97 |
 98 | @_alwaysEmitIntoClient
 99 | internal var _ENOTDIR: CInt { ENOTDIR }
    |                               `- error: cannot find 'ENOTDIR' in scope
100 |
101 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:102:30: error: cannot find 'EISDIR' in scope
100 |
101 | @_alwaysEmitIntoClient
102 | internal var _EISDIR: CInt { EISDIR }
    |                              `- error: cannot find 'EISDIR' in scope
103 |
104 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:105:30: error: cannot find 'EINVAL' in scope
103 |
104 | @_alwaysEmitIntoClient
105 | internal var _EINVAL: CInt { EINVAL }
    |                              `- error: cannot find 'EINVAL' in scope
106 |
107 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:108:30: error: cannot find 'ENFILE' in scope
106 |
107 | @_alwaysEmitIntoClient
108 | internal var _ENFILE: CInt { ENFILE }
    |                              `- error: cannot find 'ENFILE' in scope
109 |
110 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:111:30: error: cannot find 'EMFILE' in scope
109 |
110 | @_alwaysEmitIntoClient
111 | internal var _EMFILE: CInt { EMFILE }
    |                              `- error: cannot find 'EMFILE' in scope
112 |
113 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:115:30: error: cannot find 'ENOTTY' in scope
113 | #if !os(Windows)
114 | @_alwaysEmitIntoClient
115 | internal var _ENOTTY: CInt { ENOTTY }
    |                              `- error: cannot find 'ENOTTY' in scope
116 |
117 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:118:31: error: cannot find 'ETXTBSY' in scope
116 |
117 | @_alwaysEmitIntoClient
118 | internal var _ETXTBSY: CInt { ETXTBSY }
    |                               `- error: cannot find 'ETXTBSY' in scope
119 | #endif
120 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:122:29: error: cannot find 'EFBIG' in scope
120 |
121 | @_alwaysEmitIntoClient
122 | internal var _EFBIG: CInt { EFBIG }
    |                             `- error: cannot find 'EFBIG' in scope
123 |
124 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:125:30: error: cannot find 'ENOSPC' in scope
123 |
124 | @_alwaysEmitIntoClient
125 | internal var _ENOSPC: CInt { ENOSPC }
    |                              `- error: cannot find 'ENOSPC' in scope
126 |
127 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:128:30: error: cannot find 'ESPIPE' in scope
126 |
127 | @_alwaysEmitIntoClient
128 | internal var _ESPIPE: CInt { ESPIPE }
    |                              `- error: cannot find 'ESPIPE' in scope
129 |
130 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:131:29: error: cannot find 'EROFS' in scope
129 |
130 | @_alwaysEmitIntoClient
131 | internal var _EROFS: CInt { EROFS }
    |                             `- error: cannot find 'EROFS' in scope
132 |
133 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:134:30: error: cannot find 'EMLINK' in scope
132 |
133 | @_alwaysEmitIntoClient
134 | internal var _EMLINK: CInt { EMLINK }
    |                              `- error: cannot find 'EMLINK' in scope
135 |
136 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:137:29: error: cannot find 'EPIPE' in scope
135 |
136 | @_alwaysEmitIntoClient
137 | internal var _EPIPE: CInt { EPIPE }
    |                             `- error: cannot find 'EPIPE' in scope
138 |
139 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:140:28: error: cannot find 'EDOM' in scope
138 |
139 | @_alwaysEmitIntoClient
140 | internal var _EDOM: CInt { EDOM }
    |                            `- error: cannot find 'EDOM' in scope
141 |
142 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:143:30: error: cannot find 'ERANGE' in scope
141 |
142 | @_alwaysEmitIntoClient
143 | internal var _ERANGE: CInt { ERANGE }
    |                              `- error: cannot find 'ERANGE' in scope
144 |
145 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:146:30: error: cannot find 'EAGAIN' in scope
144 |
145 | @_alwaysEmitIntoClient
146 | internal var _EAGAIN: CInt { EAGAIN }
    |                              `- error: cannot find 'EAGAIN' in scope
147 |
148 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:151:3: error: cannot find '_getConst_EWOULDBLOCK' in scope
149 | internal var _EWOULDBLOCK: CInt {
150 | #if os(WASI)
151 |   _getConst_EWOULDBLOCK()
    |   `- error: cannot find '_getConst_EWOULDBLOCK' in scope
152 | #else
153 |   EWOULDBLOCK
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:158:35: error: cannot find 'EINPROGRESS' in scope
156 |
157 | @_alwaysEmitIntoClient
158 | internal var _EINPROGRESS: CInt { EINPROGRESS }
    |                                   `- error: cannot find 'EINPROGRESS' in scope
159 |
160 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:161:32: error: cannot find 'EALREADY' in scope
159 |
160 | @_alwaysEmitIntoClient
161 | internal var _EALREADY: CInt { EALREADY }
    |                                `- error: cannot find 'EALREADY' in scope
162 |
163 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:164:32: error: cannot find 'ENOTSOCK' in scope
162 |
163 | @_alwaysEmitIntoClient
164 | internal var _ENOTSOCK: CInt { ENOTSOCK }
    |                                `- error: cannot find 'ENOTSOCK' in scope
165 |
166 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:167:36: error: cannot find 'EDESTADDRREQ' in scope
165 |
166 | @_alwaysEmitIntoClient
167 | internal var _EDESTADDRREQ: CInt { EDESTADDRREQ }
    |                                    `- error: cannot find 'EDESTADDRREQ' in scope
168 |
169 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:170:32: error: cannot find 'EMSGSIZE' in scope
168 |
169 | @_alwaysEmitIntoClient
170 | internal var _EMSGSIZE: CInt { EMSGSIZE }
    |                                `- error: cannot find 'EMSGSIZE' in scope
171 |
172 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:173:34: error: cannot find 'EPROTOTYPE' in scope
171 |
172 | @_alwaysEmitIntoClient
173 | internal var _EPROTOTYPE: CInt { EPROTOTYPE }
    |                                  `- error: cannot find 'EPROTOTYPE' in scope
174 |
175 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:176:35: error: cannot find 'ENOPROTOOPT' in scope
174 |
175 | @_alwaysEmitIntoClient
176 | internal var _ENOPROTOOPT: CInt { ENOPROTOOPT }
    |                                   `- error: cannot find 'ENOPROTOOPT' in scope
177 |
178 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:179:39: error: cannot find 'EPROTONOSUPPORT' in scope
177 |
178 | @_alwaysEmitIntoClient
179 | internal var _EPROTONOSUPPORT: CInt { EPROTONOSUPPORT }
    |                                       `- error: cannot find 'EPROTONOSUPPORT' in scope
180 |
181 | #if !os(WASI)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:197:10: error: cannot find 'ENOTSUP' in scope
195 |   return WSAEOPNOTSUPP
196 | #else
197 |   return ENOTSUP
    |          `- error: cannot find 'ENOTSUP' in scope
198 | #endif
199 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:213:36: error: cannot find 'EAFNOSUPPORT' in scope
211 |
212 | @_alwaysEmitIntoClient
213 | internal var _EAFNOSUPPORT: CInt { EAFNOSUPPORT }
    |                                    `- error: cannot find 'EAFNOSUPPORT' in scope
214 |
215 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:216:34: error: cannot find 'EADDRINUSE' in scope
214 |
215 | @_alwaysEmitIntoClient
216 | internal var _EADDRINUSE: CInt { EADDRINUSE }
    |                                  `- error: cannot find 'EADDRINUSE' in scope
217 |
218 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:219:37: error: cannot find 'EADDRNOTAVAIL' in scope
217 |
218 | @_alwaysEmitIntoClient
219 | internal var _EADDRNOTAVAIL: CInt { EADDRNOTAVAIL }
    |                                     `- error: cannot find 'EADDRNOTAVAIL' in scope
220 |
221 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:222:32: error: cannot find 'ENETDOWN' in scope
220 |
221 | @_alwaysEmitIntoClient
222 | internal var _ENETDOWN: CInt { ENETDOWN }
    |                                `- error: cannot find 'ENETDOWN' in scope
223 |
224 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:225:35: error: cannot find 'ENETUNREACH' in scope
223 |
224 | @_alwaysEmitIntoClient
225 | internal var _ENETUNREACH: CInt { ENETUNREACH }
    |                                   `- error: cannot find 'ENETUNREACH' in scope
226 |
227 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:228:33: error: cannot find 'ENETRESET' in scope
226 |
227 | @_alwaysEmitIntoClient
228 | internal var _ENETRESET: CInt { ENETRESET }
    |                                 `- error: cannot find 'ENETRESET' in scope
229 |
230 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:231:36: error: cannot find 'ECONNABORTED' in scope
229 |
230 | @_alwaysEmitIntoClient
231 | internal var _ECONNABORTED: CInt { ECONNABORTED }
    |                                    `- error: cannot find 'ECONNABORTED' in scope
232 |
233 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:234:34: error: cannot find 'ECONNRESET' in scope
232 |
233 | @_alwaysEmitIntoClient
234 | internal var _ECONNRESET: CInt { ECONNRESET }
    |                                  `- error: cannot find 'ECONNRESET' in scope
235 |
236 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:237:31: error: cannot find 'ENOBUFS' in scope
235 |
236 | @_alwaysEmitIntoClient
237 | internal var _ENOBUFS: CInt { ENOBUFS }
    |                               `- error: cannot find 'ENOBUFS' in scope
238 |
239 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:240:31: error: cannot find 'EISCONN' in scope
238 |
239 | @_alwaysEmitIntoClient
240 | internal var _EISCONN: CInt { EISCONN }
    |                               `- error: cannot find 'EISCONN' in scope
241 |
242 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:243:32: error: cannot find 'ENOTCONN' in scope
241 |
242 | @_alwaysEmitIntoClient
243 | internal var _ENOTCONN: CInt { ENOTCONN }
    |                                `- error: cannot find 'ENOTCONN' in scope
244 |
245 | #if !os(WASI)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:266:33: error: cannot find 'ETIMEDOUT' in scope
264 |
265 | @_alwaysEmitIntoClient
266 | internal var _ETIMEDOUT: CInt { ETIMEDOUT }
    |                                 `- error: cannot find 'ETIMEDOUT' in scope
267 |
268 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:269:36: error: cannot find 'ECONNREFUSED' in scope
267 |
268 | @_alwaysEmitIntoClient
269 | internal var _ECONNREFUSED: CInt { ECONNREFUSED }
    |                                    `- error: cannot find 'ECONNREFUSED' in scope
270 |
271 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:272:29: error: cannot find 'ELOOP' in scope
270 |
271 | @_alwaysEmitIntoClient
272 | internal var _ELOOP: CInt { ELOOP }
    |                             `- error: cannot find 'ELOOP' in scope
273 |
274 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:275:36: error: cannot find 'ENAMETOOLONG' in scope
273 |
274 | @_alwaysEmitIntoClient
275 | internal var _ENAMETOOLONG: CInt { ENAMETOOLONG }
    |                                    `- error: cannot find 'ENAMETOOLONG' in scope
276 |
277 | #if !os(WASI)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:289:36: error: cannot find 'EHOSTUNREACH' in scope
287 |
288 | @_alwaysEmitIntoClient
289 | internal var _EHOSTUNREACH: CInt { EHOSTUNREACH }
    |                                    `- error: cannot find 'EHOSTUNREACH' in scope
290 |
291 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:292:33: error: cannot find 'ENOTEMPTY' in scope
290 |
291 | @_alwaysEmitIntoClient
292 | internal var _ENOTEMPTY: CInt { ENOTEMPTY }
    |                                 `- error: cannot find 'ENOTEMPTY' in scope
293 |
294 | #if SYSTEM_PACKAGE_DARWIN
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:315:10: error: cannot find 'EDQUOT' in scope
313 |   return WSAEDQUOT
314 | #else
315 |   return EDQUOT
    |          `- error: cannot find 'EDQUOT' in scope
316 | #endif
317 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:324:10: error: cannot find 'ESTALE' in scope
322 |   return WSAESTALE
323 | #else
324 |   return ESTALE
    |          `- error: cannot find 'ESTALE' in scope
325 | #endif
326 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:357:30: error: cannot find 'ENOLCK' in scope
355 |
356 | @_alwaysEmitIntoClient
357 | internal var _ENOLCK: CInt { ENOLCK }
    |                              `- error: cannot find 'ENOLCK' in scope
358 |
359 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:360:30: error: cannot find 'ENOSYS' in scope
358 |
359 | @_alwaysEmitIntoClient
360 | internal var _ENOSYS: CInt { ENOSYS }
    |                              `- error: cannot find 'ENOSYS' in scope
361 |
362 | #if SYSTEM_PACKAGE_DARWIN || os(FreeBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:383:33: error: cannot find 'EOVERFLOW' in scope
381 | #if !os(Windows)
382 | @_alwaysEmitIntoClient
383 | internal var _EOVERFLOW: CInt { EOVERFLOW }
    |                                 `- error: cannot find 'EOVERFLOW' in scope
384 | #endif
385 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:401:33: error: cannot find 'ECANCELED' in scope
399 |
400 | @_alwaysEmitIntoClient
401 | internal var _ECANCELED: CInt { ECANCELED }
    |                                 `- error: cannot find 'ECANCELED' in scope
402 |
403 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:405:29: error: cannot find 'EIDRM' in scope
403 | #if !os(Windows)
404 | @_alwaysEmitIntoClient
405 | internal var _EIDRM: CInt { EIDRM }
    |                             `- error: cannot find 'EIDRM' in scope
406 |
407 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:408:30: error: cannot find 'ENOMSG' in scope
406 |
407 | @_alwaysEmitIntoClient
408 | internal var _ENOMSG: CInt { ENOMSG }
    |                              `- error: cannot find 'ENOMSG' in scope
409 | #endif
410 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:412:30: error: cannot find 'EILSEQ' in scope
410 |
411 | @_alwaysEmitIntoClient
412 | internal var _EILSEQ: CInt { EILSEQ }
    |                              `- error: cannot find 'EILSEQ' in scope
413 |
414 | #if SYSTEM_PACKAGE_DARWIN || os(FreeBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:421:31: error: cannot find 'EBADMSG' in scope
419 | #if !os(Windows)
420 | @_alwaysEmitIntoClient
421 | internal var _EBADMSG: CInt { EBADMSG }
    |                               `- error: cannot find 'EBADMSG' in scope
422 |
423 | #if !os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:425:33: error: cannot find 'EMULTIHOP' in scope
423 | #if !os(OpenBSD)
424 | @_alwaysEmitIntoClient
425 | internal var _EMULTIHOP: CInt { EMULTIHOP }
    |                                 `- error: cannot find 'EMULTIHOP' in scope
426 |
427 | #if !os(WASI) && !os(FreeBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:433:31: error: cannot find 'ENOLINK' in scope
431 |
432 | @_alwaysEmitIntoClient
433 | internal var _ENOLINK: CInt { ENOLINK }
    |                               `- error: cannot find 'ENOLINK' in scope
434 |
435 | #if !os(WASI) && !os(FreeBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:445:30: error: cannot find 'EPROTO' in scope
443 |
444 | @_alwaysEmitIntoClient
445 | internal var _EPROTO: CInt { EPROTO }
    |                              `- error: cannot find 'EPROTO' in scope
446 |
447 | #if !os(OpenBSD) && !os(WASI) && !os(FreeBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:457:3: error: cannot find '_getConst_EOPNOTSUPP' in scope
455 | internal var _EOPNOTSUPP: CInt {
456 | #if os(WASI)
457 |   _getConst_EOPNOTSUPP()
    |   `- error: cannot find '_getConst_EOPNOTSUPP' in scope
458 | #else
459 |   EOPNOTSUPP
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:470:39: error: cannot find 'ENOTRECOVERABLE' in scope
468 | #if !os(Windows)
469 | @_alwaysEmitIntoClient
470 | internal var _ENOTRECOVERABLE: CInt { ENOTRECOVERABLE }
    |                                       `- error: cannot find 'ENOTRECOVERABLE' in scope
471 |
472 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:473:34: error: cannot find 'EOWNERDEAD' in scope
471 |
472 | @_alwaysEmitIntoClient
473 | internal var _EOWNERDEAD: CInt { EOWNERDEAD }
    |                                  `- error: cannot find 'EOWNERDEAD' in scope
474 | #endif
475 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:500:32: error: cannot find 'O_RDONLY' in scope
498 |
499 | @_alwaysEmitIntoClient
500 | internal var _O_RDONLY: CInt { O_RDONLY }
    |                                `- error: cannot find 'O_RDONLY' in scope
501 |
502 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:503:32: error: cannot find 'O_WRONLY' in scope
501 |
502 | @_alwaysEmitIntoClient
503 | internal var _O_WRONLY: CInt { O_WRONLY }
    |                                `- error: cannot find 'O_WRONLY' in scope
504 |
505 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:506:30: error: cannot find 'O_RDWR' in scope
504 |
505 | @_alwaysEmitIntoClient
506 | internal var _O_RDWR: CInt { O_RDWR }
    |                              `- error: cannot find 'O_RDWR' in scope
507 |
508 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:516:3: error: cannot find '_getConst_O_ACCMODE' in scope
514 | internal var _O_ACCMODE: CInt {
515 | #if os(WASI)
516 |   _getConst_O_ACCMODE()
    |   `- error: cannot find '_getConst_O_ACCMODE' in scope
517 | #else
518 |   O_ACCMODE
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:526:3: error: cannot find '_getConst_O_NONBLOCK' in scope
524 | internal var _O_NONBLOCK: CInt {
525 | #if os(WASI)
526 |   _getConst_O_NONBLOCK()
    |   `- error: cannot find '_getConst_O_NONBLOCK' in scope
527 | #else
528 |   O_NONBLOCK
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:536:3: error: cannot find '_getConst_O_APPEND' in scope
534 | internal var _O_APPEND: CInt {
535 | #if os(WASI)
536 |   _getConst_O_APPEND()
    |   `- error: cannot find '_getConst_O_APPEND' in scope
537 | #else
538 |   O_APPEND
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:558:34: error: cannot find 'O_NOFOLLOW' in scope
556 |
557 | @_alwaysEmitIntoClient
558 | internal var _O_NOFOLLOW: CInt { O_NOFOLLOW }
    |                                  `- error: cannot find 'O_NOFOLLOW' in scope
559 | #endif
560 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:572:3: error: cannot find '_getConst_O_CREAT' in scope
570 | internal var _O_CREAT: CInt {
571 | #if os(WASI)
572 |   _getConst_O_CREAT()
    |   `- error: cannot find '_getConst_O_CREAT' in scope
573 | #else
574 |   O_CREAT
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:581:3: error: cannot find '_getConst_O_TRUNC' in scope
579 | internal var _O_TRUNC: CInt {
580 | #if os(WASI)
581 |   _getConst_O_TRUNC()
    |   `- error: cannot find '_getConst_O_TRUNC' in scope
582 | #else
583 |   O_TRUNC
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:590:3: error: cannot find '_getConst_O_EXCL' in scope
588 | internal var _O_EXCL: CInt {
589 | #if os(WASI)
590 |   _getConst_O_EXCL()
    |   `- error: cannot find '_getConst_O_EXCL' in scope
591 | #else
592 |   O_EXCL
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:604:32: error: cannot find 'O_NOCTTY' in scope
602 | // TODO: API?
603 | @_alwaysEmitIntoClient
604 | internal var _O_NOCTTY: CInt { O_NOCTTY }
    |                                `- error: cannot find 'O_NOCTTY' in scope
605 |
606 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:609:3: error: cannot find '_getConst_O_DIRECTORY' in scope
607 | internal var _O_DIRECTORY: CInt {
608 | #if os(WASI)
609 |   _getConst_O_DIRECTORY()
    |   `- error: cannot find '_getConst_O_DIRECTORY' in scope
610 | #else
611 |   O_DIRECTORY
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:623:33: error: cannot find 'O_CLOEXEC' in scope
621 | #if !os(Windows)
622 | @_alwaysEmitIntoClient
623 | internal var _O_CLOEXEC: CInt { O_CLOEXEC }
    |                                 `- error: cannot find 'O_CLOEXEC' in scope
624 | #endif
625 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:627:32: error: cannot find 'SEEK_SET' in scope
625 |
626 | @_alwaysEmitIntoClient
627 | internal var _SEEK_SET: CInt { SEEK_SET }
    |                                `- error: cannot find 'SEEK_SET' in scope
628 |
629 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:630:32: error: cannot find 'SEEK_CUR' in scope
628 |
629 | @_alwaysEmitIntoClient
630 | internal var _SEEK_CUR: CInt { SEEK_CUR }
    |                                `- error: cannot find 'SEEK_CUR' in scope
631 |
632 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:633:32: error: cannot find 'SEEK_END' in scope
631 |
632 | @_alwaysEmitIntoClient
633 | internal var _SEEK_END: CInt { SEEK_END }
    |                                `- error: cannot find 'SEEK_END' in scope
634 |
635 | #if SYSTEM_PACKAGE_DARWIN || os(FreeBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:83:3: error: cannot find 'strerror' in scope
 81 |
 82 | internal func system_strerror(_ __errnum: Int32) -> UnsafeMutablePointer<Int8>! {
 83 |   strerror(__errnum)
    |   `- error: cannot find 'strerror' in scope
 84 | }
 85 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:87:3: error: cannot find 'strlen' in scope
 85 |
 86 | internal func system_strlen(_ s: UnsafePointer<CChar>) -> Int {
 87 |   strlen(s)
    |   `- error: cannot find 'strlen' in scope
 88 | }
 89 | internal func system_strlen(_ s: UnsafeMutablePointer<CChar>) -> Int {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:90:3: error: cannot find 'strlen' in scope
 88 | }
 89 | internal func system_strlen(_ s: UnsafeMutablePointer<CChar>) -> Int {
 90 |   strlen(s)
    |   `- error: cannot find 'strlen' in scope
 91 | }
 92 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:103:10: error: cannot find 'strlen' in scope
101 |   return wcslen(s)
102 |   #else
103 |   return strlen(s)
    |          `- error: cannot find 'strlen' in scope
104 |   #endif
105 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:114:3: error: cannot find 'memset' in scope
112 | ) {
113 |   guard buffer.count > 0 else { return }
114 |   memset(buffer.baseAddress!, CInt(byte), buffer.count)
    |   `- error: cannot find 'memset' in scope
115 | }
116 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:25:30: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 23 |
 24 |     internal var name: String
 25 |     internal var arguments: [AnyHashable]
    |                              `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 26 |
 27 |     internal init(name: String, _ arguments: [AnyHashable]) {
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:27:47: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 25 |     internal var arguments: [AnyHashable]
 26 |
 27 |     internal init(name: String, _ arguments: [AnyHashable]) {
    |                                               `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 28 |       self.name = name
 29 |       self.arguments = arguments
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:151:12: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
149 |   name: String,
150 |   path: UnsafePointer<CInterop.PlatformChar>?,
151 |   _ args: [AnyHashable]
    |            `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
152 | ) -> CInt {
153 |   precondition(mockingEnabled)
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:181:88: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
179 |
180 | internal func _mock(
181 |   name: String = #function, path: UnsafePointer<CInterop.PlatformChar>? = nil, _ args: AnyHashable...
    |                                                                                        `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
182 | ) -> CInt {
183 |   return mockImpl(name: name, path: path, args)
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:186:88: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
184 | }
185 | internal func _mockInt(
186 |   name: String = #function, path: UnsafePointer<CInterop.PlatformChar>? = nil, _ args: AnyHashable...
    |                                                                                        `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
187 | ) -> Int {
188 |   Int(mockImpl(name: name, path: path, args))
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:192:88: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
190 |
191 | internal func _mockOffT(
192 |   name: String = #function, path: UnsafePointer<CInterop.PlatformChar>? = nil, _ args: AnyHashable...
    |                                                                                        `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
193 | ) -> _COffT {
194 |   _COffT(mockImpl(name: name, path: path, args))
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:158:23: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
156 |     fatalError("Mocking requested from non-mocking context")
157 |   }
158 |   var mockArgs: Array<AnyHashable> = []
    |                       `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
159 |   if let p = path {
160 |     mockArgs.append(String(_errorCorrectingPlatformString: p))
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:168:5: error: cannot find 'system_errno' in scope
166 |   case .none: break
167 |   case .always(let e):
168 |     system_errno = e
    |     `- error: cannot find 'system_errno' in scope
169 |     return -1
170 |   case .counted(let e, let count):
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:172:5: error: cannot find 'system_errno' in scope
170 |   case .counted(let e, let count):
171 |     assert(count >= 1)
172 |     system_errno = e
    |     `- error: cannot find 'system_errno' in scope
173 |     driver.forceErrno = count > 1 ? .counted(errno: e, count: count-1) : .none
174 |     return -1
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:37: error: cannot find 'AT_REMOVEDIR' in scope
190 |
191 | #if !os(Windows)
192 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
    |                                     `- error: cannot find 'AT_REMOVEDIR' in scope
193 | #if os(WASI)
194 | internal let SYSTEM_DT_DIR = _getConst_DT_DIR()
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:39:10: error: cannot find 'open' in scope
 37 |   }
 38 | #endif
 39 |   return open(path, oflag)
    |          `- error: cannot find 'open' in scope
 40 | }
 41 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:51:10: error: cannot find 'open' in scope
 49 |   }
 50 | #endif
 51 |   return open(path, oflag, mode)
    |          `- error: cannot find 'open' in scope
 52 | }
 53 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:59:10: error: cannot find 'close' in scope
 57 |   if mockingEnabled { return _mock(fd) }
 58 | #endif
 59 |   return close(fd)
    |          `- error: cannot find 'close' in scope
 60 | }
 61 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:69:10: error: cannot find 'read' in scope
 67 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
 68 | #endif
 69 |   return read(fd, buf, nbyte)
    |          `- error: cannot find 'read' in scope
 70 | }
 71 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:86:10: error: cannot find 'pread' in scope
 84 |   }
 85 | #else
 86 |   return pread(fd, buf, nbyte, offset)
    |          `- error: cannot find 'pread' in scope
 87 | #endif
 88 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:107:10: error: cannot find 'write' in scope
105 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
106 | #endif
107 |   return write(fd, buf, nbyte)
    |          `- error: cannot find 'write' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:124:10: error: cannot find 'pwrite' in scope
122 |   }
123 | #else
124 |   return pwrite(fd, buf, nbyte, offset)
    |          `- error: cannot find 'pwrite' in scope
125 | #endif
126 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:157:10: error: cannot find 'ftruncate' in scope
155 |   if mockingEnabled { return _mock(fd, length) }
156 | #endif
157 |   return ftruncate(fd, length)
    |          `- error: cannot find 'ftruncate' in scope
158 | }
159 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:167:10: error: cannot find 'mkdir' in scope
165 |   if mockingEnabled { return _mock(path: path, mode) }
166 | #endif
167 |   return mkdir(path, mode)
    |          `- error: cannot find 'mkdir' in scope
168 | }
169 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:176:10: error: cannot find 'rmdir' in scope
174 |   if mockingEnabled { return _mock(path: path) }
175 | #endif
176 |   return rmdir(path)
    |          `- error: cannot find 'rmdir' in scope
177 | }
178 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:214:8: error: cannot find 'unlinkat' in scope
212 |   if mockingEnabled { return _mock(fd, path, flag) }
213 | #endif
214 | return unlinkat(fd, path, flag)
    |        `- error: cannot find 'unlinkat' in scope
215 | }
216 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:220:10: error: cannot find 'fdopendir' in scope
218 |   _ fd: CInt
219 | ) -> system_DIRPtr? {
220 |   return fdopendir(fd)
    |          `- error: cannot find 'fdopendir' in scope
221 | }
222 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:236:10: error: cannot find 'rewinddir' in scope
234 |   _ dir: system_DIRPtr
235 | ) {
236 |   return rewinddir(dir)
    |          `- error: cannot find 'rewinddir' in scope
237 | }
238 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:242:10: error: cannot find 'closedir' in scope
240 |   _ dir: system_DIRPtr
241 | ) -> CInt {
242 |   return closedir(dir)
    |          `- error: cannot find 'closedir' in scope
243 | }
244 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:255:10: error: cannot find 'openat' in scope
253 |   }
254 | #endif
255 |   return openat(fd, path, oflag)
    |          `- error: cannot find 'openat' in scope
256 | }
257 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:270:10: error: cannot find 'getenv' in scope
268 |   _ name: UnsafePointer<CChar>
269 | ) -> UnsafeMutablePointer<CChar>? {
270 |   return getenv(name)
    |          `- error: cannot find 'getenv' in scope
271 | }
272 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/SystemString.swift:12:53: error: 'Codable' is unavailable: unavailable in embedded Swift
 10 | // A platform-native character representation, currently used for file paths
 11 | internal struct SystemChar:
 12 |   RawRepresentable, Sendable, Comparable, Hashable, Codable {
    |                                                     `- error: 'Codable' is unavailable: unavailable in embedded Swift
 13 |   internal typealias RawValue = CInterop.PlatformChar
 14 |
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/SystemString.swift:11:17: error: type 'SystemChar' does not conform to protocol 'Encodable'
  9 |
 10 | // A platform-native character representation, currently used for file paths
 11 | internal struct SystemChar:
    |                 `- error: type 'SystemChar' does not conform to protocol 'Encodable'
 12 |   RawRepresentable, Sendable, Comparable, Hashable, Codable {
 13 |   internal typealias RawValue = CInterop.PlatformChar
 14 |
 15 |   internal var rawValue: RawValue
    |                `- note: cannot automatically synthesize 'Encodable' because 'RawValue' does not conform to 'Encodable'
 16 |
 17 |   internal init(rawValue: RawValue) { self.rawValue = rawValue }
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:182:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
180 |   // Decoder is written explicitly to ensure that we validate invariants on
181 |   // untrusted input.
182 |   public init(from decoder: any Decoder) throws {
    |                                 `- error: 'Decoder' is unavailable: unavailable in embedded Swift
183 |     let container = try decoder.container(keyedBy: CodingKeys.self)
184 |     self.nullTerminatedStorage = try container.decode(
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/SystemString.swift:176:1: error: type 'SystemString' does not conform to protocol 'Encodable'
 65 | internal struct SystemString: Sendable {
 66 |   internal typealias Storage = [SystemChar]
 67 |   internal var nullTerminatedStorage: Storage
    |                `- note: cannot automatically synthesize 'Encodable' because 'Storage' does not conform to 'Encodable'
 68 | }
 69 |
    :
174 | }
175 |
176 | extension SystemString: Hashable, Codable {
    | `- error: type 'SystemString' does not conform to protocol 'Encodable'
177 |   // Encoder is synthesized; it probably should have been explicit and used
178 |   // a single-value container, but making that change now is somewhat risky.
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:176:35: error: 'Codable' is unavailable: unavailable in embedded Swift
174 | }
175 |
176 | extension SystemString: Hashable, Codable {
    |                                   `- error: 'Codable' is unavailable: unavailable in embedded Swift
177 |   // Encoder is synthesized; it probably should have been explicit and used
178 |   // 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/SystemString.swift:184:48: error: value of type 'KeyedDecodingContainer<SystemString.CodingKeys>' has no member 'decode'
182 |   public init(from decoder: any Decoder) throws {
183 |     let container = try decoder.container(keyedBy: CodingKeys.self)
184 |     self.nullTerminatedStorage = try container.decode(
    |                                                `- error: value of type 'KeyedDecodingContainer<SystemString.CodingKeys>' has no member 'decode'
185 |       Storage.self, forKey: .nullTerminatedStorage
186 |     )
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/SystemString.swift:185:30: error: cannot infer contextual base in reference to member 'nullTerminatedStorage'
183 |     let container = try decoder.container(keyedBy: CodingKeys.self)
184 |     self.nullTerminatedStorage = try container.decode(
185 |       Storage.self, forKey: .nullTerminatedStorage
    |                              `- error: cannot infer contextual base in reference to member 'nullTerminatedStorage'
186 |     )
187 |     guard _invariantsSatisfied() else {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/SystemString.swift:188:27: error: type 'DecodingError' has no member 'dataCorruptedError'
186 |     )
187 |     guard _invariantsSatisfied() else {
188 |       throw DecodingError.dataCorruptedError(
    |                           `- error: type 'DecodingError' has no member 'dataCorruptedError'
189 |         forKey: .nullTerminatedStorage,
190 |         in: container,
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/SystemString.swift:189:18: error: cannot infer contextual base in reference to member 'nullTerminatedStorage'
187 |     guard _invariantsSatisfied() else {
188 |       throw DecodingError.dataCorruptedError(
189 |         forKey: .nullTerminatedStorage,
    |                  `- error: cannot infer contextual base in reference to member 'nullTerminatedStorage'
190 |         in: container,
191 |         debugDescription:
/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-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 |
[74/868] Compiling KeccakP-1600-opt64.c
/host/spi-builder-workspace/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift:44:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
 42 |
 43 |     @inlinable
 44 |     public init(stringLiteral value: StringLiteralType) {
    |                                      `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
 45 |         self.bytes = ArraySlice(value.utf8)
 46 |     }
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
  |                  `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift:97:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
 95 |
 96 |     @inlinable
 97 |     public init(stringLiteral value: StringLiteralType) {
    |                                      `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
 98 |         self.bytes = ArraySlice(value.utf8)
 99 |     }
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
  |                  `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift:161:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
159 |
160 |     @inlinable
161 |     public init(stringLiteral value: StringLiteralType) {
    |                                      `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
162 |         self.bytes = ArraySlice(value.utf8)
163 |         precondition(Self._isValid(self.bytes))
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
  |                  `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift:239:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
237 |
238 |     @inlinable
239 |     public init(stringLiteral value: StringLiteralType) {
    |                                      `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
240 |         self.bytes = ArraySlice(value.utf8)
241 |     }
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
  |                  `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift:286:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
284 |
285 |     @inlinable
286 |     public init(stringLiteral value: StringLiteralType) {
    |                                      `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
287 |         guard
288 |             value.utf16.allSatisfy({ codeUnit in
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
  |                  `- note: 'StringLiteralType' has been explicitly marked unavailable here
BUILD FAILURE 6.2 wasm