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 SwiftOCA, reference 0.5.0 (4e4ffb), with Swift 6.2 for Wasm on 2 Oct 2025 12:53:57 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/SwiftOCA.git
Reference: 0.5.0
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/PADL/SwiftOCA
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 4e4ffb5 make sendMessages, rather than sendMessage, mandatory to implement
Cloned https://github.com/PADL/SwiftOCA.git
Revision (git rev-parse @):
4e4ffb5203f2a0a52a8ff3a01070a1649af71981
SUCCESS checkout https://github.com/PADL/SwiftOCA.git at 0.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PADL/SwiftOCA.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/PADL/IORingSwift
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/apple/swift-system
[1/682] Fetching asyncextensions
[158/3098] Fetching asyncextensions, ioringswift
[1421/3880] Fetching asyncextensions, ioringswift, anycodable
[3881/8902] Fetching asyncextensions, ioringswift, anycodable, swift-system
Fetching https://github.com/apple/swift-log
Fetched https://github.com/Flight-School/AnyCodable from cache (0.56s)
[4856/8120] Fetching asyncextensions, ioringswift, swift-system
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/PADL/SocketAddress
Fetched https://github.com/PADL/IORingSwift from cache (0.92s)
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.92s)
Fetched https://github.com/apple/swift-system from cache (0.92s)
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/apple/swift-atomics
[1/3910] Fetching swift-log
[432/9382] Fetching swift-log, swift-async-algorithms
[1777/9516] Fetching swift-log, swift-async-algorithms, socketaddress
Fetched https://github.com/PADL/SocketAddress from cache (0.50s)
[6467/9382] Fetching swift-log, swift-async-algorithms
[9383/11196] Fetching swift-log, swift-async-algorithms, swift-atomics
[9384/12753] Fetching swift-log, swift-async-algorithms, swift-atomics, gzipswift
Fetched https://github.com/apple/swift-async-algorithms from cache (0.99s)
Fetched https://github.com/apple/swift-log from cache (1.02s)
[3118/3371] Fetching swift-atomics, gzipswift
Fetched https://github.com/1024jp/GzipSwift from cache (0.66s)
[1814/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics from cache (1.89s)
Computing version for https://github.com/1024jp/GzipSwift
warning: 'gzipswift': /Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "GzipSwift",
 7 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/1024jp/GzipSwift at 6.1.0 (4.00s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (1.16s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.65s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (0.59s)
Fetching https://github.com/apple/swift-collections.git
[1/18044] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.88s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (2.38s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (0.56s)
Computing version for https://github.com/PADL/IORingSwift
Computed https://github.com/PADL/IORingSwift at 0.3.1 (3.39s)
Fetching https://github.com/dfed/swift-async-queue
[1/1416] Fetching swift-async-queue
Fetched https://github.com/dfed/swift-async-queue from cache (0.35s)
Computing version for https://github.com/PADL/SocketAddress
Computed https://github.com/PADL/SocketAddress at 0.1.1 (0.75s)
Computing version for https://github.com/dfed/swift-async-queue
Computed https://github.com/dfed/swift-async-queue at 0.7.1 (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.74s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.48s)
Creating working copy for https://github.com/PADL/SocketAddress
Working copy of https://github.com/PADL/SocketAddress resolved at 0.1.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-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.2
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/PADL/IORingSwift
Working copy of https://github.com/PADL/IORingSwift resolved at 0.3.1
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.1.0
Creating working copy for https://github.com/dfed/swift-async-queue
Working copy of https://github.com/dfed/swift-async-queue resolved at 0.7.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
warning: 'gzipswift': /host/spi-builder-workspace/.build/checkouts/GzipSwift/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "GzipSwift",
 7 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[0/48] Write sources
[20/48] Compiling CSystem shims.c
[21/48] Compiling _AtomicsShims.c
[22/48] Compiling system-zlib anchor.c
[23/48] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/60] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:29:15: error: no such module 'Foundation'
 27 |  */
 28 |
 29 | import struct Foundation.Data
    |               `- error: no such module 'Foundation'
 30 |
 31 | #if os(Linux)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/60] Emitting module AnyCodable
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | /**
  3 |  A type-erased `Codable` value.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/60] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
 40 | import Musl
 41 | #else
 42 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 43 | #endif
 44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:32:8: error: Unsupported runtime
  30 | import WASILibc
  31 | #else
  32 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  33 | #endif
  34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 |         let systemStderr = WASILibc.stderr!
1269 |         #else
1270 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 |         let systemStdout = WASILibc.stdout!
1289 |         #else
1290 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
 26 | import WASILibc
 27 | #else
 28 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
 56 |         UnsafeMutablePointer.allocate(capacity: 1)
 57 |     #else
 58 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 59 |         UnsafeMutablePointer.allocate(capacity: 1)
 60 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 |     fileprivate var shared: Bool = true
160 |     #else
161 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
162 |         UnsafeMutablePointer.allocate(capacity: 1)
163 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
 67 |         InitializeSRWLock(self.mutex)
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 74 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 75 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
 83 |         self.mutex.deallocate()
 84 |         #else
 85 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 86 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 87 |         self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
 99 |         AcquireSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 |         ReleaseSRWLockExclusive(self.mutex)
115 |         #else
116 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
117 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 |         self.rwlock.deallocate()
183 |         #else
184 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
185 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 |         self.shared = true
200 |         #else
201 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 |         self.shared = false
216 |         #else
217 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 |         }
236 |         #else
237 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
238 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 845 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 846 |     /// `.critical` being the most severe.
 847 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 848 |         /// Appropriate for messages that contain information normally of use only when
 849 |         /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
     |                                                        `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 |         #error("Unsupported runtime")
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                        `- error: cannot find 'systemStderr' in scope
1273 |     }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 |         #error("Unsupported runtime")
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1273 |     }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 |         #error("Unsupported runtime")
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                        `- error: cannot find 'systemStdout' in scope
1293 |     }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 |         #error("Unsupported runtime")
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1293 |     }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 |             // no file locking on WASI
1225 |             #else
1226 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1227 |             #endif
1228 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 |                 #endif
1236 |             }
1237 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1238 |             if case .always = self.flushMode {
1239 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 |     /// Flush the underlying stream.
1245 |     internal func flush() {
1246 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1247 |     }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 |         #else
1447 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1448 |         guard let localTime = localtime(&timestamp) else {
1449 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 |         #else
1447 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1448 |         guard let localTime = localtime(&timestamp) else {
1449 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 |         #else
1447 |         var timestamp = time(nil)
1448 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1449 |             return "<unknown>"
1450 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 |             return "<unknown>"
1450 |         }
1451 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1452 |         #endif
1453 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 |         switch self {
1547 |         case .dictionary(let dict):
1548 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1549 |         case .array(let list):
1550 |             return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1550:48: error: 'description' is unavailable: unavailable in embedded Swift
1548 |             return dict.mapValues { $0.description }.description
1549 |         case .array(let list):
1550 |             return list.map { $0.description }.description
     |                                                `- error: 'description' is unavailable: unavailable in embedded Swift
1551 |         case .string(let str):
1552 |             return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
[28/60] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:29:15: error: no such module 'Foundation'
 27 |  */
 28 |
 29 | import struct Foundation.Data
    |               `- error: no such module 'Foundation'
 30 |
 31 | #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
 40 | import Musl
 41 | #else
 42 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 43 | #endif
 44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:32:8: error: Unsupported runtime
  30 | import WASILibc
  31 | #else
  32 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  33 | #endif
  34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 |         let systemStderr = WASILibc.stderr!
1269 |         #else
1270 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 |         let systemStdout = WASILibc.stdout!
1289 |         #else
1290 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
 26 | import WASILibc
 27 | #else
 28 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
 56 |         UnsafeMutablePointer.allocate(capacity: 1)
 57 |     #else
 58 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 59 |         UnsafeMutablePointer.allocate(capacity: 1)
 60 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 |     fileprivate var shared: Bool = true
160 |     #else
161 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
162 |         UnsafeMutablePointer.allocate(capacity: 1)
163 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
 67 |         InitializeSRWLock(self.mutex)
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 74 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 75 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
 83 |         self.mutex.deallocate()
 84 |         #else
 85 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 86 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 87 |         self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
 99 |         AcquireSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 |         ReleaseSRWLockExclusive(self.mutex)
115 |         #else
116 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
117 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 |         self.rwlock.deallocate()
183 |         #else
184 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
185 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 |         self.shared = true
200 |         #else
201 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 |         self.shared = false
216 |         #else
217 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 |         }
236 |         #else
237 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
238 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 845 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 846 |     /// `.critical` being the most severe.
 847 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 848 |         /// Appropriate for messages that contain information normally of use only when
 849 |         /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
     |                                                        `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 |         #error("Unsupported runtime")
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                        `- error: cannot find 'systemStderr' in scope
1273 |     }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 |         #error("Unsupported runtime")
1271 |         #endif
1272 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1273 |     }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 |         #error("Unsupported runtime")
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                        `- error: cannot find 'systemStdout' in scope
1293 |     }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 |         #error("Unsupported runtime")
1291 |         #endif
1292 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1293 |     }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 |             // no file locking on WASI
1225 |             #else
1226 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1227 |             #endif
1228 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 |                 #endif
1236 |             }
1237 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1238 |             if case .always = self.flushMode {
1239 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 |     /// Flush the underlying stream.
1245 |     internal func flush() {
1246 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1247 |     }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 |         #else
1447 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1448 |         guard let localTime = localtime(&timestamp) else {
1449 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 |         #else
1447 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1448 |         guard let localTime = localtime(&timestamp) else {
1449 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 |         #else
1447 |         var timestamp = time(nil)
1448 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1449 |             return "<unknown>"
1450 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 |             return "<unknown>"
1450 |         }
1451 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1452 |         #endif
1453 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 |         switch self {
1547 |         case .dictionary(let dict):
1548 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1549 |         case .array(let list):
1550 |             return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:27:8: error: Unsupported Platform
25 | import Bionic
26 | #else
27 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:30:8: error: Unsupported Platform
 28 | import Android
 29 | #else
 30 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 31 | #endif
 32 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:32:8: error: Unsupported Platform
 30 | import Android
 31 | #else
 32 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 33 | #endif
 34 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:24:8: error: Unsupported Platform
 22 | import Android
 23 | #else
 24 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 25 | #endif
 26 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Decodable'
  12 | @frozen
  13 | @available(System 0.0.1, *)
  14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
     |               `- error: type 'Errno' does not conform to protocol 'Decodable'
  15 |   /// The raw C error number.
  16 |   @_alwaysEmitIntoClient
  17 |   public let rawValue: CInt
     |              `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
  18 |
  19 |   /// Creates a strongly typed error number from a raw C error number.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:57: error: 'Codable' is unavailable: unavailable in embedded Swift
  12 | @frozen
  13 | @available(System 0.0.1, *)
  14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
     |                                                         `- error: 'Codable' is unavailable: unavailable in embedded Swift
  15 |   /// The raw C error number.
  16 |   @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Encodable'
  12 | @frozen
  13 | @available(System 0.0.1, *)
  14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
     |               `- error: type 'Errno' does not conform to protocol 'Encodable'
  15 |   /// The raw C error number.
  16 |   @_alwaysEmitIntoClient
  17 |   public let rawValue: CInt
     |              `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
  18 |
  19 |   /// Creates a strongly typed error number from a raw C error number.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Decodable'
  12 | @frozen
  13 | @available(System 0.0.1, *)
  14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
     |               `- error: type 'Errno' does not conform to protocol 'Decodable'
  15 |   /// The raw C error number.
  16 |   @_alwaysEmitIntoClient
  17 |   public let rawValue: CInt
     |              `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
  18 |
  19 |   /// Creates a strongly typed error number from a raw C error number.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:1532:27: error: cannot find 'system_errno' in scope
1530 |   /// The corresponding C global variable is `errno`.
1531 |   internal static var current: Errno {
1532 |     get { Errno(rawValue: system_errno) }
     |                           `- error: cannot find 'system_errno' in scope
1533 |     set { system_errno = newValue.rawValue }
1534 |   }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:1533:11: error: cannot find 'system_errno' in scope
1531 |   internal static var current: Errno {
1532 |     get { Errno(rawValue: system_errno) }
1533 |     set { system_errno = newValue.rawValue }
     |           `- error: cannot find 'system_errno' in scope
1534 |   }
1535 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Decodable'
 16 | @frozen
 17 | @available(System 0.0.1, *)
 18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
    |               `- error: type 'FileDescriptor' does not conform to protocol 'Decodable'
 19 |   /// The raw C file handle.
 20 |   @_alwaysEmitIntoClient
 21 |   public let rawValue: CInt
    |              `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 22 |
 23 |   /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:59: error: 'Codable' is unavailable: unavailable in embedded Swift
 16 | @frozen
 17 | @available(System 0.0.1, *)
 18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
    |                                                           `- error: 'Codable' is unavailable: unavailable in embedded Swift
 19 |   /// The raw C file handle.
 20 |   @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Encodable'
 16 | @frozen
 17 | @available(System 0.0.1, *)
 18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
    |               `- error: type 'FileDescriptor' does not conform to protocol 'Encodable'
 19 |   /// The raw C file handle.
 20 |   @_alwaysEmitIntoClient
 21 |   public let rawValue: CInt
    |              `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
 22 |
 23 |   /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
 47 |   @frozen
 48 |   @available(System 0.0.1, *)
 49 |   public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
 50 |     /// The raw C access mode.
 51 |     @_alwaysEmitIntoClient
 52 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 53 |
 54 |     /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:67: error: 'Codable' is unavailable: unavailable in embedded Swift
 47 |   @frozen
 48 |   @available(System 0.0.1, *)
 49 |   public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
    |                                                                   `- error: 'Codable' is unavailable: unavailable in embedded Swift
 50 |     /// The raw C access mode.
 51 |     @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Encodable'
 47 |   @frozen
 48 |   @available(System 0.0.1, *)
 49 |   public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Encodable'
 50 |     /// The raw C access mode.
 51 |     @_alwaysEmitIntoClient
 52 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
 53 |
 54 |     /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
 90 |   @frozen
 91 |   @available(System 0.0.1, *)
 92 |   public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
 93 |     /// The raw C options.
 94 |     @_alwaysEmitIntoClient
 95 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 96 |
 97 |     /// Create a strongly-typed options value from raw C options.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:61: error: 'Codable' is unavailable: unavailable in embedded Swift
 90 |   @frozen
 91 |   @available(System 0.0.1, *)
 92 |   public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
    |                                                             `- error: 'Codable' is unavailable: unavailable in embedded Swift
 93 |     /// The raw C options.
 94 |     @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Encodable'
 90 |   @frozen
 91 |   @available(System 0.0.1, *)
 92 |   public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Encodable'
 93 |     /// The raw C options.
 94 |     @_alwaysEmitIntoClient
 95 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
 96 |
 97 |     /// Create a strongly-typed options value from raw C options.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
328 |   @frozen
329 |   @available(System 0.0.1, *)
330 |   public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
331 |     /// The raw C value.
332 |     @_alwaysEmitIntoClient
333 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
334 |
335 |     /// Create a strongly-typed seek origin from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:67: error: 'Codable' is unavailable: unavailable in embedded Swift
328 |   @frozen
329 |   @available(System 0.0.1, *)
330 |   public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
    |                                                                   `- error: 'Codable' is unavailable: unavailable in embedded Swift
331 |     /// The raw C value.
332 |     @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Encodable'
328 |   @frozen
329 |   @available(System 0.0.1, *)
330 |   public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Encodable'
331 |     /// The raw C value.
332 |     @_alwaysEmitIntoClient
333 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
334 |
335 |     /// Create a strongly-typed seek origin from a raw C value.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Decodable'
 16 | @frozen
 17 | @available(System 0.0.1, *)
 18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
    |               `- error: type 'FileDescriptor' does not conform to protocol 'Decodable'
 19 |   /// The raw C file handle.
 20 |   @_alwaysEmitIntoClient
 21 |   public let rawValue: CInt
    |              `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 22 |
 23 |   /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
 47 |   @frozen
 48 |   @available(System 0.0.1, *)
 49 |   public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
 50 |     /// The raw C access mode.
 51 |     @_alwaysEmitIntoClient
 52 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 53 |
 54 |     /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
 90 |   @frozen
 91 |   @available(System 0.0.1, *)
 92 |   public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
 93 |     /// The raw C options.
 94 |     @_alwaysEmitIntoClient
 95 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 96 |
 97 |     /// Create a strongly-typed options value from raw C options.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
328 |   @frozen
329 |   @available(System 0.0.1, *)
330 |   public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
331 |     /// The raw C value.
332 |     @_alwaysEmitIntoClient
333 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
334 |
335 |     /// Create a strongly-typed seek origin from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:50:27: error: cannot find type 'mode_t' in scope
48 |   public typealias Mode = CInt
49 | #else
50 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
51 | #endif
52 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:41:27: error: cannot find type 'mode_t' in scope
39 | /// The C `mode_t` type.
40 | @available(System 0.0.1, *)
41 | public typealias CModeT = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
42 | #endif
43 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:89:53: error: extra argument in call
 87 |     let descOrError: Result<CInt, Errno> = valueOrErrno(retryOnInterrupt: retryOnInterrupt) {
 88 |       if let permissions = permissions {
 89 |         return system_open(path, oFlag, permissions.rawValue)
    |                                                     `- error: extra argument in call
 90 |       }
 91 |       precondition(!options.contains(.create),
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:93:6: error: cannot find type 'off_t' in scope
 91 | internal func system_lseek(
 92 |   _ fd: Int32, _ off: off_t, _ whence: Int32
 93 | ) -> off_t {
    |      `- error: cannot find type 'off_t' in scope
 94 | #if ENABLE_MOCKING
 95 |   if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:92:23: error: cannot find type 'off_t' in scope
 90 | // lseek
 91 | internal func system_lseek(
 92 |   _ fd: Int32, _ off: off_t, _ whence: Int32
    |                       `- error: cannot find type 'off_t' in scope
 93 | ) -> off_t {
 94 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:35:29: error: cannot find type 'off_t' in scope
 33 | #endif
 34 |
 35 | internal typealias _COffT = off_t
    |                             `- error: cannot find type 'off_t' in scope
 36 |
 37 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:74:73: error: cannot find type 'off_t' in scope
 72 | // pread
 73 | internal func system_pread(
 74 |   _ fd: Int32, _ buf: UnsafeMutableRawPointer?, _ nbyte: Int, _ offset: off_t
    |                                                                         `- error: cannot find type 'off_t' in scope
 75 | ) -> Int {
 76 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:112:66: error: cannot find type 'off_t' in scope
110 | // pwrite
111 | internal func system_pwrite(
112 |   _ fd: Int32, _ buf: UnsafeRawPointer?, _ nbyte: Int, _ offset: off_t
    |                                                                  `- error: cannot find type 'off_t' in scope
113 | ) -> Int {
114 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:153:55: error: cannot find type 'off_t' in scope
151 | #endif
152 |
153 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
    |                                                       `- error: cannot find type 'off_t' in scope
154 | #if ENABLE_MOCKING
155 |   if mockingEnabled { return _mock(fd, length) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:78:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
76 |   // Decoder is written explicitly to ensure that we validate invariants on
77 |   // untrusted input.
78 |   public init(from decoder: any Decoder) throws {
   |                                 `- error: 'Decoder' is unavailable: unavailable in embedded Swift
79 |     let container = try decoder.container(keyedBy: CodingKeys.self)
80 |     self._storage = try container.decode(SystemString.self, forKey: ._storage)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
  |                 `- note: 'Decoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:72:21: error: 'Codable' is unavailable: unavailable in embedded Swift
70 |
71 | @available(System 0.0.1, *)
72 | extension FilePath: Codable {
   |                     `- error: 'Codable' is unavailable: unavailable in embedded Swift
73 |   // Encoder is synthesized; it probably should have been explicit and used
74 |   // a single-value container, but making that change now is somewhat risky.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:80:35: error: value of type 'KeyedDecodingContainer<FilePath.CodingKeys>' has no member 'decode'
78 |   public init(from decoder: any Decoder) throws {
79 |     let container = try decoder.container(keyedBy: CodingKeys.self)
80 |     self._storage = try container.decode(SystemString.self, forKey: ._storage)
   |                                   `- error: value of type 'KeyedDecodingContainer<FilePath.CodingKeys>' has no member 'decode'
81 |     guard _invariantsSatisfied() else {
82 |       throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:80:70: error: cannot infer contextual base in reference to member '_storage'
78 |   public init(from decoder: any Decoder) throws {
79 |     let container = try decoder.container(keyedBy: CodingKeys.self)
80 |     self._storage = try container.decode(SystemString.self, forKey: ._storage)
   |                                                                      `- error: cannot infer contextual base in reference to member '_storage'
81 |     guard _invariantsSatisfied() else {
82 |       throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:82:27: error: type 'DecodingError' has no member 'dataCorruptedError'
80 |     self._storage = try container.decode(SystemString.self, forKey: ._storage)
81 |     guard _invariantsSatisfied() else {
82 |       throw DecodingError.dataCorruptedError(
   |                           `- error: type 'DecodingError' has no member 'dataCorruptedError'
83 |         forKey: ._storage,
84 |         in: container,
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:83:18: error: cannot infer contextual base in reference to member '_storage'
81 |     guard _invariantsSatisfied() else {
82 |       throw DecodingError.dataCorruptedError(
83 |         forKey: ._storage,
   |                  `- error: cannot infer contextual base in reference to member '_storage'
84 |         in: container,
85 |         debugDescription:
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
 32 |   public struct ComponentView: Sendable {
 33 |     internal var _path: FilePath
 34 |     internal var _start: SystemString.Index
    |                  `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
 35 |
 36 |     internal init(_ path: FilePath) {
    :
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
    | `- error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
184 |   internal var _range: Range<SystemString.Index> {
185 |     _start ..< _path._storage.endIndex
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Encodable'
 32 |   public struct ComponentView: Sendable {
 33 |     internal var _path: FilePath
 34 |     internal var _start: SystemString.Index
    |                  `- note: cannot automatically synthesize 'Encodable' because 'SystemString.Index' does not conform to 'Encodable'
 35 |
 36 |     internal init(_ path: FilePath) {
    :
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
    | `- error: type 'FilePath.ComponentView' does not conform to protocol 'Encodable'
184 |   internal var _range: Range<SystemString.Index> {
185 |     _start ..< _path._storage.endIndex
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
 32 |   public struct ComponentView: Sendable {
 33 |     internal var _path: FilePath
 34 |     internal var _start: SystemString.Index
    |                  `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
 35 |
 36 |     internal init(_ path: FilePath) {
    :
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
    | `- error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
184 |   internal var _range: Range<SystemString.Index> {
185 |     _start ..< _path._storage.endIndex
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Decodable'
 32 |   public struct Root: Sendable {
 33 |     internal var _path: FilePath
 34 |     internal var _rootEnd: SystemString.Index
    |                  `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
 35 |
 36 |     internal init(_ path: FilePath, rootEnd: SystemString.Index) {
    :
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
    | `- error: type 'FilePath.Root' does not conform to protocol 'Decodable'
194 |   internal var _range: Range<SystemString.Index> {
195 |     (..<_rootEnd).relative(to: _path._storage)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Decodable'
 32 |   public struct Root: Sendable {
 33 |     internal var _path: FilePath
 34 |     internal var _rootEnd: SystemString.Index
    |                  `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
 35 |
 36 |     internal init(_ path: FilePath, rootEnd: SystemString.Index) {
    :
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
    | `- error: type 'FilePath.Root' does not conform to protocol 'Decodable'
194 |   internal var _range: Range<SystemString.Index> {
195 |     (..<_rootEnd).relative(to: _path._storage)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Decodable'
 59 |   public struct Component: Sendable {
 60 |     internal var _path: FilePath
 61 |     internal var _range: Range<SystemString.Index>
    |                  `- note: cannot automatically synthesize 'Decodable' because 'Range<SystemString.Index>' does not conform to 'Decodable'
 62 |
 63 |     // TODO: Make a small-component form to save on ARC overhead when
    :
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
    | `- error: type 'FilePath.Component' does not conform to protocol 'Decodable'
191 | }
192 | @available(System 0.0.2, *)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Decodable'
 59 |   public struct Component: Sendable {
 60 |     internal var _path: FilePath
 61 |     internal var _range: Range<SystemString.Index>
    |                  `- note: cannot automatically synthesize 'Decodable' because 'Range<SystemString.Index>' does not conform to 'Decodable'
 62 |
 63 |     // TODO: Make a small-component form to save on ARC overhead when
    :
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
    | `- error: type 'FilePath.Component' does not conform to protocol 'Decodable'
191 | }
192 | @available(System 0.0.2, *)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:133:61: error: 'Codable' is unavailable: unavailable in embedded Swift
131 | // Unifying protocol for common functionality between roots, components,
132 | // and views onto SystemString and FilePath.
133 | internal protocol _StrSlice: _PlatformStringable, Hashable, Codable {
    |                                                             `- error: 'Codable' is unavailable: unavailable in embedded Swift
134 |   var _storage: SystemString { get }
135 |   var _range: Range<SystemString.Index> { get }
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Encodable'
 59 |   public struct Component: Sendable {
 60 |     internal var _path: FilePath
 61 |     internal var _range: Range<SystemString.Index>
    |                  `- note: cannot automatically synthesize 'Encodable' because 'Range<SystemString.Index>' does not conform to 'Encodable'
 62 |
 63 |     // TODO: Make a small-component form to save on ARC overhead when
    :
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
    | `- error: type 'FilePath.Component' does not conform to protocol 'Encodable'
191 | }
192 | @available(System 0.0.2, *)
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Encodable'
 32 |   public struct Root: Sendable {
 33 |     internal var _path: FilePath
 34 |     internal var _rootEnd: SystemString.Index
    |                  `- note: cannot automatically synthesize 'Encodable' because 'SystemString.Index' does not conform to 'Encodable'
 35 |
 36 |     internal init(_ path: FilePath, rootEnd: SystemString.Index) {
    :
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
    | `- error: type 'FilePath.Root' does not conform to protocol 'Encodable'
194 |   internal var _range: Range<SystemString.Index> {
195 |     (..<_rootEnd).relative(to: _path._storage)
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/SystemString.swift:11:17: error: type 'SystemChar' does not conform to protocol 'Decodable'
  9 |
 10 | // A platform-native character representation, currently used for file paths
 11 | internal struct SystemChar:
    |                 `- error: type 'SystemChar' does not conform to protocol 'Decodable'
 12 |   RawRepresentable, Sendable, Comparable, Hashable, Codable {
 13 |   internal typealias RawValue = CInterop.PlatformChar
 14 |
 15 |   internal var rawValue: RawValue
    |                `- note: cannot automatically synthesize 'Decodable' because 'RawValue' does not conform to 'Decodable'
 16 |
 17 |   internal init(rawValue: RawValue) { self.rawValue = rawValue }
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/SystemString.swift:11:17: error: type 'SystemChar' does not conform to protocol 'Decodable'
  9 |
 10 | // A platform-native character representation, currently used for file paths
 11 | internal struct SystemChar:
    |                 `- error: type 'SystemChar' does not conform to protocol 'Decodable'
 12 |   RawRepresentable, Sendable, Comparable, Hashable, Codable {
 13 |   internal typealias RawValue = CInterop.PlatformChar
 14 |
 15 |   internal var rawValue: RawValue
    |                `- note: cannot automatically synthesize 'Decodable' because 'RawValue' does not conform to 'Decodable'
 16 |
 17 |   internal init(rawValue: RawValue) { self.rawValue = rawValue }
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-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
BUILD FAILURE 6.2 wasm