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 main (88c489), with Swift 6.2 for Wasm on 11 Dec 2025 18:39:06 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: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/PADL/SwiftOCA
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 88c4895 fix build breakage in SwiftOCAUI owing to identification callback removal
Cloned https://github.com/PADL/SwiftOCA.git
Revision (git rev-parse @):
88c4895c603cf28f42c000698a9d2b79e66ae96f
SUCCESS checkout https://github.com/PADL/SwiftOCA.git at main
========================================
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:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/PADL/IORingSwift
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/apple/swift-log
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/Flight-School/AnyCodable
[1/2568] Fetching ioringswift
[1080/3350] Fetching ioringswift, anycodable
[3351/4032] Fetching ioringswift, anycodable, asyncextensions
[3399/5589] Fetching ioringswift, anycodable, asyncextensions, gzipswift
Fetched https://github.com/Flight-School/AnyCodable from cache (0.34s)
[1/5747] Fetching swift-log
Fetching https://github.com/PADL/SocketAddress
Fetched https://github.com/PADL/IORingSwift from cache (0.37s)
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.40s)
Fetching https://github.com/apple/swift-system
[5748/5933] Fetching swift-log, socketaddress
Fetched https://github.com/PADL/SocketAddress from cache (0.35s)
Fetching https://github.com/apple/swift-atomics
Fetched https://github.com/1024jp/GzipSwift from cache (0.73s)
Fetched https://github.com/apple/swift-log from cache (0.72s)
[1/5833] Fetching swift-async-algorithms
[2160/11054] Fetching swift-async-algorithms, swift-system
[11055/12874] Fetching swift-async-algorithms, swift-system, swift-atomics
Fetched https://github.com/apple/swift-system from cache (0.57s)
[6052/7653] Fetching swift-async-algorithms, swift-atomics
Fetched https://github.com/apple/swift-async-algorithms from cache (0.64s)
[710/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics from cache (0.45s)
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 (1.56s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (2.53s)
Computing version for https://github.com/PADL/SocketAddress
Computed https://github.com/PADL/SocketAddress at 0.2.0 (0.34s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.40s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (0.39s)
Fetching https://github.com/apple/swift-collections.git
[1/18363] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.36s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.7.1 (1.80s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.1 (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.60s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.47s)
Computing version for https://github.com/PADL/IORingSwift
Computed https://github.com/PADL/IORingSwift at 0.9.0 (0.65s)
Fetching https://github.com/dfed/swift-async-queue
[1/1655] Fetching swift-async-queue
Fetched https://github.com/dfed/swift-async-queue from cache (0.33s)
Computing version for https://github.com/dfed/swift-async-queue
Computed https://github.com/dfed/swift-async-queue at 0.7.2 (0.90s)
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/PADL/IORingSwift
Working copy of https://github.com/PADL/IORingSwift resolved at 0.9.0
Creating working copy for https://github.com/PADL/SocketAddress
Working copy of https://github.com/PADL/SocketAddress resolved at 0.2.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.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/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.1.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.7.1
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-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.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-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
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/52] Write sources
[21/52] Compiling system-zlib anchor.c
[22/52] Compiling _AtomicsShims.c
[23/52] Compiling CSystem shims.c
[24/52] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/64] 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)
[27/64] 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)
[28/64] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
 40 | import Musl
 41 | #else
 42 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 43 | #endif
 44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:8: error: Unsupported runtime
  26 | import WASILibc
  27 | #else
  28 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  29 | #endif
  30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1366:16: error: Unsupported runtime
1364 |         let systemStderr = WASILibc.stderr!
1365 |         #else
1366 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1386:16: error: Unsupported runtime
1384 |         let systemStdout = WASILibc.stdout!
1385 |         #else
1386 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
 26 | import WASILibc
 27 | #else
 28 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
 56 |         UnsafeMutablePointer.allocate(capacity: 1)
 57 |     #else
 58 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 59 |         UnsafeMutablePointer.allocate(capacity: 1)
 60 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 |     fileprivate var shared: Bool = true
160 |     #else
161 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
162 |         UnsafeMutablePointer.allocate(capacity: 1)
163 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
 67 |         InitializeSRWLock(self.mutex)
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 74 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 75 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
 83 |         self.mutex.deallocate()
 84 |         #else
 85 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 86 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 87 |         self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
 99 |         AcquireSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 |         ReleaseSRWLockExclusive(self.mutex)
115 |         #else
116 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
117 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 |         self.rwlock.deallocate()
183 |         #else
184 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
185 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 |         self.shared = true
200 |         #else
201 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 |         self.shared = false
216 |         #else
217 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 |         }
236 |         #else
237 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
238 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:912:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 910 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 911 |     /// `.critical` being the most severe.
 912 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 913 |         /// Appropriate for messages that contain information normally of use only when
 914 |         /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1305:56: error: cannot find type 'FILE' in scope
1303 | internal typealias CFilePointer = OpaquePointer
1304 | #else
1305 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
     |                                                        `- error: cannot find type 'FILE' in scope
1306 | #endif
1307 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:40: error: cannot find 'systemStderr' in scope
1366 |         #error("Unsupported runtime")
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                        `- error: cannot find 'systemStderr' in scope
1369 |     }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:66: error: cannot infer contextual base in reference to member 'always'
1366 |         #error("Unsupported runtime")
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1369 |     }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:40: error: cannot find 'systemStdout' in scope
1386 |         #error("Unsupported runtime")
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                        `- error: cannot find 'systemStdout' in scope
1389 |     }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:66: error: cannot infer contextual base in reference to member 'always'
1386 |         #error("Unsupported runtime")
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1389 |     }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1322:13: error: cannot find 'flockfile' in scope
1320 |             // no file locking on WASI
1321 |             #else
1322 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1323 |             #endif
1324 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1333:17: error: cannot find 'fwrite' in scope
1331 |                 #endif
1332 |             }
1333 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1334 |             if case .always = self.flushMode {
1335 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1342:13: error: cannot find 'fflush' in scope
1340 |     /// Flush the underlying stream.
1341 |     internal func flush() {
1342 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1343 |     }
1344 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:25: error: cannot find 'time' in scope
1568 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 |         #else
1570 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1571 |         guard let localTime = localtime(&timestamp) else {
1572 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:30: error: 'nil' requires a contextual type
1568 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 |         #else
1570 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1571 |         guard let localTime = localtime(&timestamp) else {
1572 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1571:31: error: cannot find 'localtime' in scope
1569 |         #else
1570 |         var timestamp = time(nil)
1571 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1572 |             return "<unknown>"
1573 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1574:9: error: cannot find 'strftime' in scope
1572 |             return "<unknown>"
1573 |         }
1574 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1575 |         #endif
1576 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1713:54: error: 'description' is unavailable: unavailable in embedded Swift
1711 |         switch self {
1712 |         case .dictionary(let dict):
1713 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1714 |         case .array(let list):
1715 |             return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1715:48: error: 'description' is unavailable: unavailable in embedded Swift
1713 |             return dict.mapValues { $0.description }.description
1714 |         case .array(let list):
1715 |             return list.map { $0.description }.description
     |                                                `- error: 'description' is unavailable: unavailable in embedded Swift
1716 |         case .string(let str):
1717 |             return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
[29/64] 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:28:8: error: Unsupported runtime
  26 | import WASILibc
  27 | #else
  28 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  29 | #endif
  30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1366:16: error: Unsupported runtime
1364 |         let systemStderr = WASILibc.stderr!
1365 |         #else
1366 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1386:16: error: Unsupported runtime
1384 |         let systemStdout = WASILibc.stdout!
1385 |         #else
1386 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
 26 | import WASILibc
 27 | #else
 28 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 29 | #endif
 30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
 56 |         UnsafeMutablePointer.allocate(capacity: 1)
 57 |     #else
 58 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 59 |         UnsafeMutablePointer.allocate(capacity: 1)
 60 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 |     fileprivate var shared: Bool = true
160 |     #else
161 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
162 |         UnsafeMutablePointer.allocate(capacity: 1)
163 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
 67 |         InitializeSRWLock(self.mutex)
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
 68 |         #else
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
 69 |         var attr = pthread_mutexattr_t()
 70 |         pthread_mutexattr_init(&attr)
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
 71 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 72 |
 73 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 74 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 75 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
 83 |         self.mutex.deallocate()
 84 |         #else
 85 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 86 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 87 |         self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
 99 |         AcquireSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 |         ReleaseSRWLockExclusive(self.mutex)
115 |         #else
116 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
117 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 |         InitializeSRWLock(self.rwlock)
171 |         #else
172 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
173 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 |         self.rwlock.deallocate()
183 |         #else
184 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
185 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 |         self.shared = true
200 |         #else
201 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 |         self.shared = false
216 |         #else
217 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 |         }
236 |         #else
237 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
238 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:912:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 910 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 911 |     /// `.critical` being the most severe.
 912 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 913 |         /// Appropriate for messages that contain information normally of use only when
 914 |         /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1305:56: error: cannot find type 'FILE' in scope
1303 | internal typealias CFilePointer = OpaquePointer
1304 | #else
1305 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
     |                                                        `- error: cannot find type 'FILE' in scope
1306 | #endif
1307 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:40: error: cannot find 'systemStderr' in scope
1366 |         #error("Unsupported runtime")
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                        `- error: cannot find 'systemStderr' in scope
1369 |     }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:66: error: cannot infer contextual base in reference to member 'always'
1366 |         #error("Unsupported runtime")
1367 |         #endif
1368 |         return StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1369 |     }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:40: error: cannot find 'systemStdout' in scope
1386 |         #error("Unsupported runtime")
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                        `- error: cannot find 'systemStdout' in scope
1389 |     }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:66: error: cannot infer contextual base in reference to member 'always'
1386 |         #error("Unsupported runtime")
1387 |         #endif
1388 |         return StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                                  `- error: cannot infer contextual base in reference to member 'always'
1389 |     }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1322:13: error: cannot find 'flockfile' in scope
1320 |             // no file locking on WASI
1321 |             #else
1322 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1323 |             #endif
1324 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1333:17: error: cannot find 'fwrite' in scope
1331 |                 #endif
1332 |             }
1333 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1334 |             if case .always = self.flushMode {
1335 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1342:13: error: cannot find 'fflush' in scope
1340 |     /// Flush the underlying stream.
1341 |     internal func flush() {
1342 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1343 |     }
1344 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:25: error: cannot find 'time' in scope
1568 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 |         #else
1570 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1571 |         guard let localTime = localtime(&timestamp) else {
1572 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:30: error: 'nil' requires a contextual type
1568 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 |         #else
1570 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1571 |         guard let localTime = localtime(&timestamp) else {
1572 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1571:31: error: cannot find 'localtime' in scope
1569 |         #else
1570 |         var timestamp = time(nil)
1571 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1572 |             return "<unknown>"
1573 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1574:9: error: cannot find 'strftime' in scope
1572 |             return "<unknown>"
1573 |         }
1574 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1575 |         #endif
1576 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1713:54: error: 'description' is unavailable: unavailable in embedded Swift
1711 |         switch self {
1712 |         case .dictionary(let dict):
1713 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1714 |         case .array(let list):
1715 |             return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-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
BUILD FAILURE 6.2 wasm