Build Information
Failed to build CommonProcess, reference 0.2.0 (e23864), with Swift 6.2 for Wasm on 29 Oct 2025 06:11:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/common-process.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/wrkstrm/common-process
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at e23864a Expand and clarify documentation for CommonProcess
Cloned https://github.com/wrkstrm/common-process.git
Revision (git rev-parse @):
e23864a007dc853a9348484ba08502ea4f3a1e23
SUCCESS checkout https://github.com/wrkstrm/common-process.git at 0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/wrkstrm/common-process.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
warning: 'spi-builder-workspace': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmFoundation.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.4.0..<3.0.0)))]
---- Package Inject Deps: End ----
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-docc-plugin
[1/5087] Fetching swift-system
[612/7248] Fetching swift-system, swift-docc-plugin
[2660/9674] Fetching swift-system, swift-docc-plugin, swift-subprocess
[4956/16675] Fetching swift-system, swift-docc-plugin, swift-subprocess, swift-tools-support-core
Fetching https://github.com/wrkstrm/WrkstrmFoundation.git
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.63s)
Fetching https://github.com/wrkstrm/WrkstrmLog.git
Fetched https://github.com/apple/swift-docc-plugin from cache (1.07s)
Fetching https://github.com/apple/swift-argument-parser
[1/1997] Fetching wrkstrmlog
[1998/5619] Fetching wrkstrmlog, wrkstrmfoundation
Fetching https://github.com/wrkstrm/WrkstrmMain.git
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.76s)
Fetched https://github.com/apple/swift-system from cache (1.40s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.40s)
Fetched https://github.com/wrkstrm/WrkstrmFoundation.git from cache (0.84s)
[1/16685] Fetching swift-argument-parser
[3505/18387] Fetching swift-argument-parser, wrkstrmmain
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.39s)
[7676/16685] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.02s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.2.1 (2.79s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
warning: 'wrkstrmmain': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[]
---- Package Inject Deps: End ----
Computed https://github.com/wrkstrm/WrkstrmMain.git at 2.5.0 (0.74s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.13s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3565] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.59s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 2.2.4 (0.52s)
Fetching https://github.com/apple/swift-log.git
[1/4142] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.06s)
Computing version for https://github.com/wrkstrm/WrkstrmFoundation.git
warning: 'wrkstrmfoundation': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.4.0..<3.0.0)))]
---- Package Inject Deps: End ----
Computed https://github.com/wrkstrm/WrkstrmFoundation.git at 2.8.1 (0.88s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/wrkstrm/WrkstrmFoundation.git
Working copy of https://github.com/wrkstrm/WrkstrmFoundation.git resolved at 2.8.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.2.1
Creating working copy for https://github.com/wrkstrm/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 2.5.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 2.2.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
warning: 'wrkstrmfoundation': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.4.0..<3.0.0)))]
---- Package Inject Deps: End ----
warning: 'wrkstrmmain': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[]
---- Package Inject Deps: End ----
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/13] Write sources
[11/13] Compiling CSystem shims.c
[12/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/21] Emitting module WrkstrmMain
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/CustomCollections/Classes/Tree.swift:13:10: error: attribute 'weak' cannot be used in embedded Swift
11 |
12 | /// A weak reference to the parent node of this tree node.
13 | public weak var parent: Tree?
| `- error: attribute 'weak' cannot be used in embedded Swift
14 |
15 | /// A textual representation of this tree node, which is based on the value it contains.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/CustomCollections/Classes/Tree.swift:16:41: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
14 |
15 | /// A textual representation of this tree node, which is based on the value it contains.
16 | public var debugDescription: String { String(describing: value) }
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
17 |
18 | /// Initializes a new tree node with the given value.
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/CommandLine+Executable.swift:1:11: error: cannot find type 'CommandLine' in scope
1 | extension CommandLine {
| `- error: cannot find type 'CommandLine' in scope
2 | /// An array of substrings derived from splitting the first command-line argument by the "/"
3 | /// separator.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Count.swift:5:23: error: cannot find 'range' in scope
3 | var indices: [Int] = []
4 | var position = startIndex
5 | while let range = range(of: occurrence, range: position..<endIndex) {
| `- error: cannot find 'range' in scope
6 | let i = distance(from: startIndex, to: range.lowerBound)
7 | indices.append(i)
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:12:60: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
10 | /// - Returns: An optional array of `String` containing only source file paths, or `nil` if no
11 | /// source files are found.
12 | public var sourceFiles: [String]? { filter { $0.contains(".m") || $0.contains(".swift") } }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
13 |
14 | /// Filters the array to include only Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:12:81: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
10 | /// - Returns: An optional array of `String` containing only source file paths, or `nil` if no
11 | /// source files are found.
12 | public var sourceFiles: [String]? { filter { $0.contains(".m") || $0.contains(".swift") } }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
13 |
14 | /// Filters the array to include only Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:22:57: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
20 | /// - Returns: An optional array of `String` containing only Interface Builder file paths, or
21 | /// `nil` if no such files are found.
22 | public var nibFiles: [String]? { filter { $0.contains(".xib") || $0.contains(".storyboard") } }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
23 |
24 | /// Filters the array to include only Base Localization Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:22:80: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
20 | /// - Returns: An optional array of `String` containing only Interface Builder file paths, or
21 | /// `nil` if no such files are found.
22 | public var nibFiles: [String]? { filter { $0.contains(".xib") || $0.contains(".storyboard") } }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
23 |
24 | /// Filters the array to include only Base Localization Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:32:70: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
30 | /// - Returns: An optional array of `String` containing only Base Localization Interface Builder
31 | /// file paths, or `nil` if no such files are found.
32 | public var baseLocalizedNibFiles: [String]? { filter { $0.contains("Base.lproj") } }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
33 |
34 | /// Filters the array to include only non-localized and non-debug Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:44:27: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
42 | /// Builder file paths, or `nil` if no such files are found.
43 | public var unlocalizedNibFiles: [String]? {
44 | filter { !$0.contains("Base.lproj") && !$0.contains("Debug") }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
45 | }
46 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:44:57: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
42 | /// Builder file paths, or `nil` if no such files are found.
43 | public var unlocalizedNibFiles: [String]? {
44 | filter { !$0.contains("Base.lproj") && !$0.contains("Debug") }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
45 | }
46 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/AnyCodingKey.swift:20:29: error: 'CodingKey' is unavailable: unavailable in embedded Swift
18 | /// See also StackOverflow guidance on detecting empty JSON objects via keyed decoding:
19 | /// https://stackoverflow.com/questions/48943510/swift-codable-decode-empty-json-as-nil-or-empty-object
20 | public struct AnyCodingKey: CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
21 | /// The dynamic string value of the key in JSON.
22 | public var stringValue: String
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/DynamicCodingKey.swift:4:33: error: 'CodingKey' is unavailable: unavailable in embedded Swift
2 | /// when encoding or decoding JSON.
3 | /// Useful for working with dictionaries whose keys are not known at compile time.
4 | public struct DynamicCodingKey: CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
5 | /// The string value of the key. Required by `CodingKey`.
6 | public var stringValue: String
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:9:24: error: 'Decoder' is unavailable: unavailable in embedded Swift
7 | init() {}
8 |
9 | init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
10 | let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 | guard container.allKeys.isEmpty else {
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/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:18:29: error: 'Encoder' is unavailable: unavailable in embedded Swift
16 | }
17 |
18 | func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
19 | _ = encoder.container(keyedBy: AnyCodingKey.self)
20 | }
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:6:30: error: 'Codable' is unavailable: unavailable in embedded Swift
4 | /// Empty `Codable` used to validate `{}` objects when decoding.
5 | /// Decoding succeeds only if the underlying object has no keys.
6 | struct EmptyCodableStruct: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
7 | init() {}
8 |
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/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:11:23: error: value of type 'KeyedDecodingContainer<AnyCodingKey>' has no member 'allKeys'
9 | init(from decoder: Decoder) throws {
10 | let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 | guard container.allKeys.isEmpty else {
| `- error: value of type 'KeyedDecodingContainer<AnyCodingKey>' has no member 'allKeys'
12 | throw DecodingError.dataCorrupted(
13 | .init(codingPath: decoder.codingPath, debugDescription: "Expected empty object")
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:12:15: error: 'DecodingError' is unavailable: unavailable in embedded Swift
10 | let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 | guard container.allKeys.isEmpty else {
12 | throw DecodingError.dataCorrupted(
| `- error: 'DecodingError' is unavailable: unavailable in embedded Swift
13 | .init(codingPath: decoder.codingPath, debugDescription: "Expected empty object")
14 | )
Swift.DecodingError:2:13: note: 'DecodingError' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public enum DecodingError : Error {
| `- note: 'DecodingError' has been explicitly marked unavailable here
3 | public struct Context : Sendable {
4 | public init(codingPath: [any CodingKey], debugDescription: String, underlyingError: (any Error)? = nil)
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:12:17: error: cannot find type 'Key' in scope
10 | public func decodeArrayAllowingNullOrSingle<T>(
11 | _ type: T.Type = T.self,
12 | forKey key: Key
| `- error: cannot find type 'Key' in scope
13 | ) throws -> [T]? where T: Decodable {
14 | guard contains(key) else {
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:13:29: error: 'Decodable' is unavailable: unavailable in embedded Swift
11 | _ type: T.Type = T.self,
12 | forKey key: Key
13 | ) throws -> [T]? where T: Decodable {
| `- error: 'Decodable' is unavailable: unavailable in embedded Swift
14 | guard contains(key) else {
15 | throw DecodingError.dataCorruptedError(
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/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:54:17: error: cannot find type 'Key' in scope
52 | public func decodeAllowingNullOrEmptyObject<T>(
53 | _ type: T.Type = T.self,
54 | forKey key: Key
| `- error: cannot find type 'Key' in scope
55 | ) throws -> T? where T: Decodable {
56 | guard contains(key) else {
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:55:27: error: 'Decodable' is unavailable: unavailable in embedded Swift
53 | _ type: T.Type = T.self,
54 | forKey key: Key
55 | ) throws -> T? where T: Decodable {
| `- error: 'Decodable' is unavailable: unavailable in embedded Swift
56 | guard contains(key) else {
57 | return nil
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/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:1:11: error: 'KeyedDecodingContainer' is unavailable: unavailable in embedded Swift
1 | extension KeyedDecodingContainer {
| `- error: 'KeyedDecodingContainer' is unavailable: unavailable in embedded Swift
2 | /// Decodes a value for `key` that may be null, a single object,
3 | /// or an array of objects, returning a normalized optional array.
Swift.KeyedDecodingContainer:2:15: note: 'KeyedDecodingContainer' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public struct KeyedDecodingContainer<K> where K : CodingKey {
| `- note: 'KeyedDecodingContainer' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:14:11: error: cannot find 'contains' in scope
12 | forKey key: Key
13 | ) throws -> [T]? where T: Decodable {
14 | guard contains(key) else {
| `- error: cannot find 'contains' in scope
15 | throw DecodingError.dataCorruptedError(
16 | forKey: key,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:15:27: error: type 'DecodingError' has no member 'dataCorruptedError'
13 | ) throws -> [T]? where T: Decodable {
14 | guard contains(key) else {
15 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
16 | forKey: key,
17 | in: self,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:22:12: error: cannot find 'decodeNil' in scope
20 | )
21 | }
22 | if try decodeNil(forKey: key) {
| `- error: cannot find 'decodeNil' in scope
23 | return nil
24 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:27:18: error: cannot find 'decode' in scope
25 | do {
26 | // Try decoding as array
27 | return try decode([T].self, forKey: key)
| `- error: cannot find 'decode' in scope
28 | } catch {
29 | // Try decoding as single value
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:33:27: error: type 'DecodingError' has no member 'dataCorruptedError'
31 | return [single]
32 | }
33 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
34 | forKey: key,
35 | in: self,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:56:11: error: cannot find 'contains' in scope
54 | forKey key: Key
55 | ) throws -> T? where T: Decodable {
56 | guard contains(key) else {
| `- error: cannot find 'contains' in scope
57 | return nil
58 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:60:12: error: cannot find 'decodeNil' in scope
58 | }
59 |
60 | if try decodeNil(forKey: key) {
| `- error: cannot find 'decodeNil' in scope
61 | return nil
62 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:64:14: error: cannot find 'decode' in scope
62 | }
63 |
64 | if (try? decode(String.self, forKey: key)) == "null" {
| `- error: cannot find 'decode' in scope
65 | return nil
66 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:68:14: error: cannot find 'decode' in scope
66 | }
67 |
68 | if (try? decode(JSON.EmptyCodableStruct.self, forKey: key)) != nil {
| `- error: cannot find 'decode' in scope
69 | return nil
70 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:73:16: error: cannot find 'decode' in scope
71 |
72 | // Try decoding as an object
73 | return try decode(T.self, forKey: key)
| `- error: cannot find 'decode' in scope
74 | }
75 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/21] Emitting module CommonProcess
/host/spi-builder-workspace/sources/common-process/CommandSpec.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A codable description of a one-shot process run.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/21] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
40 | import Musl
41 | #else
42 | #error("Unsupported runtime")
| `- error: Unsupported runtime
43 | #endif
44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:32:8: error: Unsupported runtime
30 | import WASILibc
31 | #else
32 | #error("Unsupported runtime")
| `- error: Unsupported runtime
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 | let systemStderr = WASILibc.stderr!
1269 | #else
1270 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 | let systemStdout = WASILibc.stdout!
1289 | #else
1290 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
26 | import WASILibc
27 | #else
28 | #error("Unsupported runtime")
| `- error: Unsupported runtime
29 | #endif
30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
56 | UnsafeMutablePointer.allocate(capacity: 1)
57 | #else
58 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 | fileprivate var shared: Bool = true
160 | #else
161 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
162 | UnsafeMutablePointer.allocate(capacity: 1)
163 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
67 | InitializeSRWLock(self.mutex)
68 | #else
69 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
68 | #else
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
74 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
75 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
83 | self.mutex.deallocate()
84 | #else
85 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
86 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
87 | self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
99 | AcquireSRWLockExclusive(self.mutex)
100 | #else
101 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
102 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 | ReleaseSRWLockExclusive(self.mutex)
115 | #else
116 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
117 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 | self.rwlock.deallocate()
183 | #else
184 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
185 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 | self.shared = true
200 | #else
201 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 | self.shared = false
216 | #else
217 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 | }
236 | #else
237 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
238 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
845 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
846 | /// `.critical` being the most severe.
847 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
848 | /// Appropriate for messages that contain information normally of use only when
849 | /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot find 'systemStderr' in scope
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot find 'systemStdout' in scope
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 | // no file locking on WASI
1225 | #else
1226 | flockfile(self.file)
| `- error: cannot find 'flockfile' in scope
1227 | #endif
1228 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 | #endif
1236 | }
1237 | _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
| `- error: cannot find 'fwrite' in scope
1238 | if case .always = self.flushMode {
1239 | self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 | /// Flush the underlying stream.
1245 | internal func flush() {
1246 | _ = fflush(self.file)
| `- error: cannot find 'fflush' in scope
1247 | }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 | #else
1447 | var timestamp = time(nil)
1448 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1449 | return "<unknown>"
1450 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 | return "<unknown>"
1450 | }
1451 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1452 | #endif
1453 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 | switch self {
1547 | case .dictionary(let dict):
1548 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1550:48: error: 'description' is unavailable: unavailable in embedded Swift
1548 | return dict.mapValues { $0.description }.description
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1551 | case .string(let str):
1552 | return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
[17/21] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
40 | import Musl
41 | #else
42 | #error("Unsupported runtime")
| `- error: Unsupported runtime
43 | #endif
44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:32:8: error: Unsupported runtime
30 | import WASILibc
31 | #else
32 | #error("Unsupported runtime")
| `- error: Unsupported runtime
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 | let systemStderr = WASILibc.stderr!
1269 | #else
1270 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 | let systemStdout = WASILibc.stdout!
1289 | #else
1290 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
26 | import WASILibc
27 | #else
28 | #error("Unsupported runtime")
| `- error: Unsupported runtime
29 | #endif
30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
56 | UnsafeMutablePointer.allocate(capacity: 1)
57 | #else
58 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 | fileprivate var shared: Bool = true
160 | #else
161 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
162 | UnsafeMutablePointer.allocate(capacity: 1)
163 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
67 | InitializeSRWLock(self.mutex)
68 | #else
69 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
68 | #else
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
74 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
75 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
83 | self.mutex.deallocate()
84 | #else
85 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
86 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
87 | self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
99 | AcquireSRWLockExclusive(self.mutex)
100 | #else
101 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
102 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 | ReleaseSRWLockExclusive(self.mutex)
115 | #else
116 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
117 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 | self.rwlock.deallocate()
183 | #else
184 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
185 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 | self.shared = true
200 | #else
201 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 | self.shared = false
216 | #else
217 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 | }
236 | #else
237 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
238 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
845 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
846 | /// `.critical` being the most severe.
847 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
848 | /// Appropriate for messages that contain information normally of use only when
849 | /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot find 'systemStderr' in scope
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot find 'systemStdout' in scope
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 | // no file locking on WASI
1225 | #else
1226 | flockfile(self.file)
| `- error: cannot find 'flockfile' in scope
1227 | #endif
1228 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 | #endif
1236 | }
1237 | _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
| `- error: cannot find 'fwrite' in scope
1238 | if case .always = self.flushMode {
1239 | self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 | /// Flush the underlying stream.
1245 | internal func flush() {
1246 | _ = fflush(self.file)
| `- error: cannot find 'fflush' in scope
1247 | }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 | #else
1447 | var timestamp = time(nil)
1448 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1449 | return "<unknown>"
1450 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 | return "<unknown>"
1450 | }
1451 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1452 | #endif
1453 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 | switch self {
1547 | case .dictionary(let dict):
1548 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1550:48: error: 'description' is unavailable: unavailable in embedded Swift
1548 | return dict.mapValues { $0.description }.description
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1551 | case .string(let str):
1552 | return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/CustomCollections/Classes/Tree.swift:13:10: error: attribute 'weak' cannot be used in embedded Swift
11 |
12 | /// A weak reference to the parent node of this tree node.
13 | public weak var parent: Tree?
| `- error: attribute 'weak' cannot be used in embedded Swift
14 |
15 | /// A textual representation of this tree node, which is based on the value it contains.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/CustomCollections/Classes/Tree.swift:16:41: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
14 |
15 | /// A textual representation of this tree node, which is based on the value it contains.
16 | public var debugDescription: String { String(describing: value) }
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
17 |
18 | /// Initializes a new tree node with the given value.
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/CommandLine+Executable.swift:1:11: error: cannot find type 'CommandLine' in scope
1 | extension CommandLine {
| `- error: cannot find type 'CommandLine' in scope
2 | /// An array of substrings derived from splitting the first command-line argument by the "/"
3 | /// separator.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Count.swift:5:23: error: cannot find 'range' in scope
3 | var indices: [Int] = []
4 | var position = startIndex
5 | while let range = range(of: occurrence, range: position..<endIndex) {
| `- error: cannot find 'range' in scope
6 | let i = distance(from: startIndex, to: range.lowerBound)
7 | indices.append(i)
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:12:60: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
10 | /// - Returns: An optional array of `String` containing only source file paths, or `nil` if no
11 | /// source files are found.
12 | public var sourceFiles: [String]? { filter { $0.contains(".m") || $0.contains(".swift") } }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
13 |
14 | /// Filters the array to include only Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:12:81: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
10 | /// - Returns: An optional array of `String` containing only source file paths, or `nil` if no
11 | /// source files are found.
12 | public var sourceFiles: [String]? { filter { $0.contains(".m") || $0.contains(".swift") } }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
13 |
14 | /// Filters the array to include only Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:22:57: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
20 | /// - Returns: An optional array of `String` containing only Interface Builder file paths, or
21 | /// `nil` if no such files are found.
22 | public var nibFiles: [String]? { filter { $0.contains(".xib") || $0.contains(".storyboard") } }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
23 |
24 | /// Filters the array to include only Base Localization Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:22:80: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
20 | /// - Returns: An optional array of `String` containing only Interface Builder file paths, or
21 | /// `nil` if no such files are found.
22 | public var nibFiles: [String]? { filter { $0.contains(".xib") || $0.contains(".storyboard") } }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
23 |
24 | /// Filters the array to include only Base Localization Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:32:70: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
30 | /// - Returns: An optional array of `String` containing only Base Localization Interface Builder
31 | /// file paths, or `nil` if no such files are found.
32 | public var baseLocalizedNibFiles: [String]? { filter { $0.contains("Base.lproj") } }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
33 |
34 | /// Filters the array to include only non-localized and non-debug Interface Builder files.
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:44:27: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
42 | /// Builder file paths, or `nil` if no such files are found.
43 | public var unlocalizedNibFiles: [String]? {
44 | filter { !$0.contains("Base.lproj") && !$0.contains("Debug") }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
45 | }
46 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/Extensions/String/String+Source.swift:44:57: error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
42 | /// Builder file paths, or `nil` if no such files are found.
43 | public var unlocalizedNibFiles: [String]? {
44 | filter { !$0.contains("Base.lproj") && !$0.contains("Debug") }
| `- error: cannot convert value of type 'String' to expected argument type 'String.Element' (aka 'Character')
45 | }
46 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/AnyCodingKey.swift:20:29: error: 'CodingKey' is unavailable: unavailable in embedded Swift
18 | /// See also StackOverflow guidance on detecting empty JSON objects via keyed decoding:
19 | /// https://stackoverflow.com/questions/48943510/swift-codable-decode-empty-json-as-nil-or-empty-object
20 | public struct AnyCodingKey: CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
21 | /// The dynamic string value of the key in JSON.
22 | public var stringValue: String
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/DynamicCodingKey.swift:4:33: error: 'CodingKey' is unavailable: unavailable in embedded Swift
2 | /// when encoding or decoding JSON.
3 | /// Useful for working with dictionaries whose keys are not known at compile time.
4 | public struct DynamicCodingKey: CodingKey {
| `- error: 'CodingKey' is unavailable: unavailable in embedded Swift
5 | /// The string value of the key. Required by `CodingKey`.
6 | public var stringValue: String
Swift.CodingKey:2:17: note: 'CodingKey' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol CodingKey {
| `- note: 'CodingKey' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:9:24: error: 'Decoder' is unavailable: unavailable in embedded Swift
7 | init() {}
8 |
9 | init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
10 | let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 | guard container.allKeys.isEmpty else {
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/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:18:29: error: 'Encoder' is unavailable: unavailable in embedded Swift
16 | }
17 |
18 | func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
19 | _ = encoder.container(keyedBy: AnyCodingKey.self)
20 | }
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:6:30: error: 'Codable' is unavailable: unavailable in embedded Swift
4 | /// Empty `Codable` used to validate `{}` objects when decoding.
5 | /// Decoding succeeds only if the underlying object has no keys.
6 | struct EmptyCodableStruct: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
7 | init() {}
8 |
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/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:11:23: error: value of type 'KeyedDecodingContainer<AnyCodingKey>' has no member 'allKeys'
9 | init(from decoder: Decoder) throws {
10 | let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 | guard container.allKeys.isEmpty else {
| `- error: value of type 'KeyedDecodingContainer<AnyCodingKey>' has no member 'allKeys'
12 | throw DecodingError.dataCorrupted(
13 | .init(codingPath: decoder.codingPath, debugDescription: "Expected empty object")
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON+EmptyCodableStruct.swift:12:15: error: 'DecodingError' is unavailable: unavailable in embedded Swift
10 | let container = try decoder.container(keyedBy: AnyCodingKey.self)
11 | guard container.allKeys.isEmpty else {
12 | throw DecodingError.dataCorrupted(
| `- error: 'DecodingError' is unavailable: unavailable in embedded Swift
13 | .init(codingPath: decoder.codingPath, debugDescription: "Expected empty object")
14 | )
Swift.DecodingError:2:13: note: 'DecodingError' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public enum DecodingError : Error {
| `- note: 'DecodingError' has been explicitly marked unavailable here
3 | public struct Context : Sendable {
4 | public init(codingPath: [any CodingKey], debugDescription: String, underlyingError: (any Error)? = nil)
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:12:17: error: cannot find type 'Key' in scope
10 | public func decodeArrayAllowingNullOrSingle<T>(
11 | _ type: T.Type = T.self,
12 | forKey key: Key
| `- error: cannot find type 'Key' in scope
13 | ) throws -> [T]? where T: Decodable {
14 | guard contains(key) else {
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:13:29: error: 'Decodable' is unavailable: unavailable in embedded Swift
11 | _ type: T.Type = T.self,
12 | forKey key: Key
13 | ) throws -> [T]? where T: Decodable {
| `- error: 'Decodable' is unavailable: unavailable in embedded Swift
14 | guard contains(key) else {
15 | throw DecodingError.dataCorruptedError(
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/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:54:17: error: cannot find type 'Key' in scope
52 | public func decodeAllowingNullOrEmptyObject<T>(
53 | _ type: T.Type = T.self,
54 | forKey key: Key
| `- error: cannot find type 'Key' in scope
55 | ) throws -> T? where T: Decodable {
56 | guard contains(key) else {
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:55:27: error: 'Decodable' is unavailable: unavailable in embedded Swift
53 | _ type: T.Type = T.self,
54 | forKey key: Key
55 | ) throws -> T? where T: Decodable {
| `- error: 'Decodable' is unavailable: unavailable in embedded Swift
56 | guard contains(key) else {
57 | return nil
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/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:1:11: error: 'KeyedDecodingContainer' is unavailable: unavailable in embedded Swift
1 | extension KeyedDecodingContainer {
| `- error: 'KeyedDecodingContainer' is unavailable: unavailable in embedded Swift
2 | /// Decodes a value for `key` that may be null, a single object,
3 | /// or an array of objects, returning a normalized optional array.
Swift.KeyedDecodingContainer:2:15: note: 'KeyedDecodingContainer' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public struct KeyedDecodingContainer<K> where K : CodingKey {
| `- note: 'KeyedDecodingContainer' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:14:11: error: cannot find 'contains' in scope
12 | forKey key: Key
13 | ) throws -> [T]? where T: Decodable {
14 | guard contains(key) else {
| `- error: cannot find 'contains' in scope
15 | throw DecodingError.dataCorruptedError(
16 | forKey: key,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:15:27: error: type 'DecodingError' has no member 'dataCorruptedError'
13 | ) throws -> [T]? where T: Decodable {
14 | guard contains(key) else {
15 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
16 | forKey: key,
17 | in: self,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:22:12: error: cannot find 'decodeNil' in scope
20 | )
21 | }
22 | if try decodeNil(forKey: key) {
| `- error: cannot find 'decodeNil' in scope
23 | return nil
24 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:27:18: error: cannot find 'decode' in scope
25 | do {
26 | // Try decoding as array
27 | return try decode([T].self, forKey: key)
| `- error: cannot find 'decode' in scope
28 | } catch {
29 | // Try decoding as single value
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:33:27: error: type 'DecodingError' has no member 'dataCorruptedError'
31 | return [single]
32 | }
33 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
34 | forKey: key,
35 | in: self,
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:56:11: error: cannot find 'contains' in scope
54 | forKey key: Key
55 | ) throws -> T? where T: Decodable {
56 | guard contains(key) else {
| `- error: cannot find 'contains' in scope
57 | return nil
58 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:60:12: error: cannot find 'decodeNil' in scope
58 | }
59 |
60 | if try decodeNil(forKey: key) {
| `- error: cannot find 'decodeNil' in scope
61 | return nil
62 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:64:14: error: cannot find 'decode' in scope
62 | }
63 |
64 | if (try? decode(String.self, forKey: key)) == "null" {
| `- error: cannot find 'decode' in scope
65 | return nil
66 | }
/host/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/KeyedDecodingContainer+FuzzyDecoding.swift:68:14: error: cannot find 'decode' in scope
66 | }
67 |
68 | if (try? decode(JSON.EmptyCodableStruct.self, forKey: key)) != nil {
| `- error: cannot find 'decode' in scope
69 | return nil
70 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:27:8: error: Unsupported Platform
25 | import Bionic
26 | #else
27 | #error("Unsupported Platform")
| `- error: Unsupported Platform
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:30:8: error: Unsupported Platform
28 | import Android
29 | #else
30 | #error("Unsupported Platform")
| `- error: Unsupported Platform
31 | #endif
32 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:32:8: error: Unsupported Platform
30 | import Android
31 | #else
32 | #error("Unsupported Platform")
| `- error: Unsupported Platform
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:24:8: error: Unsupported Platform
22 | import Android
23 | #else
24 | #error("Unsupported Platform")
| `- error: Unsupported Platform
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Decodable'
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: type 'Errno' does not conform to protocol 'Decodable'
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
17 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
18 |
19 | /// Creates a strongly typed error number from a raw C error number.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:57: error: 'Codable' is unavailable: unavailable in embedded Swift
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Encodable'
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: type 'Errno' does not conform to protocol 'Encodable'
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
17 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
18 |
19 | /// Creates a strongly typed error number from a raw C error number.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Decodable'
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: type 'Errno' does not conform to protocol 'Decodable'
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
17 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
18 |
19 | /// Creates a strongly typed error number from a raw C error number.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:1532:27: error: cannot find 'system_errno' in scope
1530 | /// The corresponding C global variable is `errno`.
1531 | internal static var current: Errno {
1532 | get { Errno(rawValue: system_errno) }
| `- error: cannot find 'system_errno' in scope
1533 | set { system_errno = newValue.rawValue }
1534 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:1533:11: error: cannot find 'system_errno' in scope
1531 | internal static var current: Errno {
1532 | get { Errno(rawValue: system_errno) }
1533 | set { system_errno = newValue.rawValue }
| `- error: cannot find 'system_errno' in scope
1534 | }
1535 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Decodable'
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: type 'FileDescriptor' does not conform to protocol 'Decodable'
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
21 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
22 |
23 | /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:59: error: 'Codable' is unavailable: unavailable in embedded Swift
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Encodable'
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: type 'FileDescriptor' does not conform to protocol 'Encodable'
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
21 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
22 |
23 | /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
52 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
53 |
54 | /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:67: error: 'Codable' is unavailable: unavailable in embedded Swift
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Encodable'
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Encodable'
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
52 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
53 |
54 | /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
95 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
96 |
97 | /// Create a strongly-typed options value from raw C options.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:61: error: 'Codable' is unavailable: unavailable in embedded Swift
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Encodable'
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Encodable'
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
95 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
96 |
97 | /// Create a strongly-typed options value from raw C options.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
333 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
334 |
335 | /// Create a strongly-typed seek origin from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:67: error: 'Codable' is unavailable: unavailable in embedded Swift
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Encodable'
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Encodable'
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
333 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
334 |
335 | /// Create a strongly-typed seek origin from a raw C value.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Decodable'
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: type 'FileDescriptor' does not conform to protocol 'Decodable'
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
21 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
22 |
23 | /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
52 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
53 |
54 | /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
95 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
96 |
97 | /// Create a strongly-typed options value from raw C options.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
333 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
334 |
335 | /// Create a strongly-typed seek origin from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:50:27: error: cannot find type 'mode_t' in scope
48 | public typealias Mode = CInt
49 | #else
50 | public typealias Mode = mode_t
| `- error: cannot find type 'mode_t' in scope
51 | #endif
52 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:41:27: error: cannot find type 'mode_t' in scope
39 | /// The C `mode_t` type.
40 | @available(System 0.0.1, *)
41 | public typealias CModeT = mode_t
| `- error: cannot find type 'mode_t' in scope
42 | #endif
43 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:89:53: error: extra argument in call
87 | let descOrError: Result<CInt, Errno> = valueOrErrno(retryOnInterrupt: retryOnInterrupt) {
88 | if let permissions = permissions {
89 | return system_open(path, oFlag, permissions.rawValue)
| `- error: extra argument in call
90 | }
91 | precondition(!options.contains(.create),
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:93:6: error: cannot find type 'off_t' in scope
91 | internal func system_lseek(
92 | _ fd: Int32, _ off: off_t, _ whence: Int32
93 | ) -> off_t {
| `- error: cannot find type 'off_t' in scope
94 | #if ENABLE_MOCKING
95 | if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:92:23: error: cannot find type 'off_t' in scope
90 | // lseek
91 | internal func system_lseek(
92 | _ fd: Int32, _ off: off_t, _ whence: Int32
| `- error: cannot find type 'off_t' in scope
93 | ) -> off_t {
94 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:35:29: error: cannot find type 'off_t' in scope
33 | #endif
34 |
35 | internal typealias _COffT = off_t
| `- error: cannot find type 'off_t' in scope
36 |
37 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:74:73: error: cannot find type 'off_t' in scope
72 | // pread
73 | internal func system_pread(
74 | _ fd: Int32, _ buf: UnsafeMutableRawPointer?, _ nbyte: Int, _ offset: off_t
| `- error: cannot find type 'off_t' in scope
75 | ) -> Int {
76 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:112:66: error: cannot find type 'off_t' in scope
110 | // pwrite
111 | internal func system_pwrite(
112 | _ fd: Int32, _ buf: UnsafeRawPointer?, _ nbyte: Int, _ offset: off_t
| `- error: cannot find type 'off_t' in scope
113 | ) -> Int {
114 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:153:55: error: cannot find type 'off_t' in scope
151 | #endif
152 |
153 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
| `- error: cannot find type 'off_t' in scope
154 | #if ENABLE_MOCKING
155 | if mockingEnabled { return _mock(fd, length) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:78:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
76 | // Decoder is written explicitly to ensure that we validate invariants on
77 | // untrusted input.
78 | public init(from decoder: any Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
79 | let container = try decoder.container(keyedBy: CodingKeys.self)
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:72:21: error: 'Codable' is unavailable: unavailable in embedded Swift
70 |
71 | @available(System 0.0.1, *)
72 | extension FilePath: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
73 | // Encoder is synthesized; it probably should have been explicit and used
74 | // a single-value container, but making that change now is somewhat risky.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:80:35: error: value of type 'KeyedDecodingContainer<FilePath.CodingKeys>' has no member 'decode'
78 | public init(from decoder: any Decoder) throws {
79 | let container = try decoder.container(keyedBy: CodingKeys.self)
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
| `- error: value of type 'KeyedDecodingContainer<FilePath.CodingKeys>' has no member 'decode'
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:80:70: error: cannot infer contextual base in reference to member '_storage'
78 | public init(from decoder: any Decoder) throws {
79 | let container = try decoder.container(keyedBy: CodingKeys.self)
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
| `- error: cannot infer contextual base in reference to member '_storage'
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:82:27: error: type 'DecodingError' has no member 'dataCorruptedError'
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
83 | forKey: ._storage,
84 | in: container,
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:83:18: error: cannot infer contextual base in reference to member '_storage'
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
83 | forKey: ._storage,
| `- error: cannot infer contextual base in reference to member '_storage'
84 | in: container,
85 | debugDescription:
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
32 | public struct ComponentView: Sendable {
33 | internal var _path: FilePath
34 | internal var _start: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath) {
:
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
| `- error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
184 | internal var _range: Range<SystemString.Index> {
185 | _start ..< _path._storage.endIndex
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Encodable'
32 | public struct ComponentView: Sendable {
33 | internal var _path: FilePath
34 | internal var _start: SystemString.Index
| `- note: cannot automatically synthesize 'Encodable' because 'SystemString.Index' does not conform to 'Encodable'
35 |
36 | internal init(_ path: FilePath) {
:
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
| `- error: type 'FilePath.ComponentView' does not conform to protocol 'Encodable'
184 | internal var _range: Range<SystemString.Index> {
185 | _start ..< _path._storage.endIndex
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
32 | public struct ComponentView: Sendable {
33 | internal var _path: FilePath
34 | internal var _start: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath) {
:
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
| `- error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
184 | internal var _range: Range<SystemString.Index> {
185 | _start ..< _path._storage.endIndex
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Decodable'
32 | public struct Root: Sendable {
33 | internal var _path: FilePath
34 | internal var _rootEnd: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath, rootEnd: SystemString.Index) {
:
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
| `- error: type 'FilePath.Root' does not conform to protocol 'Decodable'
194 | internal var _range: Range<SystemString.Index> {
195 | (..<_rootEnd).relative(to: _path._storage)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Decodable'
32 | public struct Root: Sendable {
33 | internal var _path: FilePath
34 | internal var _rootEnd: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath, rootEnd: SystemString.Index) {
:
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
| `- error: type 'FilePath.Root' does not conform to protocol 'Decodable'
194 | internal var _range: Range<SystemString.Index> {
195 | (..<_rootEnd).relative(to: _path._storage)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Decodable'
59 | public struct Component: Sendable {
60 | internal var _path: FilePath
61 | internal var _range: Range<SystemString.Index>
| `- note: cannot automatically synthesize 'Decodable' because 'Range<SystemString.Index>' does not conform to 'Decodable'
62 |
63 | // TODO: Make a small-component form to save on ARC overhead when
:
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
| `- error: type 'FilePath.Component' does not conform to protocol 'Decodable'
191 | }
192 | @available(System 0.0.2, *)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Decodable'
59 | public struct Component: Sendable {
60 | internal var _path: FilePath
61 | internal var _range: Range<SystemString.Index>
| `- note: cannot automatically synthesize 'Decodable' because 'Range<SystemString.Index>' does not conform to 'Decodable'
62 |
63 | // TODO: Make a small-component form to save on ARC overhead when
:
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
| `- error: type 'FilePath.Component' does not conform to protocol 'Decodable'
191 | }
192 | @available(System 0.0.2, *)
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:133:61: error: 'Codable' is unavailable: unavailable in embedded Swift
131 | // Unifying protocol for common functionality between roots, components,
132 | // and views onto SystemString and FilePath.
133 | internal protocol _StrSlice: _PlatformStringable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
134 | var _storage: SystemString { get }
135 | var _range: Range<SystemString.Index> { get }
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Encodable'
59 | public struct Component: Sendable {
60 | internal var _path: FilePath
61 | internal var _range: Range<SystemString.Index>
| `- note: cannot automatically synthesize 'Encodable' because 'Range<SystemString.Index>' does not conform to 'Encodable'
62 |
63 | // TODO: Make a small-component form to save on ARC overhead when
:
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
| `- error: type 'FilePath.Component' does not conform to protocol 'Encodable'
191 | }
192 | @available(System 0.0.2, *)
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Encodable'
32 | public struct Root: Sendable {
33 | internal var _path: FilePath
34 | internal var _rootEnd: SystemString.Index
| `- note: cannot automatically synthesize 'Encodable' because 'SystemString.Index' does not conform to 'Encodable'
35 |
36 | internal init(_ path: FilePath, rootEnd: SystemString.Index) {
:
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
| `- error: type 'FilePath.Root' does not conform to protocol 'Encodable'
194 | internal var _range: Range<SystemString.Index> {
195 | (..<_rootEnd).relative(to: _path._storage)
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/SystemString.swift:11:17: error: type 'SystemChar' does not conform to protocol 'Decodable'
9 |
10 | // A platform-native character representation, currently used for file paths
11 | internal struct SystemChar:
| `- error: type 'SystemChar' does not conform to protocol 'Decodable'
12 | RawRepresentable, Sendable, Comparable, Hashable, Codable {
13 | internal typealias RawValue = CInterop.PlatformChar
14 |
15 | internal var rawValue: RawValue
| `- note: cannot automatically synthesize 'Decodable' because 'RawValue' does not conform to 'Decodable'
16 |
17 | internal init(rawValue: RawValue) { self.rawValue = rawValue }
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/SystemString.swift:11:17: error: type 'SystemChar' does not conform to protocol 'Decodable'
9 |
10 | // A platform-native character representation, currently used for file paths
11 | internal struct SystemChar:
| `- error: type 'SystemChar' does not conform to protocol 'Decodable'
12 | RawRepresentable, Sendable, Comparable, Hashable, Codable {
13 | internal typealias RawValue = CInterop.PlatformChar
14 |
15 | internal var rawValue: RawValue
| `- note: cannot automatically synthesize 'Decodable' because 'RawValue' does not conform to 'Decodable'
16 |
17 | internal init(rawValue: RawValue) { self.rawValue = rawValue }
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathTemp.swift:52:15: error: cannot find 'system_errno' in scope
50 | return true
51 | }
52 | let err = system_errno
| `- error: cannot find 'system_errno' in scope
53 | if err == Errno.fileExists.rawValue {
54 | return false
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:195:36: error: cannot find type '_system_dirent' in scope
193 | #if os(WASI)
194 | internal let SYSTEM_DT_DIR = _getConst_DT_DIR()
195 | internal typealias system_dirent = _system_dirent
| `- error: cannot find type '_system_dirent' in scope
196 | #else
197 | internal let SYSTEM_DT_DIR = DT_DIR
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:194:30: error: cannot find '_getConst_DT_DIR' in scope
192 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
193 | #if os(WASI)
194 | internal let SYSTEM_DT_DIR = _getConst_DT_DIR()
| `- error: cannot find '_getConst_DT_DIR' in scope
195 | internal typealias system_dirent = _system_dirent
196 | #else
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Decodable'
19 | @frozen
20 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
24 | public let rawValue: CModeT
| `- note: cannot automatically synthesize 'Decodable' because 'CModeT' does not conform to 'Decodable'
25 |
26 | /// Create a strongly-typed file permission from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:63: error: 'Codable' is unavailable: unavailable in embedded Swift
19 | @frozen
20 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Hashable'
19 | @frozen
20 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FilePermissions' does not conform to protocol 'Hashable'
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
24 | public let rawValue: CModeT
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FilePermissions' to 'Hashable'
25 |
26 | /// Create a strongly-typed file permission from a raw C value.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Encodable'
19 | @frozen
20 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FilePermissions' does not conform to protocol 'Encodable'
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
24 | public let rawValue: CModeT
| `- note: cannot automatically synthesize 'Encodable' because 'CModeT' does not conform to 'Encodable'
25 |
26 | /// Create a strongly-typed file permission from a raw C value.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'SetAlgebra'
19 | @frozen
20 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FilePermissions' does not conform to protocol 'SetAlgebra'
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
Swift.OptionSet.init:2:19: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
19 | @frozen
20 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Equatable'
19 | @frozen
20 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| |- error: type 'FilePermissions' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
24 | public let rawValue: CModeT
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FilePermissions' to 'Equatable'
25 |
26 | /// Create a strongly-typed file permission from a raw C value.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:172:22: note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
170 | }
171 | extension _StrSlice {
172 | public static func == (lhs: Self, rhs: Self) -> Bool {
| `- note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
173 | lhs._slice.elementsEqual(rhs._slice)
174 | }
Swift.==:1:24: note: candidate would match if 'FilePermissions.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FilePermissions' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FilePermissions' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FilePermissions' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FilePermissions' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'FilePermissions' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FilePermissions' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FilePermissions' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FilePermissions' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'FilePermissions' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FilePermissions' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Decodable'
19 | @frozen
20 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
24 | public let rawValue: CModeT
| `- note: cannot automatically synthesize 'Decodable' because 'CModeT' does not conform to 'Decodable'
25 |
26 | /// Create a strongly-typed file permission from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:32:51: error: no exact matches in call to initializer
30 | /// Indicates that other users have read-only permission.
31 | @_alwaysEmitIntoClient
32 | public static var otherRead: FilePermissions { .init(rawValue: 0o4) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
33 |
34 | /// Indicates that other users have write-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:36:52: error: no exact matches in call to initializer
34 | /// Indicates that other users have write-only permission.
35 | @_alwaysEmitIntoClient
36 | public static var otherWrite: FilePermissions { .init(rawValue: 0o2) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
37 |
38 | /// Indicates that other users have execute-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:40:54: error: no exact matches in call to initializer
38 | /// Indicates that other users have execute-only permission.
39 | @_alwaysEmitIntoClient
40 | public static var otherExecute: FilePermissions { .init(rawValue: 0o1) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
41 |
42 | /// Indicates that other users have read-write permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:44:56: error: no exact matches in call to initializer
42 | /// Indicates that other users have read-write permission.
43 | @_alwaysEmitIntoClient
44 | public static var otherReadWrite: FilePermissions { .init(rawValue: 0o6) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
45 |
46 | /// Indicates that other users have read-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:48:58: error: no exact matches in call to initializer
46 | /// Indicates that other users have read-execute permission.
47 | @_alwaysEmitIntoClient
48 | public static var otherReadExecute: FilePermissions { .init(rawValue: 0o5) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
49 |
50 | /// Indicates that other users have write-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:52:59: error: no exact matches in call to initializer
50 | /// Indicates that other users have write-execute permission.
51 | @_alwaysEmitIntoClient
52 | public static var otherWriteExecute: FilePermissions { .init(rawValue: 0o3) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
53 |
54 | /// Indicates that other users have read, write, and execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:56:63: error: no exact matches in call to initializer
54 | /// Indicates that other users have read, write, and execute permission.
55 | @_alwaysEmitIntoClient
56 | public static var otherReadWriteExecute: FilePermissions { .init(rawValue: 0o7) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
57 |
58 | /// Indicates that the group has read-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:60:51: error: no exact matches in call to initializer
58 | /// Indicates that the group has read-only permission.
59 | @_alwaysEmitIntoClient
60 | public static var groupRead: FilePermissions { .init(rawValue: 0o40) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
61 |
62 | /// Indicates that the group has write-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:64:52: error: no exact matches in call to initializer
62 | /// Indicates that the group has write-only permission.
63 | @_alwaysEmitIntoClient
64 | public static var groupWrite: FilePermissions { .init(rawValue: 0o20) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
65 |
66 | /// Indicates that the group has execute-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:68:54: error: no exact matches in call to initializer
66 | /// Indicates that the group has execute-only permission.
67 | @_alwaysEmitIntoClient
68 | public static var groupExecute: FilePermissions { .init(rawValue: 0o10) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
69 |
70 | /// Indicates that the group has read-write permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:72:56: error: no exact matches in call to initializer
70 | /// Indicates that the group has read-write permission.
71 | @_alwaysEmitIntoClient
72 | public static var groupReadWrite: FilePermissions { .init(rawValue: 0o60) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
73 |
74 | /// Indicates that the group has read-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:76:58: error: no exact matches in call to initializer
74 | /// Indicates that the group has read-execute permission.
75 | @_alwaysEmitIntoClient
76 | public static var groupReadExecute: FilePermissions { .init(rawValue: 0o50) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
77 |
78 | /// Indicates that the group has write-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:80:59: error: no exact matches in call to initializer
78 | /// Indicates that the group has write-execute permission.
79 | @_alwaysEmitIntoClient
80 | public static var groupWriteExecute: FilePermissions { .init(rawValue: 0o30) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
81 |
82 | /// Indicates that the group has read, write, and execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:84:63: error: no exact matches in call to initializer
82 | /// Indicates that the group has read, write, and execute permission.
83 | @_alwaysEmitIntoClient
84 | public static var groupReadWriteExecute: FilePermissions { .init(rawValue: 0o70) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
85 |
86 | /// Indicates that the owner has read-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:88:51: error: no exact matches in call to initializer
86 | /// Indicates that the owner has read-only permission.
87 | @_alwaysEmitIntoClient
88 | public static var ownerRead: FilePermissions { .init(rawValue: 0o400) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
89 |
90 | /// Indicates that the owner has write-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:92:52: error: no exact matches in call to initializer
90 | /// Indicates that the owner has write-only permission.
91 | @_alwaysEmitIntoClient
92 | public static var ownerWrite: FilePermissions { .init(rawValue: 0o200) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
93 |
94 | /// Indicates that the owner has execute-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:96:54: error: no exact matches in call to initializer
94 | /// Indicates that the owner has execute-only permission.
95 | @_alwaysEmitIntoClient
96 | public static var ownerExecute: FilePermissions { .init(rawValue: 0o100) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
97 |
98 | /// Indicates that the owner has read-write permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:100:56: error: no exact matches in call to initializer
98 | /// Indicates that the owner has read-write permission.
99 | @_alwaysEmitIntoClient
100 | public static var ownerReadWrite: FilePermissions { .init(rawValue: 0o600) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
101 |
102 | /// Indicates that the owner has read-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:104:58: error: no exact matches in call to initializer
102 | /// Indicates that the owner has read-execute permission.
103 | @_alwaysEmitIntoClient
104 | public static var ownerReadExecute: FilePermissions { .init(rawValue: 0o500) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
105 |
106 | /// Indicates that the owner has write-execute permission.
BUILD FAILURE 6.2 wasm