Build Information
Failed to build CanonicalPackageURL, reference main (2c00d3), with Swift 6.1 for Wasm on 23 Oct 2026 02:49:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[52/111] Compiling Parsing Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[53/111] Compiling Parsing Enum.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[54/111] Compiling Parsing FixedWidthInteger.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[55/120] Compiling Parsing Identity.swift
[56/120] Compiling Parsing JSON.swift
[57/120] Compiling Parsing LosslessStringConvertible.swift
[58/120] Compiling Parsing Memberwise.swift
[59/120] Compiling Parsing ParseableFormatStyleConversion.swift
[60/120] Compiling Parsing RawRepresentable.swift
[61/120] Compiling Parsing String.swift
[62/120] Compiling Parsing Substring.swift
[63/120] Compiling Parsing UTF8View.swift
[64/120] Compiling Parsing ConvertingError.swift
[65/120] Compiling Parsing OneOf.swift
[66/120] Compiling Parsing OneOfMany.swift
[67/120] Compiling Parsing Optional.swift
[68/120] Compiling Parsing Optionally.swift
[69/120] Compiling Parsing Parse.swift
[70/120] Compiling Parsing ParseableFormatStyle.swift
[71/120] Compiling Parsing Peek.swift
[72/120] Compiling Parsing Pipe.swift
[73/120] Compiling Parsing Prefix.swift
[74/120] Compiling Parsing PrefixThrough.swift
[75/120] Compiling Parsing PrefixUpTo.swift
[76/120] Compiling Parsing Printing.swift
[77/120] Compiling Parsing Pullback.swift
[78/120] Compiling Parsing ReplaceError.swift
[79/120] Compiling Parsing Rest.swift
[80/120] Compiling Parsing Skip.swift
[81/120] Compiling Parsing StartsWith.swift
[82/120] Compiling Parsing UUID.swift
[83/120] Compiling Parsing CaseIterableRawRepresentable.swift
[84/120] Compiling Parsing CharacterSet.swift
[85/120] Compiling Parsing Conditional.swift
[86/120] Compiling Parsing Consumed.swift
[87/120] Compiling Parsing Digits.swift
[88/120] Compiling Parsing End.swift
[89/120] Compiling Parsing Fail.swift
[90/120] Compiling Parsing Filter.swift
[91/120] Compiling Parsing First.swift
[92/120] Compiling Parsing CountingRange.swift
[93/120] Compiling Parsing EmptyInitializable.swift
[94/120] Compiling Parsing AnyEquatable.swift
[95/120] Compiling Parsing Deprecations.swift
[96/120] Compiling Parsing Parser.swift
[97/120] Compiling Parsing ParserPrinter.swift
[98/120] Compiling Parsing Always.swift
[99/120] Compiling Parsing AnyParserPrinter.swift
[100/120] Compiling Parsing Backtracking.swift
[101/120] Compiling Parsing Bool.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[102/120] Emitting module Parsing
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
[103/120] Compiling Parsing Float.swift
[104/120] Compiling Parsing From.swift
[105/120] Compiling Parsing Int.swift
[106/120] Compiling Parsing Lazy.swift
[107/120] Compiling Parsing Literal.swift
[108/120] Compiling Parsing Many.swift
[109/120] Compiling Parsing Map.swift
[110/120] Compiling Parsing Newline.swift
[111/120] Compiling Parsing Not.swift
[112/120] Compiling Parsing Whitespace.swift
[113/120] Compiling Parsing AnyParser.swift
[114/120] Compiling Parsing CompactMap.swift
[115/120] Compiling Parsing FlatMap.swift
[116/120] Compiling Parsing Parsers.swift
[117/120] Compiling Parsing Stream.swift
[118/120] Compiling Parsing ParsingError.swift
[119/120] Compiling Parsing PrependableCollection.swift
[120/120] Compiling Parsing PrintingError.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': dependency 'swift-case-paths' is not used by any target
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling IssueReporting FailureObserver.swift
[3/22] Compiling IssueReporting LockIsolated.swift
[4/22] Compiling IssueReporting Rethrows.swift
[5/22] Compiling IssueReporting ErrorReporting.swift
[6/22] Compiling IssueReporting AppHostWarning.swift
[7/22] Compiling IssueReporting Deprecations.swift
[8/24] Compiling IssueReporting XCTest.swift
[9/24] Compiling IssueReporting IsTesting.swift
[10/24] Compiling IssueReporting IssueReporter.swift
[11/24] Compiling IssueReporting IssueSeverity.swift
[12/24] Compiling IssueReporting ReportIssue.swift
[13/24] Compiling IssueReporting _Test.swift
[14/24] Compiling IssueReporting BreakpointReporter.swift
[15/24] Compiling IssueReporting DefaultReporter.swift
[16/24] Compiling IssueReporting FatalErrorReporter.swift
[17/24] Compiling IssueReporting TestContext.swift
[18/24] Compiling IssueReporting Unimplemented.swift
[19/24] Emitting module IssueReporting
[20/24] Compiling IssueReporting WithExpectedIssue.swift
[21/24] Compiling IssueReporting WithIssueContext.swift
[22/24] Compiling IssueReporting SwiftTesting.swift
[23/24] Compiling IssueReporting UncheckedSendable.swift
[24/24] Compiling IssueReporting Warn.swift
[26/29] Compiling XCTestDynamicOverlay Exports.swift
[27/29] Compiling XCTestDynamicOverlay Fail.swift
[28/29] Compiling XCTestDynamicOverlay Deprecations.swift
[29/29] Emitting module XCTestDynamicOverlay
[31/38] Compiling CasePaths OpenExistential.swift
[32/38] Compiling CasePaths XCTUnwrap.swift
[33/38] Compiling CasePaths Operators.swift
[34/38] Compiling CasePaths TypeName.swift
[35/38] Compiling CasePaths CasePath.swift
[36/38] Emitting module CasePaths
[37/38] Compiling CasePaths CasePaths.swift
[38/38] Compiling CasePaths EnumReflection.swift
[40/106] Compiling Parsing OneOfBuilder.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[41/106] Compiling Parsing ParserBuilder.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[42/106] Compiling Parsing Conversion.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[43/106] Compiling Parsing AnyConversion.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[44/106] Compiling Parsing BinaryFloatingPoint.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[45/106] Compiling Parsing ConversionMap.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[46/106] Compiling Parsing Conversions.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[47/106] Compiling Parsing Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[48/106] Compiling Parsing Enum.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[49/106] Compiling Parsing FixedWidthInteger.swift
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:42: error: cannot find type 'Root' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Root' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:97:32: error: cannot find type 'Value' in scope
95 | extension AnyCasePath: Conversion {
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
| `- error: cannot find type 'Value' in scope
98 | self.embed(input)
99 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:51: error: cannot find type 'Value' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Value' in scope
103 | guard let value = self.extract(from: output)
104 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:102:35: error: cannot find type 'Root' in scope
100 |
101 | @inlinable
102 | public func unapply(_ output: Root) throws -> Value {
| `- error: cannot find type 'Root' in scope
103 | guard let value = self.extract(from: output)
104 | else {
[50/115] Compiling Parsing Identity.swift
[51/115] Compiling Parsing JSON.swift
[52/115] Compiling Parsing LosslessStringConvertible.swift
[53/115] Compiling Parsing Memberwise.swift
[54/115] Compiling Parsing ParseableFormatStyleConversion.swift
[55/115] Compiling Parsing RawRepresentable.swift
[56/115] Compiling Parsing String.swift
[57/115] Compiling Parsing Substring.swift
[58/115] Compiling Parsing UTF8View.swift
[59/115] Compiling Parsing ConvertingError.swift
[60/115] Compiling Parsing OneOf.swift
[61/115] Compiling Parsing OneOfMany.swift
[62/115] Compiling Parsing Optional.swift
[63/115] Compiling Parsing Optionally.swift
[64/115] Compiling Parsing Parse.swift
[65/115] Compiling Parsing ParseableFormatStyle.swift
[66/115] Compiling Parsing Peek.swift
[67/115] Compiling Parsing Pipe.swift
[68/115] Compiling Parsing Prefix.swift
[69/115] Compiling Parsing CaseIterableRawRepresentable.swift
[70/115] Compiling Parsing CharacterSet.swift
[71/115] Compiling Parsing Conditional.swift
[72/115] Compiling Parsing Consumed.swift
[73/115] Compiling Parsing Digits.swift
[74/115] Compiling Parsing End.swift
[75/115] Compiling Parsing Fail.swift
[76/115] Compiling Parsing Filter.swift
[77/115] Compiling Parsing First.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[78/115] Emitting module Parsing
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:37: error: cannot find type 'CasePathable' in scope
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: cannot find type 'CasePathable' in scope
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:33:57: error: reference to generic type 'CasePath' requires arguments in <...>
31 | /// and extract the associated values from the case.
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
| `- error: reference to generic type 'CasePath' requires arguments in <...>
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:42: error: cannot find type 'CasePathable' in scope
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: cannot find type 'CasePathable' in scope
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:62: error: reference to generic type 'CasePath' requires arguments in <...>
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| `- error: reference to generic type 'CasePath' requires arguments in <...>
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-case-paths/Sources/CasePaths/CasePath.swift:7:15: note: generic type 'CasePath' declared here
5 | ///
6 | /// This type defines key path-like semantics for enum cases.
7 | public struct CasePath<Root, Value> {
| `- note: generic type 'CasePath' declared here
8 | private let _embed: (Value) -> Root
9 | private let _extract: (Root) -> Value?
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:34:31: error: 'AllCasePaths' is not a member type of type 'Enum'
32 | @inlinable
33 | public static func `case`<Enum: CasePathable, Path: CasePath>(
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
| `- error: 'AllCasePaths' is not a member type of type 'Enum'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:36:56: error: 'Root' is not a member type of type 'Path'
34 | _ keyPath: KeyPath<Enum.AllCasePaths, Path>
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
38 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:42:18: error: cannot find type 'CaseKeyPath' in scope
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
| `- error: cannot find type 'CaseKeyPath' in scope
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
44 | AnyCasePath(keyPath)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:41:45: error: cannot find type 'CasePathable' in scope
39 |
40 | @inlinable
41 | public static func `case`<Values, Enum: CasePathable>(
| `- error: cannot find type 'CasePathable' in scope
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:43:29: error: cannot find type 'AnyCasePath' in scope
41 | public static func `case`<Values, Enum: CasePathable>(
42 | _ keyPath: CaseKeyPath<Enum, Values>
43 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
44 | AnyCasePath(keyPath)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:52:29: error: cannot find type 'AnyCasePath' in scope
50 | public static func `case`<Values, Enum>(
51 | _ initializer: @escaping (Values) -> Enum
52 | ) -> Self where Self == AnyCasePath<Enum, Values> {
| `- error: cannot find type 'AnyCasePath' in scope
53 | /initializer
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:61:29: error: cannot find type 'AnyCasePath' in scope
59 | public static func `case`<Enum>(
60 | _ initializer: Enum
61 | ) -> Self where Self == AnyCasePath<Enum, Void> {
| `- error: cannot find type 'AnyCasePath' in scope
62 | /initializer
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:67:14: error: 'Root' is not a member type of type 'Path'
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
67 | where Path.Root == Enum {
| `- error: 'Root' is not a member type of type 'Path'
68 | @usableFromInline
69 | let path: Path
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:52: error: 'Root' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Root' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:77:37: error: 'Value' is not a member type of type 'Path'
75 |
76 | @inlinable
77 | public func apply(_ input: Path.Value) -> Path.Root {
| `- error: 'Value' is not a member type of type 'Path'
78 | path.embed(input)
79 | }
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:61: error: 'Value' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Value' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:82:40: error: 'Root' is not a member type of type 'Path'
80 |
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
| `- error: 'Root' is not a member type of type 'Path'
83 | guard let value = path.extract(from: output)
84 | else {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:66:17: error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
64 | }
65 |
66 | public struct CasePathConversion<Enum: CasePathable, Path: CasePath>: Conversion
| |- error: type 'CasePathConversion<Enum, Path>' does not conform to protocol 'Conversion'
| `- note: add stubs for conformance
67 | where Path.Root == Enum {
68 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversion.swift:8:18: note: protocol requires nested type 'Input'
6 | @rethrows public protocol Conversion<Input, Output> {
7 | // The type of values this conversion converts from.
8 | associatedtype Input
| `- note: protocol requires nested type 'Input'
9 |
10 | // The type of values this conversion converts to.
11 | associatedtype Output
| `- note: protocol requires nested type 'Output'
12 |
13 | /// Attempts to transform an input into an output.
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:95:13: error: cannot find type 'AnyCasePath' in scope
93 | }
94 |
95 | extension AnyCasePath: Conversion {
| `- error: cannot find type 'AnyCasePath' in scope
96 | @inlinable
97 | public func apply(_ input: Value) -> Root {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:37:37: error: type 'Enum' has no member 'allCasePaths'
35 | ) -> Self
36 | where Self == CasePathConversion<Enum, Path>, Path.Root == Enum {
37 | CasePathConversion(path: Enum.allCasePaths[keyPath: keyPath])
| `- error: type 'Enum' has no member 'allCasePaths'
38 | }
39 |
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:83:30: error: value of type 'Path' has no member 'extract'
81 | @inlinable
82 | public func unapply(_ output: Path.Root) throws -> Path.Value {
83 | guard let value = path.extract(from: output)
| `- error: value of type 'Path' has no member 'extract'
84 | else {
85 | throw ConvertingError(
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/Enum.swift:87:42: error: type 'Path' has no member 'Value'
85 | throw ConvertingError(
86 | """
87 | case: Failed to extract \(Path.Value.self) from \(output).
| `- error: type 'Path' has no member 'Value'
88 | """
89 | )
[79/115] Compiling Parsing Float.swift
[80/115] Compiling Parsing From.swift
[81/115] Compiling Parsing Int.swift
[82/115] Compiling Parsing Lazy.swift
[83/115] Compiling Parsing Literal.swift
[84/115] Compiling Parsing Many.swift
[85/115] Compiling Parsing Map.swift
[86/115] Compiling Parsing Newline.swift
[87/115] Compiling Parsing Not.swift
[88/115] Compiling Parsing PrefixThrough.swift
[89/115] Compiling Parsing PrefixUpTo.swift
[90/115] Compiling Parsing Printing.swift
[91/115] Compiling Parsing Pullback.swift
[92/115] Compiling Parsing ReplaceError.swift
[93/115] Compiling Parsing Rest.swift
[94/115] Compiling Parsing Skip.swift
[95/115] Compiling Parsing StartsWith.swift
[96/115] Compiling Parsing UUID.swift
[97/115] Compiling Parsing CountingRange.swift
[98/115] Compiling Parsing EmptyInitializable.swift
[99/115] Compiling Parsing AnyEquatable.swift
[100/115] Compiling Parsing Deprecations.swift
[101/115] Compiling Parsing Parser.swift
[102/115] Compiling Parsing ParserPrinter.swift
[103/115] Compiling Parsing Always.swift
[104/115] Compiling Parsing AnyParserPrinter.swift
[105/115] Compiling Parsing Backtracking.swift
[106/115] Compiling Parsing Bool.swift
[107/115] Compiling Parsing Whitespace.swift
[108/115] Compiling Parsing AnyParser.swift
[109/115] Compiling Parsing CompactMap.swift
[110/115] Compiling Parsing FlatMap.swift
[111/115] Compiling Parsing Parsers.swift
[112/115] Compiling Parsing Stream.swift
[113/115] Compiling Parsing ParsingError.swift
[114/115] Compiling Parsing PrependableCollection.swift
[115/115] Compiling Parsing PrintingError.swift
BUILD FAILURE 6.1 wasm