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.1 for Wasm on 27 May 2025 10:59:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

/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/19] Compiling CGLayout anchors.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/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: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/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/evolution.cglayout/backend.anchors.cglayout.swift:55:70: error: binary operator '-' cannot be applied to operands of type 'CGSize' and 'CGFloat'
 53 |     public func boxed<A2: SizeRectAnchor>(by a2: A2, box: CGFloat) -> AnyRectBasedConstraint
 54 |         where Metric == A2.Metric, Metric == CGSize {
 55 |             return AnyRectBasedConstraint { self.set(a2.get(for: $1) - box, for: &$0) }
    |                                                                      `- error: binary operator '-' cannot be applied to operands of type 'CGSize' and 'CGFloat'
 56 |     }
 57 |     public func scaled<A2: SizeRectAnchor>(by a2: A2, scale: CGFloat) -> AnyRectBasedConstraint
/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/evolution.cglayout/backend.anchors.cglayout.swift:59:70: error: referencing operator function '*' on 'SIMD' requires that 'CGSize' conform to 'SIMD'
 57 |     public func scaled<A2: SizeRectAnchor>(by a2: A2, scale: CGFloat) -> AnyRectBasedConstraint
 58 |         where Metric == A2.Metric, Metric == CGSize {
 59 |             return AnyRectBasedConstraint { self.set(a2.get(for: $1) * scale, for: &$0) }
    |                                                                      `- error: referencing operator function '*' on 'SIMD' requires that 'CGSize' conform to 'SIMD'
 60 |     }
 61 | }
Swift.SIMD:1:11: note: where 'Self' = 'CGSize'
 1 | extension SIMD where Self.Scalar : FloatingPoint {
   |           `- note: where 'Self' = 'CGSize'
 2 |     prefix public static func - (a: Self) -> Self
 3 |     public static func + (a: Self.Scalar, b: Self) -> Self
[15/19] Compiling CGLayout backend.anchors.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/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: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/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/evolution.cglayout/backend.anchors.cglayout.swift:55:70: error: binary operator '-' cannot be applied to operands of type 'CGSize' and 'CGFloat'
 53 |     public func boxed<A2: SizeRectAnchor>(by a2: A2, box: CGFloat) -> AnyRectBasedConstraint
 54 |         where Metric == A2.Metric, Metric == CGSize {
 55 |             return AnyRectBasedConstraint { self.set(a2.get(for: $1) - box, for: &$0) }
    |                                                                      `- error: binary operator '-' cannot be applied to operands of type 'CGSize' and 'CGFloat'
 56 |     }
 57 |     public func scaled<A2: SizeRectAnchor>(by a2: A2, scale: CGFloat) -> AnyRectBasedConstraint
/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/evolution.cglayout/backend.anchors.cglayout.swift:59:70: error: referencing operator function '*' on 'SIMD' requires that 'CGSize' conform to 'SIMD'
 57 |     public func scaled<A2: SizeRectAnchor>(by a2: A2, scale: CGFloat) -> AnyRectBasedConstraint
 58 |         where Metric == A2.Metric, Metric == CGSize {
 59 |             return AnyRectBasedConstraint { self.set(a2.get(for: $1) * scale, for: &$0) }
    |                                                                      `- error: referencing operator function '*' on 'SIMD' requires that 'CGSize' conform to 'SIMD'
 60 |     }
 61 | }
Swift.SIMD:1:11: note: where 'Self' = 'CGSize'
 1 | extension SIMD where Self.Scalar : FloatingPoint {
   |           `- note: where 'Self' = 'CGSize'
 2 |     prefix public static func - (a: Self) -> Self
 3 |     public static func + (a: Self.Scalar, b: Self) -> Self
[16/19] 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: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: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: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: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: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: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: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: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: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/19] 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: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: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: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: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: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: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: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: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: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/19] Compiling CGLayout stack.layoutGuide.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:87: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                                                                                       `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:29: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                             `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:53: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                                                     `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:112: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                                `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:36: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                    `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:60: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                            `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:99: error: cannot find type 'CGFloat' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                   `- error: cannot find type 'CGFloat' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:113: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                                 `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:37: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                     `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:61: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                             `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:100: error: cannot find type 'CGFloat' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                    `- error: cannot find type 'CGFloat' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:86: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                                                      `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:28: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                            `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:52: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                    `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/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/stack.layoutGuide.cglayout.swift:55:20: error: cannot find type 'CGFloat' in scope
 53 |     public enum Spacing {
 54 |         case equally
 55 |         case equal(CGFloat)
    |                    `- error: cannot find type 'CGFloat' in scope
 56 |     }
 57 |     public struct Alignment: RectAxisLayout {
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:68:46: error: cannot find type 'CGFloat' in scope
 66 |         }
 67 |
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
    |                                              `- error: cannot find type 'CGFloat' in scope
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:69:47: error: cannot find type 'CGFloat' in scope
 67 |
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
    |                                               `- error: cannot find type 'CGFloat' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:70:45: error: cannot find type 'CGFloat' in scope
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
    |                                             `- error: cannot find type 'CGFloat' in scope
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:72:44: error: cannot find type 'CGRect' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
    |                                            `- error: cannot find type 'CGRect' in scope
 73 |             layout.formLayout(rect: &rect, in: source)
 74 |         }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:72:63: error: cannot find type 'CGRect' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
    |                                                               `- error: cannot find type 'CGRect' in scope
 73 |             layout.formLayout(rect: &rect, in: source)
 74 |         }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:88:20: error: cannot find type 'CGFloat' in scope
 86 |     public enum Filling {
 87 |         case equally
 88 |         case equal(CGFloat)
    |                    `- error: cannot find type 'CGFloat' in scope
 89 |     }
 90 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:94: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                                                              `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:36: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                    `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:60: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                            `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/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/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/stack.layoutGuide.cglayout.swift:193:29: error: cannot find type 'CGRect' in scope
191 |         }, frame: snapshotFrame ?? .zero)
192 |     }
193 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
194 |         let items = self.items()
195 |         guard items.count > 0 else { fatalError(StackLayoutScheme.message(forNotActive: self)) }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:202:32: error: cannot find type 'CGRect' in scope
200 |     ///
201 |     /// - Parameter sourceRect: Source space
202 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
203 |         let subItems = items()
204 |         let frames = distribution.distribute(rects: subItems.map { $0.inLayoutTime.frame }, in: sourceRect, along: axis)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:223:35: error: cannot find type 'CGRect' in scope
221 |     /// - Parameter sourceRect: Source space for layout
222 |     /// - Returns: Snapshot contained frames layout items
223 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
224 |         var completedFrames: [ObjectIdentifier: CGRect] = [:]
225 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:235:35: error: cannot find type 'CGRect' in scope
233 |     ///   - completedRects: `LayoutItem` items with corrected frame
234 |     /// - Returns: Frame of this block
235 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
236 |         let subItems = items()
237 |         let frames = distribution.distribute(
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:235:85: error: cannot find type 'CGRect' in scope
233 |     ///   - completedRects: `LayoutItem` items with corrected frame
234 |     /// - Returns: Frame of this block
235 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                                                                     `- error: cannot find type 'CGRect' in scope
236 |         let subItems = items()
237 |         let frames = distribution.distribute(
/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: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: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/layoutGuide.cglayout.swift:50:24: error: cannot find type 'CGRect' in scope
 48 |     func removeFromSuperElement() { ownerElement = nil }
 49 |
 50 |     public init(frame: CGRect = .zero) {
    |                        `- error: cannot find type 'CGRect' in scope
 51 |         self.frame = frame
 52 |         self.bounds = CGRect(origin: .zero, size: frame.size)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:262:29: error: cannot find type 'EdgeInsets' in scope
260 |     open var arrangedItems: [LayoutElement] { return items.map { $0.child } }
261 |     /// Insets for distribution space
262 |     open var contentInsets: EdgeInsets = .zero {
    |                             `- error: cannot find type 'EdgeInsets' in scope
263 |         didSet { insetAnchor = Inset(contentInsets) }
264 |     }
/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/stack.layoutGuide.cglayout.swift:294:40: error: cannot find type 'CGRect' in scope
292 |     ///
293 |     /// - Parameter rect: Space for layout
294 |     override open func layout(in rect: CGRect) {
    |                                        `- error: cannot find type 'CGRect' in scope
295 |         super.layout(in: rect)
296 |         scheme.layout(in: rect)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:303:63: error: cannot find type 'CGRect' in scope
301 |     /// - Parameter frame: New frame value.
302 |     /// - Returns: Content rect
303 |     open override func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                               `- error: cannot find type 'CGRect' in scope
304 |         let lFrame = super.contentRect(forFrame: frame)
305 |         return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:303:52: error: cannot find type 'CGRect' in scope
301 |     /// - Parameter frame: New frame value.
302 |     /// - Returns: Content rect
303 |     open override func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                    `- error: cannot find type 'CGRect' in scope
304 |         let lFrame = super.contentRect(forFrame: frame)
305 |         return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:312:42: error: cannot find type 'CGSize' in scope
310 |     /// - Parameter size: The size for which the view should calculate its best-fitting size
311 |     /// - Returns: A new size that fits the receiver’s content
312 |     func sizeThatFits(_ size: CGSize) -> CGSize {
    |                                          `- error: cannot find type 'CGSize' in scope
313 |         let sourceRect = CGRect(origin: .zero, size: size)
314 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:312:31: error: cannot find type 'CGSize' in scope
310 |     /// - Parameter size: The size for which the view should calculate its best-fitting size
311 |     /// - Returns: A new size that fits the receiver’s content
312 |     func sizeThatFits(_ size: CGSize) -> CGSize {
    |                               `- error: cannot find type 'CGSize' in scope
313 |         let sourceRect = CGRect(origin: .zero, size: size)
314 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:25:19: error: cannot find type 'CGRect' in scope
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
 25 |     var previous: CGRect?
    |                   `- error: cannot find type 'CGRect' in scope
 26 |     return rects.map { rect in
 27 |         var rect = rect
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:34:19: error: cannot find type 'CGRect' in scope
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
 34 |     var previous: CGRect?
    |                   `- error: cannot find type 'CGRect' in scope
 35 |     return rects.map { rect in
 36 |         var rect = rect
/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:98:19: error: cannot find type 'CGFloat' in scope
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
    |                   `- error: cannot find type 'CGFloat' in scope
 99 |             let count = CGFloat(rects.count)
100 |             switch (self.filling, self.spacing) {
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:111:47: error: cannot find type 'CGRect' in scope
109 |
110 |         let transverseAxis = axis.transverse()
111 |         let filledRects = rects.map { rect -> CGRect in
    |                                               `- error: cannot find type 'CGRect' in scope
112 |             var rect = rect
113 |             axis.set(size: fill, for: &rect)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:113:39: error: cannot convert value of type '_' to expected argument type 'CGRect'
111 |         let filledRects = rects.map { rect -> CGRect in
112 |             var rect = rect
113 |             axis.set(size: fill, for: &rect)
    |                                       `- error: cannot convert value of type '_' to expected argument type 'CGRect'
114 |             transverseAxis.set(size: transverseAxis.get(sizeAt: sourceRect), for: &rect)
115 |             return rect
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:118:22: error: cannot find type 'CGFloat' in scope
116 |         }
117 |
118 |         let spacing: CGFloat = {
    |                      `- error: cannot find type 'CGFloat' in scope
119 |             switch self.spacing {
120 |             case .equally:
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:186:28: error: cannot find type 'CGRect' in scope
184 |     public /// Snapshot for current state without recalculating
185 |     var currentSnapshot: LayoutSnapshotProtocol {
186 |         var snapshotFrame: CGRect?
    |                            `- error: cannot find type 'CGRect' in scope
187 |         return LayoutSnapshot(childSnapshots: items().map { block in
188 |             let blockFrame = block.frame
/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/stack.layoutGuide.cglayout.swift:205:31: error: type of expression is ambiguous without a type annotation
203 |         let subItems = items()
204 |         let frames = distribution.distribute(rects: subItems.map { $0.inLayoutTime.frame }, in: sourceRect, along: axis)
205 |         zip(subItems, frames).forEach { $0.0.frame = $0.1 }
    |                               `- error: type of expression is ambiguous without a type annotation
206 |     }
207 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:224:49: error: cannot find type 'CGRect' in scope
222 |     /// - Returns: Snapshot contained frames layout items
223 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
224 |         var completedFrames: [ObjectIdentifier: CGRect] = [:]
    |                                                 `- error: cannot find type 'CGRect' in scope
225 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
226 |     }
/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/stack.layoutGuide.cglayout.swift:247:79: error: cannot find 'CGRect' in scope
245 |             snapRect = snapRect?.union(current) ?? current
246 |         }
247 |         return LayoutSnapshot(childSnapshots: frames, frame: snapshotFrame ?? CGRect(origin: sourceRect.origin, size: .zero))
    |                                                                               `- error: cannot find 'CGRect' in scope
248 |     }
249 | }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:247:120: error: cannot infer contextual base in reference to member 'zero'
245 |             snapRect = snapRect?.union(current) ?? current
246 |         }
247 |         return LayoutSnapshot(childSnapshots: frames, frame: snapshotFrame ?? CGRect(origin: sourceRect.origin, size: .zero))
    |                                                                                                                        `- error: cannot infer contextual base in reference to member 'zero'
248 |     }
249 | }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:281:18: error: incorrect argument label in call (have 'frame:', expected 'items:')
279 |
280 |     public convenience init(items: [Element]) {
281 |         self.init(frame: .zero)
    |                  `- error: incorrect argument label in call (have 'frame:', expected 'items:')
282 |         self.items = items
283 |     }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:281:27: error: type '[StackLayoutGuide<Parent>.Element]' has no member 'zero'
279 |
280 |     public convenience init(items: [Element]) {
281 |         self.init(frame: .zero)
    |                           `- error: type '[StackLayoutGuide<Parent>.Element]' has no member 'zero'
282 |         self.items = items
283 |     }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:63:31: error: cannot find type 'CGRect' in scope
 61 |     ///
 62 |     /// - Parameter rect: Space for layout
 63 |     open func layout(in rect: CGRect) {
    |                               `- error: cannot find type 'CGRect' in scope
 64 |         // subclass override
 65 |     }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:295:26: error: argument passed to call that takes no arguments
293 |     /// - Parameter rect: Space for layout
294 |     override open func layout(in rect: CGRect) {
295 |         super.layout(in: rect)
    |                          `- error: argument passed to call that takes no arguments
296 |         scheme.layout(in: rect)
297 |     }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:75:54: error: cannot find type 'CGRect' in scope
 73 |     /// - Parameter frame: New frame value.
 74 |     /// - Returns: Content rect
 75 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                      `- error: cannot find type 'CGRect' in scope
 76 |         return CGRect(origin: .zero, size: frame.size)
 77 |     }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:75:43: error: cannot find type 'CGRect' in scope
 73 |     /// - Parameter frame: New frame value.
 74 |     /// - Returns: Content rect
 75 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                           `- error: cannot find type 'CGRect' in scope
 76 |         return CGRect(origin: .zero, size: frame.size)
 77 |     }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:313:26: error: cannot find 'CGRect' in scope
311 |     /// - Returns: A new size that fits the receiver’s content
312 |     func sizeThatFits(_ size: CGSize) -> CGSize {
313 |         let sourceRect = CGRect(origin: .zero, size: size)
    |                          `- error: cannot find 'CGRect' in scope
314 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
315 |         result.width += contentInsets.right
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:313:42: error: cannot infer contextual base in reference to member 'zero'
311 |     /// - Returns: A new size that fits the receiver’s content
312 |     func sizeThatFits(_ size: CGSize) -> CGSize {
313 |         let sourceRect = CGRect(origin: .zero, size: size)
    |                                          `- error: cannot infer contextual base in reference to member 'zero'
314 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
315 |         result.width += contentInsets.right
[19/19] Compiling CGLayout support.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:87: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                                                                                       `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:29: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                             `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:21:53: error: cannot find type 'CGRect' in scope
 19 | /// Base protocol for any layout distribution
 20 | protocol RectBasedDistribution {
 21 |     func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect]
    |                                                     `- error: cannot find type 'CGRect' in scope
 22 | }
 23 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:112: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                                `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:36: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                    `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:60: error: cannot find type 'CGRect' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                            `- error: cannot find type 'CGRect' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:24:99: error: cannot find type 'CGFloat' in scope
 22 | }
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                   `- error: cannot find type 'CGFloat' in scope
 25 |     var previous: CGRect?
 26 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:113: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                                 `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:37: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                     `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:61: error: cannot find type 'CGRect' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                             `- error: cannot find type 'CGRect' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:33:100: error: cannot find type 'CGFloat' in scope
 31 |     }
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
    |                                                                                                    `- error: cannot find type 'CGFloat' in scope
 34 |     var previous: CGRect?
 35 |     return rects.map { rect in
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:86: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                                                      `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:28: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                            `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:42:52: error: cannot find type 'CGRect' in scope
 40 |     }
 41 | }
 42 | func alignByCenter(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                    `- error: cannot find type 'CGRect' in scope
 43 |     let offset = axis.get(midOf: sourceRect) - (((axis.get(maxOf: rects.last!) - axis.get(minOf: rects.first!)) / 2) + axis.get(minOf: rects.first!))
 44 |     return rects.map { axis.offset(rect: $0, by: offset) }
/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/stack.layoutGuide.cglayout.swift:55:20: error: cannot find type 'CGFloat' in scope
 53 |     public enum Spacing {
 54 |         case equally
 55 |         case equal(CGFloat)
    |                    `- error: cannot find type 'CGFloat' in scope
 56 |     }
 57 |     public struct Alignment: RectAxisLayout {
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:68:46: error: cannot find type 'CGFloat' in scope
 66 |         }
 67 |
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
    |                                              `- error: cannot find type 'CGFloat' in scope
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:69:47: error: cannot find type 'CGFloat' in scope
 67 |
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
    |                                               `- error: cannot find type 'CGFloat' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:70:45: error: cannot find type 'CGFloat' in scope
 68 |         public static func leading(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.leading(by: CGRectAxis.vertical, offset: offset)) }
 69 |         public static func trailing(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.trailing(by: CGRectAxis.vertical, offset: offset)) }
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
    |                                             `- error: cannot find type 'CGFloat' in scope
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:72:44: error: cannot find type 'CGRect' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
    |                                            `- error: cannot find type 'CGRect' in scope
 73 |             layout.formLayout(rect: &rect, in: source)
 74 |         }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:72:63: error: cannot find type 'CGRect' in scope
 70 |         public static func center(_ offset: CGFloat = 0) -> Alignment { return Alignment(Layout.Alignment.center(by: CGRectAxis.vertical, offset: offset)) }
 71 |
 72 |         public func formLayout(rect: inout CGRect, in source: CGRect) {
    |                                                               `- error: cannot find type 'CGRect' in scope
 73 |             layout.formLayout(rect: &rect, in: source)
 74 |         }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:88:20: error: cannot find type 'CGFloat' in scope
 86 |     public enum Filling {
 87 |         case equally
 88 |         case equal(CGFloat)
    |                    `- error: cannot find type 'CGFloat' in scope
 89 |     }
 90 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:94: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                                                              `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:36: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                    `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:60: error: cannot find type 'CGRect' in scope
 94 |     var filling: Filling
 95 |
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
    |                                                            `- error: cannot find type 'CGRect' in scope
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
/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/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/stack.layoutGuide.cglayout.swift:193:29: error: cannot find type 'CGRect' in scope
191 |         }, frame: snapshotFrame ?? .zero)
192 |     }
193 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
194 |         let items = self.items()
195 |         guard items.count > 0 else { fatalError(StackLayoutScheme.message(forNotActive: self)) }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:202:32: error: cannot find type 'CGRect' in scope
200 |     ///
201 |     /// - Parameter sourceRect: Source space
202 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
203 |         let subItems = items()
204 |         let frames = distribution.distribute(rects: subItems.map { $0.inLayoutTime.frame }, in: sourceRect, along: axis)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:223:35: error: cannot find type 'CGRect' in scope
221 |     /// - Parameter sourceRect: Source space for layout
222 |     /// - Returns: Snapshot contained frames layout items
223 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
224 |         var completedFrames: [ObjectIdentifier: CGRect] = [:]
225 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:235:35: error: cannot find type 'CGRect' in scope
233 |     ///   - completedRects: `LayoutItem` items with corrected frame
234 |     /// - Returns: Frame of this block
235 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
236 |         let subItems = items()
237 |         let frames = distribution.distribute(
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:235:85: error: cannot find type 'CGRect' in scope
233 |     ///   - completedRects: `LayoutItem` items with corrected frame
234 |     /// - Returns: Frame of this block
235 |     func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
    |                                                                                     `- error: cannot find type 'CGRect' in scope
236 |         let subItems = items()
237 |         let frames = distribution.distribute(
/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: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: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/layoutGuide.cglayout.swift:50:24: error: cannot find type 'CGRect' in scope
 48 |     func removeFromSuperElement() { ownerElement = nil }
 49 |
 50 |     public init(frame: CGRect = .zero) {
    |                        `- error: cannot find type 'CGRect' in scope
 51 |         self.frame = frame
 52 |         self.bounds = CGRect(origin: .zero, size: frame.size)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:262:29: error: cannot find type 'EdgeInsets' in scope
260 |     open var arrangedItems: [LayoutElement] { return items.map { $0.child } }
261 |     /// Insets for distribution space
262 |     open var contentInsets: EdgeInsets = .zero {
    |                             `- error: cannot find type 'EdgeInsets' in scope
263 |         didSet { insetAnchor = Inset(contentInsets) }
264 |     }
/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/stack.layoutGuide.cglayout.swift:294:40: error: cannot find type 'CGRect' in scope
292 |     ///
293 |     /// - Parameter rect: Space for layout
294 |     override open func layout(in rect: CGRect) {
    |                                        `- error: cannot find type 'CGRect' in scope
295 |         super.layout(in: rect)
296 |         scheme.layout(in: rect)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:303:63: error: cannot find type 'CGRect' in scope
301 |     /// - Parameter frame: New frame value.
302 |     /// - Returns: Content rect
303 |     open override func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                               `- error: cannot find type 'CGRect' in scope
304 |         let lFrame = super.contentRect(forFrame: frame)
305 |         return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:303:52: error: cannot find type 'CGRect' in scope
301 |     /// - Parameter frame: New frame value.
302 |     /// - Returns: Content rect
303 |     open override func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                    `- error: cannot find type 'CGRect' in scope
304 |         let lFrame = super.contentRect(forFrame: frame)
305 |         return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:312:42: error: cannot find type 'CGSize' in scope
310 |     /// - Parameter size: The size for which the view should calculate its best-fitting size
311 |     /// - Returns: A new size that fits the receiver’s content
312 |     func sizeThatFits(_ size: CGSize) -> CGSize {
    |                                          `- error: cannot find type 'CGSize' in scope
313 |         let sourceRect = CGRect(origin: .zero, size: size)
314 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:312:31: error: cannot find type 'CGSize' in scope
310 |     /// - Parameter size: The size for which the view should calculate its best-fitting size
311 |     /// - Returns: A new size that fits the receiver’s content
312 |     func sizeThatFits(_ size: CGSize) -> CGSize {
    |                               `- error: cannot find type 'CGSize' in scope
313 |         let sourceRect = CGRect(origin: .zero, size: size)
314 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:25:19: error: cannot find type 'CGRect' in scope
 23 |
 24 | func distributeFromLeading(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
 25 |     var previous: CGRect?
    |                   `- error: cannot find type 'CGRect' in scope
 26 |     return rects.map { rect in
 27 |         var rect = rect
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:34:19: error: cannot find type 'CGRect' in scope
 32 | }
 33 | func distributeFromTrailing(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis, spacing: CGFloat) -> [CGRect] {
 34 |     var previous: CGRect?
    |                   `- error: cannot find type 'CGRect' in scope
 35 |     return rects.map { rect in
 36 |         var rect = rect
/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:98:19: error: cannot find type 'CGFloat' in scope
 96 |     public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
 97 |         guard rects.count > 0 else { return rects }
 98 |         let fill: CGFloat = {
    |                   `- error: cannot find type 'CGFloat' in scope
 99 |             let count = CGFloat(rects.count)
100 |             switch (self.filling, self.spacing) {
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:111:47: error: cannot find type 'CGRect' in scope
109 |
110 |         let transverseAxis = axis.transverse()
111 |         let filledRects = rects.map { rect -> CGRect in
    |                                               `- error: cannot find type 'CGRect' in scope
112 |             var rect = rect
113 |             axis.set(size: fill, for: &rect)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:113:39: error: cannot convert value of type '_' to expected argument type 'CGRect'
111 |         let filledRects = rects.map { rect -> CGRect in
112 |             var rect = rect
113 |             axis.set(size: fill, for: &rect)
    |                                       `- error: cannot convert value of type '_' to expected argument type 'CGRect'
114 |             transverseAxis.set(size: transverseAxis.get(sizeAt: sourceRect), for: &rect)
115 |             return rect
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:118:22: error: cannot find type 'CGFloat' in scope
116 |         }
117 |
118 |         let spacing: CGFloat = {
    |                      `- error: cannot find type 'CGFloat' in scope
119 |             switch self.spacing {
120 |             case .equally:
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:186:28: error: cannot find type 'CGRect' in scope
184 |     public /// Snapshot for current state without recalculating
185 |     var currentSnapshot: LayoutSnapshotProtocol {
186 |         var snapshotFrame: CGRect?
    |                            `- error: cannot find type 'CGRect' in scope
187 |         return LayoutSnapshot(childSnapshots: items().map { block in
188 |             let blockFrame = block.frame
/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/stack.layoutGuide.cglayout.swift:205:31: error: type of expression is ambiguous without a type annotation
203 |         let subItems = items()
204 |         let frames = distribution.distribute(rects: subItems.map { $0.inLayoutTime.frame }, in: sourceRect, along: axis)
205 |         zip(subItems, frames).forEach { $0.0.frame = $0.1 }
    |                               `- error: type of expression is ambiguous without a type annotation
206 |     }
207 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:224:49: error: cannot find type 'CGRect' in scope
222 |     /// - Returns: Snapshot contained frames layout items
223 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
224 |         var completedFrames: [ObjectIdentifier: CGRect] = [:]
    |                                                 `- error: cannot find type 'CGRect' in scope
225 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
226 |     }
/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/stack.layoutGuide.cglayout.swift:247:79: error: cannot find 'CGRect' in scope
245 |             snapRect = snapRect?.union(current) ?? current
246 |         }
247 |         return LayoutSnapshot(childSnapshots: frames, frame: snapshotFrame ?? CGRect(origin: sourceRect.origin, size: .zero))
    |                                                                               `- error: cannot find 'CGRect' in scope
248 |     }
249 | }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:247:120: error: cannot infer contextual base in reference to member 'zero'
245 |             snapRect = snapRect?.union(current) ?? current
246 |         }
247 |         return LayoutSnapshot(childSnapshots: frames, frame: snapshotFrame ?? CGRect(origin: sourceRect.origin, size: .zero))
    |                                                                                                                        `- error: cannot infer contextual base in reference to member 'zero'
248 |     }
249 | }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:281:18: error: incorrect argument label in call (have 'frame:', expected 'items:')
279 |
280 |     public convenience init(items: [Element]) {
281 |         self.init(frame: .zero)
    |                  `- error: incorrect argument label in call (have 'frame:', expected 'items:')
282 |         self.items = items
283 |     }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:281:27: error: type '[StackLayoutGuide<Parent>.Element]' has no member 'zero'
279 |
280 |     public convenience init(items: [Element]) {
281 |         self.init(frame: .zero)
    |                           `- error: type '[StackLayoutGuide<Parent>.Element]' has no member 'zero'
282 |         self.items = items
283 |     }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:63:31: error: cannot find type 'CGRect' in scope
 61 |     ///
 62 |     /// - Parameter rect: Space for layout
 63 |     open func layout(in rect: CGRect) {
    |                               `- error: cannot find type 'CGRect' in scope
 64 |         // subclass override
 65 |     }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:295:26: error: argument passed to call that takes no arguments
293 |     /// - Parameter rect: Space for layout
294 |     override open func layout(in rect: CGRect) {
295 |         super.layout(in: rect)
    |                          `- error: argument passed to call that takes no arguments
296 |         scheme.layout(in: rect)
297 |     }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:75:54: error: cannot find type 'CGRect' in scope
 73 |     /// - Parameter frame: New frame value.
 74 |     /// - Returns: Content rect
 75 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                      `- error: cannot find type 'CGRect' in scope
 76 |         return CGRect(origin: .zero, size: frame.size)
 77 |     }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:75:43: error: cannot find type 'CGRect' in scope
 73 |     /// - Parameter frame: New frame value.
 74 |     /// - Returns: Content rect
 75 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                           `- error: cannot find type 'CGRect' in scope
 76 |         return CGRect(origin: .zero, size: frame.size)
 77 |     }
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:313:26: error: cannot find 'CGRect' in scope
311 |     /// - Returns: A new size that fits the receiver’s content
312 |     func sizeThatFits(_ size: CGSize) -> CGSize {
313 |         let sourceRect = CGRect(origin: .zero, size: size)
    |                          `- error: cannot find 'CGRect' in scope
314 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
315 |         result.width += contentInsets.right
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:313:42: error: cannot infer contextual base in reference to member 'zero'
311 |     /// - Returns: A new size that fits the receiver’s content
312 |     func sizeThatFits(_ size: CGSize) -> CGSize {
313 |         let sourceRect = CGRect(origin: .zero, size: size)
    |                                          `- error: cannot infer contextual base in reference to member 'zero'
314 |         var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
315 |         result.width += contentInsets.right
BUILD FAILURE 6.1 wasm