The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CGLayout, reference 0.7.2 (c059f2), with Swift 6.4 for watchOS using Xcode 27.0 on 16 Sep 2026 07:25:00 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CGLayout-Package -destination generic/platform=watchOS

Build Log

326 |     /// - Returns: Converted rect
327 |     public func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                          `- error: cannot find type 'CGRect' in scope
328 |         return rect
329 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:327:44: error: cannot find type 'CGRect' in scope
325 |     ///   - coordinateSpace: Destination coordinate space
326 |     /// - Returns: Converted rect
327 |     public func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                            `- error: cannot find type 'CGRect' in scope
328 |         return rect
329 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:332:38: error: cannot find type 'CGRect' in scope
330 | }
331 | public extension AnonymConstraint {
332 |     init(transform: @escaping (inout CGRect) -> Void) {
    |                                      `- error: cannot find type 'CGRect' in scope
333 |         self.init(anchors: [Equal()]) {
334 |             var source = $0
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:237:68: error: cannot find type 'CGPoint' in scope
235 |         return converted
236 |     }
237 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                                                    `- error: cannot find type 'CGPoint' in scope
238 |         return Self.convert(point: point, from: self, to: item)
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:237:32: error: cannot find type 'CGPoint' in scope
235 |         return converted
236 |     }
237 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
238 |         return Self.convert(point: point, from: self, to: item)
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:241:70: error: cannot find type 'CGPoint' in scope
239 |     }
240 |
241 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:241:32: error: cannot find type 'CGPoint' in scope
239 |     }
240 |
241 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:244:66: error: cannot find type 'CGRect' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
244 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                                                                  `- error: cannot find type 'CGRect' in scope
245 |         var rect = rect
246 |         rect.origin = convert(point: rect.origin, to: item)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:244:31: error: cannot find type 'CGRect' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
244 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
245 |         var rect = rect
246 |         rect.origin = convert(point: rect.origin, to: item)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:249:68: error: cannot find type 'CGRect' in scope
247 |         return rect
248 |     }
249 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                                                                    `- error: cannot find type 'CGRect' in scope
250 |         var rect = rect
251 |         rect.origin = convert(point: rect.origin, from: item)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:249:31: error: cannot find type 'CGRect' in scope
247 |         return rect
248 |     }
249 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
250 |         var rect = rect
251 |         rect.origin = convert(point: rect.origin, from: item)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:309:45: error: no '??' candidates produce the expected contextual result type '_'
307 |     /// - Returns: Rect for constrain
308 |     public func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
309 |         return constrainRect?(currentSpace) ?? currentSpace
    |                                             `- error: no '??' candidates produce the expected contextual result type '_'
310 |     }
311 |
Swift.??:1:13: note: '??' produces '_', not the expected contextual result type '_'
1 | public func ?? <T>(optional: consuming T?, defaultValue: @autoclosure () throws -> T) rethrows -> T where T : ~Copyable
  |             `- note: '??' produces '_', not the expected contextual result type '_'
Swift.??:1:13: note: '??' produces 'T?', not the expected contextual result type '_'
1 | public func ?? <T>(optional: consuming T?, defaultValue: @autoclosure () throws -> T?) rethrows -> T? where T : ~Copyable
  |             `- note: '??' produces 'T?', not the expected contextual result type '_'
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:27:28: error: cannot find type 'CGRect' in scope
 25 | open class LayoutGuide<Super: LayoutElement>: LayoutElement, ElementInLayoutTime {
 26 |     public /// Internal layout space of super element
 27 |     var superLayoutBounds: CGRect { return superElement!.layoutBounds }
    |                            `- error: cannot find type 'CGRect' in scope
 28 |     public /// Entity that represents element in layout time
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:31:23: error: cannot find type 'CGRect' in scope
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
 30 |     public /// Internal space for layout subelements
 31 |     var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
    |                       `- error: cannot find type 'CGRect' in scope
 32 |
 33 |     /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:38:16: error: cannot find type 'CGRect' in scope
 36 |     }
 37 |     open /// External representation of layout entity in coordinate space
 38 |     var frame: CGRect {
    |                `- error: cannot find type 'CGRect' in scope
 39 |         didSet {
 40 | //            if oldValue != frame { bounds = contentRect(forFrame: frame) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:46:17: error: cannot find type 'CGRect' in scope
 44 |     }
 45 |     open /// Internal coordinate space of layout entity
 46 |     var bounds: CGRect { didSet { layout() } }
    |                 `- error: cannot find type 'CGRect' in scope
 47 |     open /// Layout element that maintained this layout entity
 48 |     weak var superElement: LayoutElement?
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:77:54: error: cannot find type 'CGRect' in scope
 75 |     /// - Parameter frame: New frame value.
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                      `- error: cannot find type 'CGRect' in scope
 78 |         return CGRect(origin: .zero, size: frame.size)
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:77:43: error: cannot find type 'CGRect' in scope
 75 |     /// - Parameter frame: New frame value.
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                           `- error: cannot find type 'CGRect' in scope
 78 |         return CGRect(origin: .zero, size: frame.size)
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:65:31: error: cannot find type 'CGRect' in scope
 63 |     ///
 64 |     /// - Parameter rect: Space for layout
 65 |     open func layout(in rect: CGRect) {
    |                               `- error: cannot find type 'CGRect' in scope
 66 |         // subclass override
 67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:52:24: error: cannot find type 'CGRect' in scope
 50 |     func removeFromSuperElement() { ownerElement = nil }
 51 |
 52 |     public init(frame: CGRect = .zero) {
    |                        `- error: cannot find type 'CGRect' in scope
 53 |         self.frame = frame
 54 |         self.bounds = CGRect(origin: .zero, size: frame.size)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:229:40: error: cannot find type 'CGRect' in scope
227 |     }
228 |
229 |     open override func layout(in rect: CGRect) {
    |                                        `- error: cannot find type 'CGRect' in scope
230 |         itemLayout.layout(in: rect)
231 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:31:39: error: cannot find 'CGRect' in scope
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
 30 |     public /// Internal space for layout subelements
 31 |     var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
    |                                       `- error: cannot find 'CGRect' in scope
 32 |
 33 |     /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:31:54: error: cannot find 'CGPoint' in scope
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
 30 |     public /// Internal space for layout subelements
 31 |     var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
    |                                                      `- error: cannot find 'CGPoint' in scope
 32 |
 33 |     /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |           `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:54:23: error: cannot find 'CGRect' in scope
 52 |     public init(frame: CGRect = .zero) {
 53 |         self.frame = frame
 54 |         self.bounds = CGRect(origin: .zero, size: frame.size)
    |                       `- error: cannot find 'CGRect' in scope
 55 |     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:78:16: error: cannot find 'CGRect' in scope
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
 78 |         return CGRect(origin: .zero, size: frame.size)
    |                `- error: cannot find 'CGRect' in scope
 79 |     }
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:48:32: error: cannot find type 'CGRect' in scope
 46 |     ///
 47 |     /// - Parameter sourceRect: Source space
 48 |     func layout(in sourceRect: CGRect)
    |                                `- error: cannot find type 'CGRect' in scope
 49 |
 50 |     /// Returns snapshot for all `LayoutElement` items in block. Attention: in during calculating snapshot frames of layout items must not changed.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:139:32: error: cannot find type 'CGRect' in scope
137 |     ///
138 |     /// - Parameter sourceRect: Source space
139 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
140 |         guard let item = item else { return debugWarning(LayoutBlock.message(forSkipped: self)) }
141 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-SwiftPerFileCompile layoutConstraint.cglayout.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-SwiftPerFileCompile layoutGuide.cglayout.swift
SwiftCompile normal arm64 Compiling\ deprecated.cglayout.swift,\ anchors.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/deprecated.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
 20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
 21 |     /// Frame of layout block represented as snapshot
 22 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 23 |     /// Snapshots of child layout blocks
 24 |     var childSnapshots: [LayoutSnapshotProtocol] { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:61: error: cannot find type 'CGPoint' in scope
 22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
    |                                                             `- error: cannot find type 'CGPoint' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:25: error: cannot find type 'CGPoint' in scope
 22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
    |                         `- error: cannot find type 'CGPoint' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:63: error: cannot find type 'CGPoint' in scope
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
    |                                                               `- error: cannot find type 'CGPoint' in scope
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:25: error: cannot find type 'CGPoint' in scope
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
    |                         `- error: cannot find type 'CGPoint' in scope
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:59: error: cannot find type 'CGRect' in scope
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
    |                                                           `- error: cannot find type 'CGRect' in scope
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:24: error: cannot find type 'CGRect' in scope
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
    |                        `- error: cannot find type 'CGRect' in scope
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:61: error: cannot find type 'CGRect' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
    |                                                             `- error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:24: error: cannot find type 'CGRect' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
    |                        `- error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:17: error: cannot find type 'CGRect' in scope
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
 29 |     var bounds: CGRect { get }
    |                 `- error: cannot find type 'CGRect' in scope
 30 |     var frame: CGRect { get }
 31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:16: error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
 30 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 31 | }
 32 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:32:88: error: cannot find type 'CGRect' in scope
 30 |     /// - Parameter coordinateSpace: Working coordinate space
 31 |     /// - Returns: Rect for constrain
 32 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect
    |                                                                                        `- error: cannot find type 'CGRect' in scope
 33 |     /// Converts rect from constraint coordinate space to destination coordinate space if needed.
 34 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:32:42: error: cannot find type 'CGRect' in scope
 30 |     /// - Parameter coordinateSpace: Working coordinate space
 31 |     /// - Returns: Rect for constrain
 32 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect
    |                                          `- error: cannot find type 'CGRect' in scope
 33 |     /// Converts rect from constraint coordinate space to destination coordinate space if needed.
 34 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:39:83: error: cannot find type 'CGRect' in scope
 37 |     ///   - coordinateSpace: Destination coordinate space
 38 |     /// - Returns: Converted rect
 39 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect
    |                                                                                   `- error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:39:37: error: cannot find type 'CGRect' in scope
 37 |     ///   - coordinateSpace: Destination coordinate space
 38 |     /// - Returns: Converted rect
 39 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect
    |                                     `- error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift:465:19: error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
463 |         anonymConstraint = anchor.equal(to: value)
464 |     }
465 |     mutating func boxed<LI: AnchoredLayoutElement, A2: SizeRectAnchor>(by a2: DimensionAnchor<LI, A2>, box: CGFloat)
    |                   `- error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
466 |         where Anchor.Metric == A2.Metric, Anchor.Metric == CGSize {
467 |             checkConflictsOnAddEqualConstraint()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift:470:19: error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
468 |             associatedConstraint = (a2.item, anchor.boxed(by: a2.anchor, box: box))
469 |     }
470 |     mutating func scaled<LI: AnchoredLayoutElement, A2: SizeRectAnchor>(by a2: DimensionAnchor<LI, A2>, scale: CGFloat)
    |                   `- error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
471 |         where Anchor.Metric == A2.Metric, Anchor.Metric == CGSize {
472 |             checkConflictsOnAddEqualConstraint()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:288:66: error: cannot find type 'CGRect' in scope
286 |     let constrainRect: ((CGRect) -> CGRect)?
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
289 |         self.anchors = anchors
290 |         self.constrainRect = constrainRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:288:77: error: cannot find type 'CGRect' in scope
286 |     let constrainRect: ((CGRect) -> CGRect)?
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                             `- error: cannot find type 'CGRect' in scope
289 |         self.anchors = anchors
290 |         self.constrainRect = constrainRect
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/deprecated.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-SwiftPerFileCompile deprecated.cglayout.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-SwiftPerFileCompile anchors.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:332:38: error: cannot find type 'CGRect' in scope
330 | }
331 | public extension AnonymConstraint {
332 |     init(transform: @escaping (inout CGRect) -> Void) {
    |                                      `- error: cannot find type 'CGRect' in scope
333 |         self.init(anchors: [Equal()]) {
334 |             var source = $0
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:53:17: error: no type for 'Self.Metric' can satisfy both 'Self.Metric == CGSize' and 'Self.Metric : Equatable'
 51 |         return AnyRectBasedConstraint { source, _ in self.set(value, for: &source) }
 52 |     }
 53 |     public func boxed<A2: SizeRectAnchor>(by a2: A2, box: CGFloat) -> AnyRectBasedConstraint
    |                 `- error: no type for 'Self.Metric' can satisfy both 'Self.Metric == CGSize' and 'Self.Metric : Equatable'
 54 |         where Metric == A2.Metric, Metric == CGSize {
 55 |             return AnyRectBasedConstraint { self.set(a2.get(for: $1) - box, for: &$0) }
SwiftEmitModule normal arm64 Emitting\ module\ for\ CGLayout (in target 'CGLayout' from project 'CGLayout')
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |           `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |           `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:34: error: cannot find type 'CGSize' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:11: error: cannot find type 'CGSize' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |           `- error: cannot find type 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:22: error: cannot find type 'CGFloat' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 89 |
 90 | extension CGPoint {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:90:11: error: cannot find type 'CGPoint' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
 90 | extension CGPoint {
    |           `- error: cannot find type 'CGPoint' in scope
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:95:11: error: cannot find type 'CGRect' in scope
 93 | }
 94 |
 95 | extension CGRect {
    |           `- error: cannot find type 'CGRect' in scope
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:104:11: error: cannot find type 'CGRect' in scope
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
104 | extension CGRect {
    |           `- error: cannot find type 'CGRect' in scope
105 |     mutating func apply(edgeInsets: EdgeInsets) {
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:71: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                                       `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:34: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                  `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:56: error: cannot find type 'EdgeInsets' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                        `- error: cannot find type 'EdgeInsets' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:131:11: error: cannot find type 'EdgeInsets' in scope
129 | #endif
130 |
131 | extension EdgeInsets {
    |           `- error: cannot find type 'EdgeInsets' in scope
132 |     var horizontal: CGFloat { return left + right }
133 |     var vertical: CGFloat { return top + bottom }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:61: error: cannot find type 'CGPoint' in scope
 22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
    |                                                             `- error: cannot find type 'CGPoint' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:25: error: cannot find type 'CGPoint' in scope
 22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
    |                         `- error: cannot find type 'CGPoint' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:63: error: cannot find type 'CGPoint' in scope
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
    |                                                               `- error: cannot find type 'CGPoint' in scope
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:25: error: cannot find type 'CGPoint' in scope
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
    |                         `- error: cannot find type 'CGPoint' in scope
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:59: error: cannot find type 'CGRect' in scope
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
    |                                                           `- error: cannot find type 'CGRect' in scope
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:24: error: cannot find type 'CGRect' in scope
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
    |                        `- error: cannot find type 'CGRect' in scope
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:61: error: cannot find type 'CGRect' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
    |                                                             `- error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:24: error: cannot find type 'CGRect' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
    |                        `- error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:17: error: cannot find type 'CGRect' in scope
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
 29 |     var bounds: CGRect { get }
    |                 `- error: cannot find type 'CGRect' in scope
 30 |     var frame: CGRect { get }
 31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:16: error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
 30 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 31 | }
 32 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:220:96: error: cannot find type 'CGPoint' in scope
218 |
219 | extension LayoutCoordinateSpace where Self: LayoutElement {
220 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                                                                                `- error: cannot find type 'CGPoint' in scope
221 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
222 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:220:44: error: cannot find type 'CGPoint' in scope
218 |
219 | extension LayoutCoordinateSpace where Self: LayoutElement {
220 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                            `- error: cannot find type 'CGPoint' in scope
221 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
222 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:237:68: error: cannot find type 'CGPoint' in scope
235 |         return converted
236 |     }
237 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                                                    `- error: cannot find type 'CGPoint' in scope
238 |         return Self.convert(point: point, from: self, to: item)
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:237:32: error: cannot find type 'CGPoint' in scope
235 |         return converted
236 |     }
237 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
238 |         return Self.convert(point: point, from: self, to: item)
239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:241:70: error: cannot find type 'CGPoint' in scope
239 |     }
240 |
241 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:241:32: error: cannot find type 'CGPoint' in scope
239 |     }
240 |
241 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:244:66: error: cannot find type 'CGRect' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
244 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                                                                  `- error: cannot find type 'CGRect' in scope
245 |         var rect = rect
246 |         rect.origin = convert(point: rect.origin, to: item)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:244:31: error: cannot find type 'CGRect' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
244 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
245 |         var rect = rect
246 |         rect.origin = convert(point: rect.origin, to: item)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:249:68: error: cannot find type 'CGRect' in scope
247 |         return rect
248 |     }
249 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                                                                    `- error: cannot find type 'CGRect' in scope
250 |         var rect = rect
251 |         rect.origin = convert(point: rect.origin, from: item)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:249:31: error: cannot find type 'CGRect' in scope
247 |         return rect
248 |     }
249 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
250 |         var rect = rect
251 |         rect.origin = convert(point: rect.origin, from: item)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:32:88: error: cannot find type 'CGRect' in scope
 30 |     /// - Parameter coordinateSpace: Working coordinate space
 31 |     /// - Returns: Rect for constrain
 32 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect
    |                                                                                        `- error: cannot find type 'CGRect' in scope
 33 |     /// Converts rect from constraint coordinate space to destination coordinate space if needed.
 34 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:32:42: error: cannot find type 'CGRect' in scope
 30 |     /// - Parameter coordinateSpace: Working coordinate space
 31 |     /// - Returns: Rect for constrain
 32 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect
    |                                          `- error: cannot find type 'CGRect' in scope
 33 |     /// Converts rect from constraint coordinate space to destination coordinate space if needed.
 34 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:39:83: error: cannot find type 'CGRect' in scope
 37 |     ///   - coordinateSpace: Destination coordinate space
 38 |     /// - Returns: Converted rect
 39 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect
    |                                                                                   `- error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:39:37: error: cannot find type 'CGRect' in scope
 37 |     ///   - coordinateSpace: Destination coordinate space
 38 |     /// - Returns: Converted rect
 39 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect
    |                                     `- error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:341:17: error: cannot find type 'EdgeInsets' in scope
 339 |     case bottom(Bottom)
 340 |     case size(Size)
 341 |     case insets(EdgeInsets)
     |                 `- error: cannot find type 'EdgeInsets' in scope
 342 |     case equal(CGRect)
 343 |     case equally
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:424:17: error: cannot find type 'EdgeInsets' in scope
 422 | /// - Returns: Inset constraint
 423 | public struct Inset: RectBasedConstraint {
 424 |     let insets: EdgeInsets
     |                 `- error: cannot find type 'EdgeInsets' in scope
 425 |     public init(_ insets: EdgeInsets) {
 426 |         self.insets = insets
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:425:27: error: cannot find type 'EdgeInsets' in scope
 423 | public struct Inset: RectBasedConstraint {
 424 |     let insets: EdgeInsets
 425 |     public init(_ insets: EdgeInsets) {
     |                           `- error: cannot find type 'EdgeInsets' in scope
 426 |         self.insets = insets
 427 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift:465:19: error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
463 |         anonymConstraint = anchor.equal(to: value)
464 |     }
465 |     mutating func boxed<LI: AnchoredLayoutElement, A2: SizeRectAnchor>(by a2: DimensionAnchor<LI, A2>, box: CGFloat)
    |                   `- error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
466 |         where Anchor.Metric == A2.Metric, Anchor.Metric == CGSize {
467 |             checkConflictsOnAddEqualConstraint()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift:470:19: error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
468 |             associatedConstraint = (a2.item, anchor.boxed(by: a2.anchor, box: box))
469 |     }
470 |     mutating func scaled<LI: AnchoredLayoutElement, A2: SizeRectAnchor>(by a2: DimensionAnchor<LI, A2>, scale: CGFloat)
    |                   `- error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
471 |         where Anchor.Metric == A2.Metric, Anchor.Metric == CGSize {
472 |             checkConflictsOnAddEqualConstraint()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:53:17: error: no type for 'Self.Metric' can satisfy both 'Self.Metric == CGSize' and 'Self.Metric : Equatable'
 51 |         return AnyRectBasedConstraint { source, _ in self.set(value, for: &source) }
 52 |     }
 53 |     public func boxed<A2: SizeRectAnchor>(by a2: A2, box: CGFloat) -> AnyRectBasedConstraint
    |                 `- error: no type for 'Self.Metric' can satisfy both 'Self.Metric == CGSize' and 'Self.Metric : Equatable'
 54 |         where Metric == A2.Metric, Metric == CGSize {
 55 |             return AnyRectBasedConstraint { self.set(a2.get(for: $1) - box, for: &$0) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:57:17: error: no type for 'Self.Metric' can satisfy both 'Self.Metric == CGSize' and 'Self.Metric : Equatable'
 55 |             return AnyRectBasedConstraint { self.set(a2.get(for: $1) - box, for: &$0) }
 56 |     }
 57 |     public func scaled<A2: SizeRectAnchor>(by a2: A2, scale: CGFloat) -> AnyRectBasedConstraint
    |                 `- error: no type for 'Self.Metric' can satisfy both 'Self.Metric == CGSize' and 'Self.Metric : Equatable'
 58 |         where Metric == A2.Metric, Metric == CGSize {
 59 |             return AnyRectBasedConstraint { self.set(a2.get(for: $1) * scale, for: &$0) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:90:1: error: no type for 'Self.Metric' can satisfy both 'Self.Metric == CGSize' and 'Self.Metric : Equatable'
 88 | }
 89 | extension SizeRectAnchor where Metric == CGFloat {}
 90 | extension SizeRectAnchor where Metric == CGSize {
    | `- error: no type for 'Self.Metric' can satisfy both 'Self.Metric == CGSize' and 'Self.Metric : Equatable'
 91 |     public func set(_ value: CGSize, for rect: inout CGRect) { rect.size = value }
 92 |     public func get(for rect: CGRect) -> CGSize { return rect.size }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: error: type 'CenterAnchor' does not conform to protocol 'AnyRectAnchor'
 76 |
 77 | public protocol AnyRectAnchor {
 78 |     associatedtype Metric: Equatable
    |                    `- note: unable to infer associated type 'Metric' for protocol 'AnyRectAnchor'
 79 | //    func set(_ value: Metric, for rect: inout CGRect)
 80 |     func get(for rect: CGRect) -> Metric
    :
177 |     public func get(for rect: CGRect) -> CGFloat { return get(rect) }
178 | }
179 | public struct CenterAnchor: RectAnchorPoint {
    |               `- error: type 'CenterAnchor' does not conform to protocol 'AnyRectAnchor'
180 |     public let axis = CGRectAxis.xy
181 |     public var horizontal: AxisCenterAnchor<CGRectAxis.Horizontal> { return .horizontal }
    :
191 |     }
192 |
193 |     public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
    |                 `- note: candidate would match and infer 'Metric' = 'CGPoint' if 'CGPoint' conformed to 'Equatable'
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: error: type 'OriginAnchor' does not conform to protocol 'AnyRectAnchor'
 76 |
 77 | public protocol AnyRectAnchor {
 78 |     associatedtype Metric: Equatable
    |                    `- note: unable to infer associated type 'Metric' for protocol 'AnyRectAnchor'
 79 | //    func set(_ value: Metric, for rect: inout CGRect)
 80 |     func get(for rect: CGRect) -> Metric
    :
193 |     public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
    |               `- error: type 'OriginAnchor' does not conform to protocol 'AnyRectAnchor'
196 |     public let axis = CGRectAxis.xy
197 |     let horizontalAnchor: HorizontalAnchor
    :
207 |     }
208 |
209 |     public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
    |                 `- note: candidate would match and infer 'Metric' = 'CGPoint' if 'CGPoint' conformed to 'Equatable'
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: error: type 'SizeAnchor' does not conform to protocol 'AnyRectAnchor'
 76 |
 77 | public protocol AnyRectAnchor {
 78 |     associatedtype Metric: Equatable
    |                    `- note: protocol requires nested type 'Metric'
 79 | //    func set(_ value: Metric, for rect: inout CGRect)
 80 |     func get(for rect: CGRect) -> Metric
    :
209 |     public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
    |               |- error: type 'SizeAnchor' does not conform to protocol 'AnyRectAnchor'
    |               `- note: add stubs for conformance
212 |     public typealias Metric = CGSize
    |                      `- note: possibly intended match 'SizeAnchor.Metric' (aka 'CGSize') does not conform to 'Equatable'
213 | }
214 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:331:25: error: type 'CGPoint' does not conform to protocol 'Equatable'
329 |     static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 |     static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 |     static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
    |                         `- error: type 'CGPoint' does not conform to protocol 'Equatable'
332 |     static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 |     static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:334:23: error: type 'CGSize' does not conform to protocol 'Equatable'
332 |     static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 |     static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 |     static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
    |                       `- error: type 'CGSize' does not conform to protocol 'Equatable'
335 | }
336 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
 20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
 21 |     /// Frame of layout block represented as snapshot
 22 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 23 |     /// Snapshots of child layout blocks
 24 |     var childSnapshots: [LayoutSnapshotProtocol] { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:26:11: error: cannot find type 'CGRect' in scope
 24 |     var childSnapshots: [LayoutSnapshotProtocol] { get }
 25 | }
 26 | extension CGRect: LayoutSnapshotProtocol {
    |           `- error: cannot find type 'CGRect' in scope
 27 |     /// Returns self value
 28 |     public var frame: CGRect { return self }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:39:22: error: cannot find type 'CGRect' in scope
 37 |     /// Snapshot for current state without recalculating
 38 |     var currentSnapshot: LayoutSnapshotProtocol { get }
 39 |     var currentRect: CGRect { get }
    |                      `- error: cannot find type 'CGRect' in scope
 40 |
 41 |     /// Calculate and apply frames layout items.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:48:32: error: cannot find type 'CGRect' in scope
 46 |     ///
 47 |     /// - Parameter sourceRect: Source space
 48 |     func layout(in sourceRect: CGRect)
    |                                `- error: cannot find type 'CGRect' in scope
 49 |
 50 |     /// Returns snapshot for all `LayoutElement` items in block. Attention: in during calculating snapshot frames of layout items must not changed.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:54:35: error: cannot find type 'CGRect' in scope
 52 |     /// - Parameter sourceRect: Source space for layout
 53 |     /// - Returns: Snapshot that contains frames layout items
 54 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol
    |                                   `- error: cannot find type 'CGRect' in scope
 55 |
 56 |     /// Returns snapshot for all `LayoutElement` items in block. Does not call this method directly outside `LayoutBlockProtocol` object.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:63:35: error: cannot find type 'CGRect' in scope
 61 |     ///   - completedRects: `LayoutElement` items with corrected frame
 62 |     /// - Returns: Snapshot that contains frames layout items
 63 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol
    |                                   `- error: cannot find type 'CGRect' in scope
 64 |
 65 |     /// Applying frames from snapshot to `LayoutElement` items in this block.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:63:78: error: cannot find type 'CGRect' in scope
 61 |     ///   - completedRects: `LayoutElement` items with corrected frame
 62 |     /// - Returns: Snapshot that contains frames layout items
 63 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol
    |                                                                              `- error: cannot find type 'CGRect' in scope
 64 |
 65 |     /// Applying frames from snapshot to `LayoutElement` items in this block.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:80:35: error: cannot find type 'CGRect' in scope
 78 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 79 |     /// - Returns: Snapshot that contains frames layout items
 80 |     func snapshot(for sourceRect: CGRect, constrainRects: [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
 81 |         var completedRects = constrainRects
 82 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:80:72: error: cannot find type 'CGRect' in scope
 78 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 79 |     /// - Returns: Snapshot that contains frames layout items
 80 |     func snapshot(for sourceRect: CGRect, constrainRects: [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                        `- error: cannot find type 'CGRect' in scope
 81 |         var completedRects = constrainRects
 82 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:117:29: error: cannot find type 'CGRect' in scope
115 |         return item.inLayoutTime.frame
116 |     }
117 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
118 |         guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
119 |         return item.inLayoutTime.frame
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:139:32: error: cannot find type 'CGRect' in scope
137 |     ///
138 |     /// - Parameter sourceRect: Source space
139 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
140 |         guard let item = item else { return debugWarning(LayoutBlock.message(forSkipped: self)) }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:149:35: error: cannot find type 'CGRect' in scope
147 |     /// - Parameter sourceRect: Source space for layout
148 |     /// - Returns: Snapshot contained frames layout elements
149 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
150 |         guard let inLayout = item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
151 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:162:35: error: cannot find type 'CGRect' in scope
160 |     ///   - completedRects: `LayoutElement` elements with corrected frame
161 |     /// - Returns: Frame of this block
162 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
163 |         guard let item = item, let inLayout = self.item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:162:78: error: cannot find type 'CGRect' in scope
160 |     ///   - completedRects: `LayoutElement` elements with corrected frame
161 |     /// - Returns: Frame of this block
162 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                              `- error: cannot find type 'CGRect' in scope
163 |         guard let item = item, let inLayout = self.item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:218:29: error: cannot find type 'CGRect' in scope
216 |     }
217 |
218 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
219 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
220 |         return blocks.reduce(nil) { return $0?.union($1.currentRect) ?? $1.currentRect }!
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:232:32: error: cannot find type 'CGRect' in scope
230 |     ///
231 |     /// - Parameter sourceRect: Source space
232 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
233 |         blocks.forEach { $0.layout(in: sourceRect) }
234 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:251:35: error: cannot find type 'CGRect' in scope
249 |     /// - Parameter sourceRect: Source space for layout
250 |     /// - Returns: Snapshot contained frames layout elements
251 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
252 |         var completedFrames: [(AnyObject, CGRect)] = []
253 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:263:35: error: cannot find type 'CGRect' in scope
261 |     ///   - completedRects: `LayoutElement` elements with corrected frame
262 |     /// - Returns: Frame of this block
263 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
264 |         var snapshotFrame: CGRect?
265 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:263:78: error: cannot find type 'CGRect' in scope
261 |     ///   - completedRects: `LayoutElement` elements with corrected frame
262 |     /// - Returns: Frame of this block
263 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                              `- error: cannot find type 'CGRect' in scope
264 |         var snapshotFrame: CGRect?
265 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:42:47: error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
 42 |     internal func constrain(sourceRect: inout CGRect, in coordinateSpace: LayoutElement) {
    |                                               `- error: cannot find type 'CGRect' in scope
 43 |         formConstrain(sourceRect: &sourceRect, by: constrainRect(for: sourceRect, in: coordinateSpace))
 44 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:88:88: error: cannot find type 'CGRect' in scope
 86 |     /// - Parameter coordinateSpace: Working coordinate space
 87 |     /// - Returns: Rect for constrain
 88 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                        `- error: cannot find type 'CGRect' in scope
 89 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:88:42: error: cannot find type 'CGRect' in scope
 86 |     /// - Parameter coordinateSpace: Working coordinate space
 87 |     /// - Returns: Rect for constrain
 88 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                          `- error: cannot find type 'CGRect' in scope
 89 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:99:42: error: cannot find type 'CGRect' in scope
 97 |     ///   - sourceRect: Source space
 98 |     ///   - rect: Rect for constrain
 99 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
100 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:99:59: error: cannot find type 'CGRect' in scope
 97 |     ///   - sourceRect: Source space
 98 |     ///   - rect: Rect for constrain
 99 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
100 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:109:83: error: cannot find type 'CGRect' in scope
107 |     ///   - coordinateSpace: Destination coordinate space
108 |     /// - Returns: Converted rect
109 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
110 |         guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:109:37: error: cannot find type 'CGRect' in scope
107 |     ///   - coordinateSpace: Destination coordinate space
108 |     /// - Returns: Converted rect
109 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
110 |         guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:145:88: error: cannot find type 'CGRect' in scope
143 |     /// - Parameter coordinateSpace: Working coordinate space
144 |     /// - Returns: Rect for constrain
145 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                        `- error: cannot find type 'CGRect' in scope
146 |         return currentSpace
147 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:145:42: error: cannot find type 'CGRect' in scope
143 |     /// - Parameter coordinateSpace: Working coordinate space
144 |     /// - Returns: Rect for constrain
145 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                          `- error: cannot find type 'CGRect' in scope
146 |         return currentSpace
147 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:154:42: error: cannot find type 'CGRect' in scope
152 |     ///   - sourceRect: Source space
153 |     ///   - rect: Rect for constrain
154 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
155 |         guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
156 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:154:59: error: cannot find type 'CGRect' in scope
152 |     ///   - sourceRect: Source space
153 |     ///   - rect: Rect for constrain
154 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
155 |         guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
156 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:168:83: error: cannot find type 'CGRect' in scope
166 |     ///   - coordinateSpace: Destination coordinate space
167 |     /// - Returns: Converted rect
168 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
169 |         return rect
170 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:168:37: error: cannot find type 'CGRect' in scope
166 |     ///   - coordinateSpace: Destination coordinate space
167 |     /// - Returns: Converted rect
168 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
169 |         return rect
170 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:203:88: error: cannot find type 'CGRect' in scope
201 |     /// - Parameter coordinateSpace: Working coordinate space
202 |     /// - Returns: Rect for constrain
203 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                        `- error: cannot find type 'CGRect' in scope
204 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
205 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:203:42: error: cannot find type 'CGRect' in scope
201 |     /// - Parameter coordinateSpace: Working coordinate space
202 |     /// - Returns: Rect for constrain
203 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                          `- error: cannot find type 'CGRect' in scope
204 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
205 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:214:42: error: cannot find type 'CGRect' in scope
212 |     ///   - sourceRect: Source space
213 |     ///   - rect: Rect for constrain
214 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
215 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
216 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:214:59: error: cannot find type 'CGRect' in scope
212 |     ///   - sourceRect: Source space
213 |     ///   - rect: Rect for constrain
214 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
215 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
216 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:224:83: error: cannot find type 'CGRect' in scope
222 |     ///   - coordinateSpace: Destination coordinate space
223 |     /// - Returns: Converted rect
224 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
225 |         guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
226 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:224:37: error: cannot find type 'CGRect' in scope
222 |     ///   - coordinateSpace: Destination coordinate space
223 |     /// - Returns: Converted rect
224 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
225 |         guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
226 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:257:42: error: cannot find type 'CGRect' in scope
255 |     ///   - sourceRect: Source space
256 |     ///   - rect: Rect for constrain
257 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
    |                                          `- error: cannot find type 'CGRect' in scope
258 |
259 |     public /// Converts rect from constraint coordinate space to destination coordinate space if needed.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:257:59: error: cannot find type 'CGRect' in scope
255 |     ///   - sourceRect: Source space
256 |     ///   - rect: Rect for constrain
257 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
    |                                                           `- error: cannot find type 'CGRect' in scope
258 |
259 |     public /// Converts rect from constraint coordinate space to destination coordinate space if needed.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:265:83: error: cannot find type 'CGRect' in scope
263 |     ///   - coordinateSpace: Destination coordinate space
264 |     /// - Returns: Converted rect
265 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect { return base.convert(rectIfNeeded: rect, to: coordinateSpace) }
    |                                                                                   `- error: cannot find type 'CGRect' in scope
266 |
267 |     public /// Return rectangle for constrain source rect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:265:37: error: cannot find type 'CGRect' in scope
263 |     ///   - coordinateSpace: Destination coordinate space
264 |     /// - Returns: Converted rect
265 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect { return base.convert(rectIfNeeded: rect, to: coordinateSpace) }
    |                                     `- error: cannot find type 'CGRect' in scope
266 |
267 |     public /// Return rectangle for constrain source rect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:272:88: error: cannot find type 'CGRect' in scope
270 |     /// - Parameter coordinateSpace: Working coordinate space
271 |     /// - Returns: Rect for constrain
272 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect { return base.constrainRect(for: currentSpace, in: coordinateSpace) }
    |                                                                                        `- error: cannot find type 'CGRect' in scope
273 |
274 |     public /// `LayoutElement` object associated with this constraint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:272:42: error: cannot find type 'CGRect' in scope
270 |     /// - Parameter coordinateSpace: Working coordinate space
271 |     /// - Returns: Rect for constrain
272 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect { return base.constrainRect(for: currentSpace, in: coordinateSpace) }
    |                                          `- error: cannot find type 'CGRect' in scope
273 |
274 |     public /// `LayoutElement` object associated with this constraint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:286:26: error: cannot find type 'CGRect' in scope
284 | public struct AnonymConstraint: LayoutConstraintProtocol {
285 |     let anchors: [RectBasedConstraint]
286 |     let constrainRect: ((CGRect) -> CGRect)?
    |                          `- error: cannot find type 'CGRect' in scope
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:286:37: error: cannot find type 'CGRect' in scope
284 | public struct AnonymConstraint: LayoutConstraintProtocol {
285 |     let anchors: [RectBasedConstraint]
286 |     let constrainRect: ((CGRect) -> CGRect)?
    |                                     `- error: cannot find type 'CGRect' in scope
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:288:66: error: cannot find type 'CGRect' in scope
286 |     let constrainRect: ((CGRect) -> CGRect)?
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
289 |         self.anchors = anchors
290 |         self.constrainRect = constrainRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:288:77: error: cannot find type 'CGRect' in scope
286 |     let constrainRect: ((CGRect) -> CGRect)?
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                             `- error: cannot find type 'CGRect' in scope
289 |         self.anchors = anchors
290 |         self.constrainRect = constrainRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:308:95: error: cannot find type 'CGRect' in scope
306 |     /// - Parameter coordinateSpace: Working coordinate space
307 |     /// - Returns: Rect for constrain
308 |     public func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                               `- error: cannot find type 'CGRect' in scope
309 |         return constrainRect?(currentSpace) ?? currentSpace
310 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:308:49: error: cannot find type 'CGRect' in scope
306 |     /// - Parameter coordinateSpace: Working coordinate space
307 |     /// - Returns: Rect for constrain
308 |     public func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                 `- error: cannot find type 'CGRect' in scope
309 |         return constrainRect?(currentSpace) ?? currentSpace
310 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:317:49: error: cannot find type 'CGRect' in scope
315 |     ///   - sourceRect: Source space
316 |     ///   - rect: Rect for constrain
317 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                 `- error: cannot find type 'CGRect' in scope
318 |         sourceRect = anchors.reduce(sourceRect) { $1.constrained(sourceRect: $0, by: rect) }
319 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:317:66: error: cannot find type 'CGRect' in scope
315 |     ///   - sourceRect: Source space
316 |     ///   - rect: Rect for constrain
317 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
318 |         sourceRect = anchors.reduce(sourceRect) { $1.constrained(sourceRect: $0, by: rect) }
319 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:327:90: error: cannot find type 'CGRect' in scope
325 |     ///   - coordinateSpace: Destination coordinate space
326 |     /// - Returns: Converted rect
327 |     public func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                          `- error: cannot find type 'CGRect' in scope
328 |         return rect
329 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:327:44: error: cannot find type 'CGRect' in scope
325 |     ///   - coordinateSpace: Destination coordinate space
326 |     /// - Returns: Converted rect
327 |     public func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                            `- error: cannot find type 'CGRect' in scope
328 |         return rect
329 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:332:38: error: cannot find type 'CGRect' in scope
330 | }
331 | public extension AnonymConstraint {
332 |     init(transform: @escaping (inout CGRect) -> Void) {
    |                                      `- error: cannot find type 'CGRect' in scope
333 |         self.init(anchors: [Equal()]) {
334 |             var source = $0
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:27:28: error: cannot find type 'CGRect' in scope
 25 | open class LayoutGuide<Super: LayoutElement>: LayoutElement, ElementInLayoutTime {
 26 |     public /// Internal layout space of super element
 27 |     var superLayoutBounds: CGRect { return superElement!.layoutBounds }
    |                            `- error: cannot find type 'CGRect' in scope
 28 |     public /// Entity that represents element in layout time
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:31:23: error: cannot find type 'CGRect' in scope
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
 30 |     public /// Internal space for layout subelements
 31 |     var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
    |                       `- error: cannot find type 'CGRect' in scope
 32 |
 33 |     /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:38:16: error: cannot find type 'CGRect' in scope
 36 |     }
 37 |     open /// External representation of layout entity in coordinate space
 38 |     var frame: CGRect {
    |                `- error: cannot find type 'CGRect' in scope
 39 |         didSet {
 40 | //            if oldValue != frame { bounds = contentRect(forFrame: frame) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:46:17: error: cannot find type 'CGRect' in scope
 44 |     }
 45 |     open /// Internal coordinate space of layout entity
 46 |     var bounds: CGRect { didSet { layout() } }
    |                 `- error: cannot find type 'CGRect' in scope
 47 |     open /// Layout element that maintained this layout entity
 48 |     weak var superElement: LayoutElement?
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:77:54: error: cannot find type 'CGRect' in scope
 75 |     /// - Parameter frame: New frame value.
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                      `- error: cannot find type 'CGRect' in scope
 78 |         return CGRect(origin: .zero, size: frame.size)
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:77:43: error: cannot find type 'CGRect' in scope
 75 |     /// - Parameter frame: New frame value.
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                           `- error: cannot find type 'CGRect' in scope
 78 |         return CGRect(origin: .zero, size: frame.size)
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:65:31: error: cannot find type 'CGRect' in scope
 63 |     ///
 64 |     /// - Parameter rect: Space for layout
 65 |     open func layout(in rect: CGRect) {
    |                               `- error: cannot find type 'CGRect' in scope
 66 |         // subclass override
 67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:52:24: error: cannot find type 'CGRect' in scope
 50 |     func removeFromSuperElement() { ownerElement = nil }
 51 |
 52 |     public init(frame: CGRect = .zero) {
    |                        `- error: cannot find type 'CGRect' in scope
 53 |         self.frame = frame
 54 |         self.bounds = CGRect(origin: .zero, size: frame.size)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:229:40: error: cannot find type 'CGRect' in scope
227 |     }
228 |
229 |     open override func layout(in rect: CGRect) {
    |                                        `- error: cannot find type 'CGRect' in scope
230 |         itemLayout.layout(in: rect)
231 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:33:42: error: cannot find type 'CGRect' in scope
31 |     }
32 |
33 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                          `- error: cannot find type 'CGRect' in scope
34 |         constraints.forEach { $0.formConstrain(sourceRect: &sourceRect, by: rect) }
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:33:59: error: cannot find type 'CGRect' in scope
31 |     }
32 |
33 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                                           `- error: cannot find type 'CGRect' in scope
34 |         constraints.forEach { $0.formConstrain(sourceRect: &sourceRect, by: rect) }
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:41:16: error: cannot find type 'CGRect' in scope
39 | internal struct LayoutSnapshot: LayoutSnapshotProtocol {
40 |     let childSnapshots: [LayoutSnapshotProtocol]
41 |     let frame: CGRect
   |                `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:46:42: error: cannot find type 'CGRect' in scope
44 | internal struct _SizeThatFitsConstraint: RectBasedConstraint {
45 |     weak var item: AdaptiveLayoutElement!
46 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                          `- error: cannot find type 'CGRect' in scope
47 |         sourceRect.size = item.sizeThatFits(rect.size)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:46:59: error: cannot find type 'CGRect' in scope
44 | internal struct _SizeThatFitsConstraint: RectBasedConstraint {
45 |     weak var item: AdaptiveLayoutElement!
46 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                                           `- error: cannot find type 'CGRect' in scope
47 |         sourceRect.size = item.sizeThatFits(rect.size)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:52:42: error: cannot find type 'CGRect' in scope
50 | internal struct _MainThreadSizeThatFitsConstraint: RectBasedConstraint {
51 |     weak var item: AdaptiveLayoutElement!
52 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                          `- error: cannot find type 'CGRect' in scope
53 |         sourceRect.size = syncGuard(mainThread: item.sizeThatFits(rect.size))
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:52:59: error: cannot find type 'CGRect' in scope
50 | internal struct _MainThreadSizeThatFitsConstraint: RectBasedConstraint {
51 |     weak var item: AdaptiveLayoutElement!
52 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                                           `- error: cannot find type 'CGRect' in scope
53 |         sourceRect.size = syncGuard(mainThread: item.sizeThatFits(rect.size))
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:58:23: error: cannot find type 'CGRect' in scope
56 |
57 | internal struct _MainThreadItemInLayoutTime<Item: LayoutElement>: ElementInLayoutTime {
58 |     var layoutBounds: CGRect { return syncGuard(mainThread: { item.layoutBounds }) }
   |                       `- error: cannot find type 'CGRect' in scope
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:59:28: error: cannot find type 'CGRect' in scope
57 | internal struct _MainThreadItemInLayoutTime<Item: LayoutElement>: ElementInLayoutTime {
58 |     var layoutBounds: CGRect { return syncGuard(mainThread: { item.layoutBounds }) }
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
   |                            `- error: cannot find type 'CGRect' in scope
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
61 |     var frame: CGRect {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:61:16: error: cannot find type 'CGRect' in scope
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
61 |     var frame: CGRect {
   |                `- error: cannot find type 'CGRect' in scope
62 |         set {
63 |             let item = self.item
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:68:17: error: cannot find type 'CGRect' in scope
66 |         get { return syncGuard { item.frame } }
67 |     }
68 |     var bounds: CGRect {
   |                 `- error: cannot find type 'CGRect' in scope
69 |         set {
70 |             let item = self.item
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:33:29: error: cannot find type 'CGPoint' in scope
 31 |
 32 |     /// Point that defines offset for content origin
 33 |     open var contentOffset: CGPoint { set { bounds.origin = newValue } get { return bounds.origin } }
    |                             `- error: cannot find type 'CGPoint' in scope
 34 |     /// Size of content
 35 |     open var contentSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:35:27: error: cannot find type 'CGSize' in scope
 33 |     open var contentOffset: CGPoint { set { bounds.origin = newValue } get { return bounds.origin } }
 34 |     /// Size of content
 35 |     open var contentSize: CGSize = .zero
    |                           `- error: cannot find type 'CGSize' in scope
 36 |     open var contentInset: EdgeInsets = .zero {
 37 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:36:28: error: cannot find type 'EdgeInsets' in scope
 34 |     /// Size of content
 35 |     open var contentSize: CGSize = .zero
 36 |     open var contentInset: EdgeInsets = .zero {
    |                            `- error: cannot find type 'EdgeInsets' in scope
 37 |         didSet {
 38 |             if oldValue != contentInset {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:42:33: error: cannot find 'CGPoint' in scope
 40 |                 let y = contentInset.top - oldValue.top
 41 |
 42 |                 contentOffset = CGPoint(x: contentOffset.x - x, y: contentOffset.y - y)
    |                                 `- error: cannot find 'CGPoint' in scope
 43 |             }
 44 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:47:39: error: cannot find type 'CGRect' in scope
 45 |     }
 46 |
 47 |     override public var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x - contentOffset.x, y: frame.origin.y - contentOffset.y), size: contentSize) }
    |                                       `- error: cannot find type 'CGRect' in scope
 48 |     /// Performs layout for subelements, which this layout guide manages, in layout space rect
 49 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:51:40: error: cannot find type 'CGRect' in scope
 49 |     ///
 50 |     /// - Parameter rect: Space for layout
 51 |     override open func layout(in rect: CGRect) {
    |                                        `- error: cannot find type 'CGRect' in scope
 52 |         super.layout(in: rect)
 53 |         layout.layout(in: rect)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:60:63: error: cannot find type 'CGRect' in scope
 58 |     /// - Parameter frame: New frame value.
 59 |     /// - Returns: Content rect
 60 |     override open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                               `- error: cannot find type 'CGRect' in scope
 61 |         //        var contentRect = bounds
 62 |         //        let lFrame = layoutBounds
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:60:52: error: cannot find type 'CGRect' in scope
 58 |     /// - Parameter frame: New frame value.
 59 |     /// - Returns: Content rect
 60 |     override open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                    `- error: cannot find type 'CGRect' in scope
 61 |         //        var contentRect = bounds
 62 |         //        let lFrame = layoutBounds
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:71:28: error: cannot find type 'CGPoint' in scope
 69 | }
 70 | public extension ScrollLayoutGuide {
 71 |     func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
    |                            `- error: cannot find type 'CGPoint' in scope
 72 |         guard let translation = translation else {
 73 |             return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:71:50: error: cannot find type 'CGPoint' in scope
 69 | }
 70 | public extension ScrollLayoutGuide {
 71 |     func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
    |                                                  `- error: cannot find type 'CGPoint' in scope
 72 |         guard let translation = translation else {
 73 |             return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:71:70: error: cannot find type 'CGPoint' in scope
 69 | }
 70 | public extension ScrollLayoutGuide {
 71 |     func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
 72 |         guard let translation = translation else {
 73 |             return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:131:77: error: cannot find type 'CGFloat' in scope
129 |
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
    |                                                                             `- error: cannot find type 'CGFloat' in scope
132 |     let constant: CGFloat = 0.55
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:131:43: error: cannot find type 'CGFloat' in scope
129 |
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
    |                                           `- error: cannot find type 'CGFloat' in scope
132 |     let constant: CGFloat = 0.55
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:131:65: error: cannot find type 'CGFloat' in scope
129 |
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
    |                                                                 `- error: cannot find type 'CGFloat' in scope
132 |     let constant: CGFloat = 0.55
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:71: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                                                       `- error: cannot find type 'CGFloat' in scope
139 |     if t <= 0 {
140 |         return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:29: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                             `- error: cannot find type 'CGFloat' in scope
139 |     if t <= 0 {
140 |         return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:45: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                             `- error: cannot find type 'CGFloat' in scope
139 |     if t <= 0 {
140 |         return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:59: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                                           `- error: cannot find type 'CGFloat' in scope
139 |     if t <= 0 {
140 |         return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:68: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                                                    `- error: cannot find type 'CGFloat' in scope
151 |     if t <= 0 {
152 |         return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:26: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                          `- error: cannot find type 'CGFloat' in scope
151 |     if t <= 0 {
152 |         return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:42: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                          `- error: cannot find type 'CGFloat' in scope
151 |     if t <= 0 {
152 |         return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:56: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                                        `- error: cannot find type 'CGFloat' in scope
151 |     if t <= 0 {
152 |         return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:164:20: error: cannot find type 'TimeInterval' in scope
162 |
163 | protocol ScrollAnimation {
164 |     var beginTime: TimeInterval { get set }
    |                    `- error: cannot find type 'TimeInterval' in scope
165 | }
166 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:168:25: error: cannot find type 'TimeInterval' in scope
166 |
167 | struct ScrollAnimationDecelerationComponent {
168 |     var decelerateTime: TimeInterval
    |                         `- error: cannot find type 'TimeInterval' in scope
169 |     var position: CGFloat
170 |     var velocity: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:169:19: error: cannot find type 'CGFloat' in scope
167 | struct ScrollAnimationDecelerationComponent {
168 |     var decelerateTime: TimeInterval
169 |     var position: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
170 |     var velocity: CGFloat
171 |     var returnTime: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:170:19: error: cannot find type 'CGFloat' in scope
168 |     var decelerateTime: TimeInterval
169 |     var position: CGFloat
170 |     var velocity: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
171 |     var returnTime: TimeInterval
172 |     var returnFrom: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:171:21: error: cannot find type 'TimeInterval' in scope
169 |     var position: CGFloat
170 |     var velocity: CGFloat
171 |     var returnTime: TimeInterval
    |                     `- error: cannot find type 'TimeInterval' in scope
172 |     var returnFrom: CGFloat
173 |     var bounced: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:172:21: error: cannot find type 'CGFloat' in scope
170 |     var velocity: CGFloat
171 |     var returnTime: TimeInterval
172 |     var returnFrom: CGFloat
    |                     `- error: cannot find type 'CGFloat' in scope
173 |     var bounced: Bool
174 |     var bouncing: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:176:29: error: cannot find type 'TimeInterval' in scope
174 |     var bouncing: Bool
175 |
176 |     mutating func bounce(t: TimeInterval, to: CGFloat) -> Bool {
    |                             `- error: cannot find type 'TimeInterval' in scope
177 |         if bounced && returnTime != 0 {
178 |             let returnBounceTime: TimeInterval = min(1, ((t - returnTime) / returnAnimationDuration))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:176:47: error: cannot find type 'CGFloat' in scope
174 |     var bouncing: Bool
175 |
176 |     mutating func bounce(t: TimeInterval, to: CGFloat) -> Bool {
    |                                               `- error: cannot find type 'CGFloat' in scope
177 |         if bounced && returnTime != 0 {
178 |             let returnBounceTime: TimeInterval = min(1, ((t - returnTime) / returnAnimationDuration))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:203:49: error: cannot find type 'CGFloat' in scope
201 |     }
202 |
203 |     mutating func animateBounce(_ offset: inout CGFloat, begin beginTime: TimeInterval, to targetOffset: CGFloat) {
    |                                                 `- error: cannot find type 'CGFloat' in scope
204 |         let currentTime: TimeInterval = Date.timeIntervalSinceReferenceDate
205 |         bouncing = true
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:203:75: error: cannot find type 'TimeInterval' in scope
201 |     }
202 |
203 |     mutating func animateBounce(_ offset: inout CGFloat, begin beginTime: TimeInterval, to targetOffset: CGFloat) {
    |                                                                           `- error: cannot find type 'TimeInterval' in scope
204 |         let currentTime: TimeInterval = Date.timeIntervalSinceReferenceDate
205 |         bouncing = true
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:203:106: error: cannot find type 'CGFloat' in scope
201 |     }
202 |
203 |     mutating func animateBounce(_ offset: inout CGFloat, begin beginTime: TimeInterval, to targetOffset: CGFloat) {
    |                                                                                                          `- error: cannot find type 'CGFloat' in scope
204 |         let currentTime: TimeInterval = Date.timeIntervalSinceReferenceDate
205 |         bouncing = true
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:215:51: error: cannot find type 'CGFloat' in scope
213 | }
214 |
215 | private let minimumBounceVelocityBeforeReturning: CGFloat = 100
    |                                                   `- error: cannot find type 'CGFloat' in scope
216 | private let returnAnimationDuration: TimeInterval = 0.6
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:216:38: error: cannot find type 'TimeInterval' in scope
214 |
215 | private let minimumBounceVelocityBeforeReturning: CGFloat = 100
216 | private let returnAnimationDuration: TimeInterval = 0.6
    |                                      `- error: cannot find type 'TimeInterval' in scope
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
218 | private let springTightness: CGFloat = 0.3
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:217:30: error: cannot find type 'TimeInterval' in scope
215 | private let minimumBounceVelocityBeforeReturning: CGFloat = 100
216 | private let returnAnimationDuration: TimeInterval = 0.6
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
    |                              `- error: cannot find type 'TimeInterval' in scope
218 | private let springTightness: CGFloat = 0.3
219 | private let springDampening: CGFloat = 15
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:218:30: error: cannot find type 'CGFloat' in scope
216 | private let returnAnimationDuration: TimeInterval = 0.6
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
218 | private let springTightness: CGFloat = 0.3
    |                              `- error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:219:30: error: cannot find type 'CGFloat' in scope
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
218 | private let springTightness: CGFloat = 0.3
219 | private let springDampening: CGFloat = 15
    |                              `- error: cannot find type 'CGFloat' in scope
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:63: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
    |                                                               `- error: cannot find type 'CGFloat' in scope
222 |     return (v < min) ? min : (v > max) ? max : v
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:23: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
    |                       `- error: cannot find type 'CGFloat' in scope
222 |     return (v < min) ? min : (v > max) ? max : v
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:37: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
    |                                     `- error: cannot find type 'CGFloat' in scope
222 |     return (v < min) ? min : (v > max) ? max : v
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:51: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
    |                                                   `- error: cannot find type 'CGFloat' in scope
222 |     return (v < min) ? min : (v > max) ? max : v
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:225:44: error: cannot find type 'CGFloat' in scope
223 | }
224 |
225 | private func ClampedVelocty(v: CGFloat) -> CGFloat {
    |                                            `- error: cannot find type 'CGFloat' in scope
226 |     let V: CGFloat = 500
227 |     return Clamp(v: v, min: -V, max: V)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:225:32: error: cannot find type 'CGFloat' in scope
223 | }
224 |
225 | private func ClampedVelocty(v: CGFloat) -> CGFloat {
    |                                `- error: cannot find type 'CGFloat' in scope
226 |     let V: CGFloat = 500
227 |     return Clamp(v: v, min: -V, max: V)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:125: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                                                                                                                             `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:31: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                               `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:50: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                                                  `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:73: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                                                                         `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:93: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                                                                                             `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:113: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                                                                                                                 `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:236:62: error: cannot find type 'CGPoint' in scope
234 |
235 | extension ScrollLayoutGuide {
236 |     func _confinedContentOffset(_ contentOffset: CGPoint) -> CGPoint {
    |                                                              `- error: cannot find type 'CGPoint' in scope
237 |         let scrollerBounds: CGRect = EdgeInsetsInsetRect(bounds, contentInset)
238 |         var contentOffset = contentOffset
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:236:50: error: cannot find type 'CGPoint' in scope
234 |
235 | extension ScrollLayoutGuide {
236 |     func _confinedContentOffset(_ contentOffset: CGPoint) -> CGPoint {
    |                                                  `- error: cannot find type 'CGPoint' in scope
237 |         let scrollerBounds: CGRect = EdgeInsetsInsetRect(bounds, contentInset)
238 |         var contentOffset = contentOffset
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:255:48: error: cannot find type 'CGPoint' in scope
253 |         return contentOffset
254 |     }
255 |     func _setRestrainedContentOffset(_ offset: CGPoint) {
    |                                                `- error: cannot find type 'CGPoint' in scope
256 |         var offset = offset
257 |         let confinedOffset: CGPoint = _confinedContentOffset(offset)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:272:35: error: cannot find type 'TimeInterval' in scope
270 |     private var x: ScrollAnimationDecelerationComponent
271 |     private var y: ScrollAnimationDecelerationComponent
272 |     private var lastMomentumTime: TimeInterval
    |                                   `- error: cannot find type 'TimeInterval' in scope
273 |     private(set) weak var scrollGuide: ScrollLayoutGuide<Item>!
274 |     var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:274:20: error: cannot find type 'TimeInterval' in scope
272 |     private var lastMomentumTime: TimeInterval
273 |     private(set) weak var scrollGuide: ScrollLayoutGuide<Item>!
274 |     var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
    |                    `- error: cannot find type 'TimeInterval' in scope
275 |
276 |     let timeInterval: CGFloat = 1/60
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:274:35: error: cannot find 'Date' in scope
272 |     private var lastMomentumTime: TimeInterval
273 |     private(set) weak var scrollGuide: ScrollLayoutGuide<Item>!
274 |     var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
    |                                   `- error: cannot find 'Date' in scope
275 |
276 |     let timeInterval: CGFloat = 1/60
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:276:23: error: cannot find type 'CGFloat' in scope
274 |     var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
275 |
276 |     let timeInterval: CGFloat = 1/60
    |                       `- error: cannot find type 'CGFloat' in scope
277 |     let startVelocity: CGPoint
278 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:277:24: error: cannot find type 'CGPoint' in scope
275 |
276 |     let timeInterval: CGFloat = 1/60
277 |     let startVelocity: CGPoint
    |                        `- error: cannot find type 'CGPoint' in scope
278 |
279 |     public var bounces: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:280:70: error: cannot find type 'CGPoint' in scope
278 |
279 |     public var bounces: Bool
280 |     public init(scrollGuide sg: ScrollLayoutGuide<Item>, velocity v: CGPoint, bounces: Bool) {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
281 |         self.scrollGuide = sg
282 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:87: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                                                                                       `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:29: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                             `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:53: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                                                     `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:112: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                                `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:36: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                    `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:60: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                            `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:99: error: cannot find type 'CGFloat' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                   `- error: cannot find type 'CGFloat' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:113: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                                 `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:37: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                     `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:61: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                             `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:100: error: cannot find type 'CGFloat' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                    `- error: cannot find type 'CGFloat' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:86: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                                                      `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:28: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                            `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:52: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                    `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:81: error: cannot find type 'CGFloat' in scope
 45 | }
 46 |
 47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
    |                                                                                 `- error: cannot find type 'CGFloat' in scope
 48 |     let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
 49 |     return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:24: error: cannot find type 'CGRect' in scope
 45 | }
 46 |
 47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
    |                        `- error: cannot find type 'CGRect' in scope
 48 |     let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
 49 |     return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:48: error: cannot find type 'CGRect' in scope
 45 | }
 46 |
 47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
    |                                                `- error: cannot find type 'CGRect' in scope
 48 |     let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
 49 |     return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:55:20: error: cannot find type 'CGFloat' in scope
 53 |     public enum Spacing {
 54 |         case equally
 55 |         case equal(CGFloat)
    |                    `- error: cannot find type 'CGFloat' in scope
 56 |     }
 57 |     public struct Alignment: RectAxisLayout {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:68:46: error: cannot find type 'CGFloat' in scope
 66 |         }
 67 |
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
    |                                              `- error: cannot find type 'CGFloat' in scope
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:69:47: error: cannot find type 'CGFloat' in scope
 67 |
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
    |                                               `- error: cannot find type 'CGFloat' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:70:45: error: cannot find type 'CGFloat' in scope
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
    |                                             `- error: cannot find type 'CGFloat' in scope
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:72:44: error: cannot find type 'CGRect' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
    |                                            `- error: cannot find type 'CGRect' in scope
 73 |             layout.formLayout(rect: &rect, in: source)
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:72:63: error: cannot find type 'CGRect' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
    |                                                               `- error: cannot find type 'CGRect' in scope
 73 |             layout.formLayout(rect: &rect, in: source)
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:88:20: error: cannot find type 'CGFloat' in scope
 86 |     public enum Filling {
 87 |         case equally
 88 |         case equal(CGFloat)
    |                    `- error: cannot find type 'CGFloat' in scope
 89 |     }
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:94: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                                                              `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:36: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                    `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:60: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                            `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:193:29: error: cannot find type 'CGRect' in scope
191 |         }, frame: snapshotFrame ?? .zero)
192 |     }
193 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
194 |         let items = self.items()
195 |         guard items.count > 0 else { fatalError(StackLayoutScheme.message(forNotActive: self)) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:211:32: error: cannot find type 'CGRect' in scope
209 |     ///
210 |     /// - Parameter sourceRect: Source space
211 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
212 |         let subItems = items()
213 |         let frames = distribution.distribute(rects: subItems.map { $0.inLayoutTime.frame }, in: sourceRect, along: axis)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:232:35: error: cannot find type 'CGRect' in scope
230 |     /// - Parameter sourceRect: Source space for layout
231 |     /// - Returns: Snapshot contained frames layout items
232 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
233 |         var completedFrames: [(AnyObject, CGRect)] = []
234 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:244:35: error: cannot find type 'CGRect' in scope
242 |     ///   - completedRects: `LayoutItem` items with corrected frame
243 |     /// - Returns: Frame of this block
244 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
245 |         let subItems = items()
246 |         let frames = distribution.distribute(
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:244:78: error: cannot find type 'CGRect' in scope
242 |     ///   - completedRects: `LayoutItem` items with corrected frame
243 |     /// - Returns: Frame of this block
244 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                              `- error: cannot find type 'CGRect' in scope
245 |         let subItems = items()
246 |         let frames = distribution.distribute(
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:271:29: error: cannot find type 'EdgeInsets' in scope
269 |     open var arrangedItems: [LayoutElement] { return items }
270 |     /// Insets for distribution space
271 |     open var contentInsets: EdgeInsets = .zero {
    |                             `- error: cannot find type 'EdgeInsets' in scope
272 |         didSet { insetAnchor = Inset(contentInsets) }
273 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:299:40: error: cannot find type 'CGRect' in scope
297 |     ///
298 |     /// - Parameter rect: Space for layout
299 |     override open func layout(in rect: CGRect) {
    |                                        `- error: cannot find type 'CGRect' in scope
300 |         super.layout(in: rect)
301 |         scheme.layout(in: rect)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:308:63: error: cannot find type 'CGRect' in scope
306 |     /// - Parameter frame: New frame value.
307 |     /// - Returns: Content rect
308 |     open override func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                               `- error: cannot find type 'CGRect' in scope
309 |         let lFrame = super.contentRect(forFrame: frame)
310 |         return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:308:52: error: cannot find type 'CGRect' in scope
306 |     /// - Parameter frame: New frame value.
307 |     /// - Returns: Content rect
308 |     open override func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                    `- error: cannot find type 'CGRect' in scope
309 |         let lFrame = super.contentRect(forFrame: frame)
310 |         return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:317:42: error: cannot find type 'CGSize' in scope
315 |     /// - Parameter size: The size for which the view should calculate its best-fitting size
316 |     /// - Returns: A new size that fits the receiver’s content
317 |     func sizeThatFits(_ size: CGSize) -> CGSize {
    |                                          `- error: cannot find type 'CGSize' in scope
318 |         let sourceRect = CGRect(origin: .zero, size: size)
319 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:317:31: error: cannot find type 'CGSize' in scope
315 |     /// - Parameter size: The size for which the view should calculate its best-fitting size
316 |     /// - Returns: A new size that fits the receiver’s content
317 |     func sizeThatFits(_ size: CGSize) -> CGSize {
    |                               `- error: cannot find type 'CGSize' in scope
318 |         let sourceRect = CGRect(origin: .zero, size: size)
319 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/container.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/deprecated.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/system.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift -target arm64-apple-watchos27.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -swift-version 4.2 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/DerivedSources -Xcc -DSWIFT_PACKAGE\=1 -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CGLayout -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name watchos27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout.abi.json
SwiftCompile normal arm64 (in target 'CGLayout' from project 'CGLayout')
    cd /Users/admin/builder/spi-builder-workspace

SwiftCompile normal arm64 Compiling\ stack.layoutGuide.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:87: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                                                                                       `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:29: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                             `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:53: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                                                     `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:112: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                                `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:36: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                    `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:60: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                            `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:99: error: cannot find type 'CGFloat' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                   `- error: cannot find type 'CGFloat' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:113: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                                 `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:37: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                     `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:61: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                             `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:100: error: cannot find type 'CGFloat' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                    `- error: cannot find type 'CGFloat' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:86: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                                                      `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:28: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                            `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:52: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                    `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:81: error: cannot find type 'CGFloat' in scope
 45 | }
 46 |
 47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
    |                                                                                 `- error: cannot find type 'CGFloat' in scope
 48 |     let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
 49 |     return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:24: error: cannot find type 'CGRect' in scope
 45 | }
 46 |
 47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
    |                        `- error: cannot find type 'CGRect' in scope
 48 |     let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
 49 |     return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:48: error: cannot find type 'CGRect' in scope
 45 | }
 46 |
 47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
    |                                                `- error: cannot find type 'CGRect' in scope
 48 |     let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
 49 |     return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:55:20: error: cannot find type 'CGFloat' in scope
 53 |     public enum Spacing {
 54 |         case equally
 55 |         case equal(CGFloat)
    |                    `- error: cannot find type 'CGFloat' in scope
 56 |     }
 57 |     public struct Alignment: RectAxisLayout {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:68:46: error: cannot find type 'CGFloat' in scope
 66 |         }
 67 |
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
    |                                              `- error: cannot find type 'CGFloat' in scope
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:69:47: error: cannot find type 'CGFloat' in scope
 67 |
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
    |                                               `- error: cannot find type 'CGFloat' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:70:45: error: cannot find type 'CGFloat' in scope
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
    |                                             `- error: cannot find type 'CGFloat' in scope
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:72:44: error: cannot find type 'CGRect' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
    |                                            `- error: cannot find type 'CGRect' in scope
 73 |             layout.formLayout(rect: &rect, in: source)
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:72:63: error: cannot find type 'CGRect' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
    |                                                               `- error: cannot find type 'CGRect' in scope
 73 |             layout.formLayout(rect: &rect, in: source)
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:88:20: error: cannot find type 'CGFloat' in scope
 86 |     public enum Filling {
 87 |         case equally
 88 |         case equal(CGFloat)
    |                    `- error: cannot find type 'CGFloat' in scope
 89 |     }
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:94: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                                                              `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:36: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                    `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:60: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                            `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:61: error: cannot find type 'CGPoint' in scope
 22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
    |                                                             `- error: cannot find type 'CGPoint' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:25: error: cannot find type 'CGPoint' in scope
 22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
    |                         `- error: cannot find type 'CGPoint' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:63: error: cannot find type 'CGPoint' in scope
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
    |                                                               `- error: cannot find type 'CGPoint' in scope
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:25: error: cannot find type 'CGPoint' in scope
 23 | public protocol LayoutCoordinateSpace {
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
    |                         `- error: cannot find type 'CGPoint' in scope
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:59: error: cannot find type 'CGRect' in scope
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
    |                                                           `- error: cannot find type 'CGRect' in scope
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:24: error: cannot find type 'CGRect' in scope
 24 |     func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
    |                        `- error: cannot find type 'CGRect' in scope
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:61: error: cannot find type 'CGRect' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
    |                                                             `- error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:24: error: cannot find type 'CGRect' in scope
 25 |     func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
 26 |     func convert(rect: CGRect, to item: LayoutElement) -> CGRect
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
    |                        `- error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:17: error: cannot find type 'CGRect' in scope
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
 29 |     var bounds: CGRect { get }
    |                 `- error: cannot find type 'CGRect' in scope
 30 |     var frame: CGRect { get }
 31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:16: error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
 30 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 31 | }
 32 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
 20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
 21 |     /// Frame of layout block represented as snapshot
 22 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 23 |     /// Snapshots of child layout blocks
 24 |     var childSnapshots: [LayoutSnapshotProtocol] { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:193:29: error: cannot find type 'CGRect' in scope
191 |         }, frame: snapshotFrame ?? .zero)
192 |     }
193 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
194 |         let items = self.items()
195 |         guard items.count > 0 else { fatalError(StackLayoutScheme.message(forNotActive: self)) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:211:32: error: cannot find type 'CGRect' in scope
209 |     ///
210 |     /// - Parameter sourceRect: Source space
211 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
212 |         let subItems = items()
213 |         let frames = distribution.distribute(rects: subItems.map { $0.inLayoutTime.frame }, in: sourceRect, along: axis)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:232:35: error: cannot find type 'CGRect' in scope
230 |     /// - Parameter sourceRect: Source space for layout
231 |     /// - Returns: Snapshot contained frames layout items
232 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
233 |         var completedFrames: [(AnyObject, CGRect)] = []
234 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:244:35: error: cannot find type 'CGRect' in scope
242 |     ///   - completedRects: `LayoutItem` items with corrected frame
243 |     /// - Returns: Frame of this block
244 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
245 |         let subItems = items()
246 |         let frames = distribution.distribute(
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:244:78: error: cannot find type 'CGRect' in scope
242 |     ///   - completedRects: `LayoutItem` items with corrected frame
243 |     /// - Returns: Frame of this block
244 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                              `- error: cannot find type 'CGRect' in scope
245 |         let subItems = items()
246 |         let frames = distribution.distribute(
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:39:22: error: cannot find type 'CGRect' in scope
 37 |     /// Snapshot for current state without recalculating
 38 |     var currentSnapshot: LayoutSnapshotProtocol { get }
 39 |     var currentRect: CGRect { get }
    |                      `- error: cannot find type 'CGRect' in scope
 40 |
 41 |     /// Calculate and apply frames layout items.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:48:32: error: cannot find type 'CGRect' in scope
 46 |     ///
 47 |     /// - Parameter sourceRect: Source space
 48 |     func layout(in sourceRect: CGRect)
    |                                `- error: cannot find type 'CGRect' in scope
 49 |
 50 |     /// Returns snapshot for all `LayoutElement` items in block. Attention: in during calculating snapshot frames of layout items must not changed.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:54:35: error: cannot find type 'CGRect' in scope
 52 |     /// - Parameter sourceRect: Source space for layout
 53 |     /// - Returns: Snapshot that contains frames layout items
 54 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol
    |                                   `- error: cannot find type 'CGRect' in scope
 55 |
 56 |     /// Returns snapshot for all `LayoutElement` items in block. Does not call this method directly outside `LayoutBlockProtocol` object.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:63:35: error: cannot find type 'CGRect' in scope
 61 |     ///   - completedRects: `LayoutElement` items with corrected frame
 62 |     /// - Returns: Snapshot that contains frames layout items
 63 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol
    |                                   `- error: cannot find type 'CGRect' in scope
 64 |
 65 |     /// Applying frames from snapshot to `LayoutElement` items in this block.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:63:78: error: cannot find type 'CGRect' in scope
 61 |     ///   - completedRects: `LayoutElement` items with corrected frame
 62 |     /// - Returns: Snapshot that contains frames layout items
 63 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol
    |                                                                              `- error: cannot find type 'CGRect' in scope
 64 |
 65 |     /// Applying frames from snapshot to `LayoutElement` items in this block.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:52:24: error: cannot find type 'CGRect' in scope
 50 |     func removeFromSuperElement() { ownerElement = nil }
 51 |
 52 |     public init(frame: CGRect = .zero) {
    |                        `- error: cannot find type 'CGRect' in scope
 53 |         self.frame = frame
 54 |         self.bounds = CGRect(origin: .zero, size: frame.size)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:271:29: error: cannot find type 'EdgeInsets' in scope
269 |     open var arrangedItems: [LayoutElement] { return items }
270 |     /// Insets for distribution space
271 |     open var contentInsets: EdgeInsets = .zero {
    |                             `- error: cannot find type 'EdgeInsets' in scope
272 |         didSet { insetAnchor = Inset(contentInsets) }
273 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:299:40: error: cannot find type 'CGRect' in scope
297 |     ///
298 |     /// - Parameter rect: Space for layout
299 |     override open func layout(in rect: CGRect) {
    |                                        `- error: cannot find type 'CGRect' in scope
300 |         super.layout(in: rect)
301 |         scheme.layout(in: rect)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:308:63: error: cannot find type 'CGRect' in scope
306 |     /// - Parameter frame: New frame value.
307 |     /// - Returns: Content rect
308 |     open override func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                               `- error: cannot find type 'CGRect' in scope
309 |         let lFrame = super.contentRect(forFrame: frame)
310 |         return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:308:52: error: cannot find type 'CGRect' in scope
306 |     /// - Parameter frame: New frame value.
307 |     /// - Returns: Content rect
308 |     open override func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                    `- error: cannot find type 'CGRect' in scope
309 |         let lFrame = super.contentRect(forFrame: frame)
310 |         return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:317:42: error: cannot find type 'CGSize' in scope
315 |     /// - Parameter size: The size for which the view should calculate its best-fitting size
316 |     /// - Returns: A new size that fits the receiver’s content
317 |     func sizeThatFits(_ size: CGSize) -> CGSize {
    |                                          `- error: cannot find type 'CGSize' in scope
318 |         let sourceRect = CGRect(origin: .zero, size: size)
319 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:317:31: error: cannot find type 'CGSize' in scope
315 |     /// - Parameter size: The size for which the view should calculate its best-fitting size
316 |     /// - Returns: A new size that fits the receiver’s content
317 |     func sizeThatFits(_ size: CGSize) -> CGSize {
    |                               `- error: cannot find type 'CGSize' in scope
318 |         let sourceRect = CGRect(origin: .zero, size: size)
319 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:25:19: error: cannot find type 'CGRect' in scope
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
 25 |     var previous: CGRect?
    |                   `- error: cannot find type 'CGRect' in scope
 26 |     return rects.map { rect in
 27 |         var rect = rect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |           `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:28:141: error: cannot convert value of type '_' to expected argument type 'CGRect'
 26 |     return rects.map { rect in
 27 |         var rect = rect
 28 |         axis.set(origin: (previous.map { _ in spacing } ?? 0) + (previous.map { axis.get(maxOf: $0) } ?? axis.get(minOf: sourceRect)), for: &rect)
    |                                                                                                                                             `- error: cannot convert value of type '_' to expected argument type 'CGRect'
 29 |         previous = rect
 30 |         return rect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:34:19: error: cannot find type 'CGRect' in scope
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
 34 |     var previous: CGRect?
    |                   `- error: cannot find type 'CGRect' in scope
 35 |     return rects.map { rect in
 36 |         var rect = rect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |           `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:37:169: error: cannot convert value of type '_' to expected argument type 'CGRect'
 35 |     return rects.map { rect in
 36 |         var rect = rect
 37 |         axis.set(origin: (previous.map { _ in -spacing } ?? 0) + (previous.map { axis.get(minOf: $0) } ?? (axis.get(maxOf: sourceRect))) - axis.get(sizeAt: rect), for: &rect)
    |                                                                                                                                                                         `- error: cannot convert value of type '_' to expected argument type 'CGRect'
 38 |         previous = rect
 39 |         return rect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:49:58: error: cannot find 'CGFloat' in scope
 47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
 48 |     let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
 49 |     return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
    |                                                          `- error: cannot find 'CGFloat' in scope
 50 | }
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:98:19: error: cannot find type 'CGFloat' in scope
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
    |                   `- error: cannot find type 'CGFloat' in scope
 99 |             let count = CGFloat(rects.count)
100 |             switch (self.filling, self.spacing) {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:99:25: error: cannot find 'CGFloat' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
 99 |             let count = CGFloat(rects.count)
    |                         `- error: cannot find 'CGFloat' in scope
100 |             switch (self.filling, self.spacing) {
101 |             case (.equal(let val), _):
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:34: error: cannot find type 'CGSize' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:11: error: cannot find type 'CGSize' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |           `- error: cannot find type 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:22: error: cannot find type 'CGFloat' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 89 |
 90 | extension CGPoint {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:111:47: error: cannot find type 'CGRect' in scope
109 |
110 |         let transverseAxis = axis.transverse()
111 |         let filledRects = rects.map { rect -> CGRect in
    |                                               `- error: cannot find type 'CGRect' in scope
112 |             var rect = rect
113 |             axis.set(size: fill, for: &rect)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:113:39: error: cannot convert value of type '_' to expected argument type 'CGRect'
111 |         let filledRects = rects.map { rect -> CGRect in
112 |             var rect = rect
113 |             axis.set(size: fill, for: &rect)
    |                                       `- error: cannot convert value of type '_' to expected argument type 'CGRect'
114 |             transverseAxis.set(size: transverseAxis.get(sizeAt: sourceRect), for: &rect)
115 |             return rect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:118:22: error: cannot find type 'CGFloat' in scope
116 |         }
117 |
118 |         let spacing: CGFloat = {
    |                      `- error: cannot find type 'CGFloat' in scope
119 |             switch self.spacing {
120 |             case .equally:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:186:28: error: cannot find type 'CGRect' in scope
184 |     public /// Snapshot for current state without recalculating
185 |     var currentSnapshot: LayoutSnapshotProtocol {
186 |         var snapshotFrame: CGRect?
    |                            `- error: cannot find type 'CGRect' in scope
187 |         return LayoutSnapshot(childSnapshots: items().map { block in
188 |             let blockFrame = block.frame
/Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift:41:16: error: cannot find type 'CGRect' in scope
39 | internal struct LayoutSnapshot: LayoutSnapshotProtocol {
40 |     let childSnapshots: [LayoutSnapshotProtocol]
41 |     let frame: CGRect
   |                `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:205:20: error: argument passed to call that takes no arguments
203 |         guard let sourceRect = subItems.first?.superElement!.frame else { return }
204 |
205 |         layout(in: sourceRect)
    |                    `- error: argument passed to call that takes no arguments
206 |     }
207 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:214:31: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
212 |         let subItems = items()
213 |         let frames = distribution.distribute(rects: subItems.map { $0.inLayoutTime.frame }, in: sourceRect, along: axis)
214 |         zip(subItems, frames).forEach { $0.0.frame = $0.1 }
    |                               `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
215 |     }
216 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:233:43: error: cannot find type 'CGRect' in scope
231 |     /// - Returns: Snapshot contained frames layout items
232 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
233 |         var completedFrames: [(AnyObject, CGRect)] = []
    |                                           `- error: cannot find type 'CGRect' in scope
234 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
235 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:80:35: error: cannot find type 'CGRect' in scope
 78 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 79 |     /// - Returns: Snapshot that contains frames layout items
 80 |     func snapshot(for sourceRect: CGRect, constrainRects: [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
 81 |         var completedRects = constrainRects
 82 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:80:72: error: cannot find type 'CGRect' in scope
 78 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 79 |     /// - Returns: Snapshot that contains frames layout items
 80 |     func snapshot(for sourceRect: CGRect, constrainRects: [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                        `- error: cannot find type 'CGRect' in scope
 81 |         var completedRects = constrainRects
 82 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:256:79: error: cannot find 'CGRect' in scope
254 |             snapRect = snapRect?.union(current) ?? current
255 |         }
256 |         return LayoutSnapshot(childSnapshots: frames, frame: snapshotFrame ?? CGRect(origin: sourceRect.origin, size: .zero))
    |                                                                               `- error: cannot find 'CGRect' in scope
257 |     }
258 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:65:31: error: cannot find type 'CGRect' in scope
 63 |     ///
 64 |     /// - Parameter rect: Space for layout
 65 |     open func layout(in rect: CGRect) {
    |                               `- error: cannot find type 'CGRect' in scope
 66 |         // subclass override
 67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:300:26: error: argument passed to call that takes no arguments
298 |     /// - Parameter rect: Space for layout
299 |     override open func layout(in rect: CGRect) {
300 |         super.layout(in: rect)
    |                          `- error: argument passed to call that takes no arguments
301 |         scheme.layout(in: rect)
302 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:301:27: error: argument passed to call that takes no arguments
299 |     override open func layout(in rect: CGRect) {
300 |         super.layout(in: rect)
301 |         scheme.layout(in: rect)
    |                           `- error: argument passed to call that takes no arguments
302 |     }
303 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:77:54: error: cannot find type 'CGRect' in scope
 75 |     /// - Parameter frame: New frame value.
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                      `- error: cannot find type 'CGRect' in scope
 78 |         return CGRect(origin: .zero, size: frame.size)
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:77:43: error: cannot find type 'CGRect' in scope
 75 |     /// - Parameter frame: New frame value.
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                           `- error: cannot find type 'CGRect' in scope
 78 |         return CGRect(origin: .zero, size: frame.size)
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:310:72: error: no '??' candidates produce the expected contextual result type '_'
308 |     open override func contentRect(forFrame frame: CGRect) -> CGRect {
309 |         let lFrame = super.contentRect(forFrame: frame)
310 |         return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
    |                                                                        `- error: no '??' candidates produce the expected contextual result type '_'
311 |     }
312 |
Swift.??:1:13: note: '??' produces 'CGRect', not the expected contextual result type '_'
1 | public func ?? <T>(optional: consuming T?, defaultValue: @autoclosure () throws -> T) rethrows -> T where T : ~Copyable
  |             |- note: '??' produces 'CGRect', not the expected contextual result type '_'
  |             `- note: '??' produces '_', not the expected contextual result type '_'
Swift.??:1:13: note: '??' produces 'T?', not the expected contextual result type '_'
1 | public func ?? <T>(optional: consuming T?, defaultValue: @autoclosure () throws -> T?) rethrows -> T? where T : ~Copyable
  |             `- note: '??' produces 'T?', not the expected contextual result type '_'
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:310:66: error: type 'CGRect' has no member 'zero'
308 |     open override func contentRect(forFrame frame: CGRect) -> CGRect {
309 |         let lFrame = super.contentRect(forFrame: frame)
310 |         return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
    |                                                                  `- error: type 'CGRect' has no member 'zero'
311 |     }
312 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:318:26: error: cannot find 'CGRect' in scope
316 |     /// - Returns: A new size that fits the receiver’s content
317 |     func sizeThatFits(_ size: CGSize) -> CGSize {
318 |         let sourceRect = CGRect(origin: .zero, size: size)
    |                          `- error: cannot find 'CGRect' in scope
319 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
320 |         result.width += contentInsets.right
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-SwiftPerFileCompile stack.layoutGuide.cglayout.swift
SwiftCompile normal arm64 Compiling\ support.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-SwiftPerFileCompile support.cglayout.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ CGLayout (in target 'CGLayout' from project 'CGLayout')
	SwiftCompile normal arm64 (in target 'CGLayout' from project 'CGLayout')
	Building project CGLayout with scheme CGLayout-Package
(3 failures)
BUILD FAILURE 6.4 watchOS