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 Android on 18 Jun 2025 20:05:44 UTC.

Build Command

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

Build Log

 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)
[22/31] Compiling LayoutAid Size.swift
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:9:26: error: cannot find type 'NSLayoutConstraint' in scope
  7 | public struct Size: 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/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/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/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/Size.swift:13:26: error: cannot find type 'CGSize' in scope
 11 |     public let secondItem: LayoutItem?
 12 |
 13 |     public let constant: CGSize
    |                          `- error: cannot find type 'CGSize' in scope
 14 |
 15 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:15:26: error: cannot find type 'NSLayoutConstraint' in scope
 13 |     public let constant: CGSize
 14 |
 15 |     public let relation: NSLayoutConstraint.Relation
    |                          `- error: cannot find type 'NSLayoutConstraint' in scope
 16 |
 17 |     public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:17:28: error: cannot find type 'CGFloat' in scope
 15 |     public let relation: NSLayoutConstraint.Relation
 16 |
 17 |     public let multiplier: CGFloat
    |                            `- error: cannot find type 'CGFloat' in scope
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:29: error: cannot find type 'NSLayoutConstraint' in scope
 17 |     public let multiplier: CGFloat
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
    |                             `- error: cannot find type 'NSLayoutConstraint' in scope
 20 |         self.relation = relation
 21 |         self.secondItem = item
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:91: error: cannot find type 'CGFloat' in scope
 17 |     public let multiplier: CGFloat
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
    |                                                                                           `- error: cannot find type 'CGFloat' in scope
 20 |         self.relation = relation
 21 |         self.secondItem = item
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:110: error: cannot find type 'CGSize' in scope
 17 |     public let multiplier: CGFloat
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
    |                                                                                                              `- error: cannot find type 'CGSize' in scope
 20 |         self.relation = relation
 21 |         self.secondItem = item
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:29: error: cannot find type 'NSLayoutConstraint' in scope
 24 |     }
 25 |
 26 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
    |                             `- error: cannot find type 'NSLayoutConstraint' in scope
 27 |         self.relation = relation
 28 |         self.secondItem = nil
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:71: error: cannot find type 'CGSize' in scope
 24 |     }
 25 |
 26 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
    |                                                                       `- error: cannot find type 'CGSize' in scope
 27 |         self.relation = relation
 28 |         self.secondItem = nil
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:55: error: cannot find type 'CGFloat' in scope
 31 |     }
 32 |
 33 |     public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                       `- error: cannot find type 'CGFloat' in scope
 34 |         self.init(.equal, to: item, multiplier: multiplier, constant: constant)
 35 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:78: error: cannot find type 'CGSize' in scope
 31 |     }
 32 |
 33 |     public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                              `- error: cannot find type 'CGSize' in scope
 34 |         self.init(.equal, to: item, multiplier: multiplier, constant: constant)
 35 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:68: error: cannot find type 'CGFloat' in scope
 35 |     }
 36 |
 37 |     public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                    `- error: cannot find type 'CGFloat' in scope
 38 |         self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 39 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:91: error: cannot find type 'CGSize' in scope
 35 |     }
 36 |
 37 |     public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                                           `- error: cannot find type 'CGSize' in scope
 38 |         self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 39 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:65: error: cannot find type 'CGFloat' in scope
 39 |     }
 40 |
 41 |     public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                 `- error: cannot find type 'CGFloat' in scope
 42 |         self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 43 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:88: error: cannot find type 'CGSize' in scope
 39 |     }
 40 |
 41 |     public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                                        `- error: cannot find type 'CGSize' in scope
 42 |         self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 43 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:45:35: error: cannot find type 'CGSize' in scope
 43 |     }
 44 |
 45 |     public init(equalTo constant: CGSize) {
    |                                   `- error: cannot find type 'CGSize' in scope
 46 |         self.init(.equal, to: constant)
 47 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:49:48: error: cannot find type 'CGSize' in scope
 47 |     }
 48 |
 49 |     public init(greaterThanOrEqualTo constant: CGSize) {
    |                                                `- error: cannot find type 'CGSize' in scope
 50 |         self.init(.greaterThanOrEqual, to: constant)
 51 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:53:45: error: cannot find type 'CGSize' in scope
 51 |     }
 52 |
 53 |     public init(lessThanOrEqualTo constant: CGSize) {
    |                                             `- error: cannot find type 'CGSize' in scope
 54 |         self.init(.lessThanOrEqual, to: constant)
 55 |     }
/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/Size.swift:60:65: error: cannot find type 'NSLayoutConstraint' in scope
 58 | public extension Size {
 59 |
 60 |     private func makeEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
 61 |         guard let secondItem = secondItem else {
 62 |             return [
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:82:75: error: cannot find type 'NSLayoutConstraint' in scope
 80 |     }
 81 |
 82 |     private func makeLessThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
 83 |         guard let secondItem = secondItem else {
 84 |             return [
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:104:78: error: cannot find type 'NSLayoutConstraint' in scope
102 |     }
103 |
104 |     private func makeGreaterThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
105 |         guard let secondItem = secondItem else {
106 |             return [
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:126:52: error: cannot find type 'NSLayoutConstraint' in scope
124 |     }
125 |
126 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
127 |
128 |         let constraints: [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:34:20: error: cannot infer contextual base in reference to member 'equal'
 32 |
 33 |     public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
 34 |         self.init(.equal, to: item, multiplier: multiplier, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
 35 |     }
 36 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:38:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 36 |
 37 |     public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
 38 |         self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 39 |     }
 40 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:42:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 40 |
 41 |     public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
 42 |         self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 43 |     }
 44 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:46:20: error: cannot infer contextual base in reference to member 'equal'
 44 |
 45 |     public init(equalTo constant: CGSize) {
 46 |         self.init(.equal, to: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
 47 |     }
 48 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:50:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 48 |
 49 |     public init(greaterThanOrEqualTo constant: CGSize) {
 50 |         self.init(.greaterThanOrEqual, to: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 51 |     }
 52 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:54:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 52 |
 53 |     public init(lessThanOrEqualTo constant: CGSize) {
 54 |         self.init(.lessThanOrEqual, to: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 55 |     }
 56 | }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:128:27: error: cannot find type 'NSLayoutConstraint' in scope
126 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
127 |
128 |         let constraints: [NSLayoutConstraint]
    |                           `- error: cannot find type 'NSLayoutConstraint' in scope
129 |
130 |         switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:15:46: error: cannot find type 'NSLayoutConstraint' in scope
13 |     }
14 |
15 |     private var constraintsByState: [State: [NSLayoutConstraint]] = [:]
   |                                              `- error: cannot find type 'NSLayoutConstraint' in scope
16 |
17 |     public init(state: State) {
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:27:51: error: cannot find type 'NSLayoutConstraint' in scope
25 |     }
26 |
27 |     public func constraints(for state: State) -> [NSLayoutConstraint] {
   |                                                   `- error: cannot find type 'NSLayoutConstraint' in scope
28 |         return constraintsByState[state] ?? []
29 |     }
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:31:101: error: cannot find type 'NSLayoutConstraint' in scope
29 |     }
30 |
31 |     public func addConstraints<S>(_ constraints: S, for state: State) where S: Sequence, S.Element: NSLayoutConstraint {
   |                                                                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
32 |         var existing = constraintsByState[state] ?? []
33 |
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:96: error: cannot find type 'NSLayoutConstraint' in scope
37 |     }
38 |
39 |     public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
   |                                                                                                `- error: cannot find type 'NSLayoutConstraint' in scope
40 |         addConstraints(content(), for: state)
41 |     }
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:51: error: unknown attribute 'NSLayoutConstraint'
37 |     }
38 |
39 |     public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
   |                                                   `- error: unknown attribute 'NSLayoutConstraint'
40 |         addConstraints(content(), for: state)
41 |     }
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:34:60: error: cannot find type 'NSLayoutConstraint' in scope
32 |         var existing = constraintsByState[state] ?? []
33 |
34 |         existing.append(contentsOf: Array(constraints) as [NSLayoutConstraint])
   |                                                            `- error: cannot find type 'NSLayoutConstraint' in scope
35 |         constraintsByState[state] = existing
36 |         updateConstraints()
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 7 | public struct Top: 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/Top.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/Top.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/Top.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/Top.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/Top.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/Top.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/Top.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
52 |     }
53 |
54 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.topAnchor
   |                                                               `- 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/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/Top.swift:7:15: error: type 'Top' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Top: YAxisConstraintsGenerator {
   |               |- error: type 'Top' 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 }
[23/31] Compiling LayoutAid StatedConstraints.swift
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:9:26: error: cannot find type 'NSLayoutConstraint' in scope
  7 | public struct Size: 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/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/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/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/Size.swift:13:26: error: cannot find type 'CGSize' in scope
 11 |     public let secondItem: LayoutItem?
 12 |
 13 |     public let constant: CGSize
    |                          `- error: cannot find type 'CGSize' in scope
 14 |
 15 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:15:26: error: cannot find type 'NSLayoutConstraint' in scope
 13 |     public let constant: CGSize
 14 |
 15 |     public let relation: NSLayoutConstraint.Relation
    |                          `- error: cannot find type 'NSLayoutConstraint' in scope
 16 |
 17 |     public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:17:28: error: cannot find type 'CGFloat' in scope
 15 |     public let relation: NSLayoutConstraint.Relation
 16 |
 17 |     public let multiplier: CGFloat
    |                            `- error: cannot find type 'CGFloat' in scope
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:29: error: cannot find type 'NSLayoutConstraint' in scope
 17 |     public let multiplier: CGFloat
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
    |                             `- error: cannot find type 'NSLayoutConstraint' in scope
 20 |         self.relation = relation
 21 |         self.secondItem = item
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:91: error: cannot find type 'CGFloat' in scope
 17 |     public let multiplier: CGFloat
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
    |                                                                                           `- error: cannot find type 'CGFloat' in scope
 20 |         self.relation = relation
 21 |         self.secondItem = item
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:110: error: cannot find type 'CGSize' in scope
 17 |     public let multiplier: CGFloat
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
    |                                                                                                              `- error: cannot find type 'CGSize' in scope
 20 |         self.relation = relation
 21 |         self.secondItem = item
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:29: error: cannot find type 'NSLayoutConstraint' in scope
 24 |     }
 25 |
 26 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
    |                             `- error: cannot find type 'NSLayoutConstraint' in scope
 27 |         self.relation = relation
 28 |         self.secondItem = nil
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:71: error: cannot find type 'CGSize' in scope
 24 |     }
 25 |
 26 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
    |                                                                       `- error: cannot find type 'CGSize' in scope
 27 |         self.relation = relation
 28 |         self.secondItem = nil
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:55: error: cannot find type 'CGFloat' in scope
 31 |     }
 32 |
 33 |     public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                       `- error: cannot find type 'CGFloat' in scope
 34 |         self.init(.equal, to: item, multiplier: multiplier, constant: constant)
 35 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:78: error: cannot find type 'CGSize' in scope
 31 |     }
 32 |
 33 |     public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                              `- error: cannot find type 'CGSize' in scope
 34 |         self.init(.equal, to: item, multiplier: multiplier, constant: constant)
 35 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:68: error: cannot find type 'CGFloat' in scope
 35 |     }
 36 |
 37 |     public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                    `- error: cannot find type 'CGFloat' in scope
 38 |         self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 39 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:91: error: cannot find type 'CGSize' in scope
 35 |     }
 36 |
 37 |     public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                                           `- error: cannot find type 'CGSize' in scope
 38 |         self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 39 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:65: error: cannot find type 'CGFloat' in scope
 39 |     }
 40 |
 41 |     public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                 `- error: cannot find type 'CGFloat' in scope
 42 |         self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 43 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:88: error: cannot find type 'CGSize' in scope
 39 |     }
 40 |
 41 |     public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                                        `- error: cannot find type 'CGSize' in scope
 42 |         self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 43 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:45:35: error: cannot find type 'CGSize' in scope
 43 |     }
 44 |
 45 |     public init(equalTo constant: CGSize) {
    |                                   `- error: cannot find type 'CGSize' in scope
 46 |         self.init(.equal, to: constant)
 47 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:49:48: error: cannot find type 'CGSize' in scope
 47 |     }
 48 |
 49 |     public init(greaterThanOrEqualTo constant: CGSize) {
    |                                                `- error: cannot find type 'CGSize' in scope
 50 |         self.init(.greaterThanOrEqual, to: constant)
 51 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:53:45: error: cannot find type 'CGSize' in scope
 51 |     }
 52 |
 53 |     public init(lessThanOrEqualTo constant: CGSize) {
    |                                             `- error: cannot find type 'CGSize' in scope
 54 |         self.init(.lessThanOrEqual, to: constant)
 55 |     }
/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/Size.swift:60:65: error: cannot find type 'NSLayoutConstraint' in scope
 58 | public extension Size {
 59 |
 60 |     private func makeEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
 61 |         guard let secondItem = secondItem else {
 62 |             return [
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:82:75: error: cannot find type 'NSLayoutConstraint' in scope
 80 |     }
 81 |
 82 |     private func makeLessThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
 83 |         guard let secondItem = secondItem else {
 84 |             return [
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:104:78: error: cannot find type 'NSLayoutConstraint' in scope
102 |     }
103 |
104 |     private func makeGreaterThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
105 |         guard let secondItem = secondItem else {
106 |             return [
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:126:52: error: cannot find type 'NSLayoutConstraint' in scope
124 |     }
125 |
126 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
127 |
128 |         let constraints: [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:34:20: error: cannot infer contextual base in reference to member 'equal'
 32 |
 33 |     public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
 34 |         self.init(.equal, to: item, multiplier: multiplier, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
 35 |     }
 36 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:38:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 36 |
 37 |     public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
 38 |         self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 39 |     }
 40 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:42:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 40 |
 41 |     public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
 42 |         self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 43 |     }
 44 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:46:20: error: cannot infer contextual base in reference to member 'equal'
 44 |
 45 |     public init(equalTo constant: CGSize) {
 46 |         self.init(.equal, to: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
 47 |     }
 48 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:50:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 48 |
 49 |     public init(greaterThanOrEqualTo constant: CGSize) {
 50 |         self.init(.greaterThanOrEqual, to: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 51 |     }
 52 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:54:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 52 |
 53 |     public init(lessThanOrEqualTo constant: CGSize) {
 54 |         self.init(.lessThanOrEqual, to: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 55 |     }
 56 | }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:128:27: error: cannot find type 'NSLayoutConstraint' in scope
126 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
127 |
128 |         let constraints: [NSLayoutConstraint]
    |                           `- error: cannot find type 'NSLayoutConstraint' in scope
129 |
130 |         switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:15:46: error: cannot find type 'NSLayoutConstraint' in scope
13 |     }
14 |
15 |     private var constraintsByState: [State: [NSLayoutConstraint]] = [:]
   |                                              `- error: cannot find type 'NSLayoutConstraint' in scope
16 |
17 |     public init(state: State) {
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:27:51: error: cannot find type 'NSLayoutConstraint' in scope
25 |     }
26 |
27 |     public func constraints(for state: State) -> [NSLayoutConstraint] {
   |                                                   `- error: cannot find type 'NSLayoutConstraint' in scope
28 |         return constraintsByState[state] ?? []
29 |     }
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:31:101: error: cannot find type 'NSLayoutConstraint' in scope
29 |     }
30 |
31 |     public func addConstraints<S>(_ constraints: S, for state: State) where S: Sequence, S.Element: NSLayoutConstraint {
   |                                                                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
32 |         var existing = constraintsByState[state] ?? []
33 |
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:96: error: cannot find type 'NSLayoutConstraint' in scope
37 |     }
38 |
39 |     public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
   |                                                                                                `- error: cannot find type 'NSLayoutConstraint' in scope
40 |         addConstraints(content(), for: state)
41 |     }
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:51: error: unknown attribute 'NSLayoutConstraint'
37 |     }
38 |
39 |     public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
   |                                                   `- error: unknown attribute 'NSLayoutConstraint'
40 |         addConstraints(content(), for: state)
41 |     }
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:34:60: error: cannot find type 'NSLayoutConstraint' in scope
32 |         var existing = constraintsByState[state] ?? []
33 |
34 |         existing.append(contentsOf: Array(constraints) as [NSLayoutConstraint])
   |                                                            `- error: cannot find type 'NSLayoutConstraint' in scope
35 |         constraintsByState[state] = existing
36 |         updateConstraints()
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 7 | public struct Top: 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/Top.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/Top.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/Top.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/Top.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/Top.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/Top.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/Top.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
52 |     }
53 |
54 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.topAnchor
   |                                                               `- 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/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/Top.swift:7:15: error: type 'Top' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Top: YAxisConstraintsGenerator {
   |               |- error: type 'Top' 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 }
[24/31] Compiling LayoutAid Top.swift
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:9:26: error: cannot find type 'NSLayoutConstraint' in scope
  7 | public struct Size: 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/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/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/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/Size.swift:13:26: error: cannot find type 'CGSize' in scope
 11 |     public let secondItem: LayoutItem?
 12 |
 13 |     public let constant: CGSize
    |                          `- error: cannot find type 'CGSize' in scope
 14 |
 15 |     public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:15:26: error: cannot find type 'NSLayoutConstraint' in scope
 13 |     public let constant: CGSize
 14 |
 15 |     public let relation: NSLayoutConstraint.Relation
    |                          `- error: cannot find type 'NSLayoutConstraint' in scope
 16 |
 17 |     public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:17:28: error: cannot find type 'CGFloat' in scope
 15 |     public let relation: NSLayoutConstraint.Relation
 16 |
 17 |     public let multiplier: CGFloat
    |                            `- error: cannot find type 'CGFloat' in scope
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:29: error: cannot find type 'NSLayoutConstraint' in scope
 17 |     public let multiplier: CGFloat
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
    |                             `- error: cannot find type 'NSLayoutConstraint' in scope
 20 |         self.relation = relation
 21 |         self.secondItem = item
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:91: error: cannot find type 'CGFloat' in scope
 17 |     public let multiplier: CGFloat
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
    |                                                                                           `- error: cannot find type 'CGFloat' in scope
 20 |         self.relation = relation
 21 |         self.secondItem = item
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:110: error: cannot find type 'CGSize' in scope
 17 |     public let multiplier: CGFloat
 18 |
 19 |     public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
    |                                                                                                              `- error: cannot find type 'CGSize' in scope
 20 |         self.relation = relation
 21 |         self.secondItem = item
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:29: error: cannot find type 'NSLayoutConstraint' in scope
 24 |     }
 25 |
 26 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
    |                             `- error: cannot find type 'NSLayoutConstraint' in scope
 27 |         self.relation = relation
 28 |         self.secondItem = nil
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:71: error: cannot find type 'CGSize' in scope
 24 |     }
 25 |
 26 |     public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
    |                                                                       `- error: cannot find type 'CGSize' in scope
 27 |         self.relation = relation
 28 |         self.secondItem = nil
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:55: error: cannot find type 'CGFloat' in scope
 31 |     }
 32 |
 33 |     public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                       `- error: cannot find type 'CGFloat' in scope
 34 |         self.init(.equal, to: item, multiplier: multiplier, constant: constant)
 35 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:78: error: cannot find type 'CGSize' in scope
 31 |     }
 32 |
 33 |     public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                              `- error: cannot find type 'CGSize' in scope
 34 |         self.init(.equal, to: item, multiplier: multiplier, constant: constant)
 35 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:68: error: cannot find type 'CGFloat' in scope
 35 |     }
 36 |
 37 |     public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                    `- error: cannot find type 'CGFloat' in scope
 38 |         self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 39 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:91: error: cannot find type 'CGSize' in scope
 35 |     }
 36 |
 37 |     public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                                           `- error: cannot find type 'CGSize' in scope
 38 |         self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 39 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:65: error: cannot find type 'CGFloat' in scope
 39 |     }
 40 |
 41 |     public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                 `- error: cannot find type 'CGFloat' in scope
 42 |         self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 43 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:88: error: cannot find type 'CGSize' in scope
 39 |     }
 40 |
 41 |     public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
    |                                                                                        `- error: cannot find type 'CGSize' in scope
 42 |         self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
 43 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:45:35: error: cannot find type 'CGSize' in scope
 43 |     }
 44 |
 45 |     public init(equalTo constant: CGSize) {
    |                                   `- error: cannot find type 'CGSize' in scope
 46 |         self.init(.equal, to: constant)
 47 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:49:48: error: cannot find type 'CGSize' in scope
 47 |     }
 48 |
 49 |     public init(greaterThanOrEqualTo constant: CGSize) {
    |                                                `- error: cannot find type 'CGSize' in scope
 50 |         self.init(.greaterThanOrEqual, to: constant)
 51 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:53:45: error: cannot find type 'CGSize' in scope
 51 |     }
 52 |
 53 |     public init(lessThanOrEqualTo constant: CGSize) {
    |                                             `- error: cannot find type 'CGSize' in scope
 54 |         self.init(.lessThanOrEqual, to: constant)
 55 |     }
/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/Size.swift:60:65: error: cannot find type 'NSLayoutConstraint' in scope
 58 | public extension Size {
 59 |
 60 |     private func makeEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
 61 |         guard let secondItem = secondItem else {
 62 |             return [
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:82:75: error: cannot find type 'NSLayoutConstraint' in scope
 80 |     }
 81 |
 82 |     private func makeLessThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
 83 |         guard let secondItem = secondItem else {
 84 |             return [
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:104:78: error: cannot find type 'NSLayoutConstraint' in scope
102 |     }
103 |
104 |     private func makeGreaterThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
105 |         guard let secondItem = secondItem else {
106 |             return [
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:126:52: error: cannot find type 'NSLayoutConstraint' in scope
124 |     }
125 |
126 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
    |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
127 |
128 |         let constraints: [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:34:20: error: cannot infer contextual base in reference to member 'equal'
 32 |
 33 |     public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
 34 |         self.init(.equal, to: item, multiplier: multiplier, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
 35 |     }
 36 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:38:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 36 |
 37 |     public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
 38 |         self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 39 |     }
 40 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:42:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 40 |
 41 |     public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
 42 |         self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 43 |     }
 44 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:46:20: error: cannot infer contextual base in reference to member 'equal'
 44 |
 45 |     public init(equalTo constant: CGSize) {
 46 |         self.init(.equal, to: constant)
    |                    `- error: cannot infer contextual base in reference to member 'equal'
 47 |     }
 48 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:50:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 48 |
 49 |     public init(greaterThanOrEqualTo constant: CGSize) {
 50 |         self.init(.greaterThanOrEqual, to: constant)
    |                    `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
 51 |     }
 52 |
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:54:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 52 |
 53 |     public init(lessThanOrEqualTo constant: CGSize) {
 54 |         self.init(.lessThanOrEqual, to: constant)
    |                    `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
 55 |     }
 56 | }
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:128:27: error: cannot find type 'NSLayoutConstraint' in scope
126 |     func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
127 |
128 |         let constraints: [NSLayoutConstraint]
    |                           `- error: cannot find type 'NSLayoutConstraint' in scope
129 |
130 |         switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:15:46: error: cannot find type 'NSLayoutConstraint' in scope
13 |     }
14 |
15 |     private var constraintsByState: [State: [NSLayoutConstraint]] = [:]
   |                                              `- error: cannot find type 'NSLayoutConstraint' in scope
16 |
17 |     public init(state: State) {
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:27:51: error: cannot find type 'NSLayoutConstraint' in scope
25 |     }
26 |
27 |     public func constraints(for state: State) -> [NSLayoutConstraint] {
   |                                                   `- error: cannot find type 'NSLayoutConstraint' in scope
28 |         return constraintsByState[state] ?? []
29 |     }
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:31:101: error: cannot find type 'NSLayoutConstraint' in scope
29 |     }
30 |
31 |     public func addConstraints<S>(_ constraints: S, for state: State) where S: Sequence, S.Element: NSLayoutConstraint {
   |                                                                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
32 |         var existing = constraintsByState[state] ?? []
33 |
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:96: error: cannot find type 'NSLayoutConstraint' in scope
37 |     }
38 |
39 |     public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
   |                                                                                                `- error: cannot find type 'NSLayoutConstraint' in scope
40 |         addConstraints(content(), for: state)
41 |     }
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:51: error: unknown attribute 'NSLayoutConstraint'
37 |     }
38 |
39 |     public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
   |                                                   `- error: unknown attribute 'NSLayoutConstraint'
40 |         addConstraints(content(), for: state)
41 |     }
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:34:60: error: cannot find type 'NSLayoutConstraint' in scope
32 |         var existing = constraintsByState[state] ?? []
33 |
34 |         existing.append(contentsOf: Array(constraints) as [NSLayoutConstraint])
   |                                                            `- error: cannot find type 'NSLayoutConstraint' in scope
35 |         constraintsByState[state] = existing
36 |         updateConstraints()
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 7 | public struct Top: 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/Top.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/Top.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/Top.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/Top.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/Top.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/Top.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/Top.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
52 |     }
53 |
54 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.topAnchor
   |                                                               `- 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/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/Top.swift:7:15: error: type 'Top' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Top: YAxisConstraintsGenerator {
   |               |- error: type 'Top' 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 }
[25/31] Compiling LayoutAid Left.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 |     }
[26/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 |     }
[27/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 |     }
[28/31] Compiling LayoutAid LayoutConstraintsGenerator.swift
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:23:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
21 | }
22 |
23 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
24 | public struct LayoutConstraintsGeneratorBuilder {
25 |
/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/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/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/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:30:11: error: cannot find type 'LayoutAidView' in scope
28 | }
29 |
30 | extension LayoutAidView: LayoutItem {}
   |           `- error: cannot find type 'LayoutAidView' in scope
31 | extension LayoutAidGuide: LayoutItem {}
32 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:31:11: error: cannot find type 'LayoutAidGuide' in scope
29 |
30 | extension LayoutAidView: LayoutItem {}
31 | extension LayoutAidGuide: LayoutItem {}
   |           `- error: cannot find type 'LayoutAidGuide' in scope
32 |
33 | public extension LayoutItem {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 |     func anchor(
36 |         @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
   |                                                                                               `- error: cannot find type 'NSLayoutConstraint' in scope
37 |         content().flatMap { generator in
38 |             generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 |     }
41 |
42 |     func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
   |                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
43 |         generator.makeConstraints(for: self)
44 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public struct Leading: 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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 |     }
49 |
50 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leadingAnchor
   |                                                               `- 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/Leading.swift:7:15: error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Leading: XAxisConstraintsGenerator {
   |               |- error: type 'Leading' 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 }
[29/31] Compiling LayoutAid LayoutGuide.swift
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:23:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
21 | }
22 |
23 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
24 | public struct LayoutConstraintsGeneratorBuilder {
25 |
/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/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/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/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:30:11: error: cannot find type 'LayoutAidView' in scope
28 | }
29 |
30 | extension LayoutAidView: LayoutItem {}
   |           `- error: cannot find type 'LayoutAidView' in scope
31 | extension LayoutAidGuide: LayoutItem {}
32 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:31:11: error: cannot find type 'LayoutAidGuide' in scope
29 |
30 | extension LayoutAidView: LayoutItem {}
31 | extension LayoutAidGuide: LayoutItem {}
   |           `- error: cannot find type 'LayoutAidGuide' in scope
32 |
33 | public extension LayoutItem {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 |     func anchor(
36 |         @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
   |                                                                                               `- error: cannot find type 'NSLayoutConstraint' in scope
37 |         content().flatMap { generator in
38 |             generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 |     }
41 |
42 |     func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
   |                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
43 |         generator.makeConstraints(for: self)
44 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public struct Leading: 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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 |     }
49 |
50 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leadingAnchor
   |                                                               `- 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/Leading.swift:7:15: error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Leading: XAxisConstraintsGenerator {
   |               |- error: type 'Leading' 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 }
[30/31] Compiling LayoutAid LayoutItem.swift
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:23:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
21 | }
22 |
23 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
24 | public struct LayoutConstraintsGeneratorBuilder {
25 |
/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/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/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/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:30:11: error: cannot find type 'LayoutAidView' in scope
28 | }
29 |
30 | extension LayoutAidView: LayoutItem {}
   |           `- error: cannot find type 'LayoutAidView' in scope
31 | extension LayoutAidGuide: LayoutItem {}
32 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:31:11: error: cannot find type 'LayoutAidGuide' in scope
29 |
30 | extension LayoutAidView: LayoutItem {}
31 | extension LayoutAidGuide: LayoutItem {}
   |           `- error: cannot find type 'LayoutAidGuide' in scope
32 |
33 | public extension LayoutItem {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 |     func anchor(
36 |         @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
   |                                                                                               `- error: cannot find type 'NSLayoutConstraint' in scope
37 |         content().flatMap { generator in
38 |             generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 |     }
41 |
42 |     func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
   |                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
43 |         generator.makeConstraints(for: self)
44 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public struct Leading: 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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 |     }
49 |
50 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leadingAnchor
   |                                                               `- 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/Leading.swift:7:15: error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Leading: XAxisConstraintsGenerator {
   |               |- error: type 'Leading' 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 }
[31/31] Compiling LayoutAid Leading.swift
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:23:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
21 | }
22 |
23 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
24 | public struct LayoutConstraintsGeneratorBuilder {
25 |
/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/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/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/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:30:11: error: cannot find type 'LayoutAidView' in scope
28 | }
29 |
30 | extension LayoutAidView: LayoutItem {}
   |           `- error: cannot find type 'LayoutAidView' in scope
31 | extension LayoutAidGuide: LayoutItem {}
32 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:31:11: error: cannot find type 'LayoutAidGuide' in scope
29 |
30 | extension LayoutAidView: LayoutItem {}
31 | extension LayoutAidGuide: LayoutItem {}
   |           `- error: cannot find type 'LayoutAidGuide' in scope
32 |
33 | public extension LayoutItem {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 |     func anchor(
36 |         @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
   |                                                                                               `- error: cannot find type 'NSLayoutConstraint' in scope
37 |         content().flatMap { generator in
38 |             generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 |     }
41 |
42 |     func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
   |                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
43 |         generator.makeConstraints(for: self)
44 |     }
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 7 | public struct Leading: 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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.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/Leading.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 |     }
49 |
50 |     public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leadingAnchor
   |                                                               `- 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/Leading.swift:7:15: error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
 5 | #endif
 6 |
 7 | public struct Leading: XAxisConstraintsGenerator {
   |               |- error: type 'Leading' 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 }
BUILD FAILURE 6.2 android