The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CGLayout, reference 0.7.2 (c059f2), with Swift 6.3 for Wasm on 10 Apr 2026 18:25:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

1 | protocol FloatingPoint {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
  |                      `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.BinaryInteger.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol BinaryInteger {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
  |                      `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self.Scalar, b: Self) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self.Scalar) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:85:39: error: cannot find type 'CGFloat' in scope
 83 |         let minBoundsOriginY: CGFloat = 0.0
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
    |                                       `- error: cannot find type 'CGFloat' in scope
 86 |         let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
 87 |         targetPosition.y = constrainedBoundsOriginY + rubberBandedY
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:86:28: error: cannot find type 'CGFloat' in scope
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
 86 |         let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
    |                            `- error: cannot find type 'CGFloat' in scope
 87 |         targetPosition.y = constrainedBoundsOriginY + rubberBandedY
 88 |         self.contentOffset = targetPosition
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:132:19: error: cannot find type 'CGFloat' in scope
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
132 |     let constant: CGFloat = 0.55
    |                   `- error: cannot find type 'CGFloat' in scope
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
134 |     // The algorithm expects a positive offset, so we have to negate the result if the offset was negative.
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:133:17: error: cannot find type 'CGFloat' in scope
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
132 |     let constant: CGFloat = 0.55
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
    |                 `- error: cannot find type 'CGFloat' in scope
134 |     // The algorithm expects a positive offset, so we have to negate the result if the offset was negative.
135 |     return offset < 0.0 ? -result : result
/host/spi-builder-workspace/Sources/Classes/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:133:27: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
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: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
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/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:204:41: error: cannot find 'Date' 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 'Date' 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/common.cglayout.swift:113:71: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                                       `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:34: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                  `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:56: error: cannot find type 'EdgeInsets' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                        `- error: cannot find type 'EdgeInsets' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/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/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
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:353:29: error: cannot find 'pow' 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 'pow' in scope
354 |         if !x.bouncing {
355 |             x.velocity = startVelocity.x * drag
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:353:33: error: cannot find 'pow' 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 'pow' in scope
354 |         if !x.bouncing {
355 |             x.velocity = startVelocity.x * drag
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:353:52: error: cannot find '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 'CGFloat' in scope
354 |         if !x.bouncing {
355 |             x.velocity = startVelocity.x * drag
[15/20] Compiling CGLayout scroll.layoutGuide.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:52:24: error: cannot find type 'CGRect' in scope
 50 |     func removeFromSuperElement() { ownerElement = nil }
 51 |
 52 |     public init(frame: CGRect = .zero) {
    |                        `- error: cannot find type 'CGRect' in scope
 53 |         self.frame = frame
 54 |         self.bounds = CGRect(origin: .zero, size: frame.size)
/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.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:48:32: error: cannot find type 'CGRect' in scope
 46 |     ///
 47 |     /// - Parameter sourceRect: Source space
 48 |     func layout(in sourceRect: CGRect)
    |                                `- error: cannot find type 'CGRect' in scope
 49 |
 50 |     /// Returns snapshot for all `LayoutElement` items in block. Attention: in during calculating snapshot frames of layout items must not changed.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:54:35: error: cannot find type 'CGRect' in scope
 52 |     /// - Parameter sourceRect: Source space for layout
 53 |     /// - Returns: Snapshot that contains frames layout items
 54 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol
    |                                   `- error: cannot find type 'CGRect' in scope
 55 |
 56 |     /// Returns snapshot for all `LayoutElement` items in block. Does not call this method directly outside `LayoutBlockProtocol` object.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:63:35: error: cannot find type 'CGRect' in scope
 61 |     ///   - completedRects: `LayoutElement` items with corrected frame
 62 |     /// - Returns: Snapshot that contains frames layout items
 63 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol
    |                                   `- error: cannot find type 'CGRect' in scope
 64 |
 65 |     /// Applying frames from snapshot to `LayoutElement` items in this block.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:63:78: error: cannot find type 'CGRect' in scope
 61 |     ///   - completedRects: `LayoutElement` items with corrected frame
 62 |     /// - Returns: Snapshot that contains frames layout items
 63 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol
    |                                                                              `- error: cannot find type 'CGRect' in scope
 64 |
 65 |     /// Applying frames from snapshot to `LayoutElement` items in this block.
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:33:29: error: cannot find type 'CGPoint' in scope
 31 |
 32 |     /// Point that defines offset for content origin
 33 |     open var contentOffset: CGPoint { set { bounds.origin = newValue } get { return bounds.origin } }
    |                             `- error: cannot find type 'CGPoint' in scope
 34 |     /// Size of content
 35 |     open var contentSize: CGSize = .zero
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:35:27: error: cannot find type 'CGSize' in scope
 33 |     open var contentOffset: CGPoint { set { bounds.origin = newValue } get { return bounds.origin } }
 34 |     /// Size of content
 35 |     open var contentSize: CGSize = .zero
    |                           `- error: cannot find type 'CGSize' in scope
 36 |     open var contentInset: EdgeInsets = .zero {
 37 |         didSet {
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:36:28: error: cannot find type 'EdgeInsets' in scope
 34 |     /// Size of content
 35 |     open var contentSize: CGSize = .zero
 36 |     open var contentInset: EdgeInsets = .zero {
    |                            `- error: cannot find type 'EdgeInsets' in scope
 37 |         didSet {
 38 |             if oldValue != contentInset {
/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/scroll.layoutGuide.cglayout.swift:42:33: error: cannot find 'CGPoint' in scope
 40 |                 let y = contentInset.top - oldValue.top
 41 |
 42 |                 contentOffset = CGPoint(x: contentOffset.x - x, y: contentOffset.y - y)
    |                                 `- error: cannot find 'CGPoint' in scope
 43 |             }
 44 |         }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:47:39: error: cannot find type 'CGRect' in scope
 45 |     }
 46 |
 47 |     override public var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x - contentOffset.x, y: frame.origin.y - contentOffset.y), size: contentSize) }
    |                                       `- error: cannot find type 'CGRect' in scope
 48 |     /// Performs layout for subelements, which this layout guide manages, in layout space rect
 49 |     ///
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:51:40: error: cannot find type 'CGRect' in scope
 49 |     ///
 50 |     /// - Parameter rect: Space for layout
 51 |     override open func layout(in rect: CGRect) {
    |                                        `- error: cannot find type 'CGRect' in scope
 52 |         super.layout(in: rect)
 53 |         layout.layout(in: rect)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:60:63: error: cannot find type 'CGRect' in scope
 58 |     /// - Parameter frame: New frame value.
 59 |     /// - Returns: Content rect
 60 |     override open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                               `- error: cannot find type 'CGRect' in scope
 61 |         //        var contentRect = bounds
 62 |         //        let lFrame = layoutBounds
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:60:52: error: cannot find type 'CGRect' in scope
 58 |     /// - Parameter frame: New frame value.
 59 |     /// - Returns: Content rect
 60 |     override open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                    `- error: cannot find type 'CGRect' in scope
 61 |         //        var contentRect = bounds
 62 |         //        let lFrame = layoutBounds
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:71:28: error: cannot find type 'CGPoint' in scope
 69 | }
 70 | public extension ScrollLayoutGuide {
 71 |     func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
    |                            `- error: cannot find type 'CGPoint' in scope
 72 |         guard let translation = translation else {
 73 |             return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:71:50: error: cannot find type 'CGPoint' in scope
 69 | }
 70 | public extension ScrollLayoutGuide {
 71 |     func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
    |                                                  `- error: cannot find type 'CGPoint' in scope
 72 |         guard let translation = translation else {
 73 |             return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:71:70: error: cannot find type 'CGPoint' in scope
 69 | }
 70 | public extension ScrollLayoutGuide {
 71 |     func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
 72 |         guard let translation = translation else {
 73 |             return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:131:77: error: cannot find type 'CGFloat' in scope
129 |
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
    |                                                                             `- error: cannot find type 'CGFloat' in scope
132 |     let constant: CGFloat = 0.55
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:131:43: error: cannot find type 'CGFloat' in scope
129 |
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
    |                                           `- error: cannot find type 'CGFloat' in scope
132 |     let constant: CGFloat = 0.55
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:131:65: error: cannot find type 'CGFloat' in scope
129 |
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
    |                                                                 `- error: cannot find type 'CGFloat' in scope
132 |     let constant: CGFloat = 0.55
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:71: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                                                       `- error: cannot find type 'CGFloat' in scope
139 |     if t <= 0 {
140 |         return start
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:29: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                             `- error: cannot find type 'CGFloat' in scope
139 |     if t <= 0 {
140 |         return start
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:45: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                             `- error: cannot find type 'CGFloat' in scope
139 |     if t <= 0 {
140 |         return start
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:59: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                                           `- error: cannot find type 'CGFloat' in scope
139 |     if t <= 0 {
140 |         return start
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:68: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                                                    `- error: cannot find type 'CGFloat' in scope
151 |     if t <= 0 {
152 |         return start
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:26: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                          `- error: cannot find type 'CGFloat' in scope
151 |     if t <= 0 {
152 |         return start
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:42: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                          `- error: cannot find type 'CGFloat' in scope
151 |     if t <= 0 {
152 |         return start
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:56: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
    |                                                        `- error: cannot find type 'CGFloat' in scope
151 |     if t <= 0 {
152 |         return start
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:164:20: error: cannot find type 'TimeInterval' in scope
162 |
163 | protocol ScrollAnimation {
164 |     var beginTime: TimeInterval { get set }
    |                    `- error: cannot find type 'TimeInterval' in scope
165 | }
166 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:168:25: error: cannot find type 'TimeInterval' in scope
166 |
167 | struct ScrollAnimationDecelerationComponent {
168 |     var decelerateTime: TimeInterval
    |                         `- error: cannot find type 'TimeInterval' in scope
169 |     var position: CGFloat
170 |     var velocity: CGFloat
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:169:19: error: cannot find type 'CGFloat' in scope
167 | struct ScrollAnimationDecelerationComponent {
168 |     var decelerateTime: TimeInterval
169 |     var position: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
170 |     var velocity: CGFloat
171 |     var returnTime: TimeInterval
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:170:19: error: cannot find type 'CGFloat' in scope
168 |     var decelerateTime: TimeInterval
169 |     var position: CGFloat
170 |     var velocity: CGFloat
    |                   `- error: cannot find type 'CGFloat' in scope
171 |     var returnTime: TimeInterval
172 |     var returnFrom: CGFloat
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:171:21: error: cannot find type 'TimeInterval' in scope
169 |     var position: CGFloat
170 |     var velocity: CGFloat
171 |     var returnTime: TimeInterval
    |                     `- error: cannot find type 'TimeInterval' in scope
172 |     var returnFrom: CGFloat
173 |     var bounced: Bool
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:172:21: error: cannot find type 'CGFloat' in scope
170 |     var velocity: CGFloat
171 |     var returnTime: TimeInterval
172 |     var returnFrom: CGFloat
    |                     `- error: cannot find type 'CGFloat' in scope
173 |     var bounced: Bool
174 |     var bouncing: Bool
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:176:29: error: cannot find type 'TimeInterval' in scope
174 |     var bouncing: Bool
175 |
176 |     mutating func bounce(t: TimeInterval, to: CGFloat) -> Bool {
    |                             `- error: cannot find type 'TimeInterval' in scope
177 |         if bounced && returnTime != 0 {
178 |             let returnBounceTime: TimeInterval = min(1, ((t - returnTime) / returnAnimationDuration))
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:176:47: error: cannot find type 'CGFloat' in scope
174 |     var bouncing: Bool
175 |
176 |     mutating func bounce(t: TimeInterval, to: CGFloat) -> Bool {
    |                                               `- error: cannot find type 'CGFloat' in scope
177 |         if bounced && returnTime != 0 {
178 |             let returnBounceTime: TimeInterval = min(1, ((t - returnTime) / returnAnimationDuration))
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:203:49: error: cannot find type 'CGFloat' in scope
201 |     }
202 |
203 |     mutating func animateBounce(_ offset: inout CGFloat, begin beginTime: TimeInterval, to targetOffset: CGFloat) {
    |                                                 `- error: cannot find type 'CGFloat' in scope
204 |         let currentTime: TimeInterval = Date.timeIntervalSinceReferenceDate
205 |         bouncing = true
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:203:75: error: cannot find type 'TimeInterval' in scope
201 |     }
202 |
203 |     mutating func animateBounce(_ offset: inout CGFloat, begin beginTime: TimeInterval, to targetOffset: CGFloat) {
    |                                                                           `- error: cannot find type 'TimeInterval' in scope
204 |         let currentTime: TimeInterval = Date.timeIntervalSinceReferenceDate
205 |         bouncing = true
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:203:106: error: cannot find type 'CGFloat' in scope
201 |     }
202 |
203 |     mutating func animateBounce(_ offset: inout CGFloat, begin beginTime: TimeInterval, to targetOffset: CGFloat) {
    |                                                                                                          `- error: cannot find type 'CGFloat' in scope
204 |         let currentTime: TimeInterval = Date.timeIntervalSinceReferenceDate
205 |         bouncing = true
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:215:51: error: cannot find type 'CGFloat' in scope
213 | }
214 |
215 | private let minimumBounceVelocityBeforeReturning: CGFloat = 100
    |                                                   `- error: cannot find type 'CGFloat' in scope
216 | private let returnAnimationDuration: TimeInterval = 0.6
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:216:38: error: cannot find type 'TimeInterval' in scope
214 |
215 | private let minimumBounceVelocityBeforeReturning: CGFloat = 100
216 | private let returnAnimationDuration: TimeInterval = 0.6
    |                                      `- error: cannot find type 'TimeInterval' in scope
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
218 | private let springTightness: CGFloat = 0.3
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:217:30: error: cannot find type 'TimeInterval' in scope
215 | private let minimumBounceVelocityBeforeReturning: CGFloat = 100
216 | private let returnAnimationDuration: TimeInterval = 0.6
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
    |                              `- error: cannot find type 'TimeInterval' in scope
218 | private let springTightness: CGFloat = 0.3
219 | private let springDampening: CGFloat = 15
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:218:30: error: cannot find type 'CGFloat' in scope
216 | private let returnAnimationDuration: TimeInterval = 0.6
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
218 | private let springTightness: CGFloat = 0.3
    |                              `- error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:219:30: error: cannot find type 'CGFloat' in scope
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
218 | private let springTightness: CGFloat = 0.3
219 | private let springDampening: CGFloat = 15
    |                              `- error: cannot find type 'CGFloat' in scope
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:63: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
    |                                                               `- error: cannot find type 'CGFloat' in scope
222 |     return (v < min) ? min : (v > max) ? max : v
223 | }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:23: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
    |                       `- error: cannot find type 'CGFloat' in scope
222 |     return (v < min) ? min : (v > max) ? max : v
223 | }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:37: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
    |                                     `- error: cannot find type 'CGFloat' in scope
222 |     return (v < min) ? min : (v > max) ? max : v
223 | }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:51: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
    |                                                   `- error: cannot find type 'CGFloat' in scope
222 |     return (v < min) ? min : (v > max) ? max : v
223 | }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:225:44: error: cannot find type 'CGFloat' in scope
223 | }
224 |
225 | private func ClampedVelocty(v: CGFloat) -> CGFloat {
    |                                            `- error: cannot find type 'CGFloat' in scope
226 |     let V: CGFloat = 500
227 |     return Clamp(v: v, min: -V, max: V)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:225:32: error: cannot find type 'CGFloat' in scope
223 | }
224 |
225 | private func ClampedVelocty(v: CGFloat) -> CGFloat {
    |                                `- error: cannot find type 'CGFloat' in scope
226 |     let V: CGFloat = 500
227 |     return Clamp(v: v, min: -V, max: V)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:125: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                                                                                                                             `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:31: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                               `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:50: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                                                  `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:73: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                                                                         `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:93: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                                                                                             `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:113: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
    |                                                                                                                 `- error: cannot find type 'CGFloat' in scope
231 |     let d: CGFloat = position - restPosition
232 |     return (-tightness * d) - (dampening * velocity) / 1
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:236:62: error: cannot find type 'CGPoint' in scope
234 |
235 | extension ScrollLayoutGuide {
236 |     func _confinedContentOffset(_ contentOffset: CGPoint) -> CGPoint {
    |                                                              `- error: cannot find type 'CGPoint' in scope
237 |         let scrollerBounds: CGRect = EdgeInsetsInsetRect(bounds, contentInset)
238 |         var contentOffset = contentOffset
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:236:50: error: cannot find type 'CGPoint' in scope
234 |
235 | extension ScrollLayoutGuide {
236 |     func _confinedContentOffset(_ contentOffset: CGPoint) -> CGPoint {
    |                                                  `- error: cannot find type 'CGPoint' in scope
237 |         let scrollerBounds: CGRect = EdgeInsetsInsetRect(bounds, contentInset)
238 |         var contentOffset = contentOffset
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:255:48: error: cannot find type 'CGPoint' in scope
253 |         return contentOffset
254 |     }
255 |     func _setRestrainedContentOffset(_ offset: CGPoint) {
    |                                                `- error: cannot find type 'CGPoint' in scope
256 |         var offset = offset
257 |         let confinedOffset: CGPoint = _confinedContentOffset(offset)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:272:35: error: cannot find type 'TimeInterval' in scope
270 |     private var x: ScrollAnimationDecelerationComponent
271 |     private var y: ScrollAnimationDecelerationComponent
272 |     private var lastMomentumTime: TimeInterval
    |                                   `- error: cannot find type 'TimeInterval' in scope
273 |     private(set) weak var scrollGuide: ScrollLayoutGuide<Item>!
274 |     var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:274:20: error: cannot find type 'TimeInterval' in scope
272 |     private var lastMomentumTime: TimeInterval
273 |     private(set) weak var scrollGuide: ScrollLayoutGuide<Item>!
274 |     var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
    |                    `- error: cannot find type 'TimeInterval' in scope
275 |
276 |     let timeInterval: CGFloat = 1/60
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:274:35: error: cannot find 'Date' in scope
272 |     private var lastMomentumTime: TimeInterval
273 |     private(set) weak var scrollGuide: ScrollLayoutGuide<Item>!
274 |     var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
    |                                   `- error: cannot find 'Date' in scope
275 |
276 |     let timeInterval: CGFloat = 1/60
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:276:23: error: cannot find type 'CGFloat' in scope
274 |     var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
275 |
276 |     let timeInterval: CGFloat = 1/60
    |                       `- error: cannot find type 'CGFloat' in scope
277 |     let startVelocity: CGPoint
278 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:277:24: error: cannot find type 'CGPoint' in scope
275 |
276 |     let timeInterval: CGFloat = 1/60
277 |     let startVelocity: CGPoint
    |                        `- error: cannot find type 'CGPoint' in scope
278 |
279 |     public var bounces: Bool
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:280:70: error: cannot find type 'CGPoint' in scope
278 |
279 |     public var bounces: Bool
280 |     public init(scrollGuide sg: ScrollLayoutGuide<Item>, velocity v: CGPoint, bounces: Bool) {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
281 |         self.scrollGuide = sg
282 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:65:31: error: cannot find type 'CGRect' in scope
 63 |     ///
 64 |     /// - Parameter rect: Space for layout
 65 |     open func layout(in rect: CGRect) {
    |                               `- error: cannot find type 'CGRect' in scope
 66 |         // subclass override
 67 |     }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:29:28: error: cannot infer contextual base in reference to member 'zero'
 27 |     public required init(layout: LayoutBlockProtocol) {
 28 |         self.layout = layout
 29 |         super.init(frame: .zero)
    |                            `- error: cannot infer contextual base in reference to member 'zero'
 30 |     }
 31 |
/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 |     var frame: CGRect { get }
 31 | }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:46:17: error: cannot find type 'CGRect' in scope
 44 |     }
 45 |     open /// Internal coordinate space of layout entity
 46 |     var bounds: CGRect { didSet { layout() } }
    |                 `- error: cannot find type 'CGRect' in scope
 47 |     open /// Layout element that maintained this layout entity
 48 |     weak var superElement: LayoutElement?
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:47:55: error: cannot find 'CGRect' in scope
 45 |     }
 46 |
 47 |     override public var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x - contentOffset.x, y: frame.origin.y - contentOffset.y), size: contentSize) }
    |                                                       `- error: cannot find 'CGRect' in scope
 48 |     /// Performs layout for subelements, which this layout guide manages, in layout space rect
 49 |     ///
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:47:70: error: cannot find 'CGPoint' in scope
 45 |     }
 46 |
 47 |     override public var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x - contentOffset.x, y: frame.origin.y - contentOffset.y), size: contentSize) }
    |                                                                      `- error: cannot find 'CGPoint' in scope
 48 |     /// Performs layout for subelements, which this layout guide manages, in layout space rect
 49 |     ///
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:16: error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
 30 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 31 | }
 32 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:38:16: error: cannot find type 'CGRect' in scope
 36 |     }
 37 |     open /// External representation of layout entity in coordinate space
 38 |     var frame: CGRect {
    |                `- error: cannot find type 'CGRect' in scope
 39 |         didSet {
 40 | //            if oldValue != frame { bounds = contentRect(forFrame: frame) }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:52:26: error: argument passed to call that takes no arguments
 50 |     /// - Parameter rect: Space for layout
 51 |     override open func layout(in rect: CGRect) {
 52 |         super.layout(in: rect)
    |                          `- error: argument passed to call that takes no arguments
 53 |         layout.layout(in: rect)
 54 |     }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:53:27: error: argument passed to call that takes no arguments
 51 |     override open func layout(in rect: CGRect) {
 52 |         super.layout(in: rect)
 53 |         layout.layout(in: rect)
    |                           `- error: argument passed to call that takes no arguments
 54 |     }
 55 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:73:20: error: generic parameter 'Item' could not be inferred
 71 |     func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
 72 |         guard let translation = translation else {
 73 |             return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
    |                    |- error: generic parameter 'Item' could not be inferred
    |                    `- note: explicitly specify the generic arguments to fix this issue
 74 |         }
 75 |         var targetPosition = contentOffset
    :
267 | }
268 |
269 | public class ScrollAnimationDeceleration<Item: LayoutElement>: ScrollAnimation {
    |                                          `- note: 'Item' declared as parameter to type 'ScrollAnimationDeceleration'
270 |     private var x: ScrollAnimationDecelerationComponent
271 |     private var y: ScrollAnimationDecelerationComponent
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:76:31: error: cannot find type 'CGFloat' in scope
 74 |         }
 75 |         var targetPosition = contentOffset
 76 |         let newBoundsOriginX: CGFloat = start.x - translation.x
    |                               `- error: cannot find type 'CGFloat' in scope
 77 |         let minBoundsOriginX: CGFloat = 0.0
 78 |         let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:76:49: error: no '-' candidates produce the expected contextual result type '_'
 74 |         }
 75 |         var targetPosition = contentOffset
 76 |         let newBoundsOriginX: CGFloat = start.x - translation.x
    |                                                 `- error: no '-' candidates produce the expected contextual result type '_'
 77 |         let minBoundsOriginX: CGFloat = 0.0
 78 |         let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
Swift.Duration.-:3:22: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 |   public static func - (lhs: Duration, rhs: Duration) -> Duration}
  |                      `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 |
Swift.Int128.-:3:22: note: '-' produces 'Int128', not the expected contextual result type '_'
1 | struct Int128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   public static func - (a: Int128, b: Int128) -> Int128}
  |                      `- note: '-' produces 'Int128', not the expected contextual result type '_'
4 |
Swift.UInt128.-:3:22: note: '-' produces 'UInt128', not the expected contextual result type '_'
1 | struct UInt128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   public static func - (a: UInt128, b: UInt128) -> UInt128}
  |                      `- note: '-' produces 'UInt128', not the expected contextual result type '_'
4 |
Swift.Float16.-:2:20: note: '-' produces 'Float16', not the expected contextual result type '_'
1 | struct Float16 {
2 | public static func - (lhs: Float16, rhs: Float16) -> Float16}
  |                    `- note: '-' produces 'Float16', not the expected contextual result type '_'
3 |
Swift.Float.-:2:20: note: '-' produces 'Float', not the expected contextual result type '_'
1 | struct Float {
2 | public static func - (lhs: Float, rhs: Float) -> Float}
  |                    `- note: '-' produces 'Float', not the expected contextual result type '_'
3 |
Swift.Double.-:2:20: note: '-' produces 'Double', not the expected contextual result type '_'
1 | struct Double {
2 | public static func - (lhs: Double, rhs: Double) -> Double}
  |                    `- note: '-' produces 'Double', not the expected contextual result type '_'
3 |
Swift.UInt8.-:2:20: note: '-' produces 'UInt8', not the expected contextual result type '_'
1 | struct UInt8 {
2 | public static func - (lhs: UInt8, rhs: UInt8) -> UInt8}
  |                    `- note: '-' produces 'UInt8', not the expected contextual result type '_'
3 |
Swift.Int8.-:2:20: note: '-' produces 'Int8', not the expected contextual result type '_'
1 | struct Int8 {
2 | public static func - (lhs: Int8, rhs: Int8) -> Int8}
  |                    `- note: '-' produces 'Int8', not the expected contextual result type '_'
3 |
Swift.UInt16.-:2:20: note: '-' produces 'UInt16', not the expected contextual result type '_'
1 | struct UInt16 {
2 | public static func - (lhs: UInt16, rhs: UInt16) -> UInt16}
  |                    `- note: '-' produces 'UInt16', not the expected contextual result type '_'
3 |
Swift.Int16.-:2:20: note: '-' produces 'Int16', not the expected contextual result type '_'
1 | struct Int16 {
2 | public static func - (lhs: Int16, rhs: Int16) -> Int16}
  |                    `- note: '-' produces 'Int16', not the expected contextual result type '_'
3 |
Swift.UInt32.-:2:20: note: '-' produces 'UInt32', not the expected contextual result type '_'
1 | struct UInt32 {
2 | public static func - (lhs: UInt32, rhs: UInt32) -> UInt32}
  |                    `- note: '-' produces 'UInt32', not the expected contextual result type '_'
3 |
Swift.Int32.-:2:20: note: '-' produces 'Int32', not the expected contextual result type '_'
1 | struct Int32 {
2 | public static func - (lhs: Int32, rhs: Int32) -> Int32}
  |                    `- note: '-' produces 'Int32', not the expected contextual result type '_'
3 |
Swift.UInt64.-:2:20: note: '-' produces 'UInt64', not the expected contextual result type '_'
1 | struct UInt64 {
2 | public static func - (lhs: UInt64, rhs: UInt64) -> UInt64}
  |                    `- note: '-' produces 'UInt64', not the expected contextual result type '_'
3 |
Swift.Int64.-:2:20: note: '-' produces 'Int64', not the expected contextual result type '_'
1 | struct Int64 {
2 | public static func - (lhs: Int64, rhs: Int64) -> Int64}
  |                    `- note: '-' produces 'Int64', not the expected contextual result type '_'
3 |
Swift.UInt.-:2:20: note: '-' produces 'UInt', not the expected contextual result type '_'
1 | struct UInt {
2 | public static func - (lhs: UInt, rhs: UInt) -> UInt}
  |                    `- note: '-' produces 'UInt', not the expected contextual result type '_'
3 |
Swift.Int.-:2:20: note: '-' produces 'Int', not the expected contextual result type '_'
1 | struct Int {
2 | public static func - (lhs: Int, rhs: Int) -> Int}
  |                    `- note: '-' produces 'Int', not the expected contextual result type '_'
3 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 |   struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: Duration) -> ContinuousClock.Instant  }
  |                               `- note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 |   struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: ContinuousClock.Instant) -> Duration  }
  |                               `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 |   struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: Duration) -> SuspendingClock.Instant  }
  |                    `- note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 |   struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: SuspendingClock.Instant) -> Duration  }
  |                    `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
Swift.AdditiveArithmetic.-:2:13: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol AdditiveArithmetic {
2 | static func - (lhs: Self, rhs: Self) -> Self}
  |             `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.Strideable.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol Strideable {
2 | public static func - (lhs: Self, rhs: Self.Stride) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.FloatingPoint.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol FloatingPoint {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
  |                      `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.BinaryInteger.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol BinaryInteger {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
  |                      `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self.Scalar, b: Self) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self.Scalar) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:77:31: error: cannot find type 'CGFloat' in scope
 75 |         var targetPosition = contentOffset
 76 |         let newBoundsOriginX: CGFloat = start.x - translation.x
 77 |         let minBoundsOriginX: CGFloat = 0.0
    |                               `- error: cannot find type 'CGFloat' in scope
 78 |         let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
 79 |         let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:78:31: error: cannot find type 'CGFloat' in scope
 76 |         let newBoundsOriginX: CGFloat = start.x - translation.x
 77 |         let minBoundsOriginX: CGFloat = 0.0
 78 |         let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
    |                               `- error: cannot find type 'CGFloat' in scope
 79 |         let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
 80 |         let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:78:59: error: no '-' candidates produce the expected contextual result type '_'
 76 |         let newBoundsOriginX: CGFloat = start.x - translation.x
 77 |         let minBoundsOriginX: CGFloat = 0.0
 78 |         let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
    |                                                           `- error: no '-' candidates produce the expected contextual result type '_'
 79 |         let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
 80 |         let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
Swift.Duration.-:3:22: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 |   public static func - (lhs: Duration, rhs: Duration) -> Duration}
  |                      `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 |
Swift.Int128.-:3:22: note: '-' produces 'Int128', not the expected contextual result type '_'
1 | struct Int128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   public static func - (a: Int128, b: Int128) -> Int128}
  |                      `- note: '-' produces 'Int128', not the expected contextual result type '_'
4 |
Swift.UInt128.-:3:22: note: '-' produces 'UInt128', not the expected contextual result type '_'
1 | struct UInt128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   public static func - (a: UInt128, b: UInt128) -> UInt128}
  |                      `- note: '-' produces 'UInt128', not the expected contextual result type '_'
4 |
Swift.Float16.-:2:20: note: '-' produces 'Float16', not the expected contextual result type '_'
1 | struct Float16 {
2 | public static func - (lhs: Float16, rhs: Float16) -> Float16}
  |                    `- note: '-' produces 'Float16', not the expected contextual result type '_'
3 |
Swift.Float.-:2:20: note: '-' produces 'Float', not the expected contextual result type '_'
1 | struct Float {
2 | public static func - (lhs: Float, rhs: Float) -> Float}
  |                    `- note: '-' produces 'Float', not the expected contextual result type '_'
3 |
Swift.Double.-:2:20: note: '-' produces 'Double', not the expected contextual result type '_'
1 | struct Double {
2 | public static func - (lhs: Double, rhs: Double) -> Double}
  |                    `- note: '-' produces 'Double', not the expected contextual result type '_'
3 |
Swift.UInt8.-:2:20: note: '-' produces 'UInt8', not the expected contextual result type '_'
1 | struct UInt8 {
2 | public static func - (lhs: UInt8, rhs: UInt8) -> UInt8}
  |                    `- note: '-' produces 'UInt8', not the expected contextual result type '_'
3 |
Swift.Int8.-:2:20: note: '-' produces 'Int8', not the expected contextual result type '_'
1 | struct Int8 {
2 | public static func - (lhs: Int8, rhs: Int8) -> Int8}
  |                    `- note: '-' produces 'Int8', not the expected contextual result type '_'
3 |
Swift.UInt16.-:2:20: note: '-' produces 'UInt16', not the expected contextual result type '_'
1 | struct UInt16 {
2 | public static func - (lhs: UInt16, rhs: UInt16) -> UInt16}
  |                    `- note: '-' produces 'UInt16', not the expected contextual result type '_'
3 |
Swift.Int16.-:2:20: note: '-' produces 'Int16', not the expected contextual result type '_'
1 | struct Int16 {
2 | public static func - (lhs: Int16, rhs: Int16) -> Int16}
  |                    `- note: '-' produces 'Int16', not the expected contextual result type '_'
3 |
Swift.UInt32.-:2:20: note: '-' produces 'UInt32', not the expected contextual result type '_'
1 | struct UInt32 {
2 | public static func - (lhs: UInt32, rhs: UInt32) -> UInt32}
  |                    `- note: '-' produces 'UInt32', not the expected contextual result type '_'
3 |
Swift.Int32.-:2:20: note: '-' produces 'Int32', not the expected contextual result type '_'
1 | struct Int32 {
2 | public static func - (lhs: Int32, rhs: Int32) -> Int32}
  |                    `- note: '-' produces 'Int32', not the expected contextual result type '_'
3 |
Swift.UInt64.-:2:20: note: '-' produces 'UInt64', not the expected contextual result type '_'
1 | struct UInt64 {
2 | public static func - (lhs: UInt64, rhs: UInt64) -> UInt64}
  |                    `- note: '-' produces 'UInt64', not the expected contextual result type '_'
3 |
Swift.Int64.-:2:20: note: '-' produces 'Int64', not the expected contextual result type '_'
1 | struct Int64 {
2 | public static func - (lhs: Int64, rhs: Int64) -> Int64}
  |                    `- note: '-' produces 'Int64', not the expected contextual result type '_'
3 |
Swift.UInt.-:2:20: note: '-' produces 'UInt', not the expected contextual result type '_'
1 | struct UInt {
2 | public static func - (lhs: UInt, rhs: UInt) -> UInt}
  |                    `- note: '-' produces 'UInt', not the expected contextual result type '_'
3 |
Swift.Int.-:2:20: note: '-' produces 'Int', not the expected contextual result type '_'
1 | struct Int {
2 | public static func - (lhs: Int, rhs: Int) -> Int}
  |                    `- note: '-' produces 'Int', not the expected contextual result type '_'
3 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 |   struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: Duration) -> ContinuousClock.Instant  }
  |                               `- note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 |   struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: ContinuousClock.Instant) -> Duration  }
  |                               `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 |   struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: Duration) -> SuspendingClock.Instant  }
  |                    `- note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 |   struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: SuspendingClock.Instant) -> Duration  }
  |                    `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
Swift.AdditiveArithmetic.-:2:13: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol AdditiveArithmetic {
2 | static func - (lhs: Self, rhs: Self) -> Self}
  |             `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.Strideable.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol Strideable {
2 | public static func - (lhs: Self, rhs: Self.Stride) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.FloatingPoint.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol FloatingPoint {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
  |                      `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.BinaryInteger.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol BinaryInteger {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
  |                      `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self.Scalar, b: Self) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self.Scalar) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:79:39: error: cannot find type 'CGFloat' in scope
 77 |         let minBoundsOriginX: CGFloat = 0.0
 78 |         let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
 79 |         let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
    |                                       `- error: cannot find type 'CGFloat' in scope
 80 |         let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
 81 |         targetPosition.x = constrainedBoundsOriginX + rubberBandedX
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:80:28: error: cannot find type 'CGFloat' in scope
 78 |         let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
 79 |         let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
 80 |         let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
    |                            `- error: cannot find type 'CGFloat' in scope
 81 |         targetPosition.x = constrainedBoundsOriginX + rubberBandedX
 82 |         let newBoundsOriginY: CGFloat = start.y - translation.y
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |           `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:82:31: error: cannot find type 'CGFloat' in scope
 80 |         let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
 81 |         targetPosition.x = constrainedBoundsOriginX + rubberBandedX
 82 |         let newBoundsOriginY: CGFloat = start.y - translation.y
    |                               `- error: cannot find type 'CGFloat' in scope
 83 |         let minBoundsOriginY: CGFloat = 0.0
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:82:49: error: no '-' candidates produce the expected contextual result type '_'
 80 |         let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
 81 |         targetPosition.x = constrainedBoundsOriginX + rubberBandedX
 82 |         let newBoundsOriginY: CGFloat = start.y - translation.y
    |                                                 `- error: no '-' candidates produce the expected contextual result type '_'
 83 |         let minBoundsOriginY: CGFloat = 0.0
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
Swift.Duration.-:3:22: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 |   public static func - (lhs: Duration, rhs: Duration) -> Duration}
  |                      `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 |
Swift.Int128.-:3:22: note: '-' produces 'Int128', not the expected contextual result type '_'
1 | struct Int128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   public static func - (a: Int128, b: Int128) -> Int128}
  |                      `- note: '-' produces 'Int128', not the expected contextual result type '_'
4 |
Swift.UInt128.-:3:22: note: '-' produces 'UInt128', not the expected contextual result type '_'
1 | struct UInt128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   public static func - (a: UInt128, b: UInt128) -> UInt128}
  |                      `- note: '-' produces 'UInt128', not the expected contextual result type '_'
4 |
Swift.Float16.-:2:20: note: '-' produces 'Float16', not the expected contextual result type '_'
1 | struct Float16 {
2 | public static func - (lhs: Float16, rhs: Float16) -> Float16}
  |                    `- note: '-' produces 'Float16', not the expected contextual result type '_'
3 |
Swift.Float.-:2:20: note: '-' produces 'Float', not the expected contextual result type '_'
1 | struct Float {
2 | public static func - (lhs: Float, rhs: Float) -> Float}
  |                    `- note: '-' produces 'Float', not the expected contextual result type '_'
3 |
Swift.Double.-:2:20: note: '-' produces 'Double', not the expected contextual result type '_'
1 | struct Double {
2 | public static func - (lhs: Double, rhs: Double) -> Double}
  |                    `- note: '-' produces 'Double', not the expected contextual result type '_'
3 |
Swift.UInt8.-:2:20: note: '-' produces 'UInt8', not the expected contextual result type '_'
1 | struct UInt8 {
2 | public static func - (lhs: UInt8, rhs: UInt8) -> UInt8}
  |                    `- note: '-' produces 'UInt8', not the expected contextual result type '_'
3 |
Swift.Int8.-:2:20: note: '-' produces 'Int8', not the expected contextual result type '_'
1 | struct Int8 {
2 | public static func - (lhs: Int8, rhs: Int8) -> Int8}
  |                    `- note: '-' produces 'Int8', not the expected contextual result type '_'
3 |
Swift.UInt16.-:2:20: note: '-' produces 'UInt16', not the expected contextual result type '_'
1 | struct UInt16 {
2 | public static func - (lhs: UInt16, rhs: UInt16) -> UInt16}
  |                    `- note: '-' produces 'UInt16', not the expected contextual result type '_'
3 |
Swift.Int16.-:2:20: note: '-' produces 'Int16', not the expected contextual result type '_'
1 | struct Int16 {
2 | public static func - (lhs: Int16, rhs: Int16) -> Int16}
  |                    `- note: '-' produces 'Int16', not the expected contextual result type '_'
3 |
Swift.UInt32.-:2:20: note: '-' produces 'UInt32', not the expected contextual result type '_'
1 | struct UInt32 {
2 | public static func - (lhs: UInt32, rhs: UInt32) -> UInt32}
  |                    `- note: '-' produces 'UInt32', not the expected contextual result type '_'
3 |
Swift.Int32.-:2:20: note: '-' produces 'Int32', not the expected contextual result type '_'
1 | struct Int32 {
2 | public static func - (lhs: Int32, rhs: Int32) -> Int32}
  |                    `- note: '-' produces 'Int32', not the expected contextual result type '_'
3 |
Swift.UInt64.-:2:20: note: '-' produces 'UInt64', not the expected contextual result type '_'
1 | struct UInt64 {
2 | public static func - (lhs: UInt64, rhs: UInt64) -> UInt64}
  |                    `- note: '-' produces 'UInt64', not the expected contextual result type '_'
3 |
Swift.Int64.-:2:20: note: '-' produces 'Int64', not the expected contextual result type '_'
1 | struct Int64 {
2 | public static func - (lhs: Int64, rhs: Int64) -> Int64}
  |                    `- note: '-' produces 'Int64', not the expected contextual result type '_'
3 |
Swift.UInt.-:2:20: note: '-' produces 'UInt', not the expected contextual result type '_'
1 | struct UInt {
2 | public static func - (lhs: UInt, rhs: UInt) -> UInt}
  |                    `- note: '-' produces 'UInt', not the expected contextual result type '_'
3 |
Swift.Int.-:2:20: note: '-' produces 'Int', not the expected contextual result type '_'
1 | struct Int {
2 | public static func - (lhs: Int, rhs: Int) -> Int}
  |                    `- note: '-' produces 'Int', not the expected contextual result type '_'
3 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 |   struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: Duration) -> ContinuousClock.Instant  }
  |                               `- note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 |   struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: ContinuousClock.Instant) -> Duration  }
  |                               `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 |   struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: Duration) -> SuspendingClock.Instant  }
  |                    `- note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 |   struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: SuspendingClock.Instant) -> Duration  }
  |                    `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
Swift.AdditiveArithmetic.-:2:13: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol AdditiveArithmetic {
2 | static func - (lhs: Self, rhs: Self) -> Self}
  |             `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.Strideable.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol Strideable {
2 | public static func - (lhs: Self, rhs: Self.Stride) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.FloatingPoint.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol FloatingPoint {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
  |                      `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.BinaryInteger.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol BinaryInteger {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
  |                      `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self.Scalar, b: Self) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self.Scalar) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:83:31: error: cannot find type 'CGFloat' in scope
 81 |         targetPosition.x = constrainedBoundsOriginX + rubberBandedX
 82 |         let newBoundsOriginY: CGFloat = start.y - translation.y
 83 |         let minBoundsOriginY: CGFloat = 0.0
    |                               `- error: cannot find type 'CGFloat' in scope
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:84:31: error: cannot find type 'CGFloat' in scope
 82 |         let newBoundsOriginY: CGFloat = start.y - translation.y
 83 |         let minBoundsOriginY: CGFloat = 0.0
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
    |                               `- error: cannot find type 'CGFloat' in scope
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
 86 |         let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:84:60: error: no '-' candidates produce the expected contextual result type '_'
 82 |         let newBoundsOriginY: CGFloat = start.y - translation.y
 83 |         let minBoundsOriginY: CGFloat = 0.0
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
    |                                                            `- error: no '-' candidates produce the expected contextual result type '_'
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
 86 |         let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
Swift.Duration.-:3:22: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 |   public static func - (lhs: Duration, rhs: Duration) -> Duration}
  |                      `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 |
Swift.Int128.-:3:22: note: '-' produces 'Int128', not the expected contextual result type '_'
1 | struct Int128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   public static func - (a: Int128, b: Int128) -> Int128}
  |                      `- note: '-' produces 'Int128', not the expected contextual result type '_'
4 |
Swift.UInt128.-:3:22: note: '-' produces 'UInt128', not the expected contextual result type '_'
1 | struct UInt128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   public static func - (a: UInt128, b: UInt128) -> UInt128}
  |                      `- note: '-' produces 'UInt128', not the expected contextual result type '_'
4 |
Swift.Float16.-:2:20: note: '-' produces 'Float16', not the expected contextual result type '_'
1 | struct Float16 {
2 | public static func - (lhs: Float16, rhs: Float16) -> Float16}
  |                    `- note: '-' produces 'Float16', not the expected contextual result type '_'
3 |
Swift.Float.-:2:20: note: '-' produces 'Float', not the expected contextual result type '_'
1 | struct Float {
2 | public static func - (lhs: Float, rhs: Float) -> Float}
  |                    `- note: '-' produces 'Float', not the expected contextual result type '_'
3 |
Swift.Double.-:2:20: note: '-' produces 'Double', not the expected contextual result type '_'
1 | struct Double {
2 | public static func - (lhs: Double, rhs: Double) -> Double}
  |                    `- note: '-' produces 'Double', not the expected contextual result type '_'
3 |
Swift.UInt8.-:2:20: note: '-' produces 'UInt8', not the expected contextual result type '_'
1 | struct UInt8 {
2 | public static func - (lhs: UInt8, rhs: UInt8) -> UInt8}
  |                    `- note: '-' produces 'UInt8', not the expected contextual result type '_'
3 |
Swift.Int8.-:2:20: note: '-' produces 'Int8', not the expected contextual result type '_'
1 | struct Int8 {
2 | public static func - (lhs: Int8, rhs: Int8) -> Int8}
  |                    `- note: '-' produces 'Int8', not the expected contextual result type '_'
3 |
Swift.UInt16.-:2:20: note: '-' produces 'UInt16', not the expected contextual result type '_'
1 | struct UInt16 {
2 | public static func - (lhs: UInt16, rhs: UInt16) -> UInt16}
  |                    `- note: '-' produces 'UInt16', not the expected contextual result type '_'
3 |
Swift.Int16.-:2:20: note: '-' produces 'Int16', not the expected contextual result type '_'
1 | struct Int16 {
2 | public static func - (lhs: Int16, rhs: Int16) -> Int16}
  |                    `- note: '-' produces 'Int16', not the expected contextual result type '_'
3 |
Swift.UInt32.-:2:20: note: '-' produces 'UInt32', not the expected contextual result type '_'
1 | struct UInt32 {
2 | public static func - (lhs: UInt32, rhs: UInt32) -> UInt32}
  |                    `- note: '-' produces 'UInt32', not the expected contextual result type '_'
3 |
Swift.Int32.-:2:20: note: '-' produces 'Int32', not the expected contextual result type '_'
1 | struct Int32 {
2 | public static func - (lhs: Int32, rhs: Int32) -> Int32}
  |                    `- note: '-' produces 'Int32', not the expected contextual result type '_'
3 |
Swift.UInt64.-:2:20: note: '-' produces 'UInt64', not the expected contextual result type '_'
1 | struct UInt64 {
2 | public static func - (lhs: UInt64, rhs: UInt64) -> UInt64}
  |                    `- note: '-' produces 'UInt64', not the expected contextual result type '_'
3 |
Swift.Int64.-:2:20: note: '-' produces 'Int64', not the expected contextual result type '_'
1 | struct Int64 {
2 | public static func - (lhs: Int64, rhs: Int64) -> Int64}
  |                    `- note: '-' produces 'Int64', not the expected contextual result type '_'
3 |
Swift.UInt.-:2:20: note: '-' produces 'UInt', not the expected contextual result type '_'
1 | struct UInt {
2 | public static func - (lhs: UInt, rhs: UInt) -> UInt}
  |                    `- note: '-' produces 'UInt', not the expected contextual result type '_'
3 |
Swift.Int.-:2:20: note: '-' produces 'Int', not the expected contextual result type '_'
1 | struct Int {
2 | public static func - (lhs: Int, rhs: Int) -> Int}
  |                    `- note: '-' produces 'Int', not the expected contextual result type '_'
3 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 |   struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: Duration) -> ContinuousClock.Instant  }
  |                               `- note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 |   struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: ContinuousClock.Instant) -> Duration  }
  |                               `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 |   struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: Duration) -> SuspendingClock.Instant  }
  |                    `- note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 |   struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: SuspendingClock.Instant) -> Duration  }
  |                    `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
Swift.AdditiveArithmetic.-:2:13: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol AdditiveArithmetic {
2 | static func - (lhs: Self, rhs: Self) -> Self}
  |             `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.Strideable.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol Strideable {
2 | public static func - (lhs: Self, rhs: Self.Stride) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.FloatingPoint.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol FloatingPoint {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
  |                      `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.BinaryInteger.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol BinaryInteger {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
  |                      `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self.Scalar, b: Self) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self.Scalar) -> Self}
  |                    `- note: '-' produces '_', not the expected contextual result type '_'
3 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:85:39: error: cannot find type 'CGFloat' in scope
 83 |         let minBoundsOriginY: CGFloat = 0.0
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
    |                                       `- error: cannot find type 'CGFloat' in scope
 86 |         let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
 87 |         targetPosition.y = constrainedBoundsOriginY + rubberBandedY
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:86:28: error: cannot find type 'CGFloat' in scope
 84 |         let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
 85 |         let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
 86 |         let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
    |                            `- error: cannot find type 'CGFloat' in scope
 87 |         targetPosition.y = constrainedBoundsOriginY + rubberBandedY
 88 |         self.contentOffset = targetPosition
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:132:19: error: cannot find type 'CGFloat' in scope
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
132 |     let constant: CGFloat = 0.55
    |                   `- error: cannot find type 'CGFloat' in scope
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
134 |     // The algorithm expects a positive offset, so we have to negate the result if the offset was negative.
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:133:17: error: cannot find type 'CGFloat' in scope
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
132 |     let constant: CGFloat = 0.55
133 |     let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
    |                 `- error: cannot find type 'CGFloat' in scope
134 |     // The algorithm expects a positive offset, so we have to negate the result if the offset was negative.
135 |     return offset < 0.0 ? -result : result
/host/spi-builder-workspace/Sources/Classes/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:133:27: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
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: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
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/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:204:41: error: cannot find 'Date' 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 'Date' 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/common.cglayout.swift:113:71: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                                       `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:34: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                  `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:56: error: cannot find type 'EdgeInsets' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                        `- error: cannot find type 'EdgeInsets' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/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/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
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:353:29: error: cannot find 'pow' 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 'pow' in scope
354 |         if !x.bouncing {
355 |             x.velocity = startVelocity.x * drag
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:353:33: error: cannot find 'pow' 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 'pow' in scope
354 |         if !x.bouncing {
355 |             x.velocity = startVelocity.x * drag
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:353:52: error: cannot find '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 'CGFloat' in scope
354 |         if !x.bouncing {
355 |             x.velocity = startVelocity.x * drag
[16/20] Compiling CGLayout system.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |           `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift: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 {
[17/20] Compiling CGLayout workspace.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |           `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift: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 {
[18/20] Compiling CGLayout common.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |           `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |           `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:34: error: cannot find type 'CGSize' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:11: error: cannot find type 'CGSize' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |           `- error: cannot find type 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:22: error: cannot find type 'CGFloat' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:90:11: error: cannot find type 'CGPoint' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
 90 | extension CGPoint {
    |           `- error: cannot find type 'CGPoint' in scope
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:95:11: error: cannot find type 'CGRect' in scope
 93 | }
 94 |
 95 | extension CGRect {
    |           `- error: cannot find type 'CGRect' in scope
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:104:11: error: cannot find type 'CGRect' in scope
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
104 | extension CGRect {
    |           `- error: cannot find type 'CGRect' in scope
105 |     mutating func apply(edgeInsets: EdgeInsets) {
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:71: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                                       `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:34: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                  `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:56: error: cannot find type 'EdgeInsets' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                        `- error: cannot find type 'EdgeInsets' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:131:11: error: cannot find type 'EdgeInsets' in scope
129 | #endif
130 |
131 | extension EdgeInsets {
    |           `- error: cannot find type 'EdgeInsets' in scope
132 |     var horizontal: CGFloat { return left + right }
133 |     var vertical: CGFloat { return top + bottom }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:38:16: error: cannot find 'ProcessInfo' in scope
 36 |     debugAction {
 37 |         if condition() {
 38 |             if ProcessInfo.processInfo.arguments.contains("CGL_LOG_WARNINGS") {
    |                `- error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:41:16: error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
 41 |             if ProcessInfo.processInfo.arguments.contains("CGL_THROW_ON_WARNING") { fatalError() }
    |                `- error: cannot find 'ProcessInfo' in scope
 42 |         }
 43 |     }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:50: error: cannot find '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 '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:87:50: error: cannot find '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 '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:88:50: error: cannot find '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 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: cannot find 'CGRect' in scope
115 |         return rect.inset(by: edgeInsets)
116 |     #else
117 |         return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
    |                `- error: cannot find 'CGRect' in scope
118 |                       width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 |     #endif
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
115 |         return rect.inset(by: edgeInsets)
116 |     #else
117 |         return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
    |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
118 |                       width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 |     #endif
/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 |     var frame: CGRect { get }
 31 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:16: error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
 30 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 31 | }
 32 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:220:96: error: cannot find type 'CGPoint' in scope
218 |
219 | extension LayoutCoordinateSpace where Self: LayoutElement {
220 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                                                                                `- error: cannot find type 'CGPoint' in scope
221 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
222 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:220:44: error: cannot find type 'CGPoint' in scope
218 |
219 | extension LayoutCoordinateSpace where Self: LayoutElement {
220 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                            `- error: cannot find type 'CGPoint' in scope
221 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
222 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:237:68: error: cannot find type 'CGPoint' in scope
235 |         return converted
236 |     }
237 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                                                    `- error: cannot find type 'CGPoint' in scope
238 |         return Self.convert(point: point, from: self, to: item)
239 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:237:32: error: cannot find type 'CGPoint' in scope
235 |         return converted
236 |     }
237 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
238 |         return Self.convert(point: point, from: self, to: item)
239 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:241:70: error: cannot find type 'CGPoint' in scope
239 |     }
240 |
241 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:241:32: error: cannot find type 'CGPoint' in scope
239 |     }
240 |
241 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:244:66: error: cannot find type 'CGRect' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
244 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                                                                  `- error: cannot find type 'CGRect' in scope
245 |         var rect = rect
246 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:244:31: error: cannot find type 'CGRect' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
244 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
245 |         var rect = rect
246 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:249:68: error: cannot find type 'CGRect' in scope
247 |         return rect
248 |     }
249 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                                                                    `- error: cannot find type 'CGRect' in scope
250 |         var rect = rect
251 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:249:31: error: cannot find type 'CGRect' in scope
247 |         return rect
248 |     }
249 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
250 |         var rect = rect
251 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:91:24: error: cannot find type 'CGPoint' in scope
 89 |
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
    |                        `- error: cannot find type 'CGPoint' in scope
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
 93 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:92:23: error: cannot find type 'CGPoint' in scope
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
    |                       `- error: cannot find type 'CGPoint' in scope
 93 | }
 94 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:96:15: error: cannot find type 'CGFloat' in scope
 94 |
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
    |               `- error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:97:16: error: cannot find type 'CGFloat' in scope
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
    |                `- error: cannot find type 'CGFloat' in scope
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:98:14: error: cannot find type 'CGFloat' in scope
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
    |              `- error: cannot find type 'CGFloat' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:99:17: error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
    |                 `- error: cannot find type 'CGFloat' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:101:29: error: cannot find type 'CGSize' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
    |                             `- error: cannot find type 'CGSize' in scope
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:43: error: cannot find type 'CGSize' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                                           `- error: cannot find type 'CGSize' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:31: error: cannot find type 'CGPoint' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                               `- error: cannot find type 'CGPoint' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:105:37: error: cannot find type 'EdgeInsets' in scope
103 | }
104 | extension CGRect {
105 |     mutating func apply(edgeInsets: EdgeInsets) {
    |                                     `- error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:46: error: cannot find type 'CGRect' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                                              `- error: cannot find type 'CGRect' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:31: error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                               `- error: cannot find type 'EdgeInsets' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:132:21: error: cannot find type 'CGFloat' in scope
130 |
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
    |                     `- error: cannot find type 'CGFloat' in scope
133 |     var vertical: CGFloat { return top + bottom }
134 | #if os(macOS) || os(Linux)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:133:19: error: cannot find type 'CGFloat' in scope
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
133 |     var vertical: CGFloat { return top + bottom }
    |                   `- error: cannot find type 'CGFloat' in scope
134 | #if os(macOS) || os(Linux)
135 |     public static var zero: EdgeInsets { return EdgeInsets(top: 0, left: 0, bottom: 0, right: 0) }
[19/20] Compiling CGLayout container.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |           `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |           `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:34: error: cannot find type 'CGSize' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:11: error: cannot find type 'CGSize' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |           `- error: cannot find type 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:22: error: cannot find type 'CGFloat' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:90:11: error: cannot find type 'CGPoint' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
 90 | extension CGPoint {
    |           `- error: cannot find type 'CGPoint' in scope
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:95:11: error: cannot find type 'CGRect' in scope
 93 | }
 94 |
 95 | extension CGRect {
    |           `- error: cannot find type 'CGRect' in scope
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:104:11: error: cannot find type 'CGRect' in scope
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
104 | extension CGRect {
    |           `- error: cannot find type 'CGRect' in scope
105 |     mutating func apply(edgeInsets: EdgeInsets) {
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:71: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                                       `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:34: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                  `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:56: error: cannot find type 'EdgeInsets' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                        `- error: cannot find type 'EdgeInsets' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:131:11: error: cannot find type 'EdgeInsets' in scope
129 | #endif
130 |
131 | extension EdgeInsets {
    |           `- error: cannot find type 'EdgeInsets' in scope
132 |     var horizontal: CGFloat { return left + right }
133 |     var vertical: CGFloat { return top + bottom }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:38:16: error: cannot find 'ProcessInfo' in scope
 36 |     debugAction {
 37 |         if condition() {
 38 |             if ProcessInfo.processInfo.arguments.contains("CGL_LOG_WARNINGS") {
    |                `- error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:41:16: error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
 41 |             if ProcessInfo.processInfo.arguments.contains("CGL_THROW_ON_WARNING") { fatalError() }
    |                `- error: cannot find 'ProcessInfo' in scope
 42 |         }
 43 |     }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:50: error: cannot find '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 '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:87:50: error: cannot find '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 '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:88:50: error: cannot find '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 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: cannot find 'CGRect' in scope
115 |         return rect.inset(by: edgeInsets)
116 |     #else
117 |         return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
    |                `- error: cannot find 'CGRect' in scope
118 |                       width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 |     #endif
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
115 |         return rect.inset(by: edgeInsets)
116 |     #else
117 |         return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
    |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
118 |                       width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 |     #endif
/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 |     var frame: CGRect { get }
 31 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:16: error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
 30 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 31 | }
 32 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:220:96: error: cannot find type 'CGPoint' in scope
218 |
219 | extension LayoutCoordinateSpace where Self: LayoutElement {
220 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                                                                                `- error: cannot find type 'CGPoint' in scope
221 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
222 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:220:44: error: cannot find type 'CGPoint' in scope
218 |
219 | extension LayoutCoordinateSpace where Self: LayoutElement {
220 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                            `- error: cannot find type 'CGPoint' in scope
221 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
222 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:237:68: error: cannot find type 'CGPoint' in scope
235 |         return converted
236 |     }
237 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                                                    `- error: cannot find type 'CGPoint' in scope
238 |         return Self.convert(point: point, from: self, to: item)
239 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:237:32: error: cannot find type 'CGPoint' in scope
235 |         return converted
236 |     }
237 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
238 |         return Self.convert(point: point, from: self, to: item)
239 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:241:70: error: cannot find type 'CGPoint' in scope
239 |     }
240 |
241 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:241:32: error: cannot find type 'CGPoint' in scope
239 |     }
240 |
241 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:244:66: error: cannot find type 'CGRect' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
244 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                                                                  `- error: cannot find type 'CGRect' in scope
245 |         var rect = rect
246 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:244:31: error: cannot find type 'CGRect' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
244 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
245 |         var rect = rect
246 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:249:68: error: cannot find type 'CGRect' in scope
247 |         return rect
248 |     }
249 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                                                                    `- error: cannot find type 'CGRect' in scope
250 |         var rect = rect
251 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:249:31: error: cannot find type 'CGRect' in scope
247 |         return rect
248 |     }
249 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
250 |         var rect = rect
251 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:91:24: error: cannot find type 'CGPoint' in scope
 89 |
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
    |                        `- error: cannot find type 'CGPoint' in scope
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
 93 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:92:23: error: cannot find type 'CGPoint' in scope
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
    |                       `- error: cannot find type 'CGPoint' in scope
 93 | }
 94 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:96:15: error: cannot find type 'CGFloat' in scope
 94 |
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
    |               `- error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:97:16: error: cannot find type 'CGFloat' in scope
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
    |                `- error: cannot find type 'CGFloat' in scope
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:98:14: error: cannot find type 'CGFloat' in scope
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
    |              `- error: cannot find type 'CGFloat' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:99:17: error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
    |                 `- error: cannot find type 'CGFloat' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:101:29: error: cannot find type 'CGSize' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
    |                             `- error: cannot find type 'CGSize' in scope
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:43: error: cannot find type 'CGSize' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                                           `- error: cannot find type 'CGSize' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:31: error: cannot find type 'CGPoint' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                               `- error: cannot find type 'CGPoint' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:105:37: error: cannot find type 'EdgeInsets' in scope
103 | }
104 | extension CGRect {
105 |     mutating func apply(edgeInsets: EdgeInsets) {
    |                                     `- error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:46: error: cannot find type 'CGRect' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                                              `- error: cannot find type 'CGRect' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:31: error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                               `- error: cannot find type 'EdgeInsets' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:132:21: error: cannot find type 'CGFloat' in scope
130 |
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
    |                     `- error: cannot find type 'CGFloat' in scope
133 |     var vertical: CGFloat { return top + bottom }
134 | #if os(macOS) || os(Linux)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:133:19: error: cannot find type 'CGFloat' in scope
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
133 |     var vertical: CGFloat { return top + bottom }
    |                   `- error: cannot find type 'CGFloat' in scope
134 | #if os(macOS) || os(Linux)
135 |     public static var zero: EdgeInsets { return EdgeInsets(top: 0, left: 0, bottom: 0, right: 0) }
[20/20] Compiling CGLayout coordinate.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |           `- error: cannot find type 'CGSize' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
 84 | #endif
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |           `- error: cannot find type 'CGSize' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
 85 |
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:34: error: cannot find type 'CGSize' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |                                  `- error: cannot find type 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:11: error: cannot find type 'CGSize' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |           `- error: cannot find type 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:22: error: cannot find type 'CGFloat' in scope
 86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
 87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
    |                      `- error: cannot find type 'CGFloat' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:90:11: error: cannot find type 'CGPoint' in scope
 88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
 89 |
 90 | extension CGPoint {
    |           `- error: cannot find type 'CGPoint' in scope
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:95:11: error: cannot find type 'CGRect' in scope
 93 | }
 94 |
 95 | extension CGRect {
    |           `- error: cannot find type 'CGRect' in scope
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:104:11: error: cannot find type 'CGRect' in scope
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
104 | extension CGRect {
    |           `- error: cannot find type 'CGRect' in scope
105 |     mutating func apply(edgeInsets: EdgeInsets) {
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:71: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                                       `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:34: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                  `- error: cannot find type 'CGRect' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:56: error: cannot find type 'EdgeInsets' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
    |                                                        `- error: cannot find type 'EdgeInsets' in scope
114 |     #if os(iOS) || os(tvOS)
115 |         return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:131:11: error: cannot find type 'EdgeInsets' in scope
129 | #endif
130 |
131 | extension EdgeInsets {
    |           `- error: cannot find type 'EdgeInsets' in scope
132 |     var horizontal: CGFloat { return left + right }
133 |     var vertical: CGFloat { return top + bottom }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:38:16: error: cannot find 'ProcessInfo' in scope
 36 |     debugAction {
 37 |         if condition() {
 38 |             if ProcessInfo.processInfo.arguments.contains("CGL_LOG_WARNINGS") {
    |                `- error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:41:16: error: cannot find 'ProcessInfo' in scope
 39 |                 debugPrint("CGLayout WARNING: \(message())")
 40 |             }
 41 |             if ProcessInfo.processInfo.arguments.contains("CGL_THROW_ON_WARNING") { fatalError() }
    |                `- error: cannot find 'ProcessInfo' in scope
 42 |         }
 43 |     }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:50: error: cannot find '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 '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:87:50: error: cannot find '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 '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:88:50: error: cannot find '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 'CGSize' in scope
 89 |
 90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: cannot find 'CGRect' in scope
115 |         return rect.inset(by: edgeInsets)
116 |     #else
117 |         return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
    |                `- error: cannot find 'CGRect' in scope
118 |                       width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 |     #endif
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
115 |         return rect.inset(by: edgeInsets)
116 |     #else
117 |         return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
    |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
118 |                       width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 |     #endif
/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 |     var frame: CGRect { get }
 31 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:16: error: cannot find type 'CGRect' in scope
 28 |
 29 |     var bounds: CGRect { get }
 30 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 31 | }
 32 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:220:96: error: cannot find type 'CGPoint' in scope
218 |
219 | extension LayoutCoordinateSpace where Self: LayoutElement {
220 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                                                                                `- error: cannot find type 'CGPoint' in scope
221 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
222 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:220:44: error: cannot find type 'CGPoint' in scope
218 |
219 | extension LayoutCoordinateSpace where Self: LayoutElement {
220 |     fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
    |                                            `- error: cannot find type 'CGPoint' in scope
221 |         let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
222 |         var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:237:68: error: cannot find type 'CGPoint' in scope
235 |         return converted
236 |     }
237 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                                                    `- error: cannot find type 'CGPoint' in scope
238 |         return Self.convert(point: point, from: self, to: item)
239 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:237:32: error: cannot find type 'CGPoint' in scope
235 |         return converted
236 |     }
237 |     public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
238 |         return Self.convert(point: point, from: self, to: item)
239 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:241:70: error: cannot find type 'CGPoint' in scope
239 |     }
240 |
241 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                                                      `- error: cannot find type 'CGPoint' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:241:32: error: cannot find type 'CGPoint' in scope
239 |     }
240 |
241 |     public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
    |                                `- error: cannot find type 'CGPoint' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:244:66: error: cannot find type 'CGRect' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
244 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                                                                  `- error: cannot find type 'CGRect' in scope
245 |         var rect = rect
246 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:244:31: error: cannot find type 'CGRect' in scope
242 |         return Self.convert(point: point, from: item, to: self)
243 |     }
244 |     public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
245 |         var rect = rect
246 |         rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:249:68: error: cannot find type 'CGRect' in scope
247 |         return rect
248 |     }
249 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                                                                    `- error: cannot find type 'CGRect' in scope
250 |         var rect = rect
251 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:249:31: error: cannot find type 'CGRect' in scope
247 |         return rect
248 |     }
249 |     public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
    |                               `- error: cannot find type 'CGRect' in scope
250 |         var rect = rect
251 |         rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:91:24: error: cannot find type 'CGPoint' in scope
 89 |
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
    |                        `- error: cannot find type 'CGPoint' in scope
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
 93 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:92:23: error: cannot find type 'CGPoint' in scope
 90 | extension CGPoint {
 91 |     func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
 92 |     func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
    |                       `- error: cannot find type 'CGPoint' in scope
 93 | }
 94 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:96:15: error: cannot find type 'CGFloat' in scope
 94 |
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
    |               `- error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:97:16: error: cannot find type 'CGFloat' in scope
 95 | extension CGRect {
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
    |                `- error: cannot find type 'CGFloat' in scope
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:98:14: error: cannot find type 'CGFloat' in scope
 96 |     var left: CGFloat { return minX }
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
    |              `- error: cannot find type 'CGFloat' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:99:17: error: cannot find type 'CGFloat' in scope
 97 |     var right: CGFloat { return maxX }
 98 |     var top: CGFloat { return minY }
 99 |     var bottom: CGFloat { return maxY }
    |                 `- error: cannot find type 'CGFloat' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:101:29: error: cannot find type 'CGSize' in scope
 99 |     var bottom: CGFloat { return maxY }
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
    |                             `- error: cannot find type 'CGSize' in scope
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:43: error: cannot find type 'CGSize' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                                           `- error: cannot find type 'CGSize' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:31: error: cannot find type 'CGPoint' in scope
100 |
101 |     var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 |     func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
    |                               `- error: cannot find type 'CGPoint' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:105:37: error: cannot find type 'EdgeInsets' in scope
103 | }
104 | extension CGRect {
105 |     mutating func apply(edgeInsets: EdgeInsets) {
    |                                     `- error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:46: error: cannot find type 'CGRect' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                                              `- error: cannot find type 'CGRect' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:31: error: cannot find type 'EdgeInsets' in scope
106 |         self = EdgeInsetsInsetRect(self, edgeInsets)
107 |     }
108 |     func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
    |                               `- error: cannot find type 'EdgeInsets' in scope
109 |
110 |     public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:132:21: error: cannot find type 'CGFloat' in scope
130 |
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
    |                     `- error: cannot find type 'CGFloat' in scope
133 |     var vertical: CGFloat { return top + bottom }
134 | #if os(macOS) || os(Linux)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:133:19: error: cannot find type 'CGFloat' in scope
131 | extension EdgeInsets {
132 |     var horizontal: CGFloat { return left + right }
133 |     var vertical: CGFloat { return top + bottom }
    |                   `- error: cannot find type 'CGFloat' in scope
134 | #if os(macOS) || os(Linux)
135 |     public static var zero: EdgeInsets { return EdgeInsets(top: 0, left: 0, bottom: 0, right: 0) }
BUILD FAILURE 6.3 wasm