The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Align, reference main (8c129b), with Swift 6.2 for Linux on 27 Apr 2026 01:41:39 UTC.

Build Command

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

Build Log

/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:96:30: error: cannot find 'NSLayoutConstraint' in scope
 94 |
 95 |         func constrain(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation, constant: CGFloat) {
 96 |             let constraint = NSLayoutConstraint(item: item, attribute: attribute, relatedBy: relation, toItem: item2, attribute: attribute, multiplier: 1, constant: constant)
    |                              `- error: cannot find 'NSLayoutConstraint' in scope
 97 |             Constraints.install(constraint, priority: priority)
 98 |             constraints.append(constraint)
/host/spi-builder-workspace/Sources/Constraints.swift:106:68: error: cannot find type 'NSLayoutConstraint' in scope
104 |     @MainActor static var stack: [[NSLayoutConstraint]] = [] // this is what enables constraint auto-installing
105 |
106 |     @MainActor @usableFromInline static func install(_ constraint: NSLayoutConstraint, priority: LayoutPriority? = nil) {
    |                                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
107 |         if let priority { constraint.priority = priority }
108 |         if !stack.isEmpty {
/host/spi-builder-workspace/Sources/Constraints.swift:106:98: error: cannot find type 'LayoutPriority' in scope
104 |     @MainActor static var stack: [[NSLayoutConstraint]] = [] // this is what enables constraint auto-installing
105 |
106 |     @MainActor @usableFromInline static func install(_ constraint: NSLayoutConstraint, priority: LayoutPriority? = nil) {
    |                                                                                                  `- error: cannot find type 'LayoutPriority' in scope
107 |         if let priority { constraint.priority = priority }
108 |         if !stack.isEmpty {
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:102:119: error: cannot infer contextual base in reference to member 'equal'
100 |
101 |         if axis == nil || axis == .horizontal {
102 |             constrain(attribute: left, relation: alignment.horizontal == .fill || alignment.horizontal == .leading ? .equal : .greaterThanOrEqual, constant: insets.left)
    |                                                                                                                       `- error: cannot infer contextual base in reference to member 'equal'
103 |             constrain(attribute: right, relation: alignment.horizontal == .fill || alignment.horizontal == .trailing ? .equal : .lessThanOrEqual, constant: -insets.right)
104 |             if alignment.horizontal == .center && isCenteringEnabled {
/host/spi-builder-workspace/Sources/Anchor.swift:82:96: error: cannot find type 'CGFloat' in scope
 80 |
 81 | /// Returns a new anchor offset by a given amount.
 82 | @MainActor @inlinable public func - <Type, Axis>(anchor: consuming Anchor<Type, Axis>, offset: CGFloat) -> Anchor<Type, Axis> {
    |                                                                                                `- error: cannot find type 'CGFloat' in scope
 83 |     anchor.offsetting(by: -offset)
 84 | }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:103:121: error: cannot infer contextual base in reference to member 'equal'
101 |         if axis == nil || axis == .horizontal {
102 |             constrain(attribute: left, relation: alignment.horizontal == .fill || alignment.horizontal == .leading ? .equal : .greaterThanOrEqual, constant: insets.left)
103 |             constrain(attribute: right, relation: alignment.horizontal == .fill || alignment.horizontal == .trailing ? .equal : .lessThanOrEqual, constant: -insets.right)
    |                                                                                                                         `- error: cannot infer contextual base in reference to member 'equal'
104 |             if alignment.horizontal == .center && isCenteringEnabled {
105 |                 constrain(attribute: .centerX, relation: .equal, constant: 0)
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:105:39: error: cannot infer contextual base in reference to member 'centerX'
103 |             constrain(attribute: right, relation: alignment.horizontal == .fill || alignment.horizontal == .trailing ? .equal : .lessThanOrEqual, constant: -insets.right)
104 |             if alignment.horizontal == .center && isCenteringEnabled {
105 |                 constrain(attribute: .centerX, relation: .equal, constant: 0)
    |                                       `- error: cannot infer contextual base in reference to member 'centerX'
106 |             }
107 |         }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:105:59: error: cannot infer contextual base in reference to member 'equal'
103 |             constrain(attribute: right, relation: alignment.horizontal == .fill || alignment.horizontal == .trailing ? .equal : .lessThanOrEqual, constant: -insets.right)
104 |             if alignment.horizontal == .center && isCenteringEnabled {
105 |                 constrain(attribute: .centerX, relation: .equal, constant: 0)
    |                                                           `- error: cannot infer contextual base in reference to member 'equal'
106 |             }
107 |         }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:109:35: error: cannot infer contextual base in reference to member 'top'
107 |         }
108 |         if axis == nil || axis == .vertical {
109 |             constrain(attribute: .top, relation: alignment.vertical == .fill || alignment.vertical == .top ? .equal : .greaterThanOrEqual, constant: insets.top)
    |                                   `- error: cannot infer contextual base in reference to member 'top'
110 |             constrain(attribute: .bottom, relation: alignment.vertical == .fill || alignment.vertical == .bottom ? .equal : .lessThanOrEqual, constant: -insets.bottom)
111 |             if alignment.vertical == .center && isCenteringEnabled {
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:109:111: error: cannot infer contextual base in reference to member 'equal'
107 |         }
108 |         if axis == nil || axis == .vertical {
109 |             constrain(attribute: .top, relation: alignment.vertical == .fill || alignment.vertical == .top ? .equal : .greaterThanOrEqual, constant: insets.top)
    |                                                                                                               `- error: cannot infer contextual base in reference to member 'equal'
110 |             constrain(attribute: .bottom, relation: alignment.vertical == .fill || alignment.vertical == .bottom ? .equal : .lessThanOrEqual, constant: -insets.bottom)
111 |             if alignment.vertical == .center && isCenteringEnabled {
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:110:35: error: cannot infer contextual base in reference to member 'bottom'
108 |         if axis == nil || axis == .vertical {
109 |             constrain(attribute: .top, relation: alignment.vertical == .fill || alignment.vertical == .top ? .equal : .greaterThanOrEqual, constant: insets.top)
110 |             constrain(attribute: .bottom, relation: alignment.vertical == .fill || alignment.vertical == .bottom ? .equal : .lessThanOrEqual, constant: -insets.bottom)
    |                                   `- error: cannot infer contextual base in reference to member 'bottom'
111 |             if alignment.vertical == .center && isCenteringEnabled {
112 |                 constrain(attribute: .centerY, relation: .equal, constant: 0)
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:110:117: error: cannot infer contextual base in reference to member 'equal'
108 |         if axis == nil || axis == .vertical {
109 |             constrain(attribute: .top, relation: alignment.vertical == .fill || alignment.vertical == .top ? .equal : .greaterThanOrEqual, constant: insets.top)
110 |             constrain(attribute: .bottom, relation: alignment.vertical == .fill || alignment.vertical == .bottom ? .equal : .lessThanOrEqual, constant: -insets.bottom)
    |                                                                                                                     `- error: cannot infer contextual base in reference to member 'equal'
111 |             if alignment.vertical == .center && isCenteringEnabled {
112 |                 constrain(attribute: .centerY, relation: .equal, constant: 0)
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:112:39: error: cannot infer contextual base in reference to member 'centerY'
110 |             constrain(attribute: .bottom, relation: alignment.vertical == .fill || alignment.vertical == .bottom ? .equal : .lessThanOrEqual, constant: -insets.bottom)
111 |             if alignment.vertical == .center && isCenteringEnabled {
112 |                 constrain(attribute: .centerY, relation: .equal, constant: 0)
    |                                       `- error: cannot infer contextual base in reference to member 'centerY'
113 |             }
114 |         }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:112:59: error: cannot infer contextual base in reference to member 'equal'
110 |             constrain(attribute: .bottom, relation: alignment.vertical == .fill || alignment.vertical == .bottom ? .equal : .lessThanOrEqual, constant: -insets.bottom)
111 |             if alignment.vertical == .center && isCenteringEnabled {
112 |                 constrain(attribute: .centerY, relation: .equal, constant: 0)
    |                                                           `- error: cannot infer contextual base in reference to member 'equal'
113 |             }
114 |         }
[7/11] Compiling Align LayoutItem.swift
/host/spi-builder-workspace/Sources/LayoutItem.swift:16:33: error: cannot find type 'NSView' in scope
14 |     @_spi(Align) var superview: UIView? { get }
15 | #else
16 |     @_spi(Align) var superview: NSView? { get }
   |                                 `- error: cannot find type 'NSView' in scope
17 | #endif
18 |
/host/spi-builder-workspace/Sources/LayoutItem.swift:75:11: error: cannot find type 'NSLayoutConstraint' in scope
73 | #endif
74 |
75 | extension NSLayoutConstraint.Relation {
   |           `- error: cannot find type 'NSLayoutConstraint' in scope
76 |     @usableFromInline var inverted: NSLayoutConstraint.Relation {
77 |         switch self {
/host/spi-builder-workspace/Sources/LayoutItem.swift:76:37: error: cannot find type 'NSLayoutConstraint' in scope
74 |
75 | extension NSLayoutConstraint.Relation {
76 |     @usableFromInline var inverted: NSLayoutConstraint.Relation {
   |                                     `- error: cannot find type 'NSLayoutConstraint' in scope
77 |         switch self {
78 |         case .greaterThanOrEqual: return .lessThanOrEqual
[8/11] Compiling Align Align+Preview.swift
[9/11] Compiling Align AnchorCollectionCenter.swift
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:23:94: error: cannot find type 'CGPoint' in scope
21 |     // MARK: Core API
22 |
23 |     @inlinable @discardableResult public func equal<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                              `- error: cannot find type 'CGPoint' in scope
24 |         [x.equal(item2.anchors.centerX, constant: offset.x, priority: priority), y.equal(item2.anchors.centerY, constant: offset.y, priority: priority)]
25 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:23:121: error: cannot find type 'LayoutPriority' in scope
21 |     // MARK: Core API
22 |
23 |     @inlinable @discardableResult public func equal<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                         `- error: cannot find type 'LayoutPriority' in scope
24 |         [x.equal(item2.anchors.centerX, constant: offset.x, priority: priority), y.equal(item2.anchors.centerY, constant: offset.y, priority: priority)]
25 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:23:148: error: cannot find type 'NSLayoutConstraint' in scope
21 |     // MARK: Core API
22 |
23 |     @inlinable @discardableResult public func equal<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
24 |         [x.equal(item2.anchors.centerX, constant: offset.x, priority: priority), y.equal(item2.anchors.centerY, constant: offset.y, priority: priority)]
25 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:27:107: error: cannot find type 'CGPoint' in scope
25 |     }
26 |
27 |     @inlinable @discardableResult public func greaterThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                           `- error: cannot find type 'CGPoint' in scope
28 |         [x.greaterThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.greaterThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
29 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:27:134: error: cannot find type 'LayoutPriority' in scope
25 |     }
26 |
27 |     @inlinable @discardableResult public func greaterThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                      `- error: cannot find type 'LayoutPriority' in scope
28 |         [x.greaterThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.greaterThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
29 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:27:161: error: cannot find type 'NSLayoutConstraint' in scope
25 |     }
26 |
27 |     @inlinable @discardableResult public func greaterThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
28 |         [x.greaterThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.greaterThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
29 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:31:104: error: cannot find type 'CGPoint' in scope
29 |     }
30 |
31 |     @inlinable @discardableResult public func lessThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                        `- error: cannot find type 'CGPoint' in scope
32 |         [x.lessThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.lessThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
33 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:31:131: error: cannot find type 'LayoutPriority' in scope
29 |     }
30 |
31 |     @inlinable @discardableResult public func lessThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                   `- error: cannot find type 'LayoutPriority' in scope
32 |         [x.lessThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.lessThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
33 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:31:158: error: cannot find type 'NSLayoutConstraint' in scope
29 |     }
30 |
31 |     @inlinable @discardableResult public func lessThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
32 |         [x.lessThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.lessThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
33 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:38:115: error: cannot find type 'NSLayoutConstraint' in scope
36 |
37 |     /// Centers the view in the superview.
38 |     @inlinable @discardableResult public func align(offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                   `- error: cannot find type 'NSLayoutConstraint' in scope
39 |         [x.align(offset: offset.x, priority: priority), y.align(offset: offset.y, priority: priority)]
40 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:38:61: error: cannot find type 'CGPoint' in scope
36 |
37 |     /// Centers the view in the superview.
38 |     @inlinable @discardableResult public func align(offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                             `- error: cannot find type 'CGPoint' in scope
39 |         [x.align(offset: offset.x, priority: priority), y.align(offset: offset.y, priority: priority)]
40 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:38:88: error: cannot find type 'LayoutPriority' in scope
36 |
37 |     /// Centers the view in the superview.
38 |     @inlinable @discardableResult public func align(offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                        `- error: cannot find type 'LayoutPriority' in scope
39 |         [x.align(offset: offset.x, priority: priority), y.align(offset: offset.y, priority: priority)]
40 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:43:98: error: cannot find type 'LayoutPriority' in scope
41 |
42 |     /// Makes the axes equal to the other collection of axes.
43 |     @inlinable @discardableResult public func align<Item: LayoutItem>(with item: Item, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                  `- error: cannot find type 'LayoutPriority' in scope
44 |         [x.equal(item.anchors.centerX, priority: priority), y.equal(item.anchors.centerY, priority: priority)]
45 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:43:125: error: cannot find type 'NSLayoutConstraint' in scope
41 |
42 |     /// Makes the axes equal to the other collection of axes.
43 |     @inlinable @discardableResult public func align<Item: LayoutItem>(with item: Item, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                             `- error: cannot find type 'NSLayoutConstraint' in scope
44 |         [x.equal(item.anchors.centerX, priority: priority), y.equal(item.anchors.centerY, priority: priority)]
45 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:53:38: error: cannot find type 'NSLayoutConstraint' in scope
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
    |                                      `- error: cannot find type 'NSLayoutConstraint' in scope
 54 |     @usableFromInline let offset: CGFloat
 55 |     @usableFromInline let multiplier: CGFloat
/host/spi-builder-workspace/Sources/Anchor.swift:54:35: error: cannot find type 'CGFloat' in scope
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
 54 |     @usableFromInline let offset: CGFloat
    |                                   `- error: cannot find type 'CGFloat' in scope
 55 |     @usableFromInline let multiplier: CGFloat
 56 |
/host/spi-builder-workspace/Sources/Anchor.swift:55:39: error: cannot find type 'CGFloat' in scope
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
 54 |     @usableFromInline let offset: CGFloat
 55 |     @usableFromInline let multiplier: CGFloat
    |                                       `- error: cannot find type 'CGFloat' in scope
 56 |
 57 |     @inlinable init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/11] Emitting module Align
/host/spi-builder-workspace/Sources/LayoutItem.swift:16:33: error: cannot find type 'NSView' in scope
14 |     @_spi(Align) var superview: UIView? { get }
15 | #else
16 |     @_spi(Align) var superview: NSView? { get }
   |                                 `- error: cannot find type 'NSView' in scope
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Anchor.swift:53:38: error: cannot find type 'NSLayoutConstraint' in scope
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
    |                                      `- error: cannot find type 'NSLayoutConstraint' in scope
 54 |     @usableFromInline let offset: CGFloat
 55 |     @usableFromInline let multiplier: CGFloat
/host/spi-builder-workspace/Sources/Anchor.swift:54:35: error: cannot find type 'CGFloat' in scope
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
 54 |     @usableFromInline let offset: CGFloat
    |                                   `- error: cannot find type 'CGFloat' in scope
 55 |     @usableFromInline let multiplier: CGFloat
 56 |
/host/spi-builder-workspace/Sources/Anchor.swift:55:39: error: cannot find type 'CGFloat' in scope
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
 54 |     @usableFromInline let offset: CGFloat
 55 |     @usableFromInline let multiplier: CGFloat
    |                                       `- error: cannot find type 'CGFloat' in scope
 56 |
 57 |     @inlinable init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
/host/spi-builder-workspace/Sources/Anchor.swift:57:54: error: cannot find type 'NSLayoutConstraint' in scope
 55 |     @usableFromInline let multiplier: CGFloat
 56 |
 57 |     @inlinable init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
    |                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
 58 |         self.item = item; self.attribute = attribute; self.offset = offset; self.multiplier = multiplier
 59 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:57:92: error: cannot find type 'CGFloat' in scope
 55 |     @usableFromInline let multiplier: CGFloat
 56 |
 57 |     @inlinable init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
    |                                                                                            `- error: cannot find type 'CGFloat' in scope
 58 |         self.item = item; self.attribute = attribute; self.offset = offset; self.multiplier = multiplier
 59 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:57:117: error: cannot find type 'CGFloat' in scope
 55 |     @usableFromInline let multiplier: CGFloat
 56 |
 57 |     @inlinable init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
    |                                                                                                                     `- error: cannot find type 'CGFloat' in scope
 58 |         self.item = item; self.attribute = attribute; self.offset = offset; self.multiplier = multiplier
 59 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:64:60: error: cannot find type 'CGFloat' in scope
 62 |     ///
 63 |     /// - tip: Consider using a convenience operator instead: `view.anchors.top + 10`.
 64 |     @inlinable public consuming func offsetting(by offset: CGFloat) -> Anchor {
    |                                                            `- error: cannot find type 'CGFloat' in scope
 65 |         Anchor(item, attribute, offset: self.offset + offset, multiplier: self.multiplier)
 66 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:71:64: error: cannot find type 'CGFloat' in scope
 69 |     ///
 70 |     /// - tip: Consider using a convenience operator instead: `view.anchors.height * 2`.
 71 |     @inlinable public consuming func multiplied(by multiplier: CGFloat) -> Anchor {
    |                                                                `- error: cannot find type 'CGFloat' in scope
 72 |         Anchor(item, attribute, offset: self.offset * multiplier, multiplier: self.multiplier * multiplier)
 73 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:77:96: error: cannot find type 'CGFloat' in scope
 75 |
 76 | /// Returns a new anchor offset by a given amount.
 77 | @MainActor @inlinable public func + <Type, Axis>(anchor: consuming Anchor<Type, Axis>, offset: CGFloat) -> Anchor<Type, Axis> {
    |                                                                                                `- error: cannot find type 'CGFloat' in scope
 78 |     anchor.offsetting(by: offset)
 79 | }
/host/spi-builder-workspace/Sources/Anchor.swift:82:96: error: cannot find type 'CGFloat' in scope
 80 |
 81 | /// Returns a new anchor offset by a given amount.
 82 | @MainActor @inlinable public func - <Type, Axis>(anchor: consuming Anchor<Type, Axis>, offset: CGFloat) -> Anchor<Type, Axis> {
    |                                                                                                `- error: cannot find type 'CGFloat' in scope
 83 |     anchor.offsetting(by: -offset)
 84 | }
/host/spi-builder-workspace/Sources/Anchor.swift:87:100: error: cannot find type 'CGFloat' in scope
 85 |
 86 | /// Returns a new anchor with a constant multiplied by the given amount.
 87 | @MainActor @inlinable public func * <Type, Axis>(anchor: consuming Anchor<Type, Axis>, multiplier: CGFloat) -> Anchor<Type, Axis> {
    |                                                                                                    `- error: cannot find type 'CGFloat' in scope
 88 |     anchor.multiplied(by: multiplier)
 89 | }
/host/spi-builder-workspace/Sources/Anchor.swift:92:97: error: cannot find type 'CGFloat' in scope
 90 |
 91 | /// Returns a new anchor with a constant divided by the given amount.
 92 | @MainActor @inlinable public func / <Type, Axis>(anchor: consuming Anchor<Type, Axis>, divisor: CGFloat) -> Anchor<Type, Axis> {
    |                                                                                                 `- error: cannot find type 'CGFloat' in scope
 93 |     anchor.multiplied(by: 1 / divisor)
 94 | }
/host/spi-builder-workspace/Sources/Anchor.swift:99:143: error: cannot find type 'CGFloat' in scope
 97 |
 98 | @MainActor public extension Anchor where Type: AlignmentAnchorKind {
 99 |     @inlinable @discardableResult consuming func equal<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                               `- error: cannot find type 'CGFloat' in scope
100 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
101 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:99:166: error: cannot find type 'LayoutPriority' in scope
 97 |
 98 | @MainActor public extension Anchor where Type: AlignmentAnchorKind {
 99 |     @inlinable @discardableResult consuming func equal<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                      `- error: cannot find type 'LayoutPriority' in scope
100 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
101 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:99:192: error: cannot find type 'NSLayoutConstraint' in scope
 97 |
 98 | @MainActor public extension Anchor where Type: AlignmentAnchorKind {
 99 |     @inlinable @discardableResult consuming func equal<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                `- error: cannot find type 'NSLayoutConstraint' in scope
100 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
101 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:103:156: error: cannot find type 'CGFloat' in scope
101 |     }
102 |
103 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                            `- error: cannot find type 'CGFloat' in scope
104 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
105 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:103:179: error: cannot find type 'LayoutPriority' in scope
101 |     }
102 |
103 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                   `- error: cannot find type 'LayoutPriority' in scope
104 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
105 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:103:205: error: cannot find type 'NSLayoutConstraint' in scope
101 |     }
102 |
103 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                             `- error: cannot find type 'NSLayoutConstraint' in scope
104 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
105 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:107:153: error: cannot find type 'CGFloat' in scope
105 |     }
106 |
107 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                         `- error: cannot find type 'CGFloat' in scope
108 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
109 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:107:176: error: cannot find type 'LayoutPriority' in scope
105 |     }
106 |
107 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                `- error: cannot find type 'LayoutPriority' in scope
108 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
109 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:107:202: error: cannot find type 'NSLayoutConstraint' in scope
105 |     }
106 |
107 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                          `- error: cannot find type 'NSLayoutConstraint' in scope
108 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
109 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:115:138: error: cannot find type 'CGFloat' in scope
113 |
114 | @MainActor public extension Anchor where Type == AnchorType.Dimension {
115 |     @inlinable @discardableResult consuming func equal<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                          `- error: cannot find type 'CGFloat' in scope
116 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
117 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:115:161: error: cannot find type 'LayoutPriority' in scope
113 |
114 | @MainActor public extension Anchor where Type == AnchorType.Dimension {
115 |     @inlinable @discardableResult consuming func equal<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                 `- error: cannot find type 'LayoutPriority' in scope
116 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
117 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:115:187: error: cannot find type 'NSLayoutConstraint' in scope
113 |
114 | @MainActor public extension Anchor where Type == AnchorType.Dimension {
115 |     @inlinable @discardableResult consuming func equal<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
116 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
117 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:119:151: error: cannot find type 'CGFloat' in scope
117 |     }
118 |
119 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                       `- error: cannot find type 'CGFloat' in scope
120 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
121 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:119:174: error: cannot find type 'LayoutPriority' in scope
117 |     }
118 |
119 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                              `- error: cannot find type 'LayoutPriority' in scope
120 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
121 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:119:200: error: cannot find type 'NSLayoutConstraint' in scope
117 |     }
118 |
119 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
120 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
121 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:123:148: error: cannot find type 'CGFloat' in scope
121 |     }
122 |
123 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                    `- error: cannot find type 'CGFloat' in scope
124 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
125 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:123:171: error: cannot find type 'LayoutPriority' in scope
121 |     }
122 |
123 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                           `- error: cannot find type 'LayoutPriority' in scope
124 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
125 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:123:197: error: cannot find type 'NSLayoutConstraint' in scope
121 |     }
122 |
123 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
124 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
125 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:127:113: error: cannot find type 'NSLayoutConstraint' in scope
125 |     }
126 |
127 |     @inlinable @discardableResult consuming func equal(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
128 |         Constraints.add(item: item, attribute: attribute, relatedBy: .equal, constant: constant, priority: priority)
129 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:127:68: error: cannot find type 'CGFloat' in scope
125 |     }
126 |
127 |     @inlinable @discardableResult consuming func equal(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                    `- error: cannot find type 'CGFloat' in scope
128 |         Constraints.add(item: item, attribute: attribute, relatedBy: .equal, constant: constant, priority: priority)
129 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:127:87: error: cannot find type 'LayoutPriority' in scope
125 |     }
126 |
127 |     @inlinable @discardableResult consuming func equal(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                       `- error: cannot find type 'LayoutPriority' in scope
128 |         Constraints.add(item: item, attribute: attribute, relatedBy: .equal, constant: constant, priority: priority)
129 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:131:126: error: cannot find type 'NSLayoutConstraint' in scope
129 |     }
130 |
131 |     @inlinable @discardableResult consuming func greaterThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
132 |         Constraints.add(item: item, attribute: attribute, relatedBy: .greaterThanOrEqual, constant: constant, priority: priority)
133 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:131:81: error: cannot find type 'CGFloat' in scope
129 |     }
130 |
131 |     @inlinable @discardableResult consuming func greaterThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                 `- error: cannot find type 'CGFloat' in scope
132 |         Constraints.add(item: item, attribute: attribute, relatedBy: .greaterThanOrEqual, constant: constant, priority: priority)
133 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:131:100: error: cannot find type 'LayoutPriority' in scope
129 |     }
130 |
131 |     @inlinable @discardableResult consuming func greaterThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                    `- error: cannot find type 'LayoutPriority' in scope
132 |         Constraints.add(item: item, attribute: attribute, relatedBy: .greaterThanOrEqual, constant: constant, priority: priority)
133 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:135:123: error: cannot find type 'NSLayoutConstraint' in scope
133 |     }
134 |
135 |     @inlinable @discardableResult consuming func lessThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
136 |         Constraints.add(item: item, attribute: attribute, relatedBy: .lessThanOrEqual, constant: constant, priority: priority)
137 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:135:78: error: cannot find type 'CGFloat' in scope
133 |     }
134 |
135 |     @inlinable @discardableResult consuming func lessThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                              `- error: cannot find type 'CGFloat' in scope
136 |         Constraints.add(item: item, attribute: attribute, relatedBy: .lessThanOrEqual, constant: constant, priority: priority)
137 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:135:97: error: cannot find type 'LayoutPriority' in scope
133 |     }
134 |
135 |     @inlinable @discardableResult consuming func lessThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                 `- error: cannot find type 'LayoutPriority' in scope
136 |         Constraints.add(item: item, attribute: attribute, relatedBy: .lessThanOrEqual, constant: constant, priority: priority)
137 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:140:126: error: cannot find type 'NSLayoutConstraint' in scope
138 |
139 |     /// Clamps the dimension of a view to the given limiting range.
140 |     @inlinable @discardableResult consuming func clamp(to limits: ClosedRange<CGFloat>, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
141 |         [(copy self).greaterThanOrEqual(limits.lowerBound, priority: priority), lessThanOrEqual(limits.upperBound, priority: priority)]
142 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:140:79: error: cannot find type 'CGFloat' in scope
138 |
139 |     /// Clamps the dimension of a view to the given limiting range.
140 |     @inlinable @discardableResult consuming func clamp(to limits: ClosedRange<CGFloat>, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                               `- error: cannot find type 'CGFloat' in scope
141 |         [(copy self).greaterThanOrEqual(limits.lowerBound, priority: priority), lessThanOrEqual(limits.upperBound, priority: priority)]
142 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:140:99: error: cannot find type 'LayoutPriority' in scope
138 |
139 |     /// Clamps the dimension of a view to the given limiting range.
140 |     @inlinable @discardableResult consuming func clamp(to limits: ClosedRange<CGFloat>, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                   `- error: cannot find type 'LayoutPriority' in scope
141 |         [(copy self).greaterThanOrEqual(limits.lowerBound, priority: priority), lessThanOrEqual(limits.upperBound, priority: priority)]
142 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:154:191: error: cannot find type 'NSLayoutConstraint' in scope
152 | @MainActor public extension Anchor where Type == AnchorType.Edge {
153 |     /// Pins the edge to the respected edges of the given container.
154 |     @inlinable @discardableResult consuming func pin(to container: LayoutItem? = nil, inset: CGFloat = 0, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                               `- error: cannot find type 'NSLayoutConstraint' in scope
155 |         let isInverted: Bool = switch attribute {
156 |         case .trailing, .right, .bottom: true
/host/spi-builder-workspace/Sources/Anchor.swift:154:94: error: cannot find type 'CGFloat' in scope
152 | @MainActor public extension Anchor where Type == AnchorType.Edge {
153 |     /// Pins the edge to the respected edges of the given container.
154 |     @inlinable @discardableResult consuming func pin(to container: LayoutItem? = nil, inset: CGFloat = 0, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                              `- error: cannot find type 'CGFloat' in scope
155 |         let isInverted: Bool = switch attribute {
156 |         case .trailing, .right, .bottom: true
/host/spi-builder-workspace/Sources/Anchor.swift:154:117: error: cannot find type 'NSLayoutConstraint' in scope
152 | @MainActor public extension Anchor where Type == AnchorType.Edge {
153 |     /// Pins the edge to the respected edges of the given container.
154 |     @inlinable @discardableResult consuming func pin(to container: LayoutItem? = nil, inset: CGFloat = 0, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
155 |         let isInverted: Bool = switch attribute {
156 |         case .trailing, .right, .bottom: true
/host/spi-builder-workspace/Sources/Anchor.swift:154:165: error: cannot find type 'LayoutPriority' in scope
152 | @MainActor public extension Anchor where Type == AnchorType.Edge {
153 |     /// Pins the edge to the respected edges of the given container.
154 |     @inlinable @discardableResult consuming func pin(to container: LayoutItem? = nil, inset: CGFloat = 0, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                     `- error: cannot find type 'LayoutPriority' in scope
155 |         let isInverted: Bool = switch attribute {
156 |         case .trailing, .right, .bottom: true
/host/spi-builder-workspace/Sources/Anchor.swift:164:214: error: cannot find type 'NSLayoutConstraint' in scope
162 |
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
/host/spi-builder-workspace/Sources/Anchor.swift:164:69: error: cannot find type 'CGFloat' in scope
162 |
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                     `- error: cannot find type 'CGFloat' in scope
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
/host/spi-builder-workspace/Sources/Anchor.swift:164:140: error: cannot find type 'NSLayoutConstraint' in scope
162 |
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                            `- error: cannot find type 'NSLayoutConstraint' in scope
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
/host/spi-builder-workspace/Sources/Anchor.swift:164:188: error: cannot find type 'LayoutPriority' in scope
162 |
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                            `- error: cannot find type 'LayoutPriority' in scope
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
/host/spi-builder-workspace/Sources/Anchor.swift:176:113: error: cannot find type 'NSLayoutConstraint' in scope
174 | @MainActor public extension Anchor where Type == AnchorType.Center {
175 |     /// Aligns the axis with a superview axis.
176 |     @inlinable @discardableResult consuming func align(offset: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
177 |         Constraints.add(self, toItem: item._requireSuperview(), attribute: attribute, constant: offset, priority: priority)
178 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:176:64: error: cannot find type 'CGFloat' in scope
174 | @MainActor public extension Anchor where Type == AnchorType.Center {
175 |     /// Aligns the axis with a superview axis.
176 |     @inlinable @discardableResult consuming func align(offset: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                `- error: cannot find type 'CGFloat' in scope
177 |         Constraints.add(self, toItem: item._requireSuperview(), attribute: attribute, constant: offset, priority: priority)
178 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:176:87: error: cannot find type 'LayoutPriority' in scope
174 | @MainActor public extension Anchor where Type == AnchorType.Center {
175 |     /// Aligns the axis with a superview axis.
176 |     @inlinable @discardableResult consuming func align(offset: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                       `- error: cannot find type 'LayoutPriority' in scope
177 |         Constraints.add(self, toItem: item._requireSuperview(), attribute: attribute, constant: offset, priority: priority)
178 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:165:41: error: cannot infer contextual base in reference to member 'bottom'
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
    |                                         `- error: cannot infer contextual base in reference to member 'bottom'
166 |         (attribute == .right && anchor.attribute == .left) ||
167 |         (attribute == .trailing && anchor.attribute == .leading)
/host/spi-builder-workspace/Sources/Anchor.swift:165:72: error: cannot infer contextual base in reference to member 'top'
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
    |                                                                        `- error: cannot infer contextual base in reference to member 'top'
166 |         (attribute == .right && anchor.attribute == .left) ||
167 |         (attribute == .trailing && anchor.attribute == .leading)
/host/spi-builder-workspace/Sources/Anchor.swift:167:24: error: cannot infer contextual base in reference to member 'trailing'
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
167 |         (attribute == .trailing && anchor.attribute == .leading)
    |                        `- error: cannot infer contextual base in reference to member 'trailing'
168 |         return Constraints.add(self, anchor, constant: isInverted ? -spacing : spacing, relation: isInverted ? relation.inverted : relation, priority: priority)
169 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:167:57: error: cannot infer contextual base in reference to member 'leading'
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
167 |         (attribute == .trailing && anchor.attribute == .leading)
    |                                                         `- error: cannot infer contextual base in reference to member 'leading'
168 |         return Constraints.add(self, anchor, constant: isInverted ? -spacing : spacing, relation: isInverted ? relation.inverted : relation, priority: priority)
169 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:23:94: error: cannot find type 'CGPoint' in scope
21 |     // MARK: Core API
22 |
23 |     @inlinable @discardableResult public func equal<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                              `- error: cannot find type 'CGPoint' in scope
24 |         [x.equal(item2.anchors.centerX, constant: offset.x, priority: priority), y.equal(item2.anchors.centerY, constant: offset.y, priority: priority)]
25 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:23:121: error: cannot find type 'LayoutPriority' in scope
21 |     // MARK: Core API
22 |
23 |     @inlinable @discardableResult public func equal<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                         `- error: cannot find type 'LayoutPriority' in scope
24 |         [x.equal(item2.anchors.centerX, constant: offset.x, priority: priority), y.equal(item2.anchors.centerY, constant: offset.y, priority: priority)]
25 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:23:148: error: cannot find type 'NSLayoutConstraint' in scope
21 |     // MARK: Core API
22 |
23 |     @inlinable @discardableResult public func equal<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
24 |         [x.equal(item2.anchors.centerX, constant: offset.x, priority: priority), y.equal(item2.anchors.centerY, constant: offset.y, priority: priority)]
25 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:27:107: error: cannot find type 'CGPoint' in scope
25 |     }
26 |
27 |     @inlinable @discardableResult public func greaterThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                           `- error: cannot find type 'CGPoint' in scope
28 |         [x.greaterThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.greaterThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
29 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:27:134: error: cannot find type 'LayoutPriority' in scope
25 |     }
26 |
27 |     @inlinable @discardableResult public func greaterThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                      `- error: cannot find type 'LayoutPriority' in scope
28 |         [x.greaterThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.greaterThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
29 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:27:161: error: cannot find type 'NSLayoutConstraint' in scope
25 |     }
26 |
27 |     @inlinable @discardableResult public func greaterThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
28 |         [x.greaterThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.greaterThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
29 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:31:104: error: cannot find type 'CGPoint' in scope
29 |     }
30 |
31 |     @inlinable @discardableResult public func lessThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                        `- error: cannot find type 'CGPoint' in scope
32 |         [x.lessThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.lessThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
33 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:31:131: error: cannot find type 'LayoutPriority' in scope
29 |     }
30 |
31 |     @inlinable @discardableResult public func lessThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                   `- error: cannot find type 'LayoutPriority' in scope
32 |         [x.lessThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.lessThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
33 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:31:158: error: cannot find type 'NSLayoutConstraint' in scope
29 |     }
30 |
31 |     @inlinable @discardableResult public func lessThanOrEqual<Item: LayoutItem>(_ item2: Item, offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
32 |         [x.lessThanOrEqual(item2.anchors.centerX, constant: offset.x, priority: priority), y.lessThanOrEqual(item2.anchors.centerY, constant: offset.y, priority: priority)]
33 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:38:115: error: cannot find type 'NSLayoutConstraint' in scope
36 |
37 |     /// Centers the view in the superview.
38 |     @inlinable @discardableResult public func align(offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                   `- error: cannot find type 'NSLayoutConstraint' in scope
39 |         [x.align(offset: offset.x, priority: priority), y.align(offset: offset.y, priority: priority)]
40 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:38:61: error: cannot find type 'CGPoint' in scope
36 |
37 |     /// Centers the view in the superview.
38 |     @inlinable @discardableResult public func align(offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                             `- error: cannot find type 'CGPoint' in scope
39 |         [x.align(offset: offset.x, priority: priority), y.align(offset: offset.y, priority: priority)]
40 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:38:88: error: cannot find type 'LayoutPriority' in scope
36 |
37 |     /// Centers the view in the superview.
38 |     @inlinable @discardableResult public func align(offset: CGPoint = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                        `- error: cannot find type 'LayoutPriority' in scope
39 |         [x.align(offset: offset.x, priority: priority), y.align(offset: offset.y, priority: priority)]
40 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:43:98: error: cannot find type 'LayoutPriority' in scope
41 |
42 |     /// Makes the axes equal to the other collection of axes.
43 |     @inlinable @discardableResult public func align<Item: LayoutItem>(with item: Item, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                  `- error: cannot find type 'LayoutPriority' in scope
44 |         [x.equal(item.anchors.centerX, priority: priority), y.equal(item.anchors.centerY, priority: priority)]
45 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionCenter.swift:43:125: error: cannot find type 'NSLayoutConstraint' in scope
41 |
42 |     /// Makes the axes equal to the other collection of axes.
43 |     @inlinable @discardableResult public func align<Item: LayoutItem>(with item: Item, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                             `- error: cannot find type 'NSLayoutConstraint' in scope
44 |         [x.equal(item.anchors.centerX, priority: priority), y.equal(item.anchors.centerY, priority: priority)]
45 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:29:29: error: cannot find type 'NSLayoutConstraint' in scope
 27 |     public typealias Axis = NSLayoutConstraint.Axis
 28 | #else
 29 |     public typealias Axis = NSLayoutConstraint.Orientation
    |                             `- error: cannot find type 'NSLayoutConstraint' in scope
 30 | #endif
 31 |
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:35:139: error: cannot find type 'NSLayoutConstraint' in scope
 33 |
 34 |     @available(*, deprecated, message: "Use pin(to:insets:priority:) instead")
 35 |     @inlinable @discardableResult public func equal(_ item2: LayoutItem, insets: EdgeInsets = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
 36 |         pin(to: item2, insets: insets, priority: priority)
 37 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:35:82: error: cannot find type 'EdgeInsets' in scope
 33 |
 34 |     @available(*, deprecated, message: "Use pin(to:insets:priority:) instead")
 35 |     @inlinable @discardableResult public func equal(_ item2: LayoutItem, insets: EdgeInsets = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                  `- error: cannot find type 'EdgeInsets' in scope
 36 |         pin(to: item2, insets: insets, priority: priority)
 37 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:35:112: error: cannot find type 'LayoutPriority' in scope
 33 |
 34 |     @available(*, deprecated, message: "Use pin(to:insets:priority:) instead")
 35 |     @inlinable @discardableResult public func equal(_ item2: LayoutItem, insets: EdgeInsets = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                `- error: cannot find type 'LayoutPriority' in scope
 36 |         pin(to: item2, insets: insets, priority: priority)
 37 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:40:149: error: cannot find type 'NSLayoutConstraint' in scope
 38 |
 39 |     @available(*, deprecated, message: "Use pin(to:insets:alignment:priority:) with alignment .center instead")
 40 |     @inlinable @discardableResult public func lessThanOrEqual(_ item2: LayoutItem, insets: EdgeInsets = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
 41 |         _pin(to: item2, insets: insets, axis: nil, alignment: .center, isCenteringEnabled: false, priority: priority)
 42 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:40:92: error: cannot find type 'EdgeInsets' in scope
 38 |
 39 |     @available(*, deprecated, message: "Use pin(to:insets:alignment:priority:) with alignment .center instead")
 40 |     @inlinable @discardableResult public func lessThanOrEqual(_ item2: LayoutItem, insets: EdgeInsets = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                            `- error: cannot find type 'EdgeInsets' in scope
 41 |         _pin(to: item2, insets: insets, axis: nil, alignment: .center, isCenteringEnabled: false, priority: priority)
 42 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:40:122: error: cannot find type 'LayoutPriority' in scope
 38 |
 39 |     @available(*, deprecated, message: "Use pin(to:insets:alignment:priority:) with alignment .center instead")
 40 |     @inlinable @discardableResult public func lessThanOrEqual(_ item2: LayoutItem, insets: EdgeInsets = .zero, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                          `- error: cannot find type 'LayoutPriority' in scope
 41 |         _pin(to: item2, insets: insets, axis: nil, alignment: .center, isCenteringEnabled: false, priority: priority)
 42 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:45:128: error: cannot find type 'NSLayoutConstraint' in scope
 43 |
 44 |     @available(*, deprecated, message: "Use pin(to:insets:priority:) instead")
 45 |     @inlinable @discardableResult public func equal(_ item2: LayoutItem, insets: CGFloat, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                                `- error: cannot find type 'NSLayoutConstraint' in scope
 46 |         pin(to: item2, insets: EdgeInsets(top: insets, left: insets, bottom: insets, right: insets), priority: priority)
 47 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:45:82: error: cannot find type 'CGFloat' in scope
 43 |
 44 |     @available(*, deprecated, message: "Use pin(to:insets:priority:) instead")
 45 |     @inlinable @discardableResult public func equal(_ item2: LayoutItem, insets: CGFloat, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                  `- error: cannot find type 'CGFloat' in scope
 46 |         pin(to: item2, insets: EdgeInsets(top: insets, left: insets, bottom: insets, right: insets), priority: priority)
 47 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:45:101: error: cannot find type 'LayoutPriority' in scope
 43 |
 44 |     @available(*, deprecated, message: "Use pin(to:insets:priority:) instead")
 45 |     @inlinable @discardableResult public func equal(_ item2: LayoutItem, insets: CGFloat, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                     `- error: cannot find type 'LayoutPriority' in scope
 46 |         pin(to: item2, insets: EdgeInsets(top: insets, left: insets, bottom: insets, right: insets), priority: priority)
 47 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:50:138: error: cannot find type 'NSLayoutConstraint' in scope
 48 |
 49 |     @available(*, deprecated, message: "Use pin(to:insets:alignment:priority:) with alignment .center instead")
 50 |     @inlinable @discardableResult public func lessThanOrEqual(_ item2: LayoutItem, insets: CGFloat, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                                          `- error: cannot find type 'NSLayoutConstraint' in scope
 51 |         _pin(to: item2, insets: EdgeInsets(top: insets, left: insets, bottom: insets, right: insets), axis: nil, alignment: .center, isCenteringEnabled: false, priority: priority)
 52 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:50:92: error: cannot find type 'CGFloat' in scope
 48 |
 49 |     @available(*, deprecated, message: "Use pin(to:insets:alignment:priority:) with alignment .center instead")
 50 |     @inlinable @discardableResult public func lessThanOrEqual(_ item2: LayoutItem, insets: CGFloat, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                            `- error: cannot find type 'CGFloat' in scope
 51 |         _pin(to: item2, insets: EdgeInsets(top: insets, left: insets, bottom: insets, right: insets), axis: nil, alignment: .center, isCenteringEnabled: false, priority: priority)
 52 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:50:111: error: cannot find type 'LayoutPriority' in scope
 48 |
 49 |     @available(*, deprecated, message: "Use pin(to:insets:alignment:priority:) with alignment .center instead")
 50 |     @inlinable @discardableResult public func lessThanOrEqual(_ item2: LayoutItem, insets: CGFloat, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                               `- error: cannot find type 'LayoutPriority' in scope
 51 |         _pin(to: item2, insets: EdgeInsets(top: insets, left: insets, bottom: insets, right: insets), axis: nil, alignment: .center, isCenteringEnabled: false, priority: priority)
 52 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:68:183: error: cannot find type 'NSLayoutConstraint' in scope
 66 |     /// - parameter priority: The priority of the created constraints. Uses the
 67 |     /// system's default priority when `nil`.
 68 |     @inlinable @discardableResult public func pin(to item2: LayoutItem? = nil, insets: CGFloat, axis: Axis? = nil, alignment: Alignment = .fill, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                                                                                       `- error: cannot find type 'NSLayoutConstraint' in scope
 69 |         pin(to: item2, insets: EdgeInsets(top: insets, left: insets, bottom: insets, right: insets), axis: axis, alignment: alignment, priority: priority)
 70 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:68:88: error: cannot find type 'CGFloat' in scope
 66 |     /// - parameter priority: The priority of the created constraints. Uses the
 67 |     /// system's default priority when `nil`.
 68 |     @inlinable @discardableResult public func pin(to item2: LayoutItem? = nil, insets: CGFloat, axis: Axis? = nil, alignment: Alignment = .fill, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                        `- error: cannot find type 'CGFloat' in scope
 69 |         pin(to: item2, insets: EdgeInsets(top: insets, left: insets, bottom: insets, right: insets), axis: axis, alignment: alignment, priority: priority)
 70 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:68:156: error: cannot find type 'LayoutPriority' in scope
 66 |     /// - parameter priority: The priority of the created constraints. Uses the
 67 |     /// system's default priority when `nil`.
 68 |     @inlinable @discardableResult public func pin(to item2: LayoutItem? = nil, insets: CGFloat, axis: Axis? = nil, alignment: Alignment = .fill, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                                                            `- error: cannot find type 'LayoutPriority' in scope
 69 |         pin(to: item2, insets: EdgeInsets(top: insets, left: insets, bottom: insets, right: insets), axis: axis, alignment: alignment, priority: priority)
 70 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:84:194: error: cannot find type 'NSLayoutConstraint' in scope
 82 |     /// - parameter priority: The priority of the created constraints. Uses the
 83 |     /// system's default priority when `nil`.
 84 |     @inlinable @discardableResult public func pin(to item2: LayoutItem? = nil, insets: EdgeInsets = .zero, axis: Axis? = nil, alignment: Alignment = .fill, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                                                                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
 85 |         _pin(to: item2, insets: insets, axis: axis, alignment: alignment, isCenteringEnabled: true, priority: priority)
 86 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:84:88: error: cannot find type 'EdgeInsets' in scope
 82 |     /// - parameter priority: The priority of the created constraints. Uses the
 83 |     /// system's default priority when `nil`.
 84 |     @inlinable @discardableResult public func pin(to item2: LayoutItem? = nil, insets: EdgeInsets = .zero, axis: Axis? = nil, alignment: Alignment = .fill, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                        `- error: cannot find type 'EdgeInsets' in scope
 85 |         _pin(to: item2, insets: insets, axis: axis, alignment: alignment, isCenteringEnabled: true, priority: priority)
 86 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:84:167: error: cannot find type 'LayoutPriority' in scope
 82 |     /// - parameter priority: The priority of the created constraints. Uses the
 83 |     /// system's default priority when `nil`.
 84 |     @inlinable @discardableResult public func pin(to item2: LayoutItem? = nil, insets: EdgeInsets = .zero, axis: Axis? = nil, alignment: Alignment = .fill, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                                                                       `- error: cannot find type 'LayoutPriority' in scope
 85 |         _pin(to: item2, insets: insets, axis: axis, alignment: alignment, isCenteringEnabled: true, priority: priority)
 86 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:88:174: error: cannot find type 'NSLayoutConstraint' in scope
 86 |     }
 87 |
 88 |     @usableFromInline func _pin(to item2: LayoutItem?, insets: EdgeInsets, axis: Axis?, alignment: Alignment, isCenteringEnabled: Bool, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 89 |         let item2 = item2 ?? item._requireSuperview()
 90 |         item._disableAutoresizingMask()
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:88:64: error: cannot find type 'EdgeInsets' in scope
 86 |     }
 87 |
 88 |     @usableFromInline func _pin(to item2: LayoutItem?, insets: EdgeInsets, axis: Axis?, alignment: Alignment, isCenteringEnabled: Bool, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                `- error: cannot find type 'EdgeInsets' in scope
 89 |         let item2 = item2 ?? item._requireSuperview()
 90 |         item._disableAutoresizingMask()
/host/spi-builder-workspace/Sources/AnchorCollectionEdges.swift:88:147: error: cannot find type 'LayoutPriority' in scope
 86 |     }
 87 |
 88 |     @usableFromInline func _pin(to item2: LayoutItem?, insets: EdgeInsets, axis: Axis?, alignment: Alignment, isCenteringEnabled: Bool, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                                                   `- error: cannot find type 'LayoutPriority' in scope
 89 |         let item2 = item2 ?? item._requireSuperview()
 90 |         item._disableAutoresizingMask()
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:24:106: error: cannot find type 'NSLayoutConstraint' in scope
22 |
23 |     /// Set the size of item.
24 |     @inlinable @discardableResult public func equal(_ size: CGSize, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                          `- error: cannot find type 'NSLayoutConstraint' in scope
25 |         [width.equal(size.width, priority: priority), height.equal(size.height, priority: priority)]
26 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:24:61: error: cannot find type 'CGSize' in scope
22 |
23 |     /// Set the size of item.
24 |     @inlinable @discardableResult public func equal(_ size: CGSize, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                             `- error: cannot find type 'CGSize' in scope
25 |         [width.equal(size.width, priority: priority), height.equal(size.height, priority: priority)]
26 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:24:79: error: cannot find type 'LayoutPriority' in scope
22 |
23 |     /// Set the size of item.
24 |     @inlinable @discardableResult public func equal(_ size: CGSize, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                               `- error: cannot find type 'LayoutPriority' in scope
25 |         [width.equal(size.width, priority: priority), height.equal(size.height, priority: priority)]
26 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:29:119: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 |     /// Set the size of item.
29 |     @inlinable @discardableResult public func greaterThanOrEqual(_ size: CGSize, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                       `- error: cannot find type 'NSLayoutConstraint' in scope
30 |         [width.greaterThanOrEqual(size.width, priority: priority), height.greaterThanOrEqual(size.height, priority: priority)]
31 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:29:74: error: cannot find type 'CGSize' in scope
27 |
28 |     /// Set the size of item.
29 |     @inlinable @discardableResult public func greaterThanOrEqual(_ size: CGSize, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                          `- error: cannot find type 'CGSize' in scope
30 |         [width.greaterThanOrEqual(size.width, priority: priority), height.greaterThanOrEqual(size.height, priority: priority)]
31 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:29:92: error: cannot find type 'LayoutPriority' in scope
27 |
28 |     /// Set the size of item.
29 |     @inlinable @discardableResult public func greaterThanOrEqual(_ size: CGSize, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                            `- error: cannot find type 'LayoutPriority' in scope
30 |         [width.greaterThanOrEqual(size.width, priority: priority), height.greaterThanOrEqual(size.height, priority: priority)]
31 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:34:116: error: cannot find type 'NSLayoutConstraint' in scope
32 |
33 |     /// Set the size of item.
34 |     @inlinable @discardableResult public func lessThanOrEqual(_ size: CGSize, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
35 |         [width.lessThanOrEqual(size.width, priority: priority), height.lessThanOrEqual(size.height, priority: priority)]
36 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:34:71: error: cannot find type 'CGSize' in scope
32 |
33 |     /// Set the size of item.
34 |     @inlinable @discardableResult public func lessThanOrEqual(_ size: CGSize, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                       `- error: cannot find type 'CGSize' in scope
35 |         [width.lessThanOrEqual(size.width, priority: priority), height.lessThanOrEqual(size.height, priority: priority)]
36 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:34:89: error: cannot find type 'LayoutPriority' in scope
32 |
33 |     /// Set the size of item.
34 |     @inlinable @discardableResult public func lessThanOrEqual(_ size: CGSize, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                         `- error: cannot find type 'LayoutPriority' in scope
35 |         [width.lessThanOrEqual(size.width, priority: priority), height.lessThanOrEqual(size.height, priority: priority)]
36 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:39:93: error: cannot find type 'CGSize' in scope
37 |
38 |     /// Makes the size of the item equal to the size of the other item.
39 |     @inlinable @discardableResult public func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                             `- error: cannot find type 'CGSize' in scope
40 |         [width.equal(item.anchors.width * multiplier - insets.width, priority: priority), height.equal(item.anchors.height * multiplier - insets.height, priority: priority)]
41 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:39:121: error: cannot find type 'CGFloat' in scope
37 |
38 |     /// Makes the size of the item equal to the size of the other item.
39 |     @inlinable @discardableResult public func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                         `- error: cannot find type 'CGFloat' in scope
40 |         [width.equal(item.anchors.width * multiplier - insets.width, priority: priority), height.equal(item.anchors.height * multiplier - insets.height, priority: priority)]
41 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:39:144: error: cannot find type 'LayoutPriority' in scope
37 |
38 |     /// Makes the size of the item equal to the size of the other item.
39 |     @inlinable @discardableResult public func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                `- error: cannot find type 'LayoutPriority' in scope
40 |         [width.equal(item.anchors.width * multiplier - insets.width, priority: priority), height.equal(item.anchors.height * multiplier - insets.height, priority: priority)]
41 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:39:171: error: cannot find type 'NSLayoutConstraint' in scope
37 |
38 |     /// Makes the size of the item equal to the size of the other item.
39 |     @inlinable @discardableResult public func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
40 |         [width.equal(item.anchors.width * multiplier - insets.width, priority: priority), height.equal(item.anchors.height * multiplier - insets.height, priority: priority)]
41 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:43:106: error: cannot find type 'CGSize' in scope
41 |     }
42 |
43 |     @inlinable @discardableResult public func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                          `- error: cannot find type 'CGSize' in scope
44 |         [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width, priority: priority), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height, priority: priority)]
45 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:43:134: error: cannot find type 'CGFloat' in scope
41 |     }
42 |
43 |     @inlinable @discardableResult public func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                      `- error: cannot find type 'CGFloat' in scope
44 |         [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width, priority: priority), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height, priority: priority)]
45 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:43:157: error: cannot find type 'LayoutPriority' in scope
41 |     }
42 |
43 |     @inlinable @discardableResult public func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                             `- error: cannot find type 'LayoutPriority' in scope
44 |         [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width, priority: priority), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height, priority: priority)]
45 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:43:184: error: cannot find type 'NSLayoutConstraint' in scope
41 |     }
42 |
43 |     @inlinable @discardableResult public func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
44 |         [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width, priority: priority), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height, priority: priority)]
45 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:47:103: error: cannot find type 'CGSize' in scope
45 |     }
46 |
47 |     @inlinable @discardableResult public func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                       `- error: cannot find type 'CGSize' in scope
48 |         [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width, priority: priority), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height, priority: priority)]
49 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:47:131: error: cannot find type 'CGFloat' in scope
45 |     }
46 |
47 |     @inlinable @discardableResult public func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                   `- error: cannot find type 'CGFloat' in scope
48 |         [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width, priority: priority), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height, priority: priority)]
49 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:47:154: error: cannot find type 'LayoutPriority' in scope
45 |     }
46 |
47 |     @inlinable @discardableResult public func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                          `- error: cannot find type 'LayoutPriority' in scope
48 |         [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width, priority: priority), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height, priority: priority)]
49 |     }
/host/spi-builder-workspace/Sources/AnchorCollectionSize.swift:47:181: error: cannot find type 'NSLayoutConstraint' in scope
45 |     }
46 |
47 |     @inlinable @discardableResult public func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
   |                                                                                                                                                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
48 |         [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width, priority: priority), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height, priority: priority)]
49 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:44:32: error: cannot find type 'NSLayoutConstraint' in scope
 42 | /// and each group honors its own `activate:` flag independently.
 43 | public struct Constraints: RandomAccessCollection {
 44 |     public typealias Element = NSLayoutConstraint
    |                                `- error: cannot find type 'NSLayoutConstraint' in scope
 45 |     public typealias Index = Int
 46 |
/host/spi-builder-workspace/Sources/Constraints.swift:47:40: error: cannot find type 'NSLayoutConstraint' in scope
 45 |     public typealias Index = Int
 46 |
 47 |     public subscript(position: Int) -> NSLayoutConstraint { constraints[position] }
    |                                        `- error: cannot find type 'NSLayoutConstraint' in scope
 48 |     public var startIndex: Int { constraints.startIndex }
 49 |     public var endIndex: Int { constraints.endIndex }
/host/spi-builder-workspace/Sources/Constraints.swift:53:43: error: cannot find type 'NSLayoutConstraint' in scope
 51 |
 52 |     /// Returns all of the created constraints.
 53 |     public private(set) var constraints: [NSLayoutConstraint]
    |                                           `- error: cannot find type 'NSLayoutConstraint' in scope
 54 |
 55 |     /// All of the constraints created in the given closure are automatically
/host/spi-builder-workspace/Sources/Constraints.swift:86:350: error: cannot find type 'NSLayoutConstraint' in scope
 84 |
 85 |     /// Creates and automatically installs a constraint.
 86 |     @MainActor @usableFromInline static func add(item item1: LayoutItem, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: LayoutItem? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                                                                                                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 87 |         item1._disableAutoresizingMask()
 88 |         let constraint = NSLayoutConstraint(item: item1, attribute: attr1, relatedBy: relation, toItem: item2, attribute: attr2 ?? .notAnAttribute, multiplier: multiplier, constant: constant)
/host/spi-builder-workspace/Sources/Constraints.swift:86:91: error: cannot find type 'NSLayoutConstraint' in scope
 84 |
 85 |     /// Creates and automatically installs a constraint.
 86 |     @MainActor @usableFromInline static func add(item item1: LayoutItem, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: LayoutItem? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
 87 |         item1._disableAutoresizingMask()
 88 |         let constraint = NSLayoutConstraint(item: item1, attribute: attr1, relatedBy: relation, toItem: item2, attribute: attr2 ?? .notAnAttribute, multiplier: multiplier, constant: constant)
/host/spi-builder-workspace/Sources/Constraints.swift:86:141: error: cannot find type 'NSLayoutConstraint' in scope
 84 |
 85 |     /// Creates and automatically installs a constraint.
 86 |     @MainActor @usableFromInline static func add(item item1: LayoutItem, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: LayoutItem? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                             `- error: cannot find type 'NSLayoutConstraint' in scope
 87 |         item1._disableAutoresizingMask()
 88 |         let constraint = NSLayoutConstraint(item: item1, attribute: attr1, relatedBy: relation, toItem: item2, attribute: attr2 ?? .notAnAttribute, multiplier: multiplier, constant: constant)
/host/spi-builder-workspace/Sources/Constraints.swift:86:229: error: cannot find type 'NSLayoutConstraint' in scope
 84 |
 85 |     /// Creates and automatically installs a constraint.
 86 |     @MainActor @usableFromInline static func add(item item1: LayoutItem, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: LayoutItem? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
 87 |         item1._disableAutoresizingMask()
 88 |         let constraint = NSLayoutConstraint(item: item1, attribute: attr1, relatedBy: relation, toItem: item2, attribute: attr2 ?? .notAnAttribute, multiplier: multiplier, constant: constant)
/host/spi-builder-workspace/Sources/Constraints.swift:86:278: error: cannot find type 'CGFloat' in scope
 84 |
 85 |     /// Creates and automatically installs a constraint.
 86 |     @MainActor @usableFromInline static func add(item item1: LayoutItem, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: LayoutItem? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                                                                                      `- error: cannot find type 'CGFloat' in scope
 87 |         item1._disableAutoresizingMask()
 88 |         let constraint = NSLayoutConstraint(item: item1, attribute: attr1, relatedBy: relation, toItem: item2, attribute: attr2 ?? .notAnAttribute, multiplier: multiplier, constant: constant)
/host/spi-builder-workspace/Sources/Constraints.swift:86:301: error: cannot find type 'CGFloat' in scope
 84 |
 85 |     /// Creates and automatically installs a constraint.
 86 |     @MainActor @usableFromInline static func add(item item1: LayoutItem, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: LayoutItem? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                                                                                                             `- error: cannot find type 'CGFloat' in scope
 87 |         item1._disableAutoresizingMask()
 88 |         let constraint = NSLayoutConstraint(item: item1, attribute: attr1, relatedBy: relation, toItem: item2, attribute: attr2 ?? .notAnAttribute, multiplier: multiplier, constant: constant)
/host/spi-builder-workspace/Sources/Constraints.swift:86:324: error: cannot find type 'LayoutPriority' in scope
 84 |
 85 |     /// Creates and automatically installs a constraint.
 86 |     @MainActor @usableFromInline static func add(item item1: LayoutItem, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: LayoutItem? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                                                                                                                                    `- error: cannot find type 'LayoutPriority' in scope
 87 |         item1._disableAutoresizingMask()
 88 |         let constraint = NSLayoutConstraint(item: item1, attribute: attr1, relatedBy: relation, toItem: item2, attribute: attr2 ?? .notAnAttribute, multiplier: multiplier, constant: constant)
/host/spi-builder-workspace/Sources/Constraints.swift:94:142: error: cannot find type 'CGFloat' in scope
 92 |
 93 |     /// Creates and automatically installs a constraint between two anchors.
 94 |     @MainActor @usableFromInline static func add<T1, A1, T2, A2>(_ lhs: consuming Anchor<T1, A1>, _ rhs: consuming Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                              `- error: cannot find type 'CGFloat' in scope
 95 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset, priority: priority)
 96 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:94:167: error: cannot find type 'CGFloat' in scope
 92 |
 93 |     /// Creates and automatically installs a constraint between two anchors.
 94 |     @MainActor @usableFromInline static func add<T1, A1, T2, A2>(_ lhs: consuming Anchor<T1, A1>, _ rhs: consuming Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                       `- error: cannot find type 'CGFloat' in scope
 95 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset, priority: priority)
 96 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:94:190: error: cannot find type 'NSLayoutConstraint' in scope
 92 |
 93 |     /// Creates and automatically installs a constraint between two anchors.
 94 |     @MainActor @usableFromInline static func add<T1, A1, T2, A2>(_ lhs: consuming Anchor<T1, A1>, _ rhs: consuming Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 95 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset, priority: priority)
 96 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:94:238: error: cannot find type 'LayoutPriority' in scope
 92 |
 93 |     /// Creates and automatically installs a constraint between two anchors.
 94 |     @MainActor @usableFromInline static func add<T1, A1, T2, A2>(_ lhs: consuming Anchor<T1, A1>, _ rhs: consuming Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                                              `- error: cannot find type 'LayoutPriority' in scope
 95 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset, priority: priority)
 96 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:94:264: error: cannot find type 'NSLayoutConstraint' in scope
 92 |
 93 |     /// Creates and automatically installs a constraint between two anchors.
 94 |     @MainActor @usableFromInline static func add<T1, A1, T2, A2>(_ lhs: consuming Anchor<T1, A1>, _ rhs: consuming Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
 95 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset, priority: priority)
 96 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:100:135: error: cannot find type 'NSLayoutConstraint' in scope
 98 |     /// Creates and automatically installs a constraint between an anchor and
 99 |     /// a given item.
100 |     @MainActor @usableFromInline static func add<T1, A1>(_ lhs: consuming Anchor<T1, A1>, toItem item2: LayoutItem?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                       `- error: cannot find type 'NSLayoutConstraint' in scope
101 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset, priority: priority)
102 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:100:176: error: cannot find type 'CGFloat' in scope
 98 |     /// Creates and automatically installs a constraint between an anchor and
 99 |     /// a given item.
100 |     @MainActor @usableFromInline static func add<T1, A1>(_ lhs: consuming Anchor<T1, A1>, toItem item2: LayoutItem?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                `- error: cannot find type 'CGFloat' in scope
101 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset, priority: priority)
102 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:100:201: error: cannot find type 'CGFloat' in scope
 98 |     /// Creates and automatically installs a constraint between an anchor and
 99 |     /// a given item.
100 |     @MainActor @usableFromInline static func add<T1, A1>(_ lhs: consuming Anchor<T1, A1>, toItem item2: LayoutItem?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                         `- error: cannot find type 'CGFloat' in scope
101 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset, priority: priority)
102 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:100:224: error: cannot find type 'NSLayoutConstraint' in scope
 98 |     /// Creates and automatically installs a constraint between an anchor and
 99 |     /// a given item.
100 |     @MainActor @usableFromInline static func add<T1, A1>(_ lhs: consuming Anchor<T1, A1>, toItem item2: LayoutItem?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                                `- error: cannot find type 'NSLayoutConstraint' in scope
101 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset, priority: priority)
102 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:100:272: error: cannot find type 'LayoutPriority' in scope
 98 |     /// Creates and automatically installs a constraint between an anchor and
 99 |     /// a given item.
100 |     @MainActor @usableFromInline static func add<T1, A1>(_ lhs: consuming Anchor<T1, A1>, toItem item2: LayoutItem?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                                                                                `- error: cannot find type 'LayoutPriority' in scope
101 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset, priority: priority)
102 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:100:298: error: cannot find type 'NSLayoutConstraint' in scope
 98 |     /// Creates and automatically installs a constraint between an anchor and
 99 |     /// a given item.
100 |     @MainActor @usableFromInline static func add<T1, A1>(_ lhs: consuming Anchor<T1, A1>, toItem item2: LayoutItem?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                                                                                                          `- error: cannot find type 'NSLayoutConstraint' in scope
101 |         add(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset, priority: priority)
102 |     }
/host/spi-builder-workspace/Sources/Constraints.swift:104:36: error: cannot find type 'NSLayoutConstraint' in scope
102 |     }
103 |
104 |     @MainActor static var stack: [[NSLayoutConstraint]] = [] // this is what enables constraint auto-installing
    |                                    `- error: cannot find type 'NSLayoutConstraint' in scope
105 |
106 |     @MainActor @usableFromInline static func install(_ constraint: NSLayoutConstraint, priority: LayoutPriority? = nil) {
/host/spi-builder-workspace/Sources/Constraints.swift:106:68: error: cannot find type 'NSLayoutConstraint' in scope
104 |     @MainActor static var stack: [[NSLayoutConstraint]] = [] // this is what enables constraint auto-installing
105 |
106 |     @MainActor @usableFromInline static func install(_ constraint: NSLayoutConstraint, priority: LayoutPriority? = nil) {
    |                                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
107 |         if let priority { constraint.priority = priority }
108 |         if !stack.isEmpty {
/host/spi-builder-workspace/Sources/Constraints.swift:106:98: error: cannot find type 'LayoutPriority' in scope
104 |     @MainActor static var stack: [[NSLayoutConstraint]] = [] // this is what enables constraint auto-installing
105 |
106 |     @MainActor @usableFromInline static func install(_ constraint: NSLayoutConstraint, priority: LayoutPriority? = nil) {
    |                                                                                                  `- error: cannot find type 'LayoutPriority' in scope
107 |         if let priority { constraint.priority = priority }
108 |         if !stack.isEmpty {
/host/spi-builder-workspace/Sources/Constraints.swift:43:15: error: type 'Constraints' does not conform to protocol 'RandomAccessCollection'
 41 | /// Nesting is supported: each constraint is collected by the innermost group,
 42 | /// and each group honors its own `activate:` flag independently.
 43 | public struct Constraints: RandomAccessCollection {
    |               |- error: type 'Constraints' does not conform to protocol 'RandomAccessCollection'
    |               `- note: add stubs for conformance
 44 |     public typealias Element = NSLayoutConstraint
 45 |     public typealias Index = Int
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:20:79: error: generic parameter 'Type' could not be inferred
18 |     // MARK: Anchors
19 |
20 |     @inlinable public var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .top) }
   |                                                                               `- error: generic parameter 'Type' could not be inferred
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:20:79: error: generic parameter 'Axis' could not be inferred
18 |     // MARK: Anchors
19 |
20 |     @inlinable public var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .top) }
   |                                                                               |- error: generic parameter 'Axis' could not be inferred
   |                                                                               `- note: explicitly specify the generic arguments to fix this issue
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:20:93: error: cannot infer contextual base in reference to member 'top'
18 |     // MARK: Anchors
19 |
20 |     @inlinable public var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .top) }
   |                                                                                             `- error: cannot infer contextual base in reference to member 'top'
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:21:82: error: generic parameter 'Type' could not be inferred
19 |
20 |     @inlinable public var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .top) }
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
   |                                                                                  `- error: generic parameter 'Type' could not be inferred
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:21:82: error: generic parameter 'Axis' could not be inferred
19 |
20 |     @inlinable public var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .top) }
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
   |                                                                                  |- error: generic parameter 'Axis' could not be inferred
   |                                                                                  `- note: explicitly specify the generic arguments to fix this issue
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:21:96: error: cannot infer contextual base in reference to member 'bottom'
19 |
20 |     @inlinable public var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .top) }
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
   |                                                                                                `- error: cannot infer contextual base in reference to member 'bottom'
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:22:82: error: generic parameter 'Type' could not be inferred
20 |     @inlinable public var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .top) }
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
   |                                                                                  `- error: generic parameter 'Type' could not be inferred
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:22:82: error: generic parameter 'Axis' could not be inferred
20 |     @inlinable public var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .top) }
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
   |                                                                                  |- error: generic parameter 'Axis' could not be inferred
   |                                                                                  `- note: explicitly specify the generic arguments to fix this issue
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:22:96: error: cannot infer contextual base in reference to member 'left'
20 |     @inlinable public var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .top) }
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
   |                                                                                                `- error: cannot infer contextual base in reference to member 'left'
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:23:83: error: generic parameter 'Type' could not be inferred
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
   |                                                                                   `- error: generic parameter 'Type' could not be inferred
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:23:83: error: generic parameter 'Axis' could not be inferred
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
   |                                                                                   |- error: generic parameter 'Axis' could not be inferred
   |                                                                                   `- note: explicitly specify the generic arguments to fix this issue
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:23:97: error: cannot infer contextual base in reference to member 'right'
21 |     @inlinable public var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(item, .bottom) }
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
   |                                                                                                 `- error: cannot infer contextual base in reference to member 'right'
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:24:85: error: generic parameter 'Type' could not be inferred
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
   |                                                                                     `- error: generic parameter 'Type' could not be inferred
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
26 |
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:24:85: error: generic parameter 'Axis' could not be inferred
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
   |                                                                                     |- error: generic parameter 'Axis' could not be inferred
   |                                                                                     `- note: explicitly specify the generic arguments to fix this issue
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
26 |
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:24:99: error: cannot infer contextual base in reference to member 'leading'
22 |     @inlinable public var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .left) }
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
   |                                                                                                   `- error: cannot infer contextual base in reference to member 'leading'
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
26 |
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:25:86: error: generic parameter 'Type' could not be inferred
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
   |                                                                                      `- error: generic parameter 'Type' could not be inferred
26 |
27 |     @inlinable public var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(item, .centerX) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:25:86: error: generic parameter 'Axis' could not be inferred
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
   |                                                                                      |- error: generic parameter 'Axis' could not be inferred
   |                                                                                      `- note: explicitly specify the generic arguments to fix this issue
26 |
27 |     @inlinable public var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(item, .centerX) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:25:100: error: cannot infer contextual base in reference to member 'trailing'
23 |     @inlinable public var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .right) }
24 |     @inlinable public var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .leading) }
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
   |                                                                                                    `- error: cannot infer contextual base in reference to member 'trailing'
26 |
27 |     @inlinable public var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(item, .centerX) }
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:27:87: error: generic parameter 'Type' could not be inferred
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
26 |
27 |     @inlinable public var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(item, .centerX) }
   |                                                                                       `- error: generic parameter 'Type' could not be inferred
28 |     @inlinable public var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(item, .centerY) }
29 |
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:27:87: error: generic parameter 'Axis' could not be inferred
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
26 |
27 |     @inlinable public var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(item, .centerX) }
   |                                                                                       |- error: generic parameter 'Axis' could not be inferred
   |                                                                                       `- note: explicitly specify the generic arguments to fix this issue
28 |     @inlinable public var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(item, .centerY) }
29 |
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:27:101: error: cannot infer contextual base in reference to member 'centerX'
25 |     @inlinable public var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(item, .trailing) }
26 |
27 |     @inlinable public var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(item, .centerX) }
   |                                                                                                     `- error: cannot infer contextual base in reference to member 'centerX'
28 |     @inlinable public var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(item, .centerY) }
29 |
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:28:85: error: generic parameter 'Type' could not be inferred
26 |
27 |     @inlinable public var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(item, .centerX) }
28 |     @inlinable public var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(item, .centerY) }
   |                                                                                     `- error: generic parameter 'Type' could not be inferred
29 |
30 |     @inlinable public var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .firstBaseline) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:28:85: error: generic parameter 'Axis' could not be inferred
26 |
27 |     @inlinable public var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(item, .centerX) }
28 |     @inlinable public var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(item, .centerY) }
   |                                                                                     |- error: generic parameter 'Axis' could not be inferred
   |                                                                                     `- note: explicitly specify the generic arguments to fix this issue
29 |
30 |     @inlinable public var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .firstBaseline) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:28:99: error: cannot infer contextual base in reference to member 'centerY'
26 |
27 |     @inlinable public var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(item, .centerX) }
28 |     @inlinable public var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(item, .centerY) }
   |                                                                                                   `- error: cannot infer contextual base in reference to member 'centerY'
29 |
30 |     @inlinable public var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .firstBaseline) }
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:30:93: error: generic parameter 'Type' could not be inferred
28 |     @inlinable public var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(item, .centerY) }
29 |
30 |     @inlinable public var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .firstBaseline) }
   |                                                                                             `- error: generic parameter 'Type' could not be inferred
31 |     @inlinable public var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .lastBaseline) }
32 |
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:30:93: error: generic parameter 'Axis' could not be inferred
28 |     @inlinable public var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(item, .centerY) }
29 |
30 |     @inlinable public var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .firstBaseline) }
   |                                                                                             |- error: generic parameter 'Axis' could not be inferred
   |                                                                                             `- note: explicitly specify the generic arguments to fix this issue
31 |     @inlinable public var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .lastBaseline) }
32 |
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:30:107: error: cannot infer contextual base in reference to member 'firstBaseline'
28 |     @inlinable public var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(item, .centerY) }
29 |
30 |     @inlinable public var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .firstBaseline) }
   |                                                                                                           `- error: cannot infer contextual base in reference to member 'firstBaseline'
31 |     @inlinable public var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .lastBaseline) }
32 |
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:31:92: error: generic parameter 'Type' could not be inferred
29 |
30 |     @inlinable public var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .firstBaseline) }
31 |     @inlinable public var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .lastBaseline) }
   |                                                                                            `- error: generic parameter 'Type' could not be inferred
32 |
33 |     @inlinable public var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(item, .width) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:31:92: error: generic parameter 'Axis' could not be inferred
29 |
30 |     @inlinable public var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .firstBaseline) }
31 |     @inlinable public var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .lastBaseline) }
   |                                                                                            |- error: generic parameter 'Axis' could not be inferred
   |                                                                                            `- note: explicitly specify the generic arguments to fix this issue
32 |
33 |     @inlinable public var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(item, .width) }
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:31:106: error: cannot infer contextual base in reference to member 'lastBaseline'
29 |
30 |     @inlinable public var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .firstBaseline) }
31 |     @inlinable public var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .lastBaseline) }
   |                                                                                                          `- error: cannot infer contextual base in reference to member 'lastBaseline'
32 |
33 |     @inlinable public var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(item, .width) }
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:33:88: error: generic parameter 'Type' could not be inferred
31 |     @inlinable public var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .lastBaseline) }
32 |
33 |     @inlinable public var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(item, .width) }
   |                                                                                        `- error: generic parameter 'Type' could not be inferred
34 |     @inlinable public var height: Anchor<AnchorType.Dimension, AnchorAxis.Vertical> { Anchor(item, .height) }
35 |
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:33:88: error: generic parameter 'Axis' could not be inferred
31 |     @inlinable public var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .lastBaseline) }
32 |
33 |     @inlinable public var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(item, .width) }
   |                                                                                        |- error: generic parameter 'Axis' could not be inferred
   |                                                                                        `- note: explicitly specify the generic arguments to fix this issue
34 |     @inlinable public var height: Anchor<AnchorType.Dimension, AnchorAxis.Vertical> { Anchor(item, .height) }
35 |
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:33:102: error: cannot infer contextual base in reference to member 'width'
31 |     @inlinable public var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(item, .lastBaseline) }
32 |
33 |     @inlinable public var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(item, .width) }
   |                                                                                                      `- error: cannot infer contextual base in reference to member 'width'
34 |     @inlinable public var height: Anchor<AnchorType.Dimension, AnchorAxis.Vertical> { Anchor(item, .height) }
35 |
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:34:87: error: generic parameter 'Type' could not be inferred
32 |
33 |     @inlinable public var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(item, .width) }
34 |     @inlinable public var height: Anchor<AnchorType.Dimension, AnchorAxis.Vertical> { Anchor(item, .height) }
   |                                                                                       `- error: generic parameter 'Type' could not be inferred
35 |
36 |     // MARK: Anchor Collections
/host/spi-builder-workspace/Sources/Anchor.swift:51:33: note: 'Type' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                 `- note: 'Type' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:34:87: error: generic parameter 'Axis' could not be inferred
32 |
33 |     @inlinable public var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(item, .width) }
34 |     @inlinable public var height: Anchor<AnchorType.Dimension, AnchorAxis.Vertical> { Anchor(item, .height) }
   |                                                                                       |- error: generic parameter 'Axis' could not be inferred
   |                                                                                       `- note: explicitly specify the generic arguments to fix this issue
35 |
36 |     // MARK: Anchor Collections
/host/spi-builder-workspace/Sources/Anchor.swift:51:39: note: 'Axis' declared as parameter to type 'Anchor'
 49 | /// - tip: `UIView` does not provide anchor properties for the layout margin attributes.
 50 | /// Instead, call `view.layoutMarginsGuide.anchors`.
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
    |                                       `- note: 'Axis' declared as parameter to type 'Anchor'
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
/host/spi-builder-workspace/Sources/LayoutAnchors.swift:34:101: error: cannot infer contextual base in reference to member 'height'
32 |
33 |     @inlinable public var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(item, .width) }
34 |     @inlinable public var height: Anchor<AnchorType.Dimension, AnchorAxis.Vertical> { Anchor(item, .height) }
   |                                                                                                     `- error: cannot infer contextual base in reference to member 'height'
35 |
36 |     // MARK: Anchor Collections
/host/spi-builder-workspace/Sources/LayoutItem.swift:75:11: error: cannot find type 'NSLayoutConstraint' in scope
73 | #endif
74 |
75 | extension NSLayoutConstraint.Relation {
   |           `- error: cannot find type 'NSLayoutConstraint' in scope
76 |     @usableFromInline var inverted: NSLayoutConstraint.Relation {
77 |         switch self {
[11/11] Compiling Align Anchor.swift
/host/spi-builder-workspace/Sources/LayoutItem.swift:16:33: error: cannot find type 'NSView' in scope
14 |     @_spi(Align) var superview: UIView? { get }
15 | #else
16 |     @_spi(Align) var superview: NSView? { get }
   |                                 `- error: cannot find type 'NSView' in scope
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Anchor.swift:53:38: error: cannot find type 'NSLayoutConstraint' in scope
 51 | @MainActor public struct Anchor<Type, Axis> { // type and axis are phantom types
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
    |                                      `- error: cannot find type 'NSLayoutConstraint' in scope
 54 |     @usableFromInline let offset: CGFloat
 55 |     @usableFromInline let multiplier: CGFloat
/host/spi-builder-workspace/Sources/Anchor.swift:54:35: error: cannot find type 'CGFloat' in scope
 52 |     @usableFromInline let item: LayoutItem
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
 54 |     @usableFromInline let offset: CGFloat
    |                                   `- error: cannot find type 'CGFloat' in scope
 55 |     @usableFromInline let multiplier: CGFloat
 56 |
/host/spi-builder-workspace/Sources/Anchor.swift:55:39: error: cannot find type 'CGFloat' in scope
 53 |     @usableFromInline let attribute: NSLayoutConstraint.Attribute
 54 |     @usableFromInline let offset: CGFloat
 55 |     @usableFromInline let multiplier: CGFloat
    |                                       `- error: cannot find type 'CGFloat' in scope
 56 |
 57 |     @inlinable init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
/host/spi-builder-workspace/Sources/Anchor.swift:57:54: error: cannot find type 'NSLayoutConstraint' in scope
 55 |     @usableFromInline let multiplier: CGFloat
 56 |
 57 |     @inlinable init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
    |                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
 58 |         self.item = item; self.attribute = attribute; self.offset = offset; self.multiplier = multiplier
 59 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:57:92: error: cannot find type 'CGFloat' in scope
 55 |     @usableFromInline let multiplier: CGFloat
 56 |
 57 |     @inlinable init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
    |                                                                                            `- error: cannot find type 'CGFloat' in scope
 58 |         self.item = item; self.attribute = attribute; self.offset = offset; self.multiplier = multiplier
 59 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:57:117: error: cannot find type 'CGFloat' in scope
 55 |     @usableFromInline let multiplier: CGFloat
 56 |
 57 |     @inlinable init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
    |                                                                                                                     `- error: cannot find type 'CGFloat' in scope
 58 |         self.item = item; self.attribute = attribute; self.offset = offset; self.multiplier = multiplier
 59 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:64:60: error: cannot find type 'CGFloat' in scope
 62 |     ///
 63 |     /// - tip: Consider using a convenience operator instead: `view.anchors.top + 10`.
 64 |     @inlinable public consuming func offsetting(by offset: CGFloat) -> Anchor {
    |                                                            `- error: cannot find type 'CGFloat' in scope
 65 |         Anchor(item, attribute, offset: self.offset + offset, multiplier: self.multiplier)
 66 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:71:64: error: cannot find type 'CGFloat' in scope
 69 |     ///
 70 |     /// - tip: Consider using a convenience operator instead: `view.anchors.height * 2`.
 71 |     @inlinable public consuming func multiplied(by multiplier: CGFloat) -> Anchor {
    |                                                                `- error: cannot find type 'CGFloat' in scope
 72 |         Anchor(item, attribute, offset: self.offset * multiplier, multiplier: self.multiplier * multiplier)
 73 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:77:96: error: cannot find type 'CGFloat' in scope
 75 |
 76 | /// Returns a new anchor offset by a given amount.
 77 | @MainActor @inlinable public func + <Type, Axis>(anchor: consuming Anchor<Type, Axis>, offset: CGFloat) -> Anchor<Type, Axis> {
    |                                                                                                `- error: cannot find type 'CGFloat' in scope
 78 |     anchor.offsetting(by: offset)
 79 | }
/host/spi-builder-workspace/Sources/Anchor.swift:82:96: error: cannot find type 'CGFloat' in scope
 80 |
 81 | /// Returns a new anchor offset by a given amount.
 82 | @MainActor @inlinable public func - <Type, Axis>(anchor: consuming Anchor<Type, Axis>, offset: CGFloat) -> Anchor<Type, Axis> {
    |                                                                                                `- error: cannot find type 'CGFloat' in scope
 83 |     anchor.offsetting(by: -offset)
 84 | }
/host/spi-builder-workspace/Sources/Anchor.swift:87:100: error: cannot find type 'CGFloat' in scope
 85 |
 86 | /// Returns a new anchor with a constant multiplied by the given amount.
 87 | @MainActor @inlinable public func * <Type, Axis>(anchor: consuming Anchor<Type, Axis>, multiplier: CGFloat) -> Anchor<Type, Axis> {
    |                                                                                                    `- error: cannot find type 'CGFloat' in scope
 88 |     anchor.multiplied(by: multiplier)
 89 | }
/host/spi-builder-workspace/Sources/Anchor.swift:92:97: error: cannot find type 'CGFloat' in scope
 90 |
 91 | /// Returns a new anchor with a constant divided by the given amount.
 92 | @MainActor @inlinable public func / <Type, Axis>(anchor: consuming Anchor<Type, Axis>, divisor: CGFloat) -> Anchor<Type, Axis> {
    |                                                                                                 `- error: cannot find type 'CGFloat' in scope
 93 |     anchor.multiplied(by: 1 / divisor)
 94 | }
/host/spi-builder-workspace/Sources/Anchor.swift:99:143: error: cannot find type 'CGFloat' in scope
 97 |
 98 | @MainActor public extension Anchor where Type: AlignmentAnchorKind {
 99 |     @inlinable @discardableResult consuming func equal<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                               `- error: cannot find type 'CGFloat' in scope
100 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
101 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:99:166: error: cannot find type 'LayoutPriority' in scope
 97 |
 98 | @MainActor public extension Anchor where Type: AlignmentAnchorKind {
 99 |     @inlinable @discardableResult consuming func equal<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                      `- error: cannot find type 'LayoutPriority' in scope
100 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
101 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:99:192: error: cannot find type 'NSLayoutConstraint' in scope
 97 |
 98 | @MainActor public extension Anchor where Type: AlignmentAnchorKind {
 99 |     @inlinable @discardableResult consuming func equal<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                `- error: cannot find type 'NSLayoutConstraint' in scope
100 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
101 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:103:156: error: cannot find type 'CGFloat' in scope
101 |     }
102 |
103 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                            `- error: cannot find type 'CGFloat' in scope
104 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
105 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:103:179: error: cannot find type 'LayoutPriority' in scope
101 |     }
102 |
103 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                   `- error: cannot find type 'LayoutPriority' in scope
104 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
105 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:103:205: error: cannot find type 'NSLayoutConstraint' in scope
101 |     }
102 |
103 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                             `- error: cannot find type 'NSLayoutConstraint' in scope
104 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
105 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:107:153: error: cannot find type 'CGFloat' in scope
105 |     }
106 |
107 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                         `- error: cannot find type 'CGFloat' in scope
108 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
109 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:107:176: error: cannot find type 'LayoutPriority' in scope
105 |     }
106 |
107 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                `- error: cannot find type 'LayoutPriority' in scope
108 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
109 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:107:202: error: cannot find type 'NSLayoutConstraint' in scope
105 |     }
106 |
107 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherType: AlignmentAnchorKind>(_ anchor: consuming Anchor<OtherType, Axis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                          `- error: cannot find type 'NSLayoutConstraint' in scope
108 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
109 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:115:138: error: cannot find type 'CGFloat' in scope
113 |
114 | @MainActor public extension Anchor where Type == AnchorType.Dimension {
115 |     @inlinable @discardableResult consuming func equal<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                          `- error: cannot find type 'CGFloat' in scope
116 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
117 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:115:161: error: cannot find type 'LayoutPriority' in scope
113 |
114 | @MainActor public extension Anchor where Type == AnchorType.Dimension {
115 |     @inlinable @discardableResult consuming func equal<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                 `- error: cannot find type 'LayoutPriority' in scope
116 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
117 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:115:187: error: cannot find type 'NSLayoutConstraint' in scope
113 |
114 | @MainActor public extension Anchor where Type == AnchorType.Dimension {
115 |     @inlinable @discardableResult consuming func equal<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
116 |         Constraints.add(self, anchor, constant: constant, relation: .equal, priority: priority)
117 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:119:151: error: cannot find type 'CGFloat' in scope
117 |     }
118 |
119 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                       `- error: cannot find type 'CGFloat' in scope
120 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
121 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:119:174: error: cannot find type 'LayoutPriority' in scope
117 |     }
118 |
119 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                              `- error: cannot find type 'LayoutPriority' in scope
120 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
121 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:119:200: error: cannot find type 'NSLayoutConstraint' in scope
117 |     }
118 |
119 |     @inlinable @discardableResult consuming func greaterThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
120 |         Constraints.add(self, anchor, constant: constant, relation: .greaterThanOrEqual, priority: priority)
121 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:123:148: error: cannot find type 'CGFloat' in scope
121 |     }
122 |
123 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                    `- error: cannot find type 'CGFloat' in scope
124 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
125 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:123:171: error: cannot find type 'LayoutPriority' in scope
121 |     }
122 |
123 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                           `- error: cannot find type 'LayoutPriority' in scope
124 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
125 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:123:197: error: cannot find type 'NSLayoutConstraint' in scope
121 |     }
122 |
123 |     @inlinable @discardableResult consuming func lessThanOrEqual<OtherAxis>(_ anchor: consuming Anchor<AnchorType.Dimension, OtherAxis>, constant: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
124 |         Constraints.add(self, anchor, constant: constant, relation: .lessThanOrEqual, priority: priority)
125 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:127:113: error: cannot find type 'NSLayoutConstraint' in scope
125 |     }
126 |
127 |     @inlinable @discardableResult consuming func equal(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
128 |         Constraints.add(item: item, attribute: attribute, relatedBy: .equal, constant: constant, priority: priority)
129 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:127:68: error: cannot find type 'CGFloat' in scope
125 |     }
126 |
127 |     @inlinable @discardableResult consuming func equal(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                    `- error: cannot find type 'CGFloat' in scope
128 |         Constraints.add(item: item, attribute: attribute, relatedBy: .equal, constant: constant, priority: priority)
129 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:127:87: error: cannot find type 'LayoutPriority' in scope
125 |     }
126 |
127 |     @inlinable @discardableResult consuming func equal(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                       `- error: cannot find type 'LayoutPriority' in scope
128 |         Constraints.add(item: item, attribute: attribute, relatedBy: .equal, constant: constant, priority: priority)
129 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:131:126: error: cannot find type 'NSLayoutConstraint' in scope
129 |     }
130 |
131 |     @inlinable @discardableResult consuming func greaterThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
132 |         Constraints.add(item: item, attribute: attribute, relatedBy: .greaterThanOrEqual, constant: constant, priority: priority)
133 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:131:81: error: cannot find type 'CGFloat' in scope
129 |     }
130 |
131 |     @inlinable @discardableResult consuming func greaterThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                 `- error: cannot find type 'CGFloat' in scope
132 |         Constraints.add(item: item, attribute: attribute, relatedBy: .greaterThanOrEqual, constant: constant, priority: priority)
133 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:131:100: error: cannot find type 'LayoutPriority' in scope
129 |     }
130 |
131 |     @inlinable @discardableResult consuming func greaterThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                    `- error: cannot find type 'LayoutPriority' in scope
132 |         Constraints.add(item: item, attribute: attribute, relatedBy: .greaterThanOrEqual, constant: constant, priority: priority)
133 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:135:123: error: cannot find type 'NSLayoutConstraint' in scope
133 |     }
134 |
135 |     @inlinable @discardableResult consuming func lessThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                           `- error: cannot find type 'NSLayoutConstraint' in scope
136 |         Constraints.add(item: item, attribute: attribute, relatedBy: .lessThanOrEqual, constant: constant, priority: priority)
137 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:135:78: error: cannot find type 'CGFloat' in scope
133 |     }
134 |
135 |     @inlinable @discardableResult consuming func lessThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                              `- error: cannot find type 'CGFloat' in scope
136 |         Constraints.add(item: item, attribute: attribute, relatedBy: .lessThanOrEqual, constant: constant, priority: priority)
137 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:135:97: error: cannot find type 'LayoutPriority' in scope
133 |     }
134 |
135 |     @inlinable @discardableResult consuming func lessThanOrEqual(_ constant: CGFloat, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                 `- error: cannot find type 'LayoutPriority' in scope
136 |         Constraints.add(item: item, attribute: attribute, relatedBy: .lessThanOrEqual, constant: constant, priority: priority)
137 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:140:126: error: cannot find type 'NSLayoutConstraint' in scope
138 |
139 |     /// Clamps the dimension of a view to the given limiting range.
140 |     @inlinable @discardableResult consuming func clamp(to limits: ClosedRange<CGFloat>, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
141 |         [(copy self).greaterThanOrEqual(limits.lowerBound, priority: priority), lessThanOrEqual(limits.upperBound, priority: priority)]
142 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:140:79: error: cannot find type 'CGFloat' in scope
138 |
139 |     /// Clamps the dimension of a view to the given limiting range.
140 |     @inlinable @discardableResult consuming func clamp(to limits: ClosedRange<CGFloat>, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                               `- error: cannot find type 'CGFloat' in scope
141 |         [(copy self).greaterThanOrEqual(limits.lowerBound, priority: priority), lessThanOrEqual(limits.upperBound, priority: priority)]
142 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:140:99: error: cannot find type 'LayoutPriority' in scope
138 |
139 |     /// Clamps the dimension of a view to the given limiting range.
140 |     @inlinable @discardableResult consuming func clamp(to limits: ClosedRange<CGFloat>, priority: LayoutPriority? = nil) -> [NSLayoutConstraint] {
    |                                                                                                   `- error: cannot find type 'LayoutPriority' in scope
141 |         [(copy self).greaterThanOrEqual(limits.lowerBound, priority: priority), lessThanOrEqual(limits.upperBound, priority: priority)]
142 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:154:191: error: cannot find type 'NSLayoutConstraint' in scope
152 | @MainActor public extension Anchor where Type == AnchorType.Edge {
153 |     /// Pins the edge to the respected edges of the given container.
154 |     @inlinable @discardableResult consuming func pin(to container: LayoutItem? = nil, inset: CGFloat = 0, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                               `- error: cannot find type 'NSLayoutConstraint' in scope
155 |         let isInverted: Bool = switch attribute {
156 |         case .trailing, .right, .bottom: true
/host/spi-builder-workspace/Sources/Anchor.swift:154:94: error: cannot find type 'CGFloat' in scope
152 | @MainActor public extension Anchor where Type == AnchorType.Edge {
153 |     /// Pins the edge to the respected edges of the given container.
154 |     @inlinable @discardableResult consuming func pin(to container: LayoutItem? = nil, inset: CGFloat = 0, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                              `- error: cannot find type 'CGFloat' in scope
155 |         let isInverted: Bool = switch attribute {
156 |         case .trailing, .right, .bottom: true
/host/spi-builder-workspace/Sources/Anchor.swift:154:117: error: cannot find type 'NSLayoutConstraint' in scope
152 | @MainActor public extension Anchor where Type == AnchorType.Edge {
153 |     /// Pins the edge to the respected edges of the given container.
154 |     @inlinable @discardableResult consuming func pin(to container: LayoutItem? = nil, inset: CGFloat = 0, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                     `- error: cannot find type 'NSLayoutConstraint' in scope
155 |         let isInverted: Bool = switch attribute {
156 |         case .trailing, .right, .bottom: true
/host/spi-builder-workspace/Sources/Anchor.swift:154:165: error: cannot find type 'LayoutPriority' in scope
152 | @MainActor public extension Anchor where Type == AnchorType.Edge {
153 |     /// Pins the edge to the respected edges of the given container.
154 |     @inlinable @discardableResult consuming func pin(to container: LayoutItem? = nil, inset: CGFloat = 0, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                     `- error: cannot find type 'LayoutPriority' in scope
155 |         let isInverted: Bool = switch attribute {
156 |         case .trailing, .right, .bottom: true
/host/spi-builder-workspace/Sources/Anchor.swift:164:214: error: cannot find type 'NSLayoutConstraint' in scope
162 |
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
/host/spi-builder-workspace/Sources/Anchor.swift:164:69: error: cannot find type 'CGFloat' in scope
162 |
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                     `- error: cannot find type 'CGFloat' in scope
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
/host/spi-builder-workspace/Sources/Anchor.swift:164:140: error: cannot find type 'NSLayoutConstraint' in scope
162 |
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                            `- error: cannot find type 'NSLayoutConstraint' in scope
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
/host/spi-builder-workspace/Sources/Anchor.swift:164:188: error: cannot find type 'LayoutPriority' in scope
162 |
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                                                                                            `- error: cannot find type 'LayoutPriority' in scope
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
/host/spi-builder-workspace/Sources/Anchor.swift:176:113: error: cannot find type 'NSLayoutConstraint' in scope
174 | @MainActor public extension Anchor where Type == AnchorType.Center {
175 |     /// Aligns the axis with a superview axis.
176 |     @inlinable @discardableResult consuming func align(offset: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                                                 `- error: cannot find type 'NSLayoutConstraint' in scope
177 |         Constraints.add(self, toItem: item._requireSuperview(), attribute: attribute, constant: offset, priority: priority)
178 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:176:64: error: cannot find type 'CGFloat' in scope
174 | @MainActor public extension Anchor where Type == AnchorType.Center {
175 |     /// Aligns the axis with a superview axis.
176 |     @inlinable @discardableResult consuming func align(offset: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                `- error: cannot find type 'CGFloat' in scope
177 |         Constraints.add(self, toItem: item._requireSuperview(), attribute: attribute, constant: offset, priority: priority)
178 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:176:87: error: cannot find type 'LayoutPriority' in scope
174 | @MainActor public extension Anchor where Type == AnchorType.Center {
175 |     /// Aligns the axis with a superview axis.
176 |     @inlinable @discardableResult consuming func align(offset: CGFloat = 0, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
    |                                                                                       `- error: cannot find type 'LayoutPriority' in scope
177 |         Constraints.add(self, toItem: item._requireSuperview(), attribute: attribute, constant: offset, priority: priority)
178 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:165:41: error: cannot infer contextual base in reference to member 'bottom'
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
    |                                         `- error: cannot infer contextual base in reference to member 'bottom'
166 |         (attribute == .right && anchor.attribute == .left) ||
167 |         (attribute == .trailing && anchor.attribute == .leading)
/host/spi-builder-workspace/Sources/Anchor.swift:165:72: error: cannot infer contextual base in reference to member 'top'
163 |     /// Adds spacing between the current anchors.
164 |     @inlinable @discardableResult consuming func spacing(_ spacing: CGFloat, to anchor: consuming Anchor<AnchorType.Edge, Axis>, relation: NSLayoutConstraint.Relation = .equal, priority: LayoutPriority? = nil) -> NSLayoutConstraint {
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
    |                                                                        `- error: cannot infer contextual base in reference to member 'top'
166 |         (attribute == .right && anchor.attribute == .left) ||
167 |         (attribute == .trailing && anchor.attribute == .leading)
/host/spi-builder-workspace/Sources/Anchor.swift:167:24: error: cannot infer contextual base in reference to member 'trailing'
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
167 |         (attribute == .trailing && anchor.attribute == .leading)
    |                        `- error: cannot infer contextual base in reference to member 'trailing'
168 |         return Constraints.add(self, anchor, constant: isInverted ? -spacing : spacing, relation: isInverted ? relation.inverted : relation, priority: priority)
169 |     }
/host/spi-builder-workspace/Sources/Anchor.swift:167:57: error: cannot infer contextual base in reference to member 'leading'
165 |         let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
166 |         (attribute == .right && anchor.attribute == .left) ||
167 |         (attribute == .trailing && anchor.attribute == .leading)
    |                                                         `- error: cannot infer contextual base in reference to member 'leading'
168 |         return Constraints.add(self, anchor, constant: isInverted ? -spacing : spacing, relation: isInverted ? relation.inverted : relation, priority: priority)
169 |     }
BUILD FAILURE 6.2 linux