The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LayoutAid, reference master (c02a9b), with Swift 6.2 (beta) for Linux on 18 Jun 2025 20:09:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

   |                                                               `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
51 |
52 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                            `- error: cannot find type 'NSLayoutAnchor' in scope
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
    |                   `- error: cannot find type 'NSLayoutConstraint' in scope
 19 |
 20 |     var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
 33 |     #else
 34 |
 35 |     var constant: CGFloat { get }
    |                   `- error: cannot find type 'CGFloat' in scope
 36 |
 37 |     static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
 38 |
 39 |     init(
 40 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
 40 |         _ relation: NSLayoutConstraint.Relation,
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
 43 |     )
 44 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public protocol LayoutConstraintsGenerator {
 8 |
 9 |     var priority: NSLayoutConstraint.Priority { get set }
   |                   `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     var priority: NSLayoutConstraint.Priority { get set }
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:7:15: error: type 'Left' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Left: XAxisConstraintsGenerator {
   |               |- error: type 'Left' does not conform to protocol 'AxisConstraintsGenerator'
   |               `- note: add stubs for conformance
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
 13 |
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
    |                    `- note: protocol requires nested type 'AnchorType'
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                    `- note: protocol requires nested type 'Anchor'
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:7:18: error: cannot find type 'NSLayoutConstraint' in scope
 5 | #endif
 6 |
 7 | public extension NSLayoutConstraint {
   |                  `- error: cannot find type 'NSLayoutConstraint' in scope
 8 |
 9 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:53:42: error: cannot find type 'NSLayoutConstraint' in scope
51 | }
52 |
53 | public extension Sequence where Element: NSLayoutConstraint {
   |                                          `- error: cannot find type 'NSLayoutConstraint' in scope
54 |     func activate() {
55 |         NSLayoutConstraint.activate(Array(self))
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:62:31: error: cannot find type 'NSLayoutConstraint' in scope
60 |     }
61 |
62 |     func setPriority(_ value: NSLayoutConstraint.Priority) -> Self {
   |                               `- error: cannot find type 'NSLayoutConstraint' in scope
63 |         for element in self {
64 |             element.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:55:9: error: cannot find 'NSLayoutConstraint' in scope
53 | public extension Sequence where Element: NSLayoutConstraint {
54 |     func activate() {
55 |         NSLayoutConstraint.activate(Array(self))
   |         `- error: cannot find 'NSLayoutConstraint' in scope
56 |     }
57 |
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:59:9: error: cannot find 'NSLayoutConstraint' in scope
57 |
58 |     func deactivate() {
59 |         NSLayoutConstraint.deactivate(Array(self))
   |         `- error: cannot find 'NSLayoutConstraint' in scope
60 |     }
61 |
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:64:21: error: value of type 'Self.Element' has no member 'priority'
62 |     func setPriority(_ value: NSLayoutConstraint.Priority) -> Self {
63 |         for element in self {
64 |             element.priority = value
   |                     `- error: value of type 'Self.Element' has no member 'priority'
65 |         }
66 |
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public struct Right: XAxisConstraintsGenerator {
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
   |                              `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority = .required
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:42:26: error: cannot find type 'CGFloat' in scope
40 |     #else
41 |
42 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                                                                           `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:44:106: error: cannot find type 'CGFloat' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                                                                                                          `- error: cannot find type 'CGFloat' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 |     }
49 |
50 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.rightAnchor
   |                                                               `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
51 |
52 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:7:15: error: type 'Right' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Right: XAxisConstraintsGenerator {
   |               |- error: type 'Right' does not conform to protocol 'AxisConstraintsGenerator'
   |               `- note: add stubs for conformance
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
 13 |
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
    |                    `- note: protocol requires nested type 'AnchorType'
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                    `- note: protocol requires nested type 'Anchor'
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:15:82: error: cannot find type 'NSLayoutConstraint' in scope
13 |     @_functionBuilder
14 |     struct Builder {
15 |         public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
   |                                                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
16 |             components.flatMap { component in
17 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:15:54: error: cannot find type 'NSLayoutConstraint' in scope
13 |     @_functionBuilder
14 |     struct Builder {
15 |         public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
   |                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
16 |             components.flatMap { component in
17 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:23:15: error: cannot find type 'NSLayoutConstraint' in scope
21 |         public static func buildExpression<S>(
22 |             _ expression: S...
23 |         ) -> [NSLayoutConstraint] where S: Sequence, S.Element: NSLayoutConstraint {
   |               `- error: cannot find type 'NSLayoutConstraint' in scope
24 |             expression.flatMap { component in
25 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:23:65: error: cannot find type 'NSLayoutConstraint' in scope
21 |         public static func buildExpression<S>(
22 |             _ expression: S...
23 |         ) -> [NSLayoutConstraint] where S: Sequence, S.Element: NSLayoutConstraint {
   |                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
24 |             expression.flatMap { component in
25 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:29:76: error: cannot find type 'NSLayoutConstraint' in scope
27 |         }
28 |
29 |         public static func buildIf(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                                            `- error: cannot find type 'NSLayoutConstraint' in scope
30 |             component ?? []
31 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:29:50: error: cannot find type 'NSLayoutConstraint' in scope
27 |         }
28 |
29 |         public static func buildIf(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
30 |             component ?? []
31 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:33:82: error: cannot find type 'NSLayoutConstraint' in scope
31 |         }
32 |
33 |         public static func buildOptional(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
34 |             component ?? []
35 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:33:56: error: cannot find type 'NSLayoutConstraint' in scope
31 |         }
32 |
33 |         public static func buildOptional(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
34 |             component ?? []
35 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:39:15: error: cannot find type 'NSLayoutConstraint' in scope
37 |         public static func buildExpression(
38 |             _ expression: NSLayoutConstraint
39 |         ) -> [NSLayoutConstraint] {
   |               `- error: cannot find type 'NSLayoutConstraint' in scope
40 |             [expression]
41 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:38:27: error: cannot find type 'NSLayoutConstraint' in scope
36 |
37 |         public static func buildExpression(
38 |             _ expression: NSLayoutConstraint
   |                           `- error: cannot find type 'NSLayoutConstraint' in scope
39 |         ) -> [NSLayoutConstraint] {
40 |             [expression]
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:44:75: error: cannot find type 'NSLayoutConstraint' in scope
42 |     }
43 |
44 |     static func build(@Builder _ content: () -> [NSLayoutConstraint]) -> [NSLayoutConstraint] {
   |                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         content()
46 |     }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:44:50: error: cannot find type 'NSLayoutConstraint' in scope
42 |     }
43 |
44 |     static func build(@Builder _ content: () -> [NSLayoutConstraint]) -> [NSLayoutConstraint] {
   |                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         content()
46 |     }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:48:53: error: cannot find type 'NSLayoutConstraint' in scope
46 |     }
47 |
48 |     static func activate(@Builder _ content: () -> [NSLayoutConstraint]) {
   |                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
49 |         build(content).activate()
50 |     }
[23/31] Compiling LayoutAid NSLayoutConstraint+Extensions.swift
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:13:6: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 |     #endif
12 |
13 |     @_functionBuilder
   |      `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
14 |     struct Builder {
15 |         public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public struct Left: XAxisConstraintsGenerator {
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
   |                              `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority = .required
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:42:26: error: cannot find type 'CGFloat' in scope
40 |     #else
41 |
42 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                                                                           `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:106: error: cannot find type 'CGFloat' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                                                                                                          `- error: cannot find type 'CGFloat' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 |     }
49 |
50 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leftAnchor
   |                                                               `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
51 |
52 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                            `- error: cannot find type 'NSLayoutAnchor' in scope
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
    |                   `- error: cannot find type 'NSLayoutConstraint' in scope
 19 |
 20 |     var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
 33 |     #else
 34 |
 35 |     var constant: CGFloat { get }
    |                   `- error: cannot find type 'CGFloat' in scope
 36 |
 37 |     static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
 38 |
 39 |     init(
 40 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
 40 |         _ relation: NSLayoutConstraint.Relation,
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
 43 |     )
 44 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public protocol LayoutConstraintsGenerator {
 8 |
 9 |     var priority: NSLayoutConstraint.Priority { get set }
   |                   `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     var priority: NSLayoutConstraint.Priority { get set }
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:7:15: error: type 'Left' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Left: XAxisConstraintsGenerator {
   |               |- error: type 'Left' does not conform to protocol 'AxisConstraintsGenerator'
   |               `- note: add stubs for conformance
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
 13 |
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
    |                    `- note: protocol requires nested type 'AnchorType'
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                    `- note: protocol requires nested type 'Anchor'
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:7:18: error: cannot find type 'NSLayoutConstraint' in scope
 5 | #endif
 6 |
 7 | public extension NSLayoutConstraint {
   |                  `- error: cannot find type 'NSLayoutConstraint' in scope
 8 |
 9 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:53:42: error: cannot find type 'NSLayoutConstraint' in scope
51 | }
52 |
53 | public extension Sequence where Element: NSLayoutConstraint {
   |                                          `- error: cannot find type 'NSLayoutConstraint' in scope
54 |     func activate() {
55 |         NSLayoutConstraint.activate(Array(self))
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:62:31: error: cannot find type 'NSLayoutConstraint' in scope
60 |     }
61 |
62 |     func setPriority(_ value: NSLayoutConstraint.Priority) -> Self {
   |                               `- error: cannot find type 'NSLayoutConstraint' in scope
63 |         for element in self {
64 |             element.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:55:9: error: cannot find 'NSLayoutConstraint' in scope
53 | public extension Sequence where Element: NSLayoutConstraint {
54 |     func activate() {
55 |         NSLayoutConstraint.activate(Array(self))
   |         `- error: cannot find 'NSLayoutConstraint' in scope
56 |     }
57 |
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:59:9: error: cannot find 'NSLayoutConstraint' in scope
57 |
58 |     func deactivate() {
59 |         NSLayoutConstraint.deactivate(Array(self))
   |         `- error: cannot find 'NSLayoutConstraint' in scope
60 |     }
61 |
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:64:21: error: value of type 'Self.Element' has no member 'priority'
62 |     func setPriority(_ value: NSLayoutConstraint.Priority) -> Self {
63 |         for element in self {
64 |             element.priority = value
   |                     `- error: value of type 'Self.Element' has no member 'priority'
65 |         }
66 |
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public struct Right: XAxisConstraintsGenerator {
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
   |                              `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority = .required
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:42:26: error: cannot find type 'CGFloat' in scope
40 |     #else
41 |
42 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                                                                           `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:44:106: error: cannot find type 'CGFloat' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                                                                                                          `- error: cannot find type 'CGFloat' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 |     }
49 |
50 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.rightAnchor
   |                                                               `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
51 |
52 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:7:15: error: type 'Right' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Right: XAxisConstraintsGenerator {
   |               |- error: type 'Right' does not conform to protocol 'AxisConstraintsGenerator'
   |               `- note: add stubs for conformance
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
 13 |
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
    |                    `- note: protocol requires nested type 'AnchorType'
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                    `- note: protocol requires nested type 'Anchor'
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:15:82: error: cannot find type 'NSLayoutConstraint' in scope
13 |     @_functionBuilder
14 |     struct Builder {
15 |         public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
   |                                                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
16 |             components.flatMap { component in
17 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:15:54: error: cannot find type 'NSLayoutConstraint' in scope
13 |     @_functionBuilder
14 |     struct Builder {
15 |         public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
   |                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
16 |             components.flatMap { component in
17 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:23:15: error: cannot find type 'NSLayoutConstraint' in scope
21 |         public static func buildExpression<S>(
22 |             _ expression: S...
23 |         ) -> [NSLayoutConstraint] where S: Sequence, S.Element: NSLayoutConstraint {
   |               `- error: cannot find type 'NSLayoutConstraint' in scope
24 |             expression.flatMap { component in
25 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:23:65: error: cannot find type 'NSLayoutConstraint' in scope
21 |         public static func buildExpression<S>(
22 |             _ expression: S...
23 |         ) -> [NSLayoutConstraint] where S: Sequence, S.Element: NSLayoutConstraint {
   |                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
24 |             expression.flatMap { component in
25 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:29:76: error: cannot find type 'NSLayoutConstraint' in scope
27 |         }
28 |
29 |         public static func buildIf(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                                            `- error: cannot find type 'NSLayoutConstraint' in scope
30 |             component ?? []
31 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:29:50: error: cannot find type 'NSLayoutConstraint' in scope
27 |         }
28 |
29 |         public static func buildIf(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
30 |             component ?? []
31 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:33:82: error: cannot find type 'NSLayoutConstraint' in scope
31 |         }
32 |
33 |         public static func buildOptional(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
34 |             component ?? []
35 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:33:56: error: cannot find type 'NSLayoutConstraint' in scope
31 |         }
32 |
33 |         public static func buildOptional(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
34 |             component ?? []
35 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:39:15: error: cannot find type 'NSLayoutConstraint' in scope
37 |         public static func buildExpression(
38 |             _ expression: NSLayoutConstraint
39 |         ) -> [NSLayoutConstraint] {
   |               `- error: cannot find type 'NSLayoutConstraint' in scope
40 |             [expression]
41 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:38:27: error: cannot find type 'NSLayoutConstraint' in scope
36 |
37 |         public static func buildExpression(
38 |             _ expression: NSLayoutConstraint
   |                           `- error: cannot find type 'NSLayoutConstraint' in scope
39 |         ) -> [NSLayoutConstraint] {
40 |             [expression]
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:44:75: error: cannot find type 'NSLayoutConstraint' in scope
42 |     }
43 |
44 |     static func build(@Builder _ content: () -> [NSLayoutConstraint]) -> [NSLayoutConstraint] {
   |                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         content()
46 |     }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:44:50: error: cannot find type 'NSLayoutConstraint' in scope
42 |     }
43 |
44 |     static func build(@Builder _ content: () -> [NSLayoutConstraint]) -> [NSLayoutConstraint] {
   |                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         content()
46 |     }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:48:53: error: cannot find type 'NSLayoutConstraint' in scope
46 |     }
47 |
48 |     static func activate(@Builder _ content: () -> [NSLayoutConstraint]) {
   |                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
49 |         build(content).activate()
50 |     }
[24/31] Compiling LayoutAid Right.swift
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:13:6: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 |     #endif
12 |
13 |     @_functionBuilder
   |      `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
14 |     struct Builder {
15 |         public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public struct Left: XAxisConstraintsGenerator {
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
   |                              `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority = .required
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:42:26: error: cannot find type 'CGFloat' in scope
40 |     #else
41 |
42 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                                                                           `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:106: error: cannot find type 'CGFloat' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                                                                                                          `- error: cannot find type 'CGFloat' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 |     }
49 |
50 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leftAnchor
   |                                                               `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
51 |
52 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                            `- error: cannot find type 'NSLayoutAnchor' in scope
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
    |                   `- error: cannot find type 'NSLayoutConstraint' in scope
 19 |
 20 |     var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
 33 |     #else
 34 |
 35 |     var constant: CGFloat { get }
    |                   `- error: cannot find type 'CGFloat' in scope
 36 |
 37 |     static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
 38 |
 39 |     init(
 40 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
 40 |         _ relation: NSLayoutConstraint.Relation,
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
 43 |     )
 44 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public protocol LayoutConstraintsGenerator {
 8 |
 9 |     var priority: NSLayoutConstraint.Priority { get set }
   |                   `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     var priority: NSLayoutConstraint.Priority { get set }
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:7:15: error: type 'Left' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Left: XAxisConstraintsGenerator {
   |               |- error: type 'Left' does not conform to protocol 'AxisConstraintsGenerator'
   |               `- note: add stubs for conformance
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
 13 |
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
    |                    `- note: protocol requires nested type 'AnchorType'
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                    `- note: protocol requires nested type 'Anchor'
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:7:18: error: cannot find type 'NSLayoutConstraint' in scope
 5 | #endif
 6 |
 7 | public extension NSLayoutConstraint {
   |                  `- error: cannot find type 'NSLayoutConstraint' in scope
 8 |
 9 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:53:42: error: cannot find type 'NSLayoutConstraint' in scope
51 | }
52 |
53 | public extension Sequence where Element: NSLayoutConstraint {
   |                                          `- error: cannot find type 'NSLayoutConstraint' in scope
54 |     func activate() {
55 |         NSLayoutConstraint.activate(Array(self))
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:62:31: error: cannot find type 'NSLayoutConstraint' in scope
60 |     }
61 |
62 |     func setPriority(_ value: NSLayoutConstraint.Priority) -> Self {
   |                               `- error: cannot find type 'NSLayoutConstraint' in scope
63 |         for element in self {
64 |             element.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:55:9: error: cannot find 'NSLayoutConstraint' in scope
53 | public extension Sequence where Element: NSLayoutConstraint {
54 |     func activate() {
55 |         NSLayoutConstraint.activate(Array(self))
   |         `- error: cannot find 'NSLayoutConstraint' in scope
56 |     }
57 |
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:59:9: error: cannot find 'NSLayoutConstraint' in scope
57 |
58 |     func deactivate() {
59 |         NSLayoutConstraint.deactivate(Array(self))
   |         `- error: cannot find 'NSLayoutConstraint' in scope
60 |     }
61 |
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:64:21: error: value of type 'Self.Element' has no member 'priority'
62 |     func setPriority(_ value: NSLayoutConstraint.Priority) -> Self {
63 |         for element in self {
64 |             element.priority = value
   |                     `- error: value of type 'Self.Element' has no member 'priority'
65 |         }
66 |
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public struct Right: XAxisConstraintsGenerator {
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
   |                              `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority = .required
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:42:26: error: cannot find type 'CGFloat' in scope
40 |     #else
41 |
42 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                                                                           `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:44:106: error: cannot find type 'CGFloat' in scope
42 |     public let constant: CGFloat
43 |
44 |     public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
   |                                                                                                          `- error: cannot find type 'CGFloat' in scope
45 |         self.relation = relation
46 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 |     }
49 |
50 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.rightAnchor
   |                                                               `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
51 |
52 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/Right.swift:7:15: error: type 'Right' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Right: XAxisConstraintsGenerator {
   |               |- error: type 'Right' does not conform to protocol 'AxisConstraintsGenerator'
   |               `- note: add stubs for conformance
 8 |
 9 |     public var secondAnchor: NSLayoutXAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
 13 |
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
    |                    `- note: protocol requires nested type 'AnchorType'
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                    `- note: protocol requires nested type 'Anchor'
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:15:82: error: cannot find type 'NSLayoutConstraint' in scope
13 |     @_functionBuilder
14 |     struct Builder {
15 |         public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
   |                                                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
16 |             components.flatMap { component in
17 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:15:54: error: cannot find type 'NSLayoutConstraint' in scope
13 |     @_functionBuilder
14 |     struct Builder {
15 |         public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
   |                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
16 |             components.flatMap { component in
17 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:23:15: error: cannot find type 'NSLayoutConstraint' in scope
21 |         public static func buildExpression<S>(
22 |             _ expression: S...
23 |         ) -> [NSLayoutConstraint] where S: Sequence, S.Element: NSLayoutConstraint {
   |               `- error: cannot find type 'NSLayoutConstraint' in scope
24 |             expression.flatMap { component in
25 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:23:65: error: cannot find type 'NSLayoutConstraint' in scope
21 |         public static func buildExpression<S>(
22 |             _ expression: S...
23 |         ) -> [NSLayoutConstraint] where S: Sequence, S.Element: NSLayoutConstraint {
   |                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
24 |             expression.flatMap { component in
25 |                 component
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:29:76: error: cannot find type 'NSLayoutConstraint' in scope
27 |         }
28 |
29 |         public static func buildIf(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                                            `- error: cannot find type 'NSLayoutConstraint' in scope
30 |             component ?? []
31 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:29:50: error: cannot find type 'NSLayoutConstraint' in scope
27 |         }
28 |
29 |         public static func buildIf(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
30 |             component ?? []
31 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:33:82: error: cannot find type 'NSLayoutConstraint' in scope
31 |         }
32 |
33 |         public static func buildOptional(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
34 |             component ?? []
35 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:33:56: error: cannot find type 'NSLayoutConstraint' in scope
31 |         }
32 |
33 |         public static func buildOptional(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
   |                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
34 |             component ?? []
35 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:39:15: error: cannot find type 'NSLayoutConstraint' in scope
37 |         public static func buildExpression(
38 |             _ expression: NSLayoutConstraint
39 |         ) -> [NSLayoutConstraint] {
   |               `- error: cannot find type 'NSLayoutConstraint' in scope
40 |             [expression]
41 |         }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:38:27: error: cannot find type 'NSLayoutConstraint' in scope
36 |
37 |         public static func buildExpression(
38 |             _ expression: NSLayoutConstraint
   |                           `- error: cannot find type 'NSLayoutConstraint' in scope
39 |         ) -> [NSLayoutConstraint] {
40 |             [expression]
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:44:75: error: cannot find type 'NSLayoutConstraint' in scope
42 |     }
43 |
44 |     static func build(@Builder _ content: () -> [NSLayoutConstraint]) -> [NSLayoutConstraint] {
   |                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         content()
46 |     }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:44:50: error: cannot find type 'NSLayoutConstraint' in scope
42 |     }
43 |
44 |     static func build(@Builder _ content: () -> [NSLayoutConstraint]) -> [NSLayoutConstraint] {
   |                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
45 |         content()
46 |     }
/host/spi-builder-workspace/Sources/LayoutAid/NSLayoutConstraint+Extensions.swift:48:53: error: cannot find type 'NSLayoutConstraint' in scope
46 |     }
47 |
48 |     static func activate(@Builder _ content: () -> [NSLayoutConstraint]) {
   |                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
49 |         build(content).activate()
50 |     }
[25/31] Compiling LayoutAid AspectRatio.swift
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:9:29: error: cannot find type 'CGFloat' in scope
 7 | public struct AspectRatio {
 8 |
 9 |     public var aspectRatio: CGFloat
   |                             `- error: cannot find type 'CGFloat' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var aspectRatio: CGFloat
10 |
11 |     public var priority: NSLayoutConstraint.Priority
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:15:29: error: cannot find type 'NSLayoutConstraint' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:15:68: error: cannot find type 'CGFloat' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
   |                                                                    `- error: cannot find type 'CGFloat' in scope
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:21:32: error: cannot find type 'CGFloat' in scope
19 |     }
20 |
21 |     public init(equalTo ratio: CGFloat) {
   |                                `- error: cannot find type 'CGFloat' in scope
22 |         self.init(.equal, to: ratio)
23 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:25:42: error: cannot find type 'CGFloat' in scope
23 |     }
24 |
25 |     public init(lessThanOrEqualTo ratio: CGFloat) {
   |                                          `- error: cannot find type 'CGFloat' in scope
26 |         self.init(.lessThanOrEqual, to: ratio)
27 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:29:45: error: cannot find type 'CGFloat' in scope
27 |     }
28 |
29 |     public init(greaterThanOrEqualTo ratio: CGFloat) {
   |                                             `- error: cannot find type 'CGFloat' in scope
30 |         self.init(.greaterThanOrEqual, to: ratio)
31 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:35:59: error: cannot find type 'NSLayoutConstraint' in scope
33 |
34 | extension AspectRatio: LayoutConstraintsGenerator {
35 |     public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
   |                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
36 |         let constraint: NSLayoutConstraint
37 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public protocol LayoutConstraintsGenerator {
 8 |
 9 |     var priority: NSLayoutConstraint.Priority { get set }
   |                   `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     var priority: NSLayoutConstraint.Priority { get set }
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 |     func priority(_ value: NSLayoutConstraint.Priority) -> Self {
   |                            `- error: cannot find type 'NSLayoutConstraint' in scope
17 |         var new = self
18 |         new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:18:26: error: cannot infer contextual base in reference to member 'required'
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
18 |         self.priority = .required
   |                          `- error: cannot infer contextual base in reference to member 'required'
19 |     }
20 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:22:20: error: cannot infer contextual base in reference to member 'equal'
20 |
21 |     public init(equalTo ratio: CGFloat) {
22 |         self.init(.equal, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'equal'
23 |     }
24 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:26:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
24 |
25 |     public init(lessThanOrEqualTo ratio: CGFloat) {
26 |         self.init(.lessThanOrEqual, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
27 |     }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:30:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
28 |
29 |     public init(greaterThanOrEqualTo ratio: CGFloat) {
30 |         self.init(.greaterThanOrEqual, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
31 |     }
32 | }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:36:25: error: cannot find type 'NSLayoutConstraint' in scope
34 | extension AspectRatio: LayoutConstraintsGenerator {
35 |     public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
36 |         let constraint: NSLayoutConstraint
   |                         `- error: cannot find type 'NSLayoutConstraint' in scope
37 |
38 |         switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 |     var widthAnchor: NSLayoutDimension { get }
26 |
27 |     var heightAnchor: NSLayoutDimension { get }
   |                       `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 |     var widthAnchor: NSLayoutDimension { get }
   |                      `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 |     var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                            `- error: cannot find type 'NSLayoutAnchor' in scope
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
    |                   `- error: cannot find type 'NSLayoutConstraint' in scope
 19 |
 20 |     var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
 33 |     #else
 34 |
 35 |     var constant: CGFloat { get }
    |                   `- error: cannot find type 'CGFloat' in scope
 36 |
 37 |     static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public protocol LayoutItem {
 8 |
 9 |     var leadingAnchor: NSLayoutXAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |     var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
   |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
   |                      `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
   |                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
   |                       `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 |     var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
 38 |
 39 |     init(
 40 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
 40 |         _ relation: NSLayoutConstraint.Relation,
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
 43 |     )
 44 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:116:21: error: cannot find type 'NSLayoutConstraint' in scope
114 |
115 |     init(
116 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
117 |         to item: LayoutItem,
118 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:118:19: error: cannot find type 'CGFloat' in scope
116 |         _ relation: NSLayoutConstraint.Relation,
117 |         to item: LayoutItem,
118 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
119 |     ) {
120 |         self.init(
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:129:19: error: cannot find type 'CGFloat' in scope
127 |     init(
128 |         equalTo secondAnchor: Anchor,
129 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
130 |     ) {
131 |         self.init(.equal, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:136:19: error: cannot find type 'CGFloat' in scope
134 |     init(
135 |         equalTo item: LayoutItem,
136 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
137 |     ) {
138 |         self.init(.equal, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:145:19: error: cannot find type 'CGFloat' in scope
143 |     init(
144 |         lessThanOrEqualTo secondAnchor: Anchor,
145 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
146 |     ) {
147 |         self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:152:19: error: cannot find type 'CGFloat' in scope
150 |     init(
151 |         lessThanOrEqualTo item: LayoutItem,
152 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
153 |     ) {
154 |         self.init(.lessThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:161:19: error: cannot find type 'CGFloat' in scope
159 |     init(
160 |         greaterThanOrEqualTo secondAnchor: Anchor,
161 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
162 |     ) {
163 |         self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:168:19: error: cannot find type 'CGFloat' in scope
166 |     init(
167 |         greaterThanOrEqualTo item: LayoutItem,
168 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
169 |     ) {
170 |         self.init(.greaterThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:173:52: error: cannot find type 'NSLayoutConstraint' in scope
171 |     }
172 |
173 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
174 |
175 |         let constraint: NSLayoutConstraint
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:131:20: error: cannot infer contextual base in reference to member 'equal'
129 |         constant: CGFloat = 0
130 |     ) {
131 |         self.init(.equal, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
132 |     }
133 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:138:20: error: cannot infer contextual base in reference to member 'equal'
136 |         constant: CGFloat = 0
137 |     ) {
138 |         self.init(.equal, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
139 |     }
140 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:147:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
145 |         constant: CGFloat = 0
146 |     ) {
147 |         self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
148 |     }
149 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:154:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
152 |         constant: CGFloat = 0
153 |     ) {
154 |         self.init(.lessThanOrEqual, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
155 |     }
156 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:163:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
161 |         constant: CGFloat = 0
162 |     ) {
163 |         self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
164 |     }
165 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:170:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
168 |         constant: CGFloat = 0
169 |     ) {
170 |         self.init(.greaterThanOrEqual, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
171 |     }
172 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:175:25: error: cannot find type 'NSLayoutConstraint' in scope
173 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
174 |
175 |         let constraint: NSLayoutConstraint
    |                         `- error: cannot find type 'NSLayoutConstraint' in scope
176 |
177 |         let firstAnchor = item[keyPath: Self.firstAnchorKeyPath]
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:181:38: error: value of type 'Self.Anchor' has no member 'constraint'
179 |         switch relation {
180 |         case .equal:
181 |             constraint = firstAnchor.constraint(equalTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
182 |
183 |         case .lessThanOrEqual:
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:184:38: error: value of type 'Self.Anchor' has no member 'constraint'
182 |
183 |         case .lessThanOrEqual:
184 |             constraint = firstAnchor.constraint(lessThanOrEqualTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
185 |
186 |         case .greaterThanOrEqual:
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:187:38: error: value of type 'Self.Anchor' has no member 'constraint'
185 |
186 |         case .greaterThanOrEqual:
187 |             constraint = firstAnchor.constraint(greaterThanOrEqualTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
188 |
189 |         @unknown default:
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 7 | public struct Bottom: YAxisConstraintsGenerator {
 8 |
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
   |                              `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority = .required
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:42:26: error: cannot find type 'CGFloat' in scope
40 |     #else
41 |
42 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
43 |
44 |     public init(
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:45:21: error: cannot find type 'NSLayoutConstraint' in scope
43 |
44 |     public init(
45 |         _ relation: NSLayoutConstraint.Relation,
   |                     `- error: cannot find type 'NSLayoutConstraint' in scope
46 |         to secondAnchor: NSLayoutYAxisAnchor,
47 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:46:26: error: cannot find type 'NSLayoutYAxisAnchor' in scope
44 |     public init(
45 |         _ relation: NSLayoutConstraint.Relation,
46 |         to secondAnchor: NSLayoutYAxisAnchor,
   |                          `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
47 |         constant: CGFloat
48 |     ) {
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:47:19: error: cannot find type 'CGFloat' in scope
45 |         _ relation: NSLayoutConstraint.Relation,
46 |         to secondAnchor: NSLayoutYAxisAnchor,
47 |         constant: CGFloat
   |                   `- error: cannot find type 'CGFloat' in scope
48 |     ) {
49 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
52 |     }
53 |
54 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.bottomAnchor
   |                                                               `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
55 |
56 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:7:15: error: type 'Bottom' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Bottom: YAxisConstraintsGenerator {
   |               |- error: type 'Bottom' does not conform to protocol 'AxisConstraintsGenerator'
   |               `- note: add stubs for conformance
 8 |
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
 13 |
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
    |                    `- note: protocol requires nested type 'AnchorType'
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                    `- note: protocol requires nested type 'Anchor'
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:9:26: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public struct Center: LayoutConstraintsGenerator {
 8 |
 9 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     public let secondItem: LayoutItem
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:13:24: error: cannot find type 'CGSize' in scope
11 |     public let secondItem: LayoutItem
12 |
13 |     public let offset: CGSize
   |                        `- error: cannot find type 'CGSize' in scope
14 |
15 |     public init(equalTo item: LayoutItem, offset: CGSize = .zero) {
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:15:51: error: cannot find type 'CGSize' in scope
13 |     public let offset: CGSize
14 |
15 |     public init(equalTo item: LayoutItem, offset: CGSize = .zero) {
   |                                                   `- error: cannot find type 'CGSize' in scope
16 |         self.secondItem = item
17 |         self.offset = offset
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:22:52: error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public extension Center {
22 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
23 |
24 |         return [
[26/31] Compiling LayoutAid AxisConstraintsGenerator.swift
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:9:29: error: cannot find type 'CGFloat' in scope
 7 | public struct AspectRatio {
 8 |
 9 |     public var aspectRatio: CGFloat
   |                             `- error: cannot find type 'CGFloat' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var aspectRatio: CGFloat
10 |
11 |     public var priority: NSLayoutConstraint.Priority
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:15:29: error: cannot find type 'NSLayoutConstraint' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:15:68: error: cannot find type 'CGFloat' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
   |                                                                    `- error: cannot find type 'CGFloat' in scope
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:21:32: error: cannot find type 'CGFloat' in scope
19 |     }
20 |
21 |     public init(equalTo ratio: CGFloat) {
   |                                `- error: cannot find type 'CGFloat' in scope
22 |         self.init(.equal, to: ratio)
23 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:25:42: error: cannot find type 'CGFloat' in scope
23 |     }
24 |
25 |     public init(lessThanOrEqualTo ratio: CGFloat) {
   |                                          `- error: cannot find type 'CGFloat' in scope
26 |         self.init(.lessThanOrEqual, to: ratio)
27 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:29:45: error: cannot find type 'CGFloat' in scope
27 |     }
28 |
29 |     public init(greaterThanOrEqualTo ratio: CGFloat) {
   |                                             `- error: cannot find type 'CGFloat' in scope
30 |         self.init(.greaterThanOrEqual, to: ratio)
31 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:35:59: error: cannot find type 'NSLayoutConstraint' in scope
33 |
34 | extension AspectRatio: LayoutConstraintsGenerator {
35 |     public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
   |                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
36 |         let constraint: NSLayoutConstraint
37 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public protocol LayoutConstraintsGenerator {
 8 |
 9 |     var priority: NSLayoutConstraint.Priority { get set }
   |                   `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     var priority: NSLayoutConstraint.Priority { get set }
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 |     func priority(_ value: NSLayoutConstraint.Priority) -> Self {
   |                            `- error: cannot find type 'NSLayoutConstraint' in scope
17 |         var new = self
18 |         new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:18:26: error: cannot infer contextual base in reference to member 'required'
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
18 |         self.priority = .required
   |                          `- error: cannot infer contextual base in reference to member 'required'
19 |     }
20 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:22:20: error: cannot infer contextual base in reference to member 'equal'
20 |
21 |     public init(equalTo ratio: CGFloat) {
22 |         self.init(.equal, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'equal'
23 |     }
24 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:26:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
24 |
25 |     public init(lessThanOrEqualTo ratio: CGFloat) {
26 |         self.init(.lessThanOrEqual, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
27 |     }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:30:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
28 |
29 |     public init(greaterThanOrEqualTo ratio: CGFloat) {
30 |         self.init(.greaterThanOrEqual, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
31 |     }
32 | }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:36:25: error: cannot find type 'NSLayoutConstraint' in scope
34 | extension AspectRatio: LayoutConstraintsGenerator {
35 |     public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
36 |         let constraint: NSLayoutConstraint
   |                         `- error: cannot find type 'NSLayoutConstraint' in scope
37 |
38 |         switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 |     var widthAnchor: NSLayoutDimension { get }
26 |
27 |     var heightAnchor: NSLayoutDimension { get }
   |                       `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 |     var widthAnchor: NSLayoutDimension { get }
   |                      `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 |     var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                            `- error: cannot find type 'NSLayoutAnchor' in scope
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
    |                   `- error: cannot find type 'NSLayoutConstraint' in scope
 19 |
 20 |     var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
 33 |     #else
 34 |
 35 |     var constant: CGFloat { get }
    |                   `- error: cannot find type 'CGFloat' in scope
 36 |
 37 |     static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public protocol LayoutItem {
 8 |
 9 |     var leadingAnchor: NSLayoutXAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |     var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
   |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
   |                      `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
   |                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
   |                       `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 |     var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
 38 |
 39 |     init(
 40 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
 40 |         _ relation: NSLayoutConstraint.Relation,
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
 43 |     )
 44 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:116:21: error: cannot find type 'NSLayoutConstraint' in scope
114 |
115 |     init(
116 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
117 |         to item: LayoutItem,
118 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:118:19: error: cannot find type 'CGFloat' in scope
116 |         _ relation: NSLayoutConstraint.Relation,
117 |         to item: LayoutItem,
118 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
119 |     ) {
120 |         self.init(
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:129:19: error: cannot find type 'CGFloat' in scope
127 |     init(
128 |         equalTo secondAnchor: Anchor,
129 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
130 |     ) {
131 |         self.init(.equal, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:136:19: error: cannot find type 'CGFloat' in scope
134 |     init(
135 |         equalTo item: LayoutItem,
136 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
137 |     ) {
138 |         self.init(.equal, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:145:19: error: cannot find type 'CGFloat' in scope
143 |     init(
144 |         lessThanOrEqualTo secondAnchor: Anchor,
145 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
146 |     ) {
147 |         self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:152:19: error: cannot find type 'CGFloat' in scope
150 |     init(
151 |         lessThanOrEqualTo item: LayoutItem,
152 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
153 |     ) {
154 |         self.init(.lessThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:161:19: error: cannot find type 'CGFloat' in scope
159 |     init(
160 |         greaterThanOrEqualTo secondAnchor: Anchor,
161 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
162 |     ) {
163 |         self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:168:19: error: cannot find type 'CGFloat' in scope
166 |     init(
167 |         greaterThanOrEqualTo item: LayoutItem,
168 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
169 |     ) {
170 |         self.init(.greaterThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:173:52: error: cannot find type 'NSLayoutConstraint' in scope
171 |     }
172 |
173 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
174 |
175 |         let constraint: NSLayoutConstraint
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:131:20: error: cannot infer contextual base in reference to member 'equal'
129 |         constant: CGFloat = 0
130 |     ) {
131 |         self.init(.equal, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
132 |     }
133 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:138:20: error: cannot infer contextual base in reference to member 'equal'
136 |         constant: CGFloat = 0
137 |     ) {
138 |         self.init(.equal, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
139 |     }
140 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:147:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
145 |         constant: CGFloat = 0
146 |     ) {
147 |         self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
148 |     }
149 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:154:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
152 |         constant: CGFloat = 0
153 |     ) {
154 |         self.init(.lessThanOrEqual, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
155 |     }
156 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:163:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
161 |         constant: CGFloat = 0
162 |     ) {
163 |         self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
164 |     }
165 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:170:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
168 |         constant: CGFloat = 0
169 |     ) {
170 |         self.init(.greaterThanOrEqual, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
171 |     }
172 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:175:25: error: cannot find type 'NSLayoutConstraint' in scope
173 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
174 |
175 |         let constraint: NSLayoutConstraint
    |                         `- error: cannot find type 'NSLayoutConstraint' in scope
176 |
177 |         let firstAnchor = item[keyPath: Self.firstAnchorKeyPath]
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:181:38: error: value of type 'Self.Anchor' has no member 'constraint'
179 |         switch relation {
180 |         case .equal:
181 |             constraint = firstAnchor.constraint(equalTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
182 |
183 |         case .lessThanOrEqual:
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:184:38: error: value of type 'Self.Anchor' has no member 'constraint'
182 |
183 |         case .lessThanOrEqual:
184 |             constraint = firstAnchor.constraint(lessThanOrEqualTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
185 |
186 |         case .greaterThanOrEqual:
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:187:38: error: value of type 'Self.Anchor' has no member 'constraint'
185 |
186 |         case .greaterThanOrEqual:
187 |             constraint = firstAnchor.constraint(greaterThanOrEqualTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
188 |
189 |         @unknown default:
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 7 | public struct Bottom: YAxisConstraintsGenerator {
 8 |
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
   |                              `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority = .required
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:42:26: error: cannot find type 'CGFloat' in scope
40 |     #else
41 |
42 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
43 |
44 |     public init(
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:45:21: error: cannot find type 'NSLayoutConstraint' in scope
43 |
44 |     public init(
45 |         _ relation: NSLayoutConstraint.Relation,
   |                     `- error: cannot find type 'NSLayoutConstraint' in scope
46 |         to secondAnchor: NSLayoutYAxisAnchor,
47 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:46:26: error: cannot find type 'NSLayoutYAxisAnchor' in scope
44 |     public init(
45 |         _ relation: NSLayoutConstraint.Relation,
46 |         to secondAnchor: NSLayoutYAxisAnchor,
   |                          `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
47 |         constant: CGFloat
48 |     ) {
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:47:19: error: cannot find type 'CGFloat' in scope
45 |         _ relation: NSLayoutConstraint.Relation,
46 |         to secondAnchor: NSLayoutYAxisAnchor,
47 |         constant: CGFloat
   |                   `- error: cannot find type 'CGFloat' in scope
48 |     ) {
49 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
52 |     }
53 |
54 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.bottomAnchor
   |                                                               `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
55 |
56 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:7:15: error: type 'Bottom' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Bottom: YAxisConstraintsGenerator {
   |               |- error: type 'Bottom' does not conform to protocol 'AxisConstraintsGenerator'
   |               `- note: add stubs for conformance
 8 |
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
 13 |
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
    |                    `- note: protocol requires nested type 'AnchorType'
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                    `- note: protocol requires nested type 'Anchor'
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:9:26: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public struct Center: LayoutConstraintsGenerator {
 8 |
 9 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     public let secondItem: LayoutItem
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:13:24: error: cannot find type 'CGSize' in scope
11 |     public let secondItem: LayoutItem
12 |
13 |     public let offset: CGSize
   |                        `- error: cannot find type 'CGSize' in scope
14 |
15 |     public init(equalTo item: LayoutItem, offset: CGSize = .zero) {
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:15:51: error: cannot find type 'CGSize' in scope
13 |     public let offset: CGSize
14 |
15 |     public init(equalTo item: LayoutItem, offset: CGSize = .zero) {
   |                                                   `- error: cannot find type 'CGSize' in scope
16 |         self.secondItem = item
17 |         self.offset = offset
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:22:52: error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public extension Center {
22 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
23 |
24 |         return [
[27/31] Compiling LayoutAid Bottom.swift
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:9:29: error: cannot find type 'CGFloat' in scope
 7 | public struct AspectRatio {
 8 |
 9 |     public var aspectRatio: CGFloat
   |                             `- error: cannot find type 'CGFloat' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var aspectRatio: CGFloat
10 |
11 |     public var priority: NSLayoutConstraint.Priority
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:15:29: error: cannot find type 'NSLayoutConstraint' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:15:68: error: cannot find type 'CGFloat' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
   |                                                                    `- error: cannot find type 'CGFloat' in scope
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:21:32: error: cannot find type 'CGFloat' in scope
19 |     }
20 |
21 |     public init(equalTo ratio: CGFloat) {
   |                                `- error: cannot find type 'CGFloat' in scope
22 |         self.init(.equal, to: ratio)
23 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:25:42: error: cannot find type 'CGFloat' in scope
23 |     }
24 |
25 |     public init(lessThanOrEqualTo ratio: CGFloat) {
   |                                          `- error: cannot find type 'CGFloat' in scope
26 |         self.init(.lessThanOrEqual, to: ratio)
27 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:29:45: error: cannot find type 'CGFloat' in scope
27 |     }
28 |
29 |     public init(greaterThanOrEqualTo ratio: CGFloat) {
   |                                             `- error: cannot find type 'CGFloat' in scope
30 |         self.init(.greaterThanOrEqual, to: ratio)
31 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:35:59: error: cannot find type 'NSLayoutConstraint' in scope
33 |
34 | extension AspectRatio: LayoutConstraintsGenerator {
35 |     public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
   |                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
36 |         let constraint: NSLayoutConstraint
37 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public protocol LayoutConstraintsGenerator {
 8 |
 9 |     var priority: NSLayoutConstraint.Priority { get set }
   |                   `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     var priority: NSLayoutConstraint.Priority { get set }
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 |     func priority(_ value: NSLayoutConstraint.Priority) -> Self {
   |                            `- error: cannot find type 'NSLayoutConstraint' in scope
17 |         var new = self
18 |         new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:18:26: error: cannot infer contextual base in reference to member 'required'
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
18 |         self.priority = .required
   |                          `- error: cannot infer contextual base in reference to member 'required'
19 |     }
20 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:22:20: error: cannot infer contextual base in reference to member 'equal'
20 |
21 |     public init(equalTo ratio: CGFloat) {
22 |         self.init(.equal, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'equal'
23 |     }
24 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:26:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
24 |
25 |     public init(lessThanOrEqualTo ratio: CGFloat) {
26 |         self.init(.lessThanOrEqual, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
27 |     }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:30:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
28 |
29 |     public init(greaterThanOrEqualTo ratio: CGFloat) {
30 |         self.init(.greaterThanOrEqual, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
31 |     }
32 | }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:36:25: error: cannot find type 'NSLayoutConstraint' in scope
34 | extension AspectRatio: LayoutConstraintsGenerator {
35 |     public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
36 |         let constraint: NSLayoutConstraint
   |                         `- error: cannot find type 'NSLayoutConstraint' in scope
37 |
38 |         switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 |     var widthAnchor: NSLayoutDimension { get }
26 |
27 |     var heightAnchor: NSLayoutDimension { get }
   |                       `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 |     var widthAnchor: NSLayoutDimension { get }
   |                      `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 |     var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                            `- error: cannot find type 'NSLayoutAnchor' in scope
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
    |                   `- error: cannot find type 'NSLayoutConstraint' in scope
 19 |
 20 |     var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
 33 |     #else
 34 |
 35 |     var constant: CGFloat { get }
    |                   `- error: cannot find type 'CGFloat' in scope
 36 |
 37 |     static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public protocol LayoutItem {
 8 |
 9 |     var leadingAnchor: NSLayoutXAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |     var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
   |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
   |                      `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
   |                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
   |                       `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 |     var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
 38 |
 39 |     init(
 40 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
 40 |         _ relation: NSLayoutConstraint.Relation,
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
 43 |     )
 44 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:116:21: error: cannot find type 'NSLayoutConstraint' in scope
114 |
115 |     init(
116 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
117 |         to item: LayoutItem,
118 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:118:19: error: cannot find type 'CGFloat' in scope
116 |         _ relation: NSLayoutConstraint.Relation,
117 |         to item: LayoutItem,
118 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
119 |     ) {
120 |         self.init(
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:129:19: error: cannot find type 'CGFloat' in scope
127 |     init(
128 |         equalTo secondAnchor: Anchor,
129 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
130 |     ) {
131 |         self.init(.equal, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:136:19: error: cannot find type 'CGFloat' in scope
134 |     init(
135 |         equalTo item: LayoutItem,
136 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
137 |     ) {
138 |         self.init(.equal, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:145:19: error: cannot find type 'CGFloat' in scope
143 |     init(
144 |         lessThanOrEqualTo secondAnchor: Anchor,
145 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
146 |     ) {
147 |         self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:152:19: error: cannot find type 'CGFloat' in scope
150 |     init(
151 |         lessThanOrEqualTo item: LayoutItem,
152 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
153 |     ) {
154 |         self.init(.lessThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:161:19: error: cannot find type 'CGFloat' in scope
159 |     init(
160 |         greaterThanOrEqualTo secondAnchor: Anchor,
161 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
162 |     ) {
163 |         self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:168:19: error: cannot find type 'CGFloat' in scope
166 |     init(
167 |         greaterThanOrEqualTo item: LayoutItem,
168 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
169 |     ) {
170 |         self.init(.greaterThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:173:52: error: cannot find type 'NSLayoutConstraint' in scope
171 |     }
172 |
173 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
174 |
175 |         let constraint: NSLayoutConstraint
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:131:20: error: cannot infer contextual base in reference to member 'equal'
129 |         constant: CGFloat = 0
130 |     ) {
131 |         self.init(.equal, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
132 |     }
133 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:138:20: error: cannot infer contextual base in reference to member 'equal'
136 |         constant: CGFloat = 0
137 |     ) {
138 |         self.init(.equal, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
139 |     }
140 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:147:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
145 |         constant: CGFloat = 0
146 |     ) {
147 |         self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
148 |     }
149 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:154:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
152 |         constant: CGFloat = 0
153 |     ) {
154 |         self.init(.lessThanOrEqual, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
155 |     }
156 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:163:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
161 |         constant: CGFloat = 0
162 |     ) {
163 |         self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
164 |     }
165 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:170:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
168 |         constant: CGFloat = 0
169 |     ) {
170 |         self.init(.greaterThanOrEqual, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
171 |     }
172 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:175:25: error: cannot find type 'NSLayoutConstraint' in scope
173 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
174 |
175 |         let constraint: NSLayoutConstraint
    |                         `- error: cannot find type 'NSLayoutConstraint' in scope
176 |
177 |         let firstAnchor = item[keyPath: Self.firstAnchorKeyPath]
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:181:38: error: value of type 'Self.Anchor' has no member 'constraint'
179 |         switch relation {
180 |         case .equal:
181 |             constraint = firstAnchor.constraint(equalTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
182 |
183 |         case .lessThanOrEqual:
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:184:38: error: value of type 'Self.Anchor' has no member 'constraint'
182 |
183 |         case .lessThanOrEqual:
184 |             constraint = firstAnchor.constraint(lessThanOrEqualTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
185 |
186 |         case .greaterThanOrEqual:
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:187:38: error: value of type 'Self.Anchor' has no member 'constraint'
185 |
186 |         case .greaterThanOrEqual:
187 |             constraint = firstAnchor.constraint(greaterThanOrEqualTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
188 |
189 |         @unknown default:
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 7 | public struct Bottom: YAxisConstraintsGenerator {
 8 |
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
   |                              `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority = .required
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:42:26: error: cannot find type 'CGFloat' in scope
40 |     #else
41 |
42 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
43 |
44 |     public init(
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:45:21: error: cannot find type 'NSLayoutConstraint' in scope
43 |
44 |     public init(
45 |         _ relation: NSLayoutConstraint.Relation,
   |                     `- error: cannot find type 'NSLayoutConstraint' in scope
46 |         to secondAnchor: NSLayoutYAxisAnchor,
47 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:46:26: error: cannot find type 'NSLayoutYAxisAnchor' in scope
44 |     public init(
45 |         _ relation: NSLayoutConstraint.Relation,
46 |         to secondAnchor: NSLayoutYAxisAnchor,
   |                          `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
47 |         constant: CGFloat
48 |     ) {
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:47:19: error: cannot find type 'CGFloat' in scope
45 |         _ relation: NSLayoutConstraint.Relation,
46 |         to secondAnchor: NSLayoutYAxisAnchor,
47 |         constant: CGFloat
   |                   `- error: cannot find type 'CGFloat' in scope
48 |     ) {
49 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
52 |     }
53 |
54 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.bottomAnchor
   |                                                               `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
55 |
56 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:7:15: error: type 'Bottom' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Bottom: YAxisConstraintsGenerator {
   |               |- error: type 'Bottom' does not conform to protocol 'AxisConstraintsGenerator'
   |               `- note: add stubs for conformance
 8 |
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
 13 |
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
    |                    `- note: protocol requires nested type 'AnchorType'
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                    `- note: protocol requires nested type 'Anchor'
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:9:26: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public struct Center: LayoutConstraintsGenerator {
 8 |
 9 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     public let secondItem: LayoutItem
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:13:24: error: cannot find type 'CGSize' in scope
11 |     public let secondItem: LayoutItem
12 |
13 |     public let offset: CGSize
   |                        `- error: cannot find type 'CGSize' in scope
14 |
15 |     public init(equalTo item: LayoutItem, offset: CGSize = .zero) {
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:15:51: error: cannot find type 'CGSize' in scope
13 |     public let offset: CGSize
14 |
15 |     public init(equalTo item: LayoutItem, offset: CGSize = .zero) {
   |                                                   `- error: cannot find type 'CGSize' in scope
16 |         self.secondItem = item
17 |         self.offset = offset
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:22:52: error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public extension Center {
22 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
23 |
24 |         return [
[28/31] Compiling LayoutAid Center.swift
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:9:29: error: cannot find type 'CGFloat' in scope
 7 | public struct AspectRatio {
 8 |
 9 |     public var aspectRatio: CGFloat
   |                             `- error: cannot find type 'CGFloat' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var aspectRatio: CGFloat
10 |
11 |     public var priority: NSLayoutConstraint.Priority
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:15:29: error: cannot find type 'NSLayoutConstraint' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:15:68: error: cannot find type 'CGFloat' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public init(_ relation: NSLayoutConstraint.Relation, to ratio: CGFloat) {
   |                                                                    `- error: cannot find type 'CGFloat' in scope
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:21:32: error: cannot find type 'CGFloat' in scope
19 |     }
20 |
21 |     public init(equalTo ratio: CGFloat) {
   |                                `- error: cannot find type 'CGFloat' in scope
22 |         self.init(.equal, to: ratio)
23 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:25:42: error: cannot find type 'CGFloat' in scope
23 |     }
24 |
25 |     public init(lessThanOrEqualTo ratio: CGFloat) {
   |                                          `- error: cannot find type 'CGFloat' in scope
26 |         self.init(.lessThanOrEqual, to: ratio)
27 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:29:45: error: cannot find type 'CGFloat' in scope
27 |     }
28 |
29 |     public init(greaterThanOrEqualTo ratio: CGFloat) {
   |                                             `- error: cannot find type 'CGFloat' in scope
30 |         self.init(.greaterThanOrEqual, to: ratio)
31 |     }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:35:59: error: cannot find type 'NSLayoutConstraint' in scope
33 |
34 | extension AspectRatio: LayoutConstraintsGenerator {
35 |     public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
   |                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
36 |         let constraint: NSLayoutConstraint
37 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public protocol LayoutConstraintsGenerator {
 8 |
 9 |     var priority: NSLayoutConstraint.Priority { get set }
   |                   `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     var priority: NSLayoutConstraint.Priority { get set }
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 |     func priority(_ value: NSLayoutConstraint.Priority) -> Self {
   |                            `- error: cannot find type 'NSLayoutConstraint' in scope
17 |         var new = self
18 |         new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:18:26: error: cannot infer contextual base in reference to member 'required'
16 |         self.relation = relation
17 |         self.aspectRatio = ratio
18 |         self.priority = .required
   |                          `- error: cannot infer contextual base in reference to member 'required'
19 |     }
20 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:22:20: error: cannot infer contextual base in reference to member 'equal'
20 |
21 |     public init(equalTo ratio: CGFloat) {
22 |         self.init(.equal, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'equal'
23 |     }
24 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:26:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
24 |
25 |     public init(lessThanOrEqualTo ratio: CGFloat) {
26 |         self.init(.lessThanOrEqual, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
27 |     }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:30:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
28 |
29 |     public init(greaterThanOrEqualTo ratio: CGFloat) {
30 |         self.init(.greaterThanOrEqual, to: ratio)
   |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
31 |     }
32 | }
/host/spi-builder-workspace/Sources/LayoutAid/AspectRatio.swift:36:25: error: cannot find type 'NSLayoutConstraint' in scope
34 | extension AspectRatio: LayoutConstraintsGenerator {
35 |     public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
36 |         let constraint: NSLayoutConstraint
   |                         `- error: cannot find type 'NSLayoutConstraint' in scope
37 |
38 |         switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 |     var widthAnchor: NSLayoutDimension { get }
26 |
27 |     var heightAnchor: NSLayoutDimension { get }
   |                       `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 |     var widthAnchor: NSLayoutDimension { get }
   |                      `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 |     var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                            `- error: cannot find type 'NSLayoutAnchor' in scope
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
    |                   `- error: cannot find type 'NSLayoutConstraint' in scope
 19 |
 20 |     var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
 33 |     #else
 34 |
 35 |     var constant: CGFloat { get }
    |                   `- error: cannot find type 'CGFloat' in scope
 36 |
 37 |     static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public protocol LayoutItem {
 8 |
 9 |     var leadingAnchor: NSLayoutXAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |     var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
   |                         `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 |     var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
   |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 |     var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
   |                      `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 |     var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
   |                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 |     var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
   |                       `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 |     var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 |     var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 |     var centerYAnchor: NSLayoutYAxisAnchor { get }
   |                        `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 |     var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
 38 |
 39 |     init(
 40 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
 40 |         _ relation: NSLayoutConstraint.Relation,
 41 |         to secondAnchor: Anchor,
 42 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
 43 |     )
 44 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:116:21: error: cannot find type 'NSLayoutConstraint' in scope
114 |
115 |     init(
116 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
117 |         to item: LayoutItem,
118 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:118:19: error: cannot find type 'CGFloat' in scope
116 |         _ relation: NSLayoutConstraint.Relation,
117 |         to item: LayoutItem,
118 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
119 |     ) {
120 |         self.init(
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:129:19: error: cannot find type 'CGFloat' in scope
127 |     init(
128 |         equalTo secondAnchor: Anchor,
129 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
130 |     ) {
131 |         self.init(.equal, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:136:19: error: cannot find type 'CGFloat' in scope
134 |     init(
135 |         equalTo item: LayoutItem,
136 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
137 |     ) {
138 |         self.init(.equal, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:145:19: error: cannot find type 'CGFloat' in scope
143 |     init(
144 |         lessThanOrEqualTo secondAnchor: Anchor,
145 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
146 |     ) {
147 |         self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:152:19: error: cannot find type 'CGFloat' in scope
150 |     init(
151 |         lessThanOrEqualTo item: LayoutItem,
152 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
153 |     ) {
154 |         self.init(.lessThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:161:19: error: cannot find type 'CGFloat' in scope
159 |     init(
160 |         greaterThanOrEqualTo secondAnchor: Anchor,
161 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
162 |     ) {
163 |         self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:168:19: error: cannot find type 'CGFloat' in scope
166 |     init(
167 |         greaterThanOrEqualTo item: LayoutItem,
168 |         constant: CGFloat = 0
    |                   `- error: cannot find type 'CGFloat' in scope
169 |     ) {
170 |         self.init(.greaterThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:173:52: error: cannot find type 'NSLayoutConstraint' in scope
171 |     }
172 |
173 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
174 |
175 |         let constraint: NSLayoutConstraint
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:131:20: error: cannot infer contextual base in reference to member 'equal'
129 |         constant: CGFloat = 0
130 |     ) {
131 |         self.init(.equal, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
132 |     }
133 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:138:20: error: cannot infer contextual base in reference to member 'equal'
136 |         constant: CGFloat = 0
137 |     ) {
138 |         self.init(.equal, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
139 |     }
140 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:147:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
145 |         constant: CGFloat = 0
146 |     ) {
147 |         self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
148 |     }
149 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:154:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
152 |         constant: CGFloat = 0
153 |     ) {
154 |         self.init(.lessThanOrEqual, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
155 |     }
156 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:163:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
161 |         constant: CGFloat = 0
162 |     ) {
163 |         self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
164 |     }
165 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:170:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
168 |         constant: CGFloat = 0
169 |     ) {
170 |         self.init(.greaterThanOrEqual, to: item, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
171 |     }
172 |
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:175:25: error: cannot find type 'NSLayoutConstraint' in scope
173 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
174 |
175 |         let constraint: NSLayoutConstraint
    |                         `- error: cannot find type 'NSLayoutConstraint' in scope
176 |
177 |         let firstAnchor = item[keyPath: Self.firstAnchorKeyPath]
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:181:38: error: value of type 'Self.Anchor' has no member 'constraint'
179 |         switch relation {
180 |         case .equal:
181 |             constraint = firstAnchor.constraint(equalTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
182 |
183 |         case .lessThanOrEqual:
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:184:38: error: value of type 'Self.Anchor' has no member 'constraint'
182 |
183 |         case .lessThanOrEqual:
184 |             constraint = firstAnchor.constraint(lessThanOrEqualTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
185 |
186 |         case .greaterThanOrEqual:
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:187:38: error: value of type 'Self.Anchor' has no member 'constraint'
185 |
186 |         case .greaterThanOrEqual:
187 |             constraint = firstAnchor.constraint(greaterThanOrEqualTo: secondAnchor, constant: constant)
    |                                      `- error: value of type 'Self.Anchor' has no member 'constraint'
188 |
189 |         @unknown default:
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 7 | public struct Bottom: YAxisConstraintsGenerator {
 8 |
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
   |                              `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
10 |
11 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public var priority: NSLayoutConstraint.Priority = .required
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:42:26: error: cannot find type 'CGFloat' in scope
40 |     #else
41 |
42 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
43 |
44 |     public init(
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:45:21: error: cannot find type 'NSLayoutConstraint' in scope
43 |
44 |     public init(
45 |         _ relation: NSLayoutConstraint.Relation,
   |                     `- error: cannot find type 'NSLayoutConstraint' in scope
46 |         to secondAnchor: NSLayoutYAxisAnchor,
47 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:46:26: error: cannot find type 'NSLayoutYAxisAnchor' in scope
44 |     public init(
45 |         _ relation: NSLayoutConstraint.Relation,
46 |         to secondAnchor: NSLayoutYAxisAnchor,
   |                          `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
47 |         constant: CGFloat
48 |     ) {
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:47:19: error: cannot find type 'CGFloat' in scope
45 |         _ relation: NSLayoutConstraint.Relation,
46 |         to secondAnchor: NSLayoutYAxisAnchor,
47 |         constant: CGFloat
   |                   `- error: cannot find type 'CGFloat' in scope
48 |     ) {
49 |         self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
52 |     }
53 |
54 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.bottomAnchor
   |                                                               `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
55 |
56 |     #endif
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Bottom.swift:7:15: error: type 'Bottom' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Bottom: YAxisConstraintsGenerator {
   |               |- error: type 'Bottom' does not conform to protocol 'AxisConstraintsGenerator'
   |               `- note: add stubs for conformance
 8 |
 9 |     public var secondAnchor: NSLayoutYAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
 13 |
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
    |                    `- note: protocol requires nested type 'AnchorType'
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                    `- note: protocol requires nested type 'Anchor'
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:9:26: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public struct Center: LayoutConstraintsGenerator {
 8 |
 9 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     public let secondItem: LayoutItem
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:13:24: error: cannot find type 'CGSize' in scope
11 |     public let secondItem: LayoutItem
12 |
13 |     public let offset: CGSize
   |                        `- error: cannot find type 'CGSize' in scope
14 |
15 |     public init(equalTo item: LayoutItem, offset: CGSize = .zero) {
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:15:51: error: cannot find type 'CGSize' in scope
13 |     public let offset: CGSize
14 |
15 |     public init(equalTo item: LayoutItem, offset: CGSize = .zero) {
   |                                                   `- error: cannot find type 'CGSize' in scope
16 |         self.secondItem = item
17 |         self.offset = offset
/host/spi-builder-workspace/Sources/LayoutAid/Center.swift:22:52: error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public extension Center {
22 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
23 |
24 |         return [
[29/31] Compiling LayoutAid Width.swift
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
 7 | public struct Width: DimensionConstraintsGenerator {
 8 |
 9 |     public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
   |                                                          `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 |     public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
 9 |     public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
10 |
11 |     public let secondAnchor: NSLayoutDimension?
   |                              `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public let secondAnchor: NSLayoutDimension?
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     public let constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:15:26: error: cannot find type 'CGFloat' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
16 |
17 |     public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:17:28: error: cannot find type 'CGFloat' in scope
15 |     public let constant: CGFloat
16 |
17 |     public let multiplier: CGFloat
   |                            `- error: cannot find type 'CGFloat' in scope
18 |
19 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
17 |     public let multiplier: CGFloat
18 |
19 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
19 |     public var priority: NSLayoutConstraint.Priority = .required
20 |
21 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
22 |         self.relation = relation
23 |         self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:71: error: cannot find type 'CGFloat' in scope
19 |     public var priority: NSLayoutConstraint.Priority = .required
20 |
21 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
   |                                                                       `- error: cannot find type 'CGFloat' in scope
22 |         self.relation = relation
23 |         self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 |     public init(
29 |         _ relation: NSLayoutConstraint.Relation,
   |                     `- error: cannot find type 'NSLayoutConstraint' in scope
30 |         to secondAnchor: NSLayoutDimension,
31 |         multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
28 |     public init(
29 |         _ relation: NSLayoutConstraint.Relation,
30 |         to secondAnchor: NSLayoutDimension,
   |                          `- error: cannot find type 'NSLayoutDimension' in scope
31 |         multiplier: CGFloat,
32 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:31:21: error: cannot find type 'CGFloat' in scope
29 |         _ relation: NSLayoutConstraint.Relation,
30 |         to secondAnchor: NSLayoutDimension,
31 |         multiplier: CGFloat,
   |                     `- error: cannot find type 'CGFloat' in scope
32 |         constant: CGFloat
33 |     ) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:32:19: error: cannot find type 'CGFloat' in scope
30 |         to secondAnchor: NSLayoutDimension,
31 |         multiplier: CGFloat,
32 |         constant: CGFloat
   |                   `- error: cannot find type 'CGFloat' in scope
33 |     ) {
34 |         self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
  7 | public protocol DimensionConstraintsGenerator: LayoutConstraintsGenerator {
  8 |
  9 |     static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
    |                                                   `- error: cannot find type 'NSLayoutDimension' in scope
 10 |
 11 |     var secondAnchor: NSLayoutDimension? { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
  9 |     static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
 10 |
 11 |     var secondAnchor: NSLayoutDimension? { get }
    |                       `- error: cannot find type 'NSLayoutDimension' in scope
 12 |
 13 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
 11 |     var secondAnchor: NSLayoutDimension? { get }
 12 |
 13 |     var relation: NSLayoutConstraint.Relation { get }
    |                   `- error: cannot find type 'NSLayoutConstraint' in scope
 14 |
 15 |     var constant: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
 13 |     var relation: NSLayoutConstraint.Relation { get }
 14 |
 15 |     var constant: CGFloat { get }
    |                   `- error: cannot find type 'CGFloat' in scope
 16 |
 17 |     var multiplier: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
 15 |     var constant: CGFloat { get }
 16 |
 17 |     var multiplier: CGFloat { get }
    |                     `- error: cannot find type 'CGFloat' in scope
 18 |
 19 |     init(
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
 18 |
 19 |     init(
 20 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
 21 |         to secondAnchor: NSLayoutDimension,
 22 |         multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
 19 |     init(
 20 |         _ relation: NSLayoutConstraint.Relation,
 21 |         to secondAnchor: NSLayoutDimension,
    |                          `- error: cannot find type 'NSLayoutDimension' in scope
 22 |         multiplier: CGFloat,
 23 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
 20 |         _ relation: NSLayoutConstraint.Relation,
 21 |         to secondAnchor: NSLayoutDimension,
 22 |         multiplier: CGFloat,
    |                     `- error: cannot find type 'CGFloat' in scope
 23 |         constant: CGFloat
 24 |     )
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
 21 |         to secondAnchor: NSLayoutDimension,
 22 |         multiplier: CGFloat,
 23 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
 24 |     )
 25 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
 24 |     )
 25 |
 26 |     init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
    |                      `- error: cannot find type 'NSLayoutConstraint' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
 24 |     )
 25 |
 26 |     init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
    |                                                                `- error: cannot find type 'CGFloat' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public protocol LayoutConstraintsGenerator {
 8 |
 9 |     var priority: NSLayoutConstraint.Priority { get set }
   |                   `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     var priority: NSLayoutConstraint.Priority { get set }
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                            `- error: cannot find type 'NSLayoutAnchor' in scope
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
[30/31] Compiling LayoutAid XAxisConstraintsGenerator.swift
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
 7 | public struct Width: DimensionConstraintsGenerator {
 8 |
 9 |     public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
   |                                                          `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 |     public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
 9 |     public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
10 |
11 |     public let secondAnchor: NSLayoutDimension?
   |                              `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public let secondAnchor: NSLayoutDimension?
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     public let constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:15:26: error: cannot find type 'CGFloat' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
16 |
17 |     public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:17:28: error: cannot find type 'CGFloat' in scope
15 |     public let constant: CGFloat
16 |
17 |     public let multiplier: CGFloat
   |                            `- error: cannot find type 'CGFloat' in scope
18 |
19 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
17 |     public let multiplier: CGFloat
18 |
19 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
19 |     public var priority: NSLayoutConstraint.Priority = .required
20 |
21 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
22 |         self.relation = relation
23 |         self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:71: error: cannot find type 'CGFloat' in scope
19 |     public var priority: NSLayoutConstraint.Priority = .required
20 |
21 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
   |                                                                       `- error: cannot find type 'CGFloat' in scope
22 |         self.relation = relation
23 |         self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 |     public init(
29 |         _ relation: NSLayoutConstraint.Relation,
   |                     `- error: cannot find type 'NSLayoutConstraint' in scope
30 |         to secondAnchor: NSLayoutDimension,
31 |         multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
28 |     public init(
29 |         _ relation: NSLayoutConstraint.Relation,
30 |         to secondAnchor: NSLayoutDimension,
   |                          `- error: cannot find type 'NSLayoutDimension' in scope
31 |         multiplier: CGFloat,
32 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:31:21: error: cannot find type 'CGFloat' in scope
29 |         _ relation: NSLayoutConstraint.Relation,
30 |         to secondAnchor: NSLayoutDimension,
31 |         multiplier: CGFloat,
   |                     `- error: cannot find type 'CGFloat' in scope
32 |         constant: CGFloat
33 |     ) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:32:19: error: cannot find type 'CGFloat' in scope
30 |         to secondAnchor: NSLayoutDimension,
31 |         multiplier: CGFloat,
32 |         constant: CGFloat
   |                   `- error: cannot find type 'CGFloat' in scope
33 |     ) {
34 |         self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
  7 | public protocol DimensionConstraintsGenerator: LayoutConstraintsGenerator {
  8 |
  9 |     static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
    |                                                   `- error: cannot find type 'NSLayoutDimension' in scope
 10 |
 11 |     var secondAnchor: NSLayoutDimension? { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
  9 |     static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
 10 |
 11 |     var secondAnchor: NSLayoutDimension? { get }
    |                       `- error: cannot find type 'NSLayoutDimension' in scope
 12 |
 13 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
 11 |     var secondAnchor: NSLayoutDimension? { get }
 12 |
 13 |     var relation: NSLayoutConstraint.Relation { get }
    |                   `- error: cannot find type 'NSLayoutConstraint' in scope
 14 |
 15 |     var constant: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
 13 |     var relation: NSLayoutConstraint.Relation { get }
 14 |
 15 |     var constant: CGFloat { get }
    |                   `- error: cannot find type 'CGFloat' in scope
 16 |
 17 |     var multiplier: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
 15 |     var constant: CGFloat { get }
 16 |
 17 |     var multiplier: CGFloat { get }
    |                     `- error: cannot find type 'CGFloat' in scope
 18 |
 19 |     init(
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
 18 |
 19 |     init(
 20 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
 21 |         to secondAnchor: NSLayoutDimension,
 22 |         multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
 19 |     init(
 20 |         _ relation: NSLayoutConstraint.Relation,
 21 |         to secondAnchor: NSLayoutDimension,
    |                          `- error: cannot find type 'NSLayoutDimension' in scope
 22 |         multiplier: CGFloat,
 23 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
 20 |         _ relation: NSLayoutConstraint.Relation,
 21 |         to secondAnchor: NSLayoutDimension,
 22 |         multiplier: CGFloat,
    |                     `- error: cannot find type 'CGFloat' in scope
 23 |         constant: CGFloat
 24 |     )
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
 21 |         to secondAnchor: NSLayoutDimension,
 22 |         multiplier: CGFloat,
 23 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
 24 |     )
 25 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
 24 |     )
 25 |
 26 |     init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
    |                      `- error: cannot find type 'NSLayoutConstraint' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
 24 |     )
 25 |
 26 |     init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
    |                                                                `- error: cannot find type 'CGFloat' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public protocol LayoutConstraintsGenerator {
 8 |
 9 |     var priority: NSLayoutConstraint.Priority { get set }
   |                   `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     var priority: NSLayoutConstraint.Priority { get set }
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                            `- error: cannot find type 'NSLayoutAnchor' in scope
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
[31/31] Compiling LayoutAid YAxisConstraintsGenerator.swift
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
 7 | public struct Width: DimensionConstraintsGenerator {
 8 |
 9 |     public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
   |                                                          `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 |     public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
 9 |     public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
10 |
11 |     public let secondAnchor: NSLayoutDimension?
   |                              `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 |     public let secondAnchor: NSLayoutDimension?
12 |
13 |     public let relation: NSLayoutConstraint.Relation
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 |     public let constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:15:26: error: cannot find type 'CGFloat' in scope
13 |     public let relation: NSLayoutConstraint.Relation
14 |
15 |     public let constant: CGFloat
   |                          `- error: cannot find type 'CGFloat' in scope
16 |
17 |     public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:17:28: error: cannot find type 'CGFloat' in scope
15 |     public let constant: CGFloat
16 |
17 |     public let multiplier: CGFloat
   |                            `- error: cannot find type 'CGFloat' in scope
18 |
19 |     public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
17 |     public let multiplier: CGFloat
18 |
19 |     public var priority: NSLayoutConstraint.Priority = .required
   |                          `- error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
19 |     public var priority: NSLayoutConstraint.Priority = .required
20 |
21 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
   |                             `- error: cannot find type 'NSLayoutConstraint' in scope
22 |         self.relation = relation
23 |         self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:71: error: cannot find type 'CGFloat' in scope
19 |     public var priority: NSLayoutConstraint.Priority = .required
20 |
21 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
   |                                                                       `- error: cannot find type 'CGFloat' in scope
22 |         self.relation = relation
23 |         self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 |     public init(
29 |         _ relation: NSLayoutConstraint.Relation,
   |                     `- error: cannot find type 'NSLayoutConstraint' in scope
30 |         to secondAnchor: NSLayoutDimension,
31 |         multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
28 |     public init(
29 |         _ relation: NSLayoutConstraint.Relation,
30 |         to secondAnchor: NSLayoutDimension,
   |                          `- error: cannot find type 'NSLayoutDimension' in scope
31 |         multiplier: CGFloat,
32 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:31:21: error: cannot find type 'CGFloat' in scope
29 |         _ relation: NSLayoutConstraint.Relation,
30 |         to secondAnchor: NSLayoutDimension,
31 |         multiplier: CGFloat,
   |                     `- error: cannot find type 'CGFloat' in scope
32 |         constant: CGFloat
33 |     ) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:32:19: error: cannot find type 'CGFloat' in scope
30 |         to secondAnchor: NSLayoutDimension,
31 |         multiplier: CGFloat,
32 |         constant: CGFloat
   |                   `- error: cannot find type 'CGFloat' in scope
33 |     ) {
34 |         self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
  7 | public protocol DimensionConstraintsGenerator: LayoutConstraintsGenerator {
  8 |
  9 |     static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
    |                                                   `- error: cannot find type 'NSLayoutDimension' in scope
 10 |
 11 |     var secondAnchor: NSLayoutDimension? { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
  9 |     static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
 10 |
 11 |     var secondAnchor: NSLayoutDimension? { get }
    |                       `- error: cannot find type 'NSLayoutDimension' in scope
 12 |
 13 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
 11 |     var secondAnchor: NSLayoutDimension? { get }
 12 |
 13 |     var relation: NSLayoutConstraint.Relation { get }
    |                   `- error: cannot find type 'NSLayoutConstraint' in scope
 14 |
 15 |     var constant: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
 13 |     var relation: NSLayoutConstraint.Relation { get }
 14 |
 15 |     var constant: CGFloat { get }
    |                   `- error: cannot find type 'CGFloat' in scope
 16 |
 17 |     var multiplier: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
 15 |     var constant: CGFloat { get }
 16 |
 17 |     var multiplier: CGFloat { get }
    |                     `- error: cannot find type 'CGFloat' in scope
 18 |
 19 |     init(
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
 18 |
 19 |     init(
 20 |         _ relation: NSLayoutConstraint.Relation,
    |                     `- error: cannot find type 'NSLayoutConstraint' in scope
 21 |         to secondAnchor: NSLayoutDimension,
 22 |         multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
 19 |     init(
 20 |         _ relation: NSLayoutConstraint.Relation,
 21 |         to secondAnchor: NSLayoutDimension,
    |                          `- error: cannot find type 'NSLayoutDimension' in scope
 22 |         multiplier: CGFloat,
 23 |         constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
 20 |         _ relation: NSLayoutConstraint.Relation,
 21 |         to secondAnchor: NSLayoutDimension,
 22 |         multiplier: CGFloat,
    |                     `- error: cannot find type 'CGFloat' in scope
 23 |         constant: CGFloat
 24 |     )
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
 21 |         to secondAnchor: NSLayoutDimension,
 22 |         multiplier: CGFloat,
 23 |         constant: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
 24 |     )
 25 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
 24 |     )
 25 |
 26 |     init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
    |                      `- error: cannot find type 'NSLayoutConstraint' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
 24 |     )
 25 |
 26 |     init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
    |                                                                `- error: cannot find type 'CGFloat' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
 7 | public protocol LayoutConstraintsGenerator {
 8 |
 9 |     var priority: NSLayoutConstraint.Priority { get set }
   |                   `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
 9 |     var priority: NSLayoutConstraint.Priority { get set }
10 |
11 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
   |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 6 |
 7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
 14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
 15 |     associatedtype AnchorType: AnyObject
 16 |     associatedtype Anchor: NSLayoutAnchor<AnchorType>
    |                            `- error: cannot find type 'NSLayoutAnchor' in scope
 17 |
 18 |     var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                     `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 6 |
 7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
 8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
   |                                                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 9 |
10 | #if canImport(UIKit)
BUILD FAILURE 6.2 linux