The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcodeproj-mcp-server, reference main (6f3842), with Swift 6.2 for Wasm on 10 Apr 2026 00:00:51 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giginet/xcodeproj-mcp-server.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/giginet/xcodeproj-mcp-server
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6f38429 Merge pull request #18 from giginet/fix/group-finder-hierarchical-path
Cloned https://github.com/giginet/xcodeproj-mcp-server.git
Revision (git rev-parse @):
6f38429682b18372062c1b599663af8834005cad
SUCCESS checkout https://github.com/giginet/xcodeproj-mcp-server.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/giginet/xcodeproj-mcp-server.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/modelcontextprotocol/swift-sdk
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/tuist/xcodeproj
[1/24396] Fetching xcodeproj
[1465/41908] Fetching xcodeproj, swift-argument-parser
[8271/45355] Fetching xcodeproj, swift-argument-parser, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (0.93s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.94s)
[20493/24396] Fetching xcodeproj
Fetched https://github.com/tuist/xcodeproj from cache (1.74s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk
Computed https://github.com/modelcontextprotocol/swift-sdk at 0.12.0 (2.15s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
[329/12335] Fetching eventsource, swift-system, swift-log
Fetched https://github.com/apple/swift-system.git from cache (0.95s)
[1/83101] Fetching swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (5.99s)
Fetched https://github.com/apple/swift-log.git from cache (6.00s)
Fetched https://github.com/apple/swift-nio.git from cache (6.12s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (6.53s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (0.34s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 9.10.1 (0.33s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2155] Fetching aexml
[217/3607] Fetching aexml, pathkit
Fetched https://github.com/tadija/AEXML.git from cache (0.28s)
Fetched https://github.com/kylef/PathKit.git from cache (0.28s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.35s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.22s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.54s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.37s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.81s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[693/25343] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.23s)
Fetched https://github.com/apple/swift-collections.git from cache (1.26s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.57s)
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 9.10.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.1
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk
Working copy of https://github.com/modelcontextprotocol/swift-sdk resolved at 0.12.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/26] Write sources
[12/26] Compiling CSystem shims.c
[13/26] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/36] Emitting module AEXML
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/36] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:48:8: error: The concurrency lock module was unable to identify your C library.
 46 | #endif
 47 | #else
 48 | #error("The concurrency lock module was unable to identify your C library.")
    |        `- error: The concurrency lock module was unable to identify your C library.
 49 | #endif
 50 |
/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:1510:16: error: Unsupported runtime
1508 |         )
1509 |         #else
1510 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1511 |         #endif
1512 |     }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1582:16: error: Unsupported runtime
1580 |         )
1581 |         #else
1582 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1583 |         #endif
1584 |     }()
/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:194:50: error: cannot find type 'pthread_rwlock_t' in scope
192 |         UnsafeMutablePointer.allocate(capacity: 1)
193 |     #else
194 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
195 |         UnsafeMutablePointer.allocate(capacity: 1)
196 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:990:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 988 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 989 |     /// `.critical` being the most severe.
 990 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 991 |         /// Appropriate for messages that contain information normally of use only when
 992 |         /// 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:1442:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1440 |     }
1441 |
1442 |     internal static let stderr: StdioOutputStream = {
     |                                                     `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1443 |         #if canImport(Darwin)
1444 |         return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1514:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1512 |     }()
1513 |
1514 |     internal static let stdout: StdioOutputStream = {
     |                                                     `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1515 |         #if canImport(Darwin)
1516 |         return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:25: error: cannot find 'time' in scope
1768 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 |         #else
1770 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1771 |         guard let localTime = localtime(&timestamp) else {
1772 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:30: error: 'nil' requires a contextual type
1768 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 |         #else
1770 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1771 |         guard let localTime = localtime(&timestamp) else {
1772 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1771:31: error: cannot find 'localtime' in scope
1769 |         #else
1770 |         var timestamp = time(nil)
1771 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1772 |             return "<unknown>"
1773 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1774:9: error: cannot find 'strftime' in scope
1772 |             return "<unknown>"
1773 |         }
1774 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1775 |         #endif
1776 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1895:54: error: 'description' is unavailable: unavailable in embedded Swift
1893 |         switch self {
1894 |         case .dictionary(let dict):
1895 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1896 |         case .array(let list):
1897 |             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:1897:48: error: 'description' is unavailable: unavailable in embedded Swift
1895 |             return dict.mapValues { $0.description }.description
1896 |         case .array(let list):
1897 |             return list.map { $0.description }.description
     |                                                `- error: 'description' is unavailable: unavailable in embedded Swift
1898 |         case .string(let str):
1899 |             return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
  |            `- note: 'description' has been explicitly marked unavailable here
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/36] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[18/36] Compiling AEXML Builders.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:48:8: error: The concurrency lock module was unable to identify your C library.
 46 | #endif
 47 | #else
 48 | #error("The concurrency lock module was unable to identify your C library.")
    |        `- error: The concurrency lock module was unable to identify your C library.
 49 | #endif
 50 |
/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:1510:16: error: Unsupported runtime
1508 |         )
1509 |         #else
1510 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1511 |         #endif
1512 |     }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1582:16: error: Unsupported runtime
1580 |         )
1581 |         #else
1582 |         #error("Unsupported runtime")
     |                `- error: Unsupported runtime
1583 |         #endif
1584 |     }()
/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:194:50: error: cannot find type 'pthread_rwlock_t' in scope
192 |         UnsafeMutablePointer.allocate(capacity: 1)
193 |     #else
194 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
195 |         UnsafeMutablePointer.allocate(capacity: 1)
196 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:990:32: error: 'Codable' is unavailable: unavailable in embedded Swift
 988 |     /// Log levels are ordered by their severity, with `.trace` being the least severe and
 989 |     /// `.critical` being the most severe.
 990 |     public enum Level: String, Codable, CaseIterable {
     |                                `- error: 'Codable' is unavailable: unavailable in embedded Swift
 991 |         /// Appropriate for messages that contain information normally of use only when
 992 |         /// 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:1442:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1440 |     }
1441 |
1442 |     internal static let stderr: StdioOutputStream = {
     |                                                     `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1443 |         #if canImport(Darwin)
1444 |         return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1514:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1512 |     }()
1513 |
1514 |     internal static let stdout: StdioOutputStream = {
     |                                                     `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1515 |         #if canImport(Darwin)
1516 |         return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:25: error: cannot find 'time' in scope
1768 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 |         #else
1770 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1771 |         guard let localTime = localtime(&timestamp) else {
1772 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:30: error: 'nil' requires a contextual type
1768 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 |         #else
1770 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1771 |         guard let localTime = localtime(&timestamp) else {
1772 |             return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1771:31: error: cannot find 'localtime' in scope
1769 |         #else
1770 |         var timestamp = time(nil)
1771 |         guard let localTime = localtime(&timestamp) else {
     |                               `- error: cannot find 'localtime' in scope
1772 |             return "<unknown>"
1773 |         }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1774:9: error: cannot find 'strftime' in scope
1772 |             return "<unknown>"
1773 |         }
1774 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1775 |         #endif
1776 |         return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1895:54: error: 'description' is unavailable: unavailable in embedded Swift
1893 |         switch self {
1894 |         case .dictionary(let dict):
1895 |             return dict.mapValues { $0.description }.description
     |                                                      `- error: 'description' is unavailable: unavailable in embedded Swift
1896 |         case .array(let list):
1897 |             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 |
[19/36] Emitting module ArgumentParserToolInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:15: error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
 16 |
 17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
 18 | public struct ToolInfoHeader: Decodable {
    |               `- error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
 19 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 20 |   /// generate the serialized form.
 21 |   public var serializationVersion: Int
    |              `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
 22 |
 23 |   public init(serializationVersion: Int) {
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:31: error: 'Decodable' is unavailable: unavailable in embedded Swift
 16 |
 17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
 18 | public struct ToolInfoHeader: Decodable {
    |                               `- error: 'Decodable' is unavailable: unavailable in embedded Swift
 19 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 20 |   /// generate the serialized form.
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
  |                 `- note: 'Decodable' has been explicitly marked unavailable here
3 |     init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
 28 | /// Top-level structure containing serialization version and information for all
 29 | /// commands in a tool.
 30 | public struct ToolInfoV0: Codable, Hashable {
    |               `- error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
 31 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 32 |   /// generate the serialized form.
 33 |   public var serializationVersion = 0
    |              `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
 34 |   /// Root command of the tool.
 35 |   public var command: CommandInfoV0
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:27: error: 'Codable' is unavailable: unavailable in embedded Swift
 28 | /// Top-level structure containing serialization version and information for all
 29 | /// commands in a tool.
 30 | public struct ToolInfoV0: Codable, Hashable {
    |                           `- error: 'Codable' is unavailable: unavailable in embedded Swift
 31 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 32 |   /// generate the serialized form.
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
 28 | /// Top-level structure containing serialization version and information for all
 29 | /// commands in a tool.
 30 | public struct ToolInfoV0: Codable, Hashable {
    |               `- error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
 31 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 32 |   /// generate the serialized form.
 33 |   public var serializationVersion = 0
    |              `- note: cannot automatically synthesize 'Encodable' because 'Int' does not conform to 'Encodable'
 34 |   /// Root command of the tool.
 35 |   public var command: CommandInfoV0
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:91:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
 89 |   }
 90 |
 91 |   public init(from decoder: any Decoder) throws {
    |                                 `- error: 'Decoder' is unavailable: unavailable in embedded Swift
 92 |     let container = try decoder.container(keyedBy: CodingKeys.self)
 93 |     self.superCommands = try container.decodeIfPresent(
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:30: error: 'Codable' is unavailable: unavailable in embedded Swift
 42 | /// All information about a particular command, including arguments and
 43 | /// subcommands.
 44 | public struct CommandInfoV0: Codable, Hashable {
    |                              `- error: 'Codable' is unavailable: unavailable in embedded Swift
 45 |   /// Super commands and tools.
 46 |   public var superCommands: [String]?
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:15: error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
 42 | /// All information about a particular command, including arguments and
 43 | /// subcommands.
 44 | public struct CommandInfoV0: Codable, Hashable {
    |               `- error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
 45 |   /// Super commands and tools.
 46 |   public var superCommands: [String]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
 47 |   /// Command should appear in help displays.
 48 |   public var shouldDisplay: Bool = true
    |              `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 49 |
 50 |   /// Name used to invoke the command.
 51 |   public var commandName: String
    |              `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 52 |   /// List of command aliases.
 53 |   public var aliases: [String]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
 54 |   /// Short description of the command's functionality.
 55 |   public var abstract: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 56 |   /// Extended description of the command's functionality.
 57 |   public var discussion: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 58 |
 59 |   /// Optional name of the subcommand invoked when the command is invoked with
 60 |   /// no arguments.
 61 |   public var defaultSubcommand: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 62 |   /// List of nested commands.
 63 |   public var subcommands: [CommandInfoV0]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[CommandInfoV0]?' does not conform to 'Encodable'
 64 |   /// List of supported arguments.
 65 |   public var arguments: [ArgumentInfoV0]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[ArgumentInfoV0]?' does not conform to 'Encodable'
 66 |
 67 |   public init(
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
    |               `- error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
    :
189 |
190 |   /// Argument should appear in help displays.
191 |   public var shouldDisplay: Bool
    |              `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
192 |   /// Custom name of argument's section.
193 |   public var sectionTitle: String?
    |              `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
194 |
195 |   /// Argument can be omitted.
196 |   public var isOptional: Bool
    |              `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
197 |   /// Argument can be specified multiple times.
198 |   public var isRepeating: Bool
    |              `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
199 |
200 |   /// Parsing strategy of the ArgumentInfo.
    :
202 |
203 |   /// All names of the argument.
204 |   public var names: [NameInfoV0]?
    |              `- note: cannot automatically synthesize 'Decodable' because '[NameInfoV0]?' does not conform to 'Decodable'
205 |   /// The best name to use when referring to the argument in help displays.
206 |   public var preferredName: NameInfoV0?
    |              `- note: cannot automatically synthesize 'Decodable' because 'NameInfoV0?' does not conform to 'Decodable'
207 |
208 |   /// Name of argument's value.
209 |   public var valueName: String?
    |              `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
210 |   /// Default value of the argument is none is specified on the command line.
211 |   public var defaultValue: String?
    |              `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
212 |   // NOTE: this property will not be renamed to 'allValueStrings' to avoid
213 |   // breaking compatibility with the current serialized format.
    :
215 |   // This property is effectively deprecated.
216 |   /// List of all valid values.
217 |   public var allValues: [String]?
    |              `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
218 |   /// List of all valid values.
219 |   public var allValueStrings: [String]? {
    :
222 |   }
223 |   /// Mapping of valid values to descriptions of the value.
224 |   public var allValueDescriptions: [String: String]?
    |              `- note: cannot automatically synthesize 'Decodable' because '[String : String]?' does not conform to 'Decodable'
225 |
226 |   /// The type of completion to use for an argument or an option value.
227 |   ///
228 |   /// `nil` if the tool uses the default completion kind.
229 |   public var completionKind: CompletionKindV0?
    |              `- note: cannot automatically synthesize 'Decodable' because 'CompletionKindV0?' does not conform to 'Decodable'
230 |
231 |   /// Short description of the argument's functionality.
232 |   public var abstract: String?
    |              `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
233 |   /// Extended description of the argument's functionality.
234 |   public var discussion: String?
    |              `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
235 |
236 |   public init(
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
    |                 `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
118 |     /// Kind of prefix of an argument's name.
119 |     public enum KindV0: String, Codable, Hashable {
    :
129 |     public var kind: KindV0
130 |     /// Single or multi-character name of the argument.
131 |     public var name: String
    |                `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
132 |
133 |     public init(kind: NameInfoV0.KindV0, name: String) {
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:119:33: error: 'Codable' is unavailable: unavailable in embedded Swift
117 |   public struct NameInfoV0: Codable, Hashable {
118 |     /// Kind of prefix of an argument's name.
119 |     public enum KindV0: String, Codable, Hashable {
    |                                 `- error: 'Codable' is unavailable: unavailable in embedded Swift
120 |       /// A multi-character name preceded by two dashes.
121 |       case long
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:29: error: 'Codable' is unavailable: unavailable in embedded Swift
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
    |                             `- error: 'Codable' is unavailable: unavailable in embedded Swift
118 |     /// Kind of prefix of an argument's name.
119 |     public enum KindV0: String, Codable, Hashable {
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
    |                 `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
118 |     /// Kind of prefix of an argument's name.
119 |     public enum KindV0: String, Codable, Hashable {
    :
129 |     public var kind: KindV0
130 |     /// Single or multi-character name of the argument.
131 |     public var name: String
    |                `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
132 |
133 |     public init(kind: NameInfoV0.KindV0, name: String) {
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:140:31: error: 'Codable' is unavailable: unavailable in embedded Swift
138 |
139 |   /// Kind of argument.
140 |   public enum KindV0: String, Codable, Hashable {
    |                               `- error: 'Codable' is unavailable: unavailable in embedded Swift
141 |     /// Argument specified as a bare value on the command line.
142 |     case positional
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:149:42: error: 'Codable' is unavailable: unavailable in embedded Swift
147 |   }
148 |
149 |   public enum ParsingStrategyV0: String, Codable, Hashable {
    |                                          `- error: 'Codable' is unavailable: unavailable in embedded Swift
150 |     /// Expect the next `SplitArguments.Element` to be a value and parse it.
151 |     /// Will fail if the next input is an option.
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:33: error: 'Codable' is unavailable: unavailable in embedded Swift
167 |   }
168 |
169 |   public enum CompletionKindV0: Codable, Hashable {
    |                                 `- error: 'Codable' is unavailable: unavailable in embedded Swift
170 |     /// Use the specified list of completion strings.
171 |     case list(values: [String])
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
167 |   }
168 |
169 |   public enum CompletionKindV0: Codable, Hashable {
    |               `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
170 |     /// Use the specified list of completion strings.
171 |     case list(values: [String])
    |               `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
172 |     /// Complete file names with the specified extensions.
173 |     case file(extensions: [String])
    |               `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
174 |     /// Complete directory names that match the specified pattern.
175 |     case directory
176 |     /// Call the given shell command to generate completions.
177 |     case shellCommand(command: String)
    |                       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
178 |     /// Generate completions using the given three-parameter closure.
179 |     case custom
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
167 |   }
168 |
169 |   public enum CompletionKindV0: Codable, Hashable {
    |               `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
170 |     /// Use the specified list of completion strings.
171 |     case list(values: [String])
    |               `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
172 |     /// Complete file names with the specified extensions.
173 |     case file(extensions: [String])
    |               `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
174 |     /// Complete directory names that match the specified pattern.
175 |     case directory
176 |     /// Call the given shell command to generate completions.
177 |     case shellCommand(command: String)
    |                       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
178 |     /// Generate completions using the given three-parameter closure.
179 |     case custom
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:31: error: 'Codable' is unavailable: unavailable in embedded Swift
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
    |                               `- error: 'Codable' is unavailable: unavailable in embedded Swift
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
    |               `- error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
    :
189 |
190 |   /// Argument should appear in help displays.
191 |   public var shouldDisplay: Bool
    |              `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
192 |   /// Custom name of argument's section.
193 |   public var sectionTitle: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
194 |
195 |   /// Argument can be omitted.
196 |   public var isOptional: Bool
    |              `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
197 |   /// Argument can be specified multiple times.
198 |   public var isRepeating: Bool
    |              `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
199 |
200 |   /// Parsing strategy of the ArgumentInfo.
    :
202 |
203 |   /// All names of the argument.
204 |   public var names: [NameInfoV0]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[NameInfoV0]?' does not conform to 'Encodable'
205 |   /// The best name to use when referring to the argument in help displays.
206 |   public var preferredName: NameInfoV0?
    |              `- note: cannot automatically synthesize 'Encodable' because 'NameInfoV0?' does not conform to 'Encodable'
207 |
208 |   /// Name of argument's value.
209 |   public var valueName: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
210 |   /// Default value of the argument is none is specified on the command line.
211 |   public var defaultValue: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
212 |   // NOTE: this property will not be renamed to 'allValueStrings' to avoid
213 |   // breaking compatibility with the current serialized format.
    :
215 |   // This property is effectively deprecated.
216 |   /// List of all valid values.
217 |   public var allValues: [String]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
218 |   /// List of all valid values.
219 |   public var allValueStrings: [String]? {
    :
222 |   }
223 |   /// Mapping of valid values to descriptions of the value.
224 |   public var allValueDescriptions: [String: String]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[String : String]?' does not conform to 'Encodable'
225 |
226 |   /// The type of completion to use for an argument or an option value.
227 |   ///
228 |   /// `nil` if the tool uses the default completion kind.
229 |   public var completionKind: CompletionKindV0?
    |              `- note: cannot automatically synthesize 'Encodable' because 'CompletionKindV0?' does not conform to 'Encodable'
230 |
231 |   /// Short description of the argument's functionality.
232 |   public var abstract: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
233 |   /// Extended description of the argument's functionality.
234 |   public var discussion: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
235 |
236 |   public init(
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:93:40: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 91 |   public init(from decoder: any Decoder) throws {
 92 |     let container = try decoder.container(keyedBy: CodingKeys.self)
 93 |     self.superCommands = try container.decodeIfPresent(
    |                                        `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 94 |       [String].self, forKey: .superCommands)
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:94:31: error: cannot infer contextual base in reference to member 'superCommands'
 92 |     let container = try decoder.container(keyedBy: CodingKeys.self)
 93 |     self.superCommands = try container.decodeIfPresent(
 94 |       [String].self, forKey: .superCommands)
    |                               `- error: cannot infer contextual base in reference to member 'superCommands'
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
 96 |     self.aliases = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:95:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
 93 |     self.superCommands = try container.decodeIfPresent(
 94 |       [String].self, forKey: .superCommands)
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
    |                                      `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
 96 |     self.aliases = try container.decodeIfPresent(
 97 |       [String].self, forKey: .aliases)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:95:67: error: cannot infer contextual base in reference to member 'commandName'
 93 |     self.superCommands = try container.decodeIfPresent(
 94 |       [String].self, forKey: .superCommands)
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
    |                                                                   `- error: cannot infer contextual base in reference to member 'commandName'
 96 |     self.aliases = try container.decodeIfPresent(
 97 |       [String].self, forKey: .aliases)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:96:34: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 94 |       [String].self, forKey: .superCommands)
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
 96 |     self.aliases = try container.decodeIfPresent(
    |                                  `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 97 |       [String].self, forKey: .aliases)
 98 |     self.abstract = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:97:31: error: cannot infer contextual base in reference to member 'aliases'
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
 96 |     self.aliases = try container.decodeIfPresent(
 97 |       [String].self, forKey: .aliases)
    |                               `- error: cannot infer contextual base in reference to member 'aliases'
 98 |     self.abstract = try container.decodeIfPresent(
 99 |       String.self, forKey: .abstract)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:98:35: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 96 |     self.aliases = try container.decodeIfPresent(
 97 |       [String].self, forKey: .aliases)
 98 |     self.abstract = try container.decodeIfPresent(
    |                                   `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 99 |       String.self, forKey: .abstract)
100 |     self.discussion = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:99:29: error: cannot infer contextual base in reference to member 'abstract'
 97 |       [String].self, forKey: .aliases)
 98 |     self.abstract = try container.decodeIfPresent(
 99 |       String.self, forKey: .abstract)
    |                             `- error: cannot infer contextual base in reference to member 'abstract'
100 |     self.discussion = try container.decodeIfPresent(
101 |       String.self, forKey: .discussion)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:100:37: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 98 |     self.abstract = try container.decodeIfPresent(
 99 |       String.self, forKey: .abstract)
100 |     self.discussion = try container.decodeIfPresent(
    |                                     `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
101 |       String.self, forKey: .discussion)
102 |     self.shouldDisplay =
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:101:29: error: cannot infer contextual base in reference to member 'discussion'
 99 |       String.self, forKey: .abstract)
100 |     self.discussion = try container.decodeIfPresent(
101 |       String.self, forKey: .discussion)
    |                             `- error: cannot infer contextual base in reference to member 'discussion'
102 |     self.shouldDisplay =
103 |       try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:103:21: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
101 |       String.self, forKey: .discussion)
102 |     self.shouldDisplay =
103 |       try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
    |                     `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
104 |     self.defaultSubcommand = try container.decodeIfPresent(
105 |       String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:103:57: error: cannot infer contextual base in reference to member 'shouldDisplay'
101 |       String.self, forKey: .discussion)
102 |     self.shouldDisplay =
103 |       try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
    |                                                         `- error: cannot infer contextual base in reference to member 'shouldDisplay'
104 |     self.defaultSubcommand = try container.decodeIfPresent(
105 |       String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:104:44: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
102 |     self.shouldDisplay =
103 |       try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
104 |     self.defaultSubcommand = try container.decodeIfPresent(
    |                                            `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
105 |       String.self, forKey: .defaultSubcommand)
106 |     self.subcommands = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:105:29: error: cannot infer contextual base in reference to member 'defaultSubcommand'
103 |       try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
104 |     self.defaultSubcommand = try container.decodeIfPresent(
105 |       String.self, forKey: .defaultSubcommand)
    |                             `- error: cannot infer contextual base in reference to member 'defaultSubcommand'
106 |     self.subcommands = try container.decodeIfPresent(
107 |       [CommandInfoV0].self, forKey: .subcommands)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:106:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
104 |     self.defaultSubcommand = try container.decodeIfPresent(
105 |       String.self, forKey: .defaultSubcommand)
106 |     self.subcommands = try container.decodeIfPresent(
    |                                      `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
107 |       [CommandInfoV0].self, forKey: .subcommands)
108 |     self.arguments = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:107:38: error: cannot infer contextual base in reference to member 'subcommands'
105 |       String.self, forKey: .defaultSubcommand)
106 |     self.subcommands = try container.decodeIfPresent(
107 |       [CommandInfoV0].self, forKey: .subcommands)
    |                                      `- error: cannot infer contextual base in reference to member 'subcommands'
108 |     self.arguments = try container.decodeIfPresent(
109 |       [ArgumentInfoV0].self, forKey: .arguments)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:108:36: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
106 |     self.subcommands = try container.decodeIfPresent(
107 |       [CommandInfoV0].self, forKey: .subcommands)
108 |     self.arguments = try container.decodeIfPresent(
    |                                    `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
109 |       [ArgumentInfoV0].self, forKey: .arguments)
110 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:109:39: error: cannot infer contextual base in reference to member 'arguments'
107 |       [CommandInfoV0].self, forKey: .subcommands)
108 |     self.arguments = try container.decodeIfPresent(
109 |       [ArgumentInfoV0].self, forKey: .arguments)
    |                                       `- error: cannot infer contextual base in reference to member 'arguments'
110 |   }
111 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:15: error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
 16 |
 17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
 18 | public struct ToolInfoHeader: Decodable {
    |               `- error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
 19 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 20 |   /// generate the serialized form.
 21 |   public var serializationVersion: Int
    |              `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
 22 |
 23 |   public init(serializationVersion: Int) {
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:31: error: 'Decodable' is unavailable: unavailable in embedded Swift
 16 |
 17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
 18 | public struct ToolInfoHeader: Decodable {
    |                               `- error: 'Decodable' is unavailable: unavailable in embedded Swift
 19 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 20 |   /// generate the serialized form.
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
  |                 `- note: 'Decodable' has been explicitly marked unavailable here
3 |     init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
 28 | /// Top-level structure containing serialization version and information for all
 29 | /// commands in a tool.
 30 | public struct ToolInfoV0: Codable, Hashable {
    |               `- error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
 31 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 32 |   /// generate the serialized form.
 33 |   public var serializationVersion = 0
    |              `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
 34 |   /// Root command of the tool.
 35 |   public var command: CommandInfoV0
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:27: error: 'Codable' is unavailable: unavailable in embedded Swift
 28 | /// Top-level structure containing serialization version and information for all
 29 | /// commands in a tool.
 30 | public struct ToolInfoV0: Codable, Hashable {
    |                           `- error: 'Codable' is unavailable: unavailable in embedded Swift
 31 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 32 |   /// generate the serialized form.
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
 28 | /// Top-level structure containing serialization version and information for all
 29 | /// commands in a tool.
 30 | public struct ToolInfoV0: Codable, Hashable {
    |               `- error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
 31 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 32 |   /// generate the serialized form.
 33 |   public var serializationVersion = 0
    |              `- note: cannot automatically synthesize 'Encodable' because 'Int' does not conform to 'Encodable'
 34 |   /// Root command of the tool.
 35 |   public var command: CommandInfoV0
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:91:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
 89 |   }
 90 |
 91 |   public init(from decoder: any Decoder) throws {
    |                                 `- error: 'Decoder' is unavailable: unavailable in embedded Swift
 92 |     let container = try decoder.container(keyedBy: CodingKeys.self)
 93 |     self.superCommands = try container.decodeIfPresent(
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:30: error: 'Codable' is unavailable: unavailable in embedded Swift
 42 | /// All information about a particular command, including arguments and
 43 | /// subcommands.
 44 | public struct CommandInfoV0: Codable, Hashable {
    |                              `- error: 'Codable' is unavailable: unavailable in embedded Swift
 45 |   /// Super commands and tools.
 46 |   public var superCommands: [String]?
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:15: error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
 42 | /// All information about a particular command, including arguments and
 43 | /// subcommands.
 44 | public struct CommandInfoV0: Codable, Hashable {
    |               `- error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
 45 |   /// Super commands and tools.
 46 |   public var superCommands: [String]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
 47 |   /// Command should appear in help displays.
 48 |   public var shouldDisplay: Bool = true
    |              `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
 49 |
 50 |   /// Name used to invoke the command.
 51 |   public var commandName: String
    |              `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
 52 |   /// List of command aliases.
 53 |   public var aliases: [String]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
 54 |   /// Short description of the command's functionality.
 55 |   public var abstract: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 56 |   /// Extended description of the command's functionality.
 57 |   public var discussion: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 58 |
 59 |   /// Optional name of the subcommand invoked when the command is invoked with
 60 |   /// no arguments.
 61 |   public var defaultSubcommand: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
 62 |   /// List of nested commands.
 63 |   public var subcommands: [CommandInfoV0]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[CommandInfoV0]?' does not conform to 'Encodable'
 64 |   /// List of supported arguments.
 65 |   public var arguments: [ArgumentInfoV0]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[ArgumentInfoV0]?' does not conform to 'Encodable'
 66 |
 67 |   public init(
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
    |               `- error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
    :
189 |
190 |   /// Argument should appear in help displays.
191 |   public var shouldDisplay: Bool
    |              `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
192 |   /// Custom name of argument's section.
193 |   public var sectionTitle: String?
    |              `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
194 |
195 |   /// Argument can be omitted.
196 |   public var isOptional: Bool
    |              `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
197 |   /// Argument can be specified multiple times.
198 |   public var isRepeating: Bool
    |              `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
199 |
200 |   /// Parsing strategy of the ArgumentInfo.
    :
202 |
203 |   /// All names of the argument.
204 |   public var names: [NameInfoV0]?
    |              `- note: cannot automatically synthesize 'Decodable' because '[NameInfoV0]?' does not conform to 'Decodable'
205 |   /// The best name to use when referring to the argument in help displays.
206 |   public var preferredName: NameInfoV0?
    |              `- note: cannot automatically synthesize 'Decodable' because 'NameInfoV0?' does not conform to 'Decodable'
207 |
208 |   /// Name of argument's value.
209 |   public var valueName: String?
    |              `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
210 |   /// Default value of the argument is none is specified on the command line.
211 |   public var defaultValue: String?
    |              `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
212 |   // NOTE: this property will not be renamed to 'allValueStrings' to avoid
213 |   // breaking compatibility with the current serialized format.
    :
215 |   // This property is effectively deprecated.
216 |   /// List of all valid values.
217 |   public var allValues: [String]?
    |              `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
218 |   /// List of all valid values.
219 |   public var allValueStrings: [String]? {
    :
222 |   }
223 |   /// Mapping of valid values to descriptions of the value.
224 |   public var allValueDescriptions: [String: String]?
    |              `- note: cannot automatically synthesize 'Decodable' because '[String : String]?' does not conform to 'Decodable'
225 |
226 |   /// The type of completion to use for an argument or an option value.
227 |   ///
228 |   /// `nil` if the tool uses the default completion kind.
229 |   public var completionKind: CompletionKindV0?
    |              `- note: cannot automatically synthesize 'Decodable' because 'CompletionKindV0?' does not conform to 'Decodable'
230 |
231 |   /// Short description of the argument's functionality.
232 |   public var abstract: String?
    |              `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
233 |   /// Extended description of the argument's functionality.
234 |   public var discussion: String?
    |              `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
235 |
236 |   public init(
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
    |                 `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
118 |     /// Kind of prefix of an argument's name.
119 |     public enum KindV0: String, Codable, Hashable {
    :
129 |     public var kind: KindV0
130 |     /// Single or multi-character name of the argument.
131 |     public var name: String
    |                `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
132 |
133 |     public init(kind: NameInfoV0.KindV0, name: String) {
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:119:33: error: 'Codable' is unavailable: unavailable in embedded Swift
117 |   public struct NameInfoV0: Codable, Hashable {
118 |     /// Kind of prefix of an argument's name.
119 |     public enum KindV0: String, Codable, Hashable {
    |                                 `- error: 'Codable' is unavailable: unavailable in embedded Swift
120 |       /// A multi-character name preceded by two dashes.
121 |       case long
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:29: error: 'Codable' is unavailable: unavailable in embedded Swift
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
    |                             `- error: 'Codable' is unavailable: unavailable in embedded Swift
118 |     /// Kind of prefix of an argument's name.
119 |     public enum KindV0: String, Codable, Hashable {
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
    |                 `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
118 |     /// Kind of prefix of an argument's name.
119 |     public enum KindV0: String, Codable, Hashable {
    :
129 |     public var kind: KindV0
130 |     /// Single or multi-character name of the argument.
131 |     public var name: String
    |                `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
132 |
133 |     public init(kind: NameInfoV0.KindV0, name: String) {
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:140:31: error: 'Codable' is unavailable: unavailable in embedded Swift
138 |
139 |   /// Kind of argument.
140 |   public enum KindV0: String, Codable, Hashable {
    |                               `- error: 'Codable' is unavailable: unavailable in embedded Swift
141 |     /// Argument specified as a bare value on the command line.
142 |     case positional
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:149:42: error: 'Codable' is unavailable: unavailable in embedded Swift
147 |   }
148 |
149 |   public enum ParsingStrategyV0: String, Codable, Hashable {
    |                                          `- error: 'Codable' is unavailable: unavailable in embedded Swift
150 |     /// Expect the next `SplitArguments.Element` to be a value and parse it.
151 |     /// Will fail if the next input is an option.
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:33: error: 'Codable' is unavailable: unavailable in embedded Swift
167 |   }
168 |
169 |   public enum CompletionKindV0: Codable, Hashable {
    |                                 `- error: 'Codable' is unavailable: unavailable in embedded Swift
170 |     /// Use the specified list of completion strings.
171 |     case list(values: [String])
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
167 |   }
168 |
169 |   public enum CompletionKindV0: Codable, Hashable {
    |               `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
170 |     /// Use the specified list of completion strings.
171 |     case list(values: [String])
    |               `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
172 |     /// Complete file names with the specified extensions.
173 |     case file(extensions: [String])
    |               `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
174 |     /// Complete directory names that match the specified pattern.
175 |     case directory
176 |     /// Call the given shell command to generate completions.
177 |     case shellCommand(command: String)
    |                       `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
178 |     /// Generate completions using the given three-parameter closure.
179 |     case custom
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
167 |   }
168 |
169 |   public enum CompletionKindV0: Codable, Hashable {
    |               `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
170 |     /// Use the specified list of completion strings.
171 |     case list(values: [String])
    |               `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
172 |     /// Complete file names with the specified extensions.
173 |     case file(extensions: [String])
    |               `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
174 |     /// Complete directory names that match the specified pattern.
175 |     case directory
176 |     /// Call the given shell command to generate completions.
177 |     case shellCommand(command: String)
    |                       `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
178 |     /// Generate completions using the given three-parameter closure.
179 |     case custom
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:31: error: 'Codable' is unavailable: unavailable in embedded Swift
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
    |                               `- error: 'Codable' is unavailable: unavailable in embedded Swift
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
    |               `- error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
116 |   /// Information about an argument's name.
117 |   public struct NameInfoV0: Codable, Hashable {
    :
189 |
190 |   /// Argument should appear in help displays.
191 |   public var shouldDisplay: Bool
    |              `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
192 |   /// Custom name of argument's section.
193 |   public var sectionTitle: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
194 |
195 |   /// Argument can be omitted.
196 |   public var isOptional: Bool
    |              `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
197 |   /// Argument can be specified multiple times.
198 |   public var isRepeating: Bool
    |              `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
199 |
200 |   /// Parsing strategy of the ArgumentInfo.
    :
202 |
203 |   /// All names of the argument.
204 |   public var names: [NameInfoV0]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[NameInfoV0]?' does not conform to 'Encodable'
205 |   /// The best name to use when referring to the argument in help displays.
206 |   public var preferredName: NameInfoV0?
    |              `- note: cannot automatically synthesize 'Encodable' because 'NameInfoV0?' does not conform to 'Encodable'
207 |
208 |   /// Name of argument's value.
209 |   public var valueName: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
210 |   /// Default value of the argument is none is specified on the command line.
211 |   public var defaultValue: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
212 |   // NOTE: this property will not be renamed to 'allValueStrings' to avoid
213 |   // breaking compatibility with the current serialized format.
    :
215 |   // This property is effectively deprecated.
216 |   /// List of all valid values.
217 |   public var allValues: [String]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
218 |   /// List of all valid values.
219 |   public var allValueStrings: [String]? {
    :
222 |   }
223 |   /// Mapping of valid values to descriptions of the value.
224 |   public var allValueDescriptions: [String: String]?
    |              `- note: cannot automatically synthesize 'Encodable' because '[String : String]?' does not conform to 'Encodable'
225 |
226 |   /// The type of completion to use for an argument or an option value.
227 |   ///
228 |   /// `nil` if the tool uses the default completion kind.
229 |   public var completionKind: CompletionKindV0?
    |              `- note: cannot automatically synthesize 'Encodable' because 'CompletionKindV0?' does not conform to 'Encodable'
230 |
231 |   /// Short description of the argument's functionality.
232 |   public var abstract: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
233 |   /// Extended description of the argument's functionality.
234 |   public var discussion: String?
    |              `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
235 |
236 |   public init(
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-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:93:40: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 91 |   public init(from decoder: any Decoder) throws {
 92 |     let container = try decoder.container(keyedBy: CodingKeys.self)
 93 |     self.superCommands = try container.decodeIfPresent(
    |                                        `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 94 |       [String].self, forKey: .superCommands)
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:94:31: error: cannot infer contextual base in reference to member 'superCommands'
 92 |     let container = try decoder.container(keyedBy: CodingKeys.self)
 93 |     self.superCommands = try container.decodeIfPresent(
 94 |       [String].self, forKey: .superCommands)
    |                               `- error: cannot infer contextual base in reference to member 'superCommands'
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
 96 |     self.aliases = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:95:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
 93 |     self.superCommands = try container.decodeIfPresent(
 94 |       [String].self, forKey: .superCommands)
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
    |                                      `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
 96 |     self.aliases = try container.decodeIfPresent(
 97 |       [String].self, forKey: .aliases)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:95:67: error: cannot infer contextual base in reference to member 'commandName'
 93 |     self.superCommands = try container.decodeIfPresent(
 94 |       [String].self, forKey: .superCommands)
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
    |                                                                   `- error: cannot infer contextual base in reference to member 'commandName'
 96 |     self.aliases = try container.decodeIfPresent(
 97 |       [String].self, forKey: .aliases)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:96:34: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 94 |       [String].self, forKey: .superCommands)
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
 96 |     self.aliases = try container.decodeIfPresent(
    |                                  `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 97 |       [String].self, forKey: .aliases)
 98 |     self.abstract = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:97:31: error: cannot infer contextual base in reference to member 'aliases'
 95 |     self.commandName = try container.decode(String.self, forKey: .commandName)
 96 |     self.aliases = try container.decodeIfPresent(
 97 |       [String].self, forKey: .aliases)
    |                               `- error: cannot infer contextual base in reference to member 'aliases'
 98 |     self.abstract = try container.decodeIfPresent(
 99 |       String.self, forKey: .abstract)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:98:35: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 96 |     self.aliases = try container.decodeIfPresent(
 97 |       [String].self, forKey: .aliases)
 98 |     self.abstract = try container.decodeIfPresent(
    |                                   `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 99 |       String.self, forKey: .abstract)
100 |     self.discussion = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:99:29: error: cannot infer contextual base in reference to member 'abstract'
 97 |       [String].self, forKey: .aliases)
 98 |     self.abstract = try container.decodeIfPresent(
 99 |       String.self, forKey: .abstract)
    |                             `- error: cannot infer contextual base in reference to member 'abstract'
100 |     self.discussion = try container.decodeIfPresent(
101 |       String.self, forKey: .discussion)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:100:37: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
 98 |     self.abstract = try container.decodeIfPresent(
 99 |       String.self, forKey: .abstract)
100 |     self.discussion = try container.decodeIfPresent(
    |                                     `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
101 |       String.self, forKey: .discussion)
102 |     self.shouldDisplay =
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:101:29: error: cannot infer contextual base in reference to member 'discussion'
 99 |       String.self, forKey: .abstract)
100 |     self.discussion = try container.decodeIfPresent(
101 |       String.self, forKey: .discussion)
    |                             `- error: cannot infer contextual base in reference to member 'discussion'
102 |     self.shouldDisplay =
103 |       try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:103:21: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
101 |       String.self, forKey: .discussion)
102 |     self.shouldDisplay =
103 |       try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
    |                     `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
104 |     self.defaultSubcommand = try container.decodeIfPresent(
105 |       String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:103:57: error: cannot infer contextual base in reference to member 'shouldDisplay'
101 |       String.self, forKey: .discussion)
102 |     self.shouldDisplay =
103 |       try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
    |                                                         `- error: cannot infer contextual base in reference to member 'shouldDisplay'
104 |     self.defaultSubcommand = try container.decodeIfPresent(
105 |       String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:104:44: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
102 |     self.shouldDisplay =
103 |       try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
104 |     self.defaultSubcommand = try container.decodeIfPresent(
    |                                            `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
105 |       String.self, forKey: .defaultSubcommand)
106 |     self.subcommands = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:105:29: error: cannot infer contextual base in reference to member 'defaultSubcommand'
103 |       try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
104 |     self.defaultSubcommand = try container.decodeIfPresent(
105 |       String.self, forKey: .defaultSubcommand)
    |                             `- error: cannot infer contextual base in reference to member 'defaultSubcommand'
106 |     self.subcommands = try container.decodeIfPresent(
107 |       [CommandInfoV0].self, forKey: .subcommands)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:106:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
104 |     self.defaultSubcommand = try container.decodeIfPresent(
105 |       String.self, forKey: .defaultSubcommand)
106 |     self.subcommands = try container.decodeIfPresent(
    |                                      `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
107 |       [CommandInfoV0].self, forKey: .subcommands)
108 |     self.arguments = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:107:38: error: cannot infer contextual base in reference to member 'subcommands'
105 |       String.self, forKey: .defaultSubcommand)
106 |     self.subcommands = try container.decodeIfPresent(
107 |       [CommandInfoV0].self, forKey: .subcommands)
    |                                      `- error: cannot infer contextual base in reference to member 'subcommands'
108 |     self.arguments = try container.decodeIfPresent(
109 |       [ArgumentInfoV0].self, forKey: .arguments)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:108:36: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
106 |     self.subcommands = try container.decodeIfPresent(
107 |       [CommandInfoV0].self, forKey: .subcommands)
108 |     self.arguments = try container.decodeIfPresent(
    |                                    `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
109 |       [ArgumentInfoV0].self, forKey: .arguments)
110 |   }
BUILD FAILURE 6.2 wasm