The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build CGLayout, reference master (62d3ab), with Swift 6.2 (beta) for Android on 17 Jun 2025 21:35:42 UTC.

Build Command

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

Build Log

 80 |         let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:79:39: error: cannot find type 'CGFloat' in scope
 77 |         let minBoundsOriginX: CGFloat = 0.0
 78 |         let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
 79 |         let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
    |                                       `- error: cannot find type 'CGFloat' in scope
 80 |         let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
 81 |         targetPosition.x = constrainedBoundsOriginX + rubberBandedX
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:80:28: error: cannot find type 'CGFloat' in scope
 78 |         let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
 79 |         let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
 80 |         let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
    |                            `- error: cannot find type 'CGFloat' in scope
 81 |         targetPosition.x = constrainedBoundsOriginX + rubberBandedX
 82 |         let newBoundsOriginY: CGFloat = start.y - translation.y
/host/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 |
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:82:31: error: cannot find type 'CGFloat' in scope
 80 |         let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
 81 |         targetPosition.x = constrainedBoundsOriginX + rubberBandedX
 82 |         let newBoundsOriginY: CGFloat = start.y - translation.y
    |                               `- error: cannot find type 'CGFloat' in scope
 83 |         let minBoundsOriginY: CGFloat = 0.0
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:83:31: error: cannot find type 'CGFloat' in scope
 81 |         targetPosition.x = constrainedBoundsOriginX + rubberBandedX
 82 |         let newBoundsOriginY: CGFloat = start.y - translation.y
 83 |         let minBoundsOriginY: CGFloat = 0.0
    |                               `- error: cannot find type 'CGFloat' in scope
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:84:31: error: cannot find type 'CGFloat' in scope
 82 |         let newBoundsOriginY: CGFloat = start.y - translation.y
 83 |         let minBoundsOriginY: CGFloat = 0.0
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
    |                               `- error: cannot find type 'CGFloat' in scope
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
 86 |         let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:85:39: error: cannot find type 'CGFloat' in scope
 83 |         let minBoundsOriginY: CGFloat = 0.0
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
    |                                       `- error: cannot find type 'CGFloat' in scope
 86 |         let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
 87 |         targetPosition.y = constrainedBoundsOriginY + rubberBandedY
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:86:28: error: cannot find type 'CGFloat' in scope
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
 86 |         let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
    |                            `- error: cannot find type 'CGFloat' in scope
 87 |         targetPosition.y = constrainedBoundsOriginY + rubberBandedY
 88 |         self.contentOffset = targetPosition
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:132:19: error: cannot find type 'CGFloat' in scope
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
132 |     let constant: CGFloat = 0.55
    |                   `- error: cannot find type 'CGFloat' in scope
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
134 |     // The algorithm expects a positive offset, so we have to negate the result if the offset was negative.
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:133:17: error: cannot find type 'CGFloat' in scope
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
132 |     let constant: CGFloat = 0.55
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
    |                 `- error: cannot find type 'CGFloat' in scope
134 |     // The algorithm expects a positive offset, so we have to negate the result if the offset was negative.
135 |     return offset < 0.0 ? -result : result
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:178:35: error: cannot find type 'TimeInterval' in scope
176 |     mutating func bounce(t: TimeInterval, to: CGFloat) -> Bool {
177 |         if bounced && returnTime != 0 {
178 |             let returnBounceTime: TimeInterval = min(1, ((t - returnTime) / returnAnimationDuration))
    |                                   `- error: cannot find type 'TimeInterval' in scope
179 |             self.position = QuadraticEaseOut(t: CGFloat(returnBounceTime), start: returnFrom, end: to)
180 |             return returnBounceTime == 1
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:179:49: error: cannot find 'CGFloat' in scope
177 |         if bounced && returnTime != 0 {
178 |             let returnBounceTime: TimeInterval = min(1, ((t - returnTime) / returnAnimationDuration))
179 |             self.position = QuadraticEaseOut(t: CGFloat(returnBounceTime), start: returnFrom, end: to)
    |                                                 `- error: cannot find 'CGFloat' in scope
180 |             return returnBounceTime == 1
181 |         }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:182:24: error: cannot convert value of type 'Duration' to expected argument type 'Int'
180 |             return returnBounceTime == 1
181 |         }
182 |         else if abs(to - position) > 0 {
    |                        `- error: cannot convert value of type 'Duration' to expected argument type 'Int'
183 |             let F: CGFloat = Spring(velocity: velocity, position: position, restPosition: to, tightness: springTightness, dampening: springDampening)
184 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:183:20: error: cannot find type 'CGFloat' in scope
181 |         }
182 |         else if abs(to - position) > 0 {
183 |             let F: CGFloat = Spring(velocity: velocity, position: position, restPosition: to, tightness: springTightness, dampening: springDampening)
    |                    `- error: cannot find type 'CGFloat' in scope
184 |
185 |             let oldVelocity = self.velocity
/host/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 {
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:186:34: error: cannot find 'CGFloat' in scope
184 |
185 |             let oldVelocity = self.velocity
186 |             self.velocity += F * CGFloat(physicsTimeStep)
    |                                  `- error: cannot find 'CGFloat' in scope
187 | //            print("v:", velocity, oldVelocity)
188 |             let oldPosition = self.position
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:189:42: error: cannot find 'CGFloat' in scope
187 | //            print("v:", velocity, oldVelocity)
188 |             let oldPosition = self.position
189 |             self.position += -velocity * CGFloat(physicsTimeStep)
    |                                          `- error: cannot find 'CGFloat' in scope
190 | //            print("p:", oldPosition, self.position)
191 |             self.bounced = true
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:192:44: error: binary operator '<' cannot be applied to operands of type 'Int128' and 'Double'
190 | //            print("p:", oldPosition, self.position)
191 |             self.bounced = true
192 |             if abs(velocity - oldVelocity) < 0.5 {
    |                                            |- error: binary operator '<' cannot be applied to operands of type 'Int128' and 'Double'
    |                                            `- note: overloads for '<' exist with these partially matching parameter lists: (Int, Int), (Int128, Int128), (Int16, Int16), (Int32, Int32), (Int64, Int64), (Int8, Int8)
193 |                 self.returnFrom = position
194 |                 self.returnTime = t
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:204:26: error: cannot find type 'TimeInterval' in scope
202 |
203 |     mutating func animateBounce(_ offset: inout CGFloat, begin beginTime: TimeInterval, to targetOffset: CGFloat) {
204 |         let currentTime: TimeInterval = Date.timeIntervalSinceReferenceDate
    |                          `- error: cannot find type 'TimeInterval' in scope
205 |         bouncing = true
206 |         decelerateTime = beginTime
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:226:12: error: cannot find type 'CGFloat' in scope
224 |
225 | private func ClampedVelocty(v: CGFloat) -> CGFloat {
226 |     let V: CGFloat = 500
    |            `- error: cannot find type 'CGFloat' in scope
227 |     return Clamp(v: v, min: -V, max: V)
228 | }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:231:12: error: cannot find type 'CGFloat' in scope
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
231 |     let d: CGFloat = position - restPosition
    |            `- error: cannot find type 'CGFloat' in scope
232 |     return (-tightness * d) - (dampening * velocity) / 1
233 | }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:237:29: error: cannot find type 'CGRect' in scope
235 | extension ScrollLayoutGuide {
236 |     func _confinedContentOffset(_ contentOffset: CGPoint) -> CGPoint {
237 |         let scrollerBounds: CGRect = EdgeInsetsInsetRect(bounds, contentInset)
    |                             `- error: cannot find type 'CGRect' in scope
238 |         var contentOffset = contentOffset
239 |         if (contentSize.width - contentOffset.x) < scrollerBounds.size.width {
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:257:29: error: cannot find type 'CGPoint' in scope
255 |     func _setRestrainedContentOffset(_ offset: CGPoint) {
256 |         var offset = offset
257 |         let confinedOffset: CGPoint = _confinedContentOffset(offset)
    |                             `- error: cannot find type 'CGPoint' in scope
258 |         let scrollerBounds: CGRect = EdgeInsetsInsetRect(bounds, contentInset)
259 |         if !(/*alwaysBounceHorizontal && */contentSize.width <= scrollerBounds.size.width) {
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:258:29: error: cannot find type 'CGRect' in scope
256 |         var offset = offset
257 |         let confinedOffset: CGPoint = _confinedContentOffset(offset)
258 |         let scrollerBounds: CGRect = EdgeInsetsInsetRect(bounds, contentInset)
    |                             `- error: cannot find type 'CGRect' in scope
259 |         if !(/*alwaysBounceHorizontal && */contentSize.width <= scrollerBounds.size.width) {
260 |             offset.x = confinedOffset.x
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:36:16: error: cannot find type 'CGRect' in scope
 34 |     }
 35 |     open /// External representation of layout entity in coordinate space
 36 |     var frame: CGRect {
    |                `- error: cannot find type 'CGRect' in scope
 37 |         didSet {
 38 | //            if oldValue != frame { bounds = contentRect(forFrame: frame) }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:348:47: error: cannot find 'CGPoint' in scope
346 |             x.position += -x.velocity * timeInterval
347 |             y.position += -y.velocity * timeInterval
348 |             guide._setRestrainedContentOffset(CGPoint(x: x.position, y: y.position))
    |                                               `- error: cannot find 'CGPoint' in scope
349 |         }
350 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:351:28: error: cannot find 'Date' in scope
349 |         }
350 |
351 |         lastMomentumTime = Date.timeIntervalSinceReferenceDate
    |                            `- error: cannot find 'Date' in scope
352 |         let friction: CGFloat = 0.96
353 |         let drag: CGFloat = pow(pow(friction, 60), CGFloat(lastMomentumTime - beginTime))
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:352:23: error: cannot find type 'CGFloat' in scope
350 |
351 |         lastMomentumTime = Date.timeIntervalSinceReferenceDate
352 |         let friction: CGFloat = 0.96
    |                       `- error: cannot find type 'CGFloat' in scope
353 |         let drag: CGFloat = pow(pow(friction, 60), CGFloat(lastMomentumTime - beginTime))
354 |         if !x.bouncing {
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:353:19: error: cannot find type 'CGFloat' in scope
351 |         lastMomentumTime = Date.timeIntervalSinceReferenceDate
352 |         let friction: CGFloat = 0.96
353 |         let drag: CGFloat = pow(pow(friction, 60), CGFloat(lastMomentumTime - beginTime))
    |                   `- error: cannot find type 'CGFloat' in scope
354 |         if !x.bouncing {
355 |             x.velocity = startVelocity.x * drag
[14/20] Compiling CGLayout core.cglayout.swift
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 | }
 31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:42: error: cannot find type 'CGRect' in scope
 29 |     ///   - sourceRect: Source space
 30 |     ///   - rect: Rect for constrain
 31 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
    |                                          `- error: cannot find type 'CGRect' in scope
 32 | }
 33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:59: error: cannot find type 'CGRect' in scope
 29 |     ///   - sourceRect: Source space
 30 |     ///   - rect: Rect for constrain
 31 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
    |                                                           `- error: cannot find type 'CGRect' in scope
 32 | }
 33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:312:17: error: cannot find type 'EdgeInsets' in scope
 310 |     case bottom(Bottom)
 311 |     case size(Size)
 312 |     case insets(EdgeInsets)
     |                 `- error: cannot find type 'EdgeInsets' in scope
 313 |     case equal(CGRect)
 314 |     case equally
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:395:17: error: cannot find type 'EdgeInsets' in scope
 393 | /// - Returns: Inset constraint
 394 | public struct Inset: RectBasedConstraint {
 395 |     let insets: EdgeInsets
     |                 `- error: cannot find type 'EdgeInsets' in scope
 396 |     public init(_ insets: EdgeInsets) {
 397 |         self.insets = insets
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:396:27: error: cannot find type 'EdgeInsets' in scope
 394 | public struct Inset: RectBasedConstraint {
 395 |     let insets: EdgeInsets
 396 |     public init(_ insets: EdgeInsets) {
     |                           `- error: cannot find type 'EdgeInsets' in scope
 397 |         self.insets = insets
 398 |     }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:78:69: error: extra argument 'in' in call
  76 |     func layout(rect: CGRect, from coordinateSpace: LayoutElement, in sourceRect: CGRect, use constraints: [LayoutConstraintProtocol] = []) -> CGRect {
  77 |         return layout(rect: rect, in: constraints.reduce(into: sourceRect) { res, constraint in
  78 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
     |                                                                     `- error: extra argument 'in' in call
  79 |         })
  80 |     }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:78:60: error: 'nil' is not compatible with expected argument type 'CGRect'
  76 |     func layout(rect: CGRect, from coordinateSpace: LayoutElement, in sourceRect: CGRect, use constraints: [LayoutConstraintProtocol] = []) -> CGRect {
  77 |         return layout(rect: rect, in: constraints.reduce(into: sourceRect) { res, constraint in
  78 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
     |                                                            `- error: 'nil' is not compatible with expected argument type 'CGRect'
  79 |         })
  80 |     }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:405:20: error: value of type 'CGRect' has no member 'apply'
 403 |     ///   - rect: Rect for constrain
 404 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
 405 |         sourceRect.apply(edgeInsets: insets)
     |                    `- error: value of type 'CGRect' has no member 'apply'
 406 |     }
 407 | }
/host/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 {
/host/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 {
/host/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 {
/host/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) }
/host/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) }
/host/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) }
/host/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 |
/host/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 |
/host/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 |
/host/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)
/host/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)
/host/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)
/host/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 }
[15/20] Compiling CGLayout deprecated.cglayout.swift
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 | }
 31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:42: error: cannot find type 'CGRect' in scope
 29 |     ///   - sourceRect: Source space
 30 |     ///   - rect: Rect for constrain
 31 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
    |                                          `- error: cannot find type 'CGRect' in scope
 32 | }
 33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:59: error: cannot find type 'CGRect' in scope
 29 |     ///   - sourceRect: Source space
 30 |     ///   - rect: Rect for constrain
 31 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
    |                                                           `- error: cannot find type 'CGRect' in scope
 32 | }
 33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:312:17: error: cannot find type 'EdgeInsets' in scope
 310 |     case bottom(Bottom)
 311 |     case size(Size)
 312 |     case insets(EdgeInsets)
     |                 `- error: cannot find type 'EdgeInsets' in scope
 313 |     case equal(CGRect)
 314 |     case equally
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:395:17: error: cannot find type 'EdgeInsets' in scope
 393 | /// - Returns: Inset constraint
 394 | public struct Inset: RectBasedConstraint {
 395 |     let insets: EdgeInsets
     |                 `- error: cannot find type 'EdgeInsets' in scope
 396 |     public init(_ insets: EdgeInsets) {
 397 |         self.insets = insets
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:396:27: error: cannot find type 'EdgeInsets' in scope
 394 | public struct Inset: RectBasedConstraint {
 395 |     let insets: EdgeInsets
 396 |     public init(_ insets: EdgeInsets) {
     |                           `- error: cannot find type 'EdgeInsets' in scope
 397 |         self.insets = insets
 398 |     }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:78:69: error: extra argument 'in' in call
  76 |     func layout(rect: CGRect, from coordinateSpace: LayoutElement, in sourceRect: CGRect, use constraints: [LayoutConstraintProtocol] = []) -> CGRect {
  77 |         return layout(rect: rect, in: constraints.reduce(into: sourceRect) { res, constraint in
  78 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
     |                                                                     `- error: extra argument 'in' in call
  79 |         })
  80 |     }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:78:60: error: 'nil' is not compatible with expected argument type 'CGRect'
  76 |     func layout(rect: CGRect, from coordinateSpace: LayoutElement, in sourceRect: CGRect, use constraints: [LayoutConstraintProtocol] = []) -> CGRect {
  77 |         return layout(rect: rect, in: constraints.reduce(into: sourceRect) { res, constraint in
  78 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
     |                                                            `- error: 'nil' is not compatible with expected argument type 'CGRect'
  79 |         })
  80 |     }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:405:20: error: value of type 'CGRect' has no member 'apply'
 403 |     ///   - rect: Rect for constrain
 404 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
 405 |         sourceRect.apply(edgeInsets: insets)
     |                    `- error: value of type 'CGRect' has no member 'apply'
 406 |     }
 407 | }
/host/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 {
/host/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 {
/host/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 {
/host/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) }
/host/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) }
/host/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) }
/host/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 |
/host/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 |
/host/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 |
/host/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)
/host/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)
/host/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)
/host/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 }
[16/20] Compiling CGLayout layoutBlock.cglayout.swift
/host/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 }
/host/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 }
/host/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 in custom space.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:44:32: error: cannot find type 'CGRect' in scope
 42 |     ///
 43 |     /// - Parameter sourceRect: Source space
 44 |     func layout(in sourceRect: CGRect)
    |                                `- error: cannot find type 'CGRect' in scope
 45 |
 46 |     /// Returns snapshot for all `LayoutElement` items in block. Attention: in during calculating snapshot frames of layout items must not changed.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:50:35: error: cannot find type 'CGRect' in scope
 48 |     /// - Parameter sourceRect: Source space for layout
 49 |     /// - Returns: Snapshot that contains frames layout items
 50 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol
    |                                   `- error: cannot find type 'CGRect' in scope
 51 |
 52 |     /// Returns snapshot for all `LayoutElement` items in block. Does not call this method directly outside `LayoutBlockProtocol` object.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:59:84: error: cannot find type 'CGRect' in scope
 57 |     ///   - completedRects: `LayoutElement` items with corrected frame
 58 |     /// - Returns: Snapshot that contains frames layout items
 59 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol
    |                                                                                    `- error: cannot find type 'CGRect' in scope
 60 |
 61 |     /// Applying frames from snapshot to `LayoutElement` items in this block.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:59:35: error: cannot find type 'CGRect' in scope
 57 |     ///   - completedRects: `LayoutElement` items with corrected frame
 58 |     /// - Returns: Snapshot that contains frames layout items
 59 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol
    |                                   `- error: cannot find type 'CGRect' in scope
 60 |
 61 |     /// Applying frames from snapshot to `LayoutElement` items in this block.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:76:35: error: cannot find type 'CGRect' in scope
 74 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 75 |     /// - Returns: Snapshot that contains frames layout items
 76 |     func snapshot(for sourceRect: CGRect, constrainRects: [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
 77 |         var completedRects = constrainRects
 78 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:76:78: error: cannot find type 'CGRect' in scope
 74 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 75 |     /// - Returns: Snapshot that contains frames layout items
 76 |     func snapshot(for sourceRect: CGRect, constrainRects: [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol {
    |                                                                              `- error: cannot find type 'CGRect' in scope
 77 |         var completedRects = constrainRects
 78 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:42: error: cannot find type 'CGRect' in scope
 29 |     ///   - sourceRect: Source space
 30 |     ///   - rect: Rect for constrain
 31 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
    |                                          `- error: cannot find type 'CGRect' in scope
 32 | }
 33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:59: error: cannot find type 'CGRect' in scope
 29 |     ///   - sourceRect: Source space
 30 |     ///   - rect: Rect for constrain
 31 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
    |                                                           `- error: cannot find type 'CGRect' in scope
 32 | }
 33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:113:29: error: cannot find type 'CGRect' in scope
111 |         return item.inLayoutTime.frame
112 |     }
113 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
114 |         guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
115 |         return item.inLayoutTime.frame
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:127:32: error: cannot find type 'CGRect' in scope
125 |     ///
126 |     /// - Parameter sourceRect: Source space
127 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
128 |         guard var inLayoutTime = item?.inLayoutTime, let coordinateSpace = inLayoutTime.superElement else { return debugWarning(LayoutBlock.message(forSkipped: self)) }
129 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:139:35: error: cannot find type 'CGRect' in scope
137 |     /// - Parameter sourceRect: Source space for layout
138 |     /// - Returns: Snapshot contained frames layout elements
139 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
140 |         guard let inLayout = item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
141 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:154:85: error: cannot find type 'CGRect' in scope
152 |     ///   - completedRects: `LayoutElement` elements with corrected frame
153 |     /// - Returns: Frame of this block
154 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                                                                     `- error: cannot find type 'CGRect' in scope
155 |         guard let item = self.item, let inLayout = self.item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:154:35: error: cannot find type 'CGRect' in scope
152 |     ///   - completedRects: `LayoutElement` elements with corrected frame
153 |     /// - Returns: Frame of this block
154 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
155 |         guard let item = self.item, let inLayout = self.item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:206:29: error: cannot find type 'CGRect' in scope
204 |     }
205 |
206 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
207 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
208 |         return blocks[1...].reduce(into: blocks[0].currentRect) { res, next in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:216:32: error: cannot find type 'CGRect' in scope
214 |     ///
215 |     /// - Parameter sourceRect: Source space
216 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
217 |         blocks.forEach { $0.layout(in: sourceRect) }
218 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:235:35: error: cannot find type 'CGRect' in scope
233 |     /// - Parameter sourceRect: Source space for layout
234 |     /// - Returns: Snapshot contained frames layout elements
235 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
236 |         var completedFrames: [ObjectIdentifier: CGRect] = [:]
237 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:247:85: error: cannot find type 'CGRect' in scope
245 |     ///   - completedRects: `LayoutElement` elements with corrected frame
246 |     /// - Returns: Frame of this block
247 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                                                                     `- error: cannot find type 'CGRect' in scope
248 |         var snapshotFrame: CGRect?
249 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:247:35: error: cannot find type 'CGRect' in scope
245 |     ///   - completedRects: `LayoutElement` elements with corrected frame
246 |     /// - Returns: Frame of this block
247 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
248 |         var snapshotFrame: CGRect?
249 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:91:15: error: cannot find 'Thread' in scope
 89 |
 90 |     public func setItem(_ item: Item?) {
 91 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
 92 |
 93 |         self.item = item
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:97:15: error: cannot find 'Thread' in scope
 95 |
 96 |     public func setLayout(_ layout: RectBasedLayout) {
 97 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
 98 |
 99 |         self.itemLayout = layout
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:103:15: error: cannot find 'Thread' in scope
101 |
102 |     public func setConstraints(_ constraints: [LayoutConstraintProtocol]) {
103 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
104 |
105 |         self.constraints = constraints
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:111:34: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
109 |     var currentSnapshot: LayoutSnapshotProtocol {
110 |         guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
111 |         return item.inLayoutTime.frame
    |                                  `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
112 |     }
113 |     public var currentRect: CGRect {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:131:69: error: extra argument 'in' in call
129 |
130 |         itemLayout.formLayout(rect: &inLayoutTime.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
131 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
    |                                                                     `- error: extra argument 'in' in call
132 |         }))
133 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:131:60: error: 'nil' is not compatible with expected argument type 'CGRect'
129 |
130 |         itemLayout.formLayout(rect: &inLayoutTime.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
131 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
    |                                                            `- error: 'nil' is not compatible with expected argument type 'CGRect'
132 |         }))
133 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:142:27: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
140 |         guard let inLayout = item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
141 |
142 |         return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
    |                           `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
143 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
144 |         }))
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:143:69: error: extra argument 'in' in call
141 |
142 |         return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
143 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
    |                                                                     `- error: extra argument 'in' in call
144 |         }))
145 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:143:60: error: 'nil' is not compatible with expected argument type 'CGRect'
141 |
142 |         return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
143 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
    |                                                            `- error: 'nil' is not compatible with expected argument type 'CGRect'
144 |         }))
145 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:194:28: error: cannot find type 'CGRect' in scope
192 |     var currentSnapshot: LayoutSnapshotProtocol {
193 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
194 |         var snapshotFrame: CGRect!
    |                            `- error: cannot find type 'CGRect' in scope
195 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
196 |             let blockFrame = block.currentSnapshot.frame
/host/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 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:236:49: error: cannot find type 'CGRect' in scope
234 |     /// - Returns: Snapshot contained frames layout elements
235 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
236 |         var completedFrames: [ObjectIdentifier: CGRect] = [:]
    |                                                 `- error: cannot find type 'CGRect' in scope
237 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
238 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:248:28: error: cannot find type 'CGRect' in scope
246 |     /// - Returns: Frame of this block
247 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
248 |         var snapshotFrame: CGRect?
    |                            `- error: cannot find type 'CGRect' in scope
249 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
250 |             let blockSnapshot = block.snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:257:15: error: cannot find 'Thread' in scope
255 |
256 |     public mutating func insertLayout(block: LayoutBlockProtocol, to position: Int? = nil) {
257 |         guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
    |               `- error: cannot find 'Thread' in scope
258 |
259 |         blocks.insert(block, at: position ?? blocks.count)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:263:15: error: cannot find 'Thread' in scope
261 |
262 |     public mutating func removeInactiveBlocks() {
263 |         guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
    |               `- error: cannot find 'Thread' in scope
264 |
265 |         blocks = blocks.filter { $0.isActive }
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 | }
 31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:68:42: error: cannot find type 'CGRect' in scope
 66 |     ///   - sourceRect: Source space
 67 |     ///   - rect: Rect for constrain
 68 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
 69 |         constraints.forEach { (constraint) in
 70 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:68:59: error: cannot find type 'CGRect' in scope
 66 |     ///   - sourceRect: Source space
 67 |     ///   - rect: Rect for constrain
 68 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
 69 |         constraints.forEach { (constraint) in
 70 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:80:83: error: cannot find type 'CGRect' in scope
 78 |     ///   - coordinateSpace: Destination coordinate space
 79 |     /// - Returns: Converted rect
 80 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
 81 |         guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
 82 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:80:37: error: cannot find type 'CGRect' in scope
 78 |     ///   - coordinateSpace: Destination coordinate space
 79 |     /// - Returns: Converted rect
 80 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
 81 |         guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
 82 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:86:49: error: cannot find type 'CGRect' in scope
 84 |     }
 85 |
 86 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                 `- error: cannot find type 'CGRect' in scope
 87 |         guard let item = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
 88 |         formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? item.frame, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:86:66: error: cannot find type 'CGRect' in scope
 84 |     }
 85 |
 86 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
 87 |         guard let item = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
 88 |         formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? item.frame, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:114:42: error: cannot find type 'CGRect' in scope
112 |     ///   - sourceRect: Source space
113 |     ///   - rect: Rect for constrain
114 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
115 |         guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
116 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:114:59: error: cannot find type 'CGRect' in scope
112 |     ///   - sourceRect: Source space
113 |     ///   - rect: Rect for constrain
114 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
115 |         guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
116 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:124:49: error: cannot find type 'CGRect' in scope
122 |     }
123 |
124 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                 `- error: cannot find type 'CGRect' in scope
125 |         formConstrain(sourceRect: &sourceRect, by: rect ?? sourceRect)
126 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:124:66: error: cannot find type 'CGRect' in scope
122 |     }
123 |
124 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
125 |         formConstrain(sourceRect: &sourceRect, by: rect ?? sourceRect)
126 |     }
/host/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 |         constraints.forEach { (constraint) in
156 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/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 |         constraints.forEach { (constraint) in
156 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:166:83: error: cannot find type 'CGRect' in scope
164 |     ///   - coordinateSpace: Destination coordinate space
165 |     /// - Returns: Converted rect
166 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
167 |         guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
168 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:166:37: error: cannot find type 'CGRect' in scope
164 |     ///   - coordinateSpace: Destination coordinate space
165 |     /// - Returns: Converted rect
166 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
167 |         guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
168 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:172:49: error: cannot find type 'CGRect' in scope
170 |     }
171 |
172 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                 `- error: cannot find type 'CGRect' in scope
173 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
174 |         formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? layoutItem.layoutBounds, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:172:66: error: cannot find type 'CGRect' in scope
170 |     }
171 |
172 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
173 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
174 |         formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? layoutItem.layoutBounds, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:205:42: error: cannot find type 'CGRect' in scope
203 |     ///   - sourceRect: Source space
204 |     ///   - rect: Rect for constrain
205 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
    |                                          `- error: cannot find type 'CGRect' in scope
206 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 |         base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:205:59: error: cannot find type 'CGRect' in scope
203 |     ///   - sourceRect: Source space
204 |     ///   - rect: Rect for constrain
205 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
    |                                                           `- error: cannot find type 'CGRect' in scope
206 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 |         base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:206:49: error: cannot find type 'CGRect' in scope
204 |     ///   - rect: Rect for constrain
205 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                 `- error: cannot find type 'CGRect' in scope
207 |         base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
208 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:206:66: error: cannot find type 'CGRect' in scope
204 |     ///   - rect: Rect for constrain
205 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
207 |         base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
208 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:216:26: error: cannot find type 'CGRect' in scope
214 | public struct AnonymConstraint: LayoutConstraintProtocol {
215 |     let anchors: [RectBasedConstraint]
216 |     let constrainRect: ((CGRect) -> CGRect)?
    |                          `- error: cannot find type 'CGRect' in scope
217 |
218 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:216:37: error: cannot find type 'CGRect' in scope
214 | public struct AnonymConstraint: LayoutConstraintProtocol {
215 |     let anchors: [RectBasedConstraint]
216 |     let constrainRect: ((CGRect) -> CGRect)?
    |                                     `- error: cannot find type 'CGRect' in scope
217 |
218 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:218:66: error: cannot find type 'CGRect' in scope
216 |     let constrainRect: ((CGRect) -> CGRect)?
217 |
218 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
219 |         self.anchors = anchors
220 |         self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:218:77: error: cannot find type 'CGRect' in scope
216 |     let constrainRect: ((CGRect) -> CGRect)?
217 |
218 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                             `- error: cannot find type 'CGRect' in scope
219 |         self.anchors = anchors
220 |         self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:232:49: error: cannot find type 'CGRect' in scope
230 |     ///   - sourceRect: Source space
231 |     ///   - rect: Rect for constrain
232 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                 `- error: cannot find type 'CGRect' in scope
233 |         anchors.forEach { (constraint) in
234 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:232:66: error: cannot find type 'CGRect' in scope
230 |     ///   - sourceRect: Source space
231 |     ///   - rect: Rect for constrain
232 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
233 |         anchors.forEach { (constraint) in
234 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:237:49: error: cannot find type 'CGRect' in scope
235 |         }
236 |     }
237 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                 `- error: cannot find type 'CGRect' in scope
238 |         formConstrain(sourceRect: &sourceRect, by: constrainRect?(rect ?? sourceRect) ?? sourceRect)
239 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:237:66: error: cannot find type 'CGRect' in scope
235 |         }
236 |     }
237 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
238 |         formConstrain(sourceRect: &sourceRect, by: constrainRect?(rect ?? sourceRect) ?? sourceRect)
239 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:242:38: error: cannot find type 'CGRect' in scope
240 | }
241 | public extension AnonymConstraint {
242 |     init(transform: @escaping (inout CGRect) -> Void) {
    |                                      `- error: cannot find type 'CGRect' in scope
243 |         self.init(anchors: [Equal()]) {
244 |             var source = $0
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:207:67: error: extra argument 'in' in call
205 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 |         base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
    |                                                                   `- error: extra argument 'in' in call
208 |     }
209 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:28:23: error: cannot find type 'CGRect' in scope
 26 | extension CGRect: LayoutSnapshotProtocol {
 27 |     /// Returns self value
 28 |     public var frame: CGRect { return self }
    |                       `- error: cannot find type 'CGRect' in scope
 29 |     /// Returns empty array
 30 |     public var childSnapshots: [LayoutSnapshotProtocol] { return [] }
[17/20] Compiling CGLayout layoutConstraint.cglayout.swift
/host/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 }
/host/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 }
/host/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 in custom space.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:44:32: error: cannot find type 'CGRect' in scope
 42 |     ///
 43 |     /// - Parameter sourceRect: Source space
 44 |     func layout(in sourceRect: CGRect)
    |                                `- error: cannot find type 'CGRect' in scope
 45 |
 46 |     /// Returns snapshot for all `LayoutElement` items in block. Attention: in during calculating snapshot frames of layout items must not changed.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:50:35: error: cannot find type 'CGRect' in scope
 48 |     /// - Parameter sourceRect: Source space for layout
 49 |     /// - Returns: Snapshot that contains frames layout items
 50 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol
    |                                   `- error: cannot find type 'CGRect' in scope
 51 |
 52 |     /// Returns snapshot for all `LayoutElement` items in block. Does not call this method directly outside `LayoutBlockProtocol` object.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:59:84: error: cannot find type 'CGRect' in scope
 57 |     ///   - completedRects: `LayoutElement` items with corrected frame
 58 |     /// - Returns: Snapshot that contains frames layout items
 59 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol
    |                                                                                    `- error: cannot find type 'CGRect' in scope
 60 |
 61 |     /// Applying frames from snapshot to `LayoutElement` items in this block.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:59:35: error: cannot find type 'CGRect' in scope
 57 |     ///   - completedRects: `LayoutElement` items with corrected frame
 58 |     /// - Returns: Snapshot that contains frames layout items
 59 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol
    |                                   `- error: cannot find type 'CGRect' in scope
 60 |
 61 |     /// Applying frames from snapshot to `LayoutElement` items in this block.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:76:35: error: cannot find type 'CGRect' in scope
 74 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 75 |     /// - Returns: Snapshot that contains frames layout items
 76 |     func snapshot(for sourceRect: CGRect, constrainRects: [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
 77 |         var completedRects = constrainRects
 78 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:76:78: error: cannot find type 'CGRect' in scope
 74 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 75 |     /// - Returns: Snapshot that contains frames layout items
 76 |     func snapshot(for sourceRect: CGRect, constrainRects: [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol {
    |                                                                              `- error: cannot find type 'CGRect' in scope
 77 |         var completedRects = constrainRects
 78 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:42: error: cannot find type 'CGRect' in scope
 29 |     ///   - sourceRect: Source space
 30 |     ///   - rect: Rect for constrain
 31 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
    |                                          `- error: cannot find type 'CGRect' in scope
 32 | }
 33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:59: error: cannot find type 'CGRect' in scope
 29 |     ///   - sourceRect: Source space
 30 |     ///   - rect: Rect for constrain
 31 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
    |                                                           `- error: cannot find type 'CGRect' in scope
 32 | }
 33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:113:29: error: cannot find type 'CGRect' in scope
111 |         return item.inLayoutTime.frame
112 |     }
113 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
114 |         guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
115 |         return item.inLayoutTime.frame
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:127:32: error: cannot find type 'CGRect' in scope
125 |     ///
126 |     /// - Parameter sourceRect: Source space
127 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
128 |         guard var inLayoutTime = item?.inLayoutTime, let coordinateSpace = inLayoutTime.superElement else { return debugWarning(LayoutBlock.message(forSkipped: self)) }
129 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:139:35: error: cannot find type 'CGRect' in scope
137 |     /// - Parameter sourceRect: Source space for layout
138 |     /// - Returns: Snapshot contained frames layout elements
139 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
140 |         guard let inLayout = item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
141 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:154:85: error: cannot find type 'CGRect' in scope
152 |     ///   - completedRects: `LayoutElement` elements with corrected frame
153 |     /// - Returns: Frame of this block
154 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                                                                     `- error: cannot find type 'CGRect' in scope
155 |         guard let item = self.item, let inLayout = self.item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:154:35: error: cannot find type 'CGRect' in scope
152 |     ///   - completedRects: `LayoutElement` elements with corrected frame
153 |     /// - Returns: Frame of this block
154 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
155 |         guard let item = self.item, let inLayout = self.item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:206:29: error: cannot find type 'CGRect' in scope
204 |     }
205 |
206 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
207 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
208 |         return blocks[1...].reduce(into: blocks[0].currentRect) { res, next in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:216:32: error: cannot find type 'CGRect' in scope
214 |     ///
215 |     /// - Parameter sourceRect: Source space
216 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
217 |         blocks.forEach { $0.layout(in: sourceRect) }
218 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:235:35: error: cannot find type 'CGRect' in scope
233 |     /// - Parameter sourceRect: Source space for layout
234 |     /// - Returns: Snapshot contained frames layout elements
235 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
236 |         var completedFrames: [ObjectIdentifier: CGRect] = [:]
237 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:247:85: error: cannot find type 'CGRect' in scope
245 |     ///   - completedRects: `LayoutElement` elements with corrected frame
246 |     /// - Returns: Frame of this block
247 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                                                                     `- error: cannot find type 'CGRect' in scope
248 |         var snapshotFrame: CGRect?
249 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:247:35: error: cannot find type 'CGRect' in scope
245 |     ///   - completedRects: `LayoutElement` elements with corrected frame
246 |     /// - Returns: Frame of this block
247 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
248 |         var snapshotFrame: CGRect?
249 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:91:15: error: cannot find 'Thread' in scope
 89 |
 90 |     public func setItem(_ item: Item?) {
 91 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
 92 |
 93 |         self.item = item
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:97:15: error: cannot find 'Thread' in scope
 95 |
 96 |     public func setLayout(_ layout: RectBasedLayout) {
 97 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
 98 |
 99 |         self.itemLayout = layout
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:103:15: error: cannot find 'Thread' in scope
101 |
102 |     public func setConstraints(_ constraints: [LayoutConstraintProtocol]) {
103 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
104 |
105 |         self.constraints = constraints
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:111:34: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
109 |     var currentSnapshot: LayoutSnapshotProtocol {
110 |         guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
111 |         return item.inLayoutTime.frame
    |                                  `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
112 |     }
113 |     public var currentRect: CGRect {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:131:69: error: extra argument 'in' in call
129 |
130 |         itemLayout.formLayout(rect: &inLayoutTime.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
131 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
    |                                                                     `- error: extra argument 'in' in call
132 |         }))
133 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:131:60: error: 'nil' is not compatible with expected argument type 'CGRect'
129 |
130 |         itemLayout.formLayout(rect: &inLayoutTime.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
131 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
    |                                                            `- error: 'nil' is not compatible with expected argument type 'CGRect'
132 |         }))
133 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:142:27: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
140 |         guard let inLayout = item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
141 |
142 |         return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
    |                           `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
143 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
144 |         }))
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:143:69: error: extra argument 'in' in call
141 |
142 |         return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
143 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
    |                                                                     `- error: extra argument 'in' in call
144 |         }))
145 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:143:60: error: 'nil' is not compatible with expected argument type 'CGRect'
141 |
142 |         return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
143 |             constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
    |                                                            `- error: 'nil' is not compatible with expected argument type 'CGRect'
144 |         }))
145 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:194:28: error: cannot find type 'CGRect' in scope
192 |     var currentSnapshot: LayoutSnapshotProtocol {
193 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
194 |         var snapshotFrame: CGRect!
    |                            `- error: cannot find type 'CGRect' in scope
195 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
196 |             let blockFrame = block.currentSnapshot.frame
/host/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 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:236:49: error: cannot find type 'CGRect' in scope
234 |     /// - Returns: Snapshot contained frames layout elements
235 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
236 |         var completedFrames: [ObjectIdentifier: CGRect] = [:]
    |                                                 `- error: cannot find type 'CGRect' in scope
237 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
238 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:248:28: error: cannot find type 'CGRect' in scope
246 |     /// - Returns: Frame of this block
247 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
248 |         var snapshotFrame: CGRect?
    |                            `- error: cannot find type 'CGRect' in scope
249 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
250 |             let blockSnapshot = block.snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:257:15: error: cannot find 'Thread' in scope
255 |
256 |     public mutating func insertLayout(block: LayoutBlockProtocol, to position: Int? = nil) {
257 |         guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
    |               `- error: cannot find 'Thread' in scope
258 |
259 |         blocks.insert(block, at: position ?? blocks.count)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:263:15: error: cannot find 'Thread' in scope
261 |
262 |     public mutating func removeInactiveBlocks() {
263 |         guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
    |               `- error: cannot find 'Thread' in scope
264 |
265 |         blocks = blocks.filter { $0.isActive }
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 | }
 31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:68:42: error: cannot find type 'CGRect' in scope
 66 |     ///   - sourceRect: Source space
 67 |     ///   - rect: Rect for constrain
 68 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
 69 |         constraints.forEach { (constraint) in
 70 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:68:59: error: cannot find type 'CGRect' in scope
 66 |     ///   - sourceRect: Source space
 67 |     ///   - rect: Rect for constrain
 68 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
 69 |         constraints.forEach { (constraint) in
 70 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:80:83: error: cannot find type 'CGRect' in scope
 78 |     ///   - coordinateSpace: Destination coordinate space
 79 |     /// - Returns: Converted rect
 80 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
 81 |         guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
 82 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:80:37: error: cannot find type 'CGRect' in scope
 78 |     ///   - coordinateSpace: Destination coordinate space
 79 |     /// - Returns: Converted rect
 80 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
 81 |         guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
 82 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:86:49: error: cannot find type 'CGRect' in scope
 84 |     }
 85 |
 86 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                 `- error: cannot find type 'CGRect' in scope
 87 |         guard let item = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
 88 |         formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? item.frame, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:86:66: error: cannot find type 'CGRect' in scope
 84 |     }
 85 |
 86 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
 87 |         guard let item = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
 88 |         formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? item.frame, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:114:42: error: cannot find type 'CGRect' in scope
112 |     ///   - sourceRect: Source space
113 |     ///   - rect: Rect for constrain
114 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
115 |         guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
116 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:114:59: error: cannot find type 'CGRect' in scope
112 |     ///   - sourceRect: Source space
113 |     ///   - rect: Rect for constrain
114 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
115 |         guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
116 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:124:49: error: cannot find type 'CGRect' in scope
122 |     }
123 |
124 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                 `- error: cannot find type 'CGRect' in scope
125 |         formConstrain(sourceRect: &sourceRect, by: rect ?? sourceRect)
126 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:124:66: error: cannot find type 'CGRect' in scope
122 |     }
123 |
124 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
125 |         formConstrain(sourceRect: &sourceRect, by: rect ?? sourceRect)
126 |     }
/host/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 |         constraints.forEach { (constraint) in
156 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/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 |         constraints.forEach { (constraint) in
156 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:166:83: error: cannot find type 'CGRect' in scope
164 |     ///   - coordinateSpace: Destination coordinate space
165 |     /// - Returns: Converted rect
166 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
167 |         guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
168 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:166:37: error: cannot find type 'CGRect' in scope
164 |     ///   - coordinateSpace: Destination coordinate space
165 |     /// - Returns: Converted rect
166 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
167 |         guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
168 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:172:49: error: cannot find type 'CGRect' in scope
170 |     }
171 |
172 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                 `- error: cannot find type 'CGRect' in scope
173 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
174 |         formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? layoutItem.layoutBounds, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:172:66: error: cannot find type 'CGRect' in scope
170 |     }
171 |
172 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
173 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
174 |         formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? layoutItem.layoutBounds, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:205:42: error: cannot find type 'CGRect' in scope
203 |     ///   - sourceRect: Source space
204 |     ///   - rect: Rect for constrain
205 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
    |                                          `- error: cannot find type 'CGRect' in scope
206 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 |         base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:205:59: error: cannot find type 'CGRect' in scope
203 |     ///   - sourceRect: Source space
204 |     ///   - rect: Rect for constrain
205 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
    |                                                           `- error: cannot find type 'CGRect' in scope
206 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 |         base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:206:49: error: cannot find type 'CGRect' in scope
204 |     ///   - rect: Rect for constrain
205 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                 `- error: cannot find type 'CGRect' in scope
207 |         base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
208 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:206:66: error: cannot find type 'CGRect' in scope
204 |     ///   - rect: Rect for constrain
205 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
207 |         base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
208 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:216:26: error: cannot find type 'CGRect' in scope
214 | public struct AnonymConstraint: LayoutConstraintProtocol {
215 |     let anchors: [RectBasedConstraint]
216 |     let constrainRect: ((CGRect) -> CGRect)?
    |                          `- error: cannot find type 'CGRect' in scope
217 |
218 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:216:37: error: cannot find type 'CGRect' in scope
214 | public struct AnonymConstraint: LayoutConstraintProtocol {
215 |     let anchors: [RectBasedConstraint]
216 |     let constrainRect: ((CGRect) -> CGRect)?
    |                                     `- error: cannot find type 'CGRect' in scope
217 |
218 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:218:66: error: cannot find type 'CGRect' in scope
216 |     let constrainRect: ((CGRect) -> CGRect)?
217 |
218 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
219 |         self.anchors = anchors
220 |         self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:218:77: error: cannot find type 'CGRect' in scope
216 |     let constrainRect: ((CGRect) -> CGRect)?
217 |
218 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                             `- error: cannot find type 'CGRect' in scope
219 |         self.anchors = anchors
220 |         self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:232:49: error: cannot find type 'CGRect' in scope
230 |     ///   - sourceRect: Source space
231 |     ///   - rect: Rect for constrain
232 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                 `- error: cannot find type 'CGRect' in scope
233 |         anchors.forEach { (constraint) in
234 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:232:66: error: cannot find type 'CGRect' in scope
230 |     ///   - sourceRect: Source space
231 |     ///   - rect: Rect for constrain
232 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
233 |         anchors.forEach { (constraint) in
234 |             constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:237:49: error: cannot find type 'CGRect' in scope
235 |         }
236 |     }
237 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                 `- error: cannot find type 'CGRect' in scope
238 |         formConstrain(sourceRect: &sourceRect, by: constrainRect?(rect ?? sourceRect) ?? sourceRect)
239 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:237:66: error: cannot find type 'CGRect' in scope
235 |         }
236 |     }
237 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
238 |         formConstrain(sourceRect: &sourceRect, by: constrainRect?(rect ?? sourceRect) ?? sourceRect)
239 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:242:38: error: cannot find type 'CGRect' in scope
240 | }
241 | public extension AnonymConstraint {
242 |     init(transform: @escaping (inout CGRect) -> Void) {
    |                                      `- error: cannot find type 'CGRect' in scope
243 |         self.init(anchors: [Equal()]) {
244 |             var source = $0
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:207:67: error: extra argument 'in' in call
205 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 |         base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
    |                                                                   `- error: extra argument 'in' in call
208 |     }
209 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:28:23: error: cannot find type 'CGRect' in scope
 26 | extension CGRect: LayoutSnapshotProtocol {
 27 |     /// Returns self value
 28 |     public var frame: CGRect { return self }
    |                       `- error: cannot find type 'CGRect' in scope
 29 |     /// Returns empty array
 30 |     public var childSnapshots: [LayoutSnapshotProtocol] { return [] }
[18/20] Compiling CGLayout common.cglayout.swift
/host/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) }
/host/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) }
/host/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) }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 {
/host/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 {
/host/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) }
/host/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 }
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:38:16: error: cannot find 'ProcessInfo' in scope
 36 |     debugAction {
 37 |         if condition() {
 38 |             if ProcessInfo.processInfo.arguments.contains("CGL_LOG_WARNINGS") {
    |                `- error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:41:16: error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
 41 |             if ProcessInfo.processInfo.arguments.contains("CGL_THROW_ON_WARNING") { fatalError() }
    |                `- error: cannot find 'ProcessInfo' in scope
 42 |         }
 43 |     }
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 | }
 31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:96: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                                                                                `- error: cannot find type 'CGPoint' in scope
220 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:44: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                            `- error: cannot find type 'CGPoint' in scope
220 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:68: error: cannot find type 'CGPoint' in scope
234 |         return converted
235 |     }
236 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                                                    `- error: cannot find type 'CGPoint' in scope
237 |         return Self.convert(point: point, from: self, to: item)
238 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:32: error: cannot find type 'CGPoint' in scope
234 |         return converted
235 |     }
236 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
237 |         return Self.convert(point: point, from: self, to: item)
238 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:70: error: cannot find type 'CGPoint' in scope
238 |     }
239 |
240 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:32: error: cannot find type 'CGPoint' in scope
238 |     }
239 |
240 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:66: error: cannot find type 'CGRect' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
243 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                                                                  `- error: cannot find type 'CGRect' in scope
244 |         var rect = rect
245 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:31: error: cannot find type 'CGRect' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
243 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
244 |         var rect = rect
245 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:68: error: cannot find type 'CGRect' in scope
246 |         return rect
247 |     }
248 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                                                                    `- error: cannot find type 'CGRect' in scope
249 |         var rect = rect
250 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:31: error: cannot find type 'CGRect' in scope
246 |         return rect
247 |     }
248 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
249 |         var rect = rect
250 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:91:24: error: cannot find type 'CGPoint' in scope
 89 |
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
    |                        `- error: cannot find type 'CGPoint' in scope
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
 93 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:92:23: error: cannot find type 'CGPoint' in scope
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
    |                       `- error: cannot find type 'CGPoint' in scope
 93 | }
 94 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:96:15: error: cannot find type 'CGFloat' in scope
 94 |
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
    |               `- error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:97:16: error: cannot find type 'CGFloat' in scope
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
    |                `- error: cannot find type 'CGFloat' in scope
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:98:14: error: cannot find type 'CGFloat' in scope
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
    |              `- error: cannot find type 'CGFloat' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:99:17: error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
    |                 `- error: cannot find type 'CGFloat' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:101:29: error: cannot find type 'CGSize' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
    |                             `- error: cannot find type 'CGSize' in scope
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:43: error: cannot find type 'CGSize' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                                           `- error: cannot find type 'CGSize' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:31: error: cannot find type 'CGPoint' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                               `- error: cannot find type 'CGPoint' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:105:37: error: cannot find type 'EdgeInsets' in scope
103 | }
104 | extension CGRect {
105 |     mutating func apply(edgeInsets: EdgeInsets) {
    |                                     `- error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:46: error: cannot find type 'CGRect' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                                              `- error: cannot find type 'CGRect' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:31: error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                               `- error: cannot find type 'EdgeInsets' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:132:21: error: cannot find type 'CGFloat' in scope
130 |
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
    |                     `- error: cannot find type 'CGFloat' in scope
133 |     var vertical: CGFloat { return top + bottom }
134 | #if os(macOS) || os(Linux)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:133:19: error: cannot find type 'CGFloat' in scope
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
133 |     var vertical: CGFloat { return top + bottom }
    |                   `- error: cannot find type 'CGFloat' in scope
134 | #if os(macOS) || os(Linux)
135 |     public static var zero: EdgeInsets { return EdgeInsets(top: 0, left: 0, bottom: 0, right: 0) }
[19/20] Compiling CGLayout container.cglayout.swift
/host/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) }
/host/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) }
/host/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) }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 {
/host/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 {
/host/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) }
/host/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 }
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:38:16: error: cannot find 'ProcessInfo' in scope
 36 |     debugAction {
 37 |         if condition() {
 38 |             if ProcessInfo.processInfo.arguments.contains("CGL_LOG_WARNINGS") {
    |                `- error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:41:16: error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
 41 |             if ProcessInfo.processInfo.arguments.contains("CGL_THROW_ON_WARNING") { fatalError() }
    |                `- error: cannot find 'ProcessInfo' in scope
 42 |         }
 43 |     }
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 | }
 31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:96: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                                                                                `- error: cannot find type 'CGPoint' in scope
220 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:44: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                            `- error: cannot find type 'CGPoint' in scope
220 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:68: error: cannot find type 'CGPoint' in scope
234 |         return converted
235 |     }
236 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                                                    `- error: cannot find type 'CGPoint' in scope
237 |         return Self.convert(point: point, from: self, to: item)
238 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:32: error: cannot find type 'CGPoint' in scope
234 |         return converted
235 |     }
236 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
237 |         return Self.convert(point: point, from: self, to: item)
238 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:70: error: cannot find type 'CGPoint' in scope
238 |     }
239 |
240 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:32: error: cannot find type 'CGPoint' in scope
238 |     }
239 |
240 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:66: error: cannot find type 'CGRect' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
243 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                                                                  `- error: cannot find type 'CGRect' in scope
244 |         var rect = rect
245 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:31: error: cannot find type 'CGRect' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
243 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
244 |         var rect = rect
245 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:68: error: cannot find type 'CGRect' in scope
246 |         return rect
247 |     }
248 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                                                                    `- error: cannot find type 'CGRect' in scope
249 |         var rect = rect
250 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:31: error: cannot find type 'CGRect' in scope
246 |         return rect
247 |     }
248 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
249 |         var rect = rect
250 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:91:24: error: cannot find type 'CGPoint' in scope
 89 |
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
    |                        `- error: cannot find type 'CGPoint' in scope
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
 93 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:92:23: error: cannot find type 'CGPoint' in scope
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
    |                       `- error: cannot find type 'CGPoint' in scope
 93 | }
 94 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:96:15: error: cannot find type 'CGFloat' in scope
 94 |
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
    |               `- error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:97:16: error: cannot find type 'CGFloat' in scope
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
    |                `- error: cannot find type 'CGFloat' in scope
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:98:14: error: cannot find type 'CGFloat' in scope
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
    |              `- error: cannot find type 'CGFloat' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:99:17: error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
    |                 `- error: cannot find type 'CGFloat' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:101:29: error: cannot find type 'CGSize' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
    |                             `- error: cannot find type 'CGSize' in scope
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:43: error: cannot find type 'CGSize' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                                           `- error: cannot find type 'CGSize' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:31: error: cannot find type 'CGPoint' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                               `- error: cannot find type 'CGPoint' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:105:37: error: cannot find type 'EdgeInsets' in scope
103 | }
104 | extension CGRect {
105 |     mutating func apply(edgeInsets: EdgeInsets) {
    |                                     `- error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:46: error: cannot find type 'CGRect' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                                              `- error: cannot find type 'CGRect' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:31: error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                               `- error: cannot find type 'EdgeInsets' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:132:21: error: cannot find type 'CGFloat' in scope
130 |
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
    |                     `- error: cannot find type 'CGFloat' in scope
133 |     var vertical: CGFloat { return top + bottom }
134 | #if os(macOS) || os(Linux)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:133:19: error: cannot find type 'CGFloat' in scope
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
133 |     var vertical: CGFloat { return top + bottom }
    |                   `- error: cannot find type 'CGFloat' in scope
134 | #if os(macOS) || os(Linux)
135 |     public static var zero: EdgeInsets { return EdgeInsets(top: 0, left: 0, bottom: 0, right: 0) }
[20/20] Compiling CGLayout coordinate.cglayout.swift
/host/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) }
/host/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) }
/host/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) }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 {
/host/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 {
/host/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) }
/host/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 }
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:38:16: error: cannot find 'ProcessInfo' in scope
 36 |     debugAction {
 37 |         if condition() {
 38 |             if ProcessInfo.processInfo.arguments.contains("CGL_LOG_WARNINGS") {
    |                `- error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:41:16: error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
 41 |             if ProcessInfo.processInfo.arguments.contains("CGL_THROW_ON_WARNING") { fatalError() }
    |                `- error: cannot find 'ProcessInfo' in scope
 42 |         }
 43 |     }
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 | }
 31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:96: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                                                                                `- error: cannot find type 'CGPoint' in scope
220 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:44: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                            `- error: cannot find type 'CGPoint' in scope
220 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:68: error: cannot find type 'CGPoint' in scope
234 |         return converted
235 |     }
236 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                                                    `- error: cannot find type 'CGPoint' in scope
237 |         return Self.convert(point: point, from: self, to: item)
238 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:32: error: cannot find type 'CGPoint' in scope
234 |         return converted
235 |     }
236 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
237 |         return Self.convert(point: point, from: self, to: item)
238 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:70: error: cannot find type 'CGPoint' in scope
238 |     }
239 |
240 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:32: error: cannot find type 'CGPoint' in scope
238 |     }
239 |
240 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:66: error: cannot find type 'CGRect' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
243 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                                                                  `- error: cannot find type 'CGRect' in scope
244 |         var rect = rect
245 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:31: error: cannot find type 'CGRect' in scope
241 |         return Self.convert(point: point, from: item, to: self)
242 |     }
243 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
244 |         var rect = rect
245 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:68: error: cannot find type 'CGRect' in scope
246 |         return rect
247 |     }
248 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                                                                    `- error: cannot find type 'CGRect' in scope
249 |         var rect = rect
250 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:31: error: cannot find type 'CGRect' in scope
246 |         return rect
247 |     }
248 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
249 |         var rect = rect
250 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:91:24: error: cannot find type 'CGPoint' in scope
 89 |
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
    |                        `- error: cannot find type 'CGPoint' in scope
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
 93 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:92:23: error: cannot find type 'CGPoint' in scope
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
    |                       `- error: cannot find type 'CGPoint' in scope
 93 | }
 94 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:96:15: error: cannot find type 'CGFloat' in scope
 94 |
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
    |               `- error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:97:16: error: cannot find type 'CGFloat' in scope
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
    |                `- error: cannot find type 'CGFloat' in scope
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:98:14: error: cannot find type 'CGFloat' in scope
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
    |              `- error: cannot find type 'CGFloat' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:99:17: error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
    |                 `- error: cannot find type 'CGFloat' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:101:29: error: cannot find type 'CGSize' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
    |                             `- error: cannot find type 'CGSize' in scope
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:43: error: cannot find type 'CGSize' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                                           `- error: cannot find type 'CGSize' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:31: error: cannot find type 'CGPoint' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                               `- error: cannot find type 'CGPoint' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:105:37: error: cannot find type 'EdgeInsets' in scope
103 | }
104 | extension CGRect {
105 |     mutating func apply(edgeInsets: EdgeInsets) {
    |                                     `- error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:46: error: cannot find type 'CGRect' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                                              `- error: cannot find type 'CGRect' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:31: error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                               `- error: cannot find type 'EdgeInsets' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:132:21: error: cannot find type 'CGFloat' in scope
130 |
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
    |                     `- error: cannot find type 'CGFloat' in scope
133 |     var vertical: CGFloat { return top + bottom }
134 | #if os(macOS) || os(Linux)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:133:19: error: cannot find type 'CGFloat' in scope
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
133 |     var vertical: CGFloat { return top + bottom }
    |                   `- error: cannot find type 'CGFloat' in scope
134 | #if os(macOS) || os(Linux)
135 |     public static var zero: EdgeInsets { return EdgeInsets(top: 0, left: 0, bottom: 0, right: 0) }
BUILD FAILURE 6.2 android