The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

  |                      `- 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
[17/20] Compiling CGLayout layoutBlock.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
 20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
 21 |     /// Frame of layout block represented as snapshot
 22 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 23 |     /// Snapshots of child layout blocks
 24 |     var childSnapshots: [LayoutSnapshotProtocol] { get }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:26:11: error: cannot find type 'CGRect' in scope
 24 |     var childSnapshots: [LayoutSnapshotProtocol] { get }
 25 | }
 26 | extension CGRect: LayoutSnapshotProtocol {
    |           `- error: cannot find type 'CGRect' in scope
 27 |     /// Returns self value
 28 |     public var frame: CGRect { return self }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:39:22: error: cannot find type 'CGRect' in scope
 37 |     /// Snapshot for current state without recalculating
 38 |     var currentSnapshot: LayoutSnapshotProtocol { get }
 39 |     var currentRect: CGRect { get }
    |                      `- error: cannot find type 'CGRect' in scope
 40 |
 41 |     /// Calculate and apply frames layout items.
/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/layoutBlock.cglayout.swift:80:35: error: cannot find type 'CGRect' in scope
 78 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 79 |     /// - Returns: Snapshot that contains frames layout items
 80 |     func snapshot(for sourceRect: CGRect, constrainRects: [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
 81 |         var completedRects = constrainRects
 82 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:80:72: error: cannot find type 'CGRect' in scope
 78 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 79 |     /// - Returns: Snapshot that contains frames layout items
 80 |     func snapshot(for sourceRect: CGRect, constrainRects: [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                        `- error: cannot find type 'CGRect' in scope
 81 |         var completedRects = constrainRects
 82 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:32:88: error: cannot find type 'CGRect' in scope
 30 |     /// - Parameter coordinateSpace: Working coordinate space
 31 |     /// - Returns: Rect for constrain
 32 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect
    |                                                                                        `- error: cannot find type 'CGRect' in scope
 33 |     /// Converts rect from constraint coordinate space to destination coordinate space if needed.
 34 |     ///
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:32:42: error: cannot find type 'CGRect' in scope
 30 |     /// - Parameter coordinateSpace: Working coordinate space
 31 |     /// - Returns: Rect for constrain
 32 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect
    |                                          `- error: cannot find type 'CGRect' in scope
 33 |     /// Converts rect from constraint coordinate space to destination coordinate space if needed.
 34 |     ///
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:39:83: error: cannot find type 'CGRect' in scope
 37 |     ///   - coordinateSpace: Destination coordinate space
 38 |     /// - Returns: Converted rect
 39 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect
    |                                                                                   `- error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:39:37: error: cannot find type 'CGRect' in scope
 37 |     ///   - coordinateSpace: Destination coordinate space
 38 |     /// - Returns: Converted rect
 39 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect
    |                                     `- error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:117:29: error: cannot find type 'CGRect' in scope
115 |         return item.inLayoutTime.frame
116 |     }
117 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
118 |         guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
119 |         return item.inLayoutTime.frame
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:139:32: error: cannot find type 'CGRect' in scope
137 |     ///
138 |     /// - Parameter sourceRect: Source space
139 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
140 |         guard let item = item else { return debugWarning(LayoutBlock.message(forSkipped: self)) }
141 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:149:35: error: cannot find type 'CGRect' in scope
147 |     /// - Parameter sourceRect: Source space for layout
148 |     /// - Returns: Snapshot contained frames layout elements
149 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
150 |         guard let inLayout = item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
151 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:162:35: error: cannot find type 'CGRect' in scope
160 |     ///   - completedRects: `LayoutElement` elements with corrected frame
161 |     /// - Returns: Frame of this block
162 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
163 |         guard let item = item, let inLayout = self.item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
164 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:162:78: error: cannot find type 'CGRect' in scope
160 |     ///   - completedRects: `LayoutElement` elements with corrected frame
161 |     /// - Returns: Frame of this block
162 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                              `- error: cannot find type 'CGRect' in scope
163 |         guard let item = item, let inLayout = self.item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
164 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:218:29: error: cannot find type 'CGRect' in scope
216 |     }
217 |
218 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
219 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
220 |         return blocks.reduce(nil) { return $0?.union($1.currentRect) ?? $1.currentRect }!
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:232:32: error: cannot find type 'CGRect' in scope
230 |     ///
231 |     /// - Parameter sourceRect: Source space
232 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
233 |         blocks.forEach { $0.layout(in: sourceRect) }
234 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:251:35: error: cannot find type 'CGRect' in scope
249 |     /// - Parameter sourceRect: Source space for layout
250 |     /// - Returns: Snapshot contained frames layout elements
251 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
252 |         var completedFrames: [(AnyObject, CGRect)] = []
253 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:263:35: error: cannot find type 'CGRect' in scope
261 |     ///   - completedRects: `LayoutElement` elements with corrected frame
262 |     /// - Returns: Frame of this block
263 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
264 |         var snapshotFrame: CGRect?
265 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:263:78: error: cannot find type 'CGRect' in scope
261 |     ///   - completedRects: `LayoutElement` elements with corrected frame
262 |     /// - Returns: Frame of this block
263 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                              `- error: cannot find type 'CGRect' in scope
264 |         var snapshotFrame: CGRect?
265 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:95:15: error: cannot find 'Thread' in scope
 93 |
 94 |     public func setItem(_ item: Item?) {
 95 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
 96 |
 97 |         self.item = item
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:101:15: error: cannot find 'Thread' in scope
 99 |
100 |     public func setLayout(_ layout: RectBasedLayout) {
101 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
102 |
103 |         self.itemLayout = layout
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:107:15: error: cannot find 'Thread' in scope
105 |
106 |     public func setConstraints(_ constraints: [LayoutConstraintProtocol]) {
107 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
108 |
109 |         self.constraints = constraints
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:115:34: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
113 |     var currentSnapshot: LayoutSnapshotProtocol {
114 |         guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
115 |         return item.inLayoutTime.frame
    |                                  `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
116 |     }
117 |     public var currentRect: CGRect {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:152:27: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
150 |         guard let inLayout = item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
151 |
152 |         return itemLayout.layout(rect: inLayout.frame, from: superItem, in: sourceRect, use: constraints.lazy.filter { $0.isActive })
    |                           `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
153 |     }
154 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:165:107: error: cannot find type 'CGRect' in scope
163 |         guard let item = item, let inLayout = self.item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
164 |
165 |         let source = constraints.lazy.filter { $0.isActive }.reduce(sourceRect) { (result, constraint) -> CGRect in
    |                                                                                                           `- error: cannot find type 'CGRect' in scope
166 |             let rect = constraint.isIndependent ? nil : completedRects.first { constraint.layoutElement(is: $0.0) }?.1
167 |
/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/layoutBlock.cglayout.swift:206:28: error: cannot find type 'CGRect' in scope
204 |     public /// Snapshot for current state without recalculating
205 |     var currentSnapshot: LayoutSnapshotProtocol {
206 |         var snapshotFrame: CGRect!
    |                            `- error: cannot find type 'CGRect' in scope
207 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
208 |             let blockFrame = block.currentSnapshot.frame
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:41:16: error: cannot find type 'CGRect' in scope
39 | internal struct LayoutSnapshot: LayoutSnapshotProtocol {
40 |     let childSnapshots: [LayoutSnapshotProtocol]
41 |     let frame: CGRect
   |                `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:220:29: error: missing argument label 'into:' in call
218 |     public var currentRect: CGRect {
219 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
220 |         return blocks.reduce(nil) { return $0?.union($1.currentRect) ?? $1.currentRect }!
    |                             `- error: missing argument label 'into:' in call
221 |     }
222 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:220:89: error: cannot force unwrap value of non-optional type '(_, _) -> T'
218 |     public var currentRect: CGRect {
219 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
220 |         return blocks.reduce(nil) { return $0?.union($1.currentRect) ?? $1.currentRect }!
    |                                                                                         `- error: cannot force unwrap value of non-optional type '(_, _) -> T'
221 |     }
222 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:233:40: error: argument passed to call that takes no arguments
231 |     /// - Parameter sourceRect: Source space
232 |     func layout(in sourceRect: CGRect) {
233 |         blocks.forEach { $0.layout(in: sourceRect) }
    |                                        `- error: argument passed to call that takes no arguments
234 |     }
235 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:252:43: error: cannot find type 'CGRect' in scope
250 |     /// - Returns: Snapshot contained frames layout elements
251 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
252 |         var completedFrames: [(AnyObject, CGRect)] = []
    |                                           `- error: cannot find type 'CGRect' in scope
253 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
254 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:264:28: error: cannot find type 'CGRect' in scope
262 |     /// - Returns: Frame of this block
263 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
264 |         var snapshotFrame: CGRect?
    |                            `- error: cannot find type 'CGRect' in scope
265 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
266 |             let blockSnapshot = block.snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:273:15: error: cannot find 'Thread' in scope
271 |
272 |     public mutating func insertLayout(block: LayoutBlockProtocol, to position: Int? = nil) {
273 |         guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
    |               `- error: cannot find 'Thread' in scope
274 |
275 |         blocks.insert(block, at: position ?? blocks.count)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:279:15: error: cannot find 'Thread' in scope
277 |
278 |     public mutating func removeInactiveBlocks() {
279 |         guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
    |               `- error: cannot find 'Thread' in scope
280 |
281 |         blocks = blocks.filter { $0.isActive }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:42:47: error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
 42 |     internal func constrain(sourceRect: inout CGRect, in coordinateSpace: LayoutElement) {
    |                                               `- error: cannot find type 'CGRect' in scope
 43 |         formConstrain(sourceRect: &sourceRect, by: constrainRect(for: sourceRect, in: coordinateSpace))
 44 |     }
/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/layoutConstraint.cglayout.swift:88:88: error: cannot find type 'CGRect' in scope
 86 |     /// - Parameter coordinateSpace: Working coordinate space
 87 |     /// - Returns: Rect for constrain
 88 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                        `- error: cannot find type 'CGRect' in scope
 89 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
 90 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:88:42: error: cannot find type 'CGRect' in scope
 86 |     /// - Parameter coordinateSpace: Working coordinate space
 87 |     /// - Returns: Rect for constrain
 88 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                          `- error: cannot find type 'CGRect' in scope
 89 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
 90 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:99:42: error: cannot find type 'CGRect' in scope
 97 |     ///   - sourceRect: Source space
 98 |     ///   - rect: Rect for constrain
 99 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
100 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
101 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:99:59: error: cannot find type 'CGRect' in scope
 97 |     ///   - sourceRect: Source space
 98 |     ///   - rect: Rect for constrain
 99 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
100 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
101 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:109:83: error: cannot find type 'CGRect' in scope
107 |     ///   - coordinateSpace: Destination coordinate space
108 |     /// - Returns: Converted rect
109 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
110 |         guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
111 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:109:37: error: cannot find type 'CGRect' in scope
107 |     ///   - coordinateSpace: Destination coordinate space
108 |     /// - Returns: Converted rect
109 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
110 |         guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
111 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:145:88: error: cannot find type 'CGRect' in scope
143 |     /// - Parameter coordinateSpace: Working coordinate space
144 |     /// - Returns: Rect for constrain
145 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                        `- error: cannot find type 'CGRect' in scope
146 |         return currentSpace
147 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:145:42: error: cannot find type 'CGRect' in scope
143 |     /// - Parameter coordinateSpace: Working coordinate space
144 |     /// - Returns: Rect for constrain
145 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                          `- error: cannot find type 'CGRect' in scope
146 |         return currentSpace
147 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:154:42: error: cannot find type 'CGRect' in scope
152 |     ///   - sourceRect: Source space
153 |     ///   - rect: Rect for constrain
154 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
155 |         guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:154:59: error: cannot find type 'CGRect' in scope
152 |     ///   - sourceRect: Source space
153 |     ///   - rect: Rect for constrain
154 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
155 |         guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:168:83: error: cannot find type 'CGRect' in scope
166 |     ///   - coordinateSpace: Destination coordinate space
167 |     /// - Returns: Converted rect
168 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
169 |         return rect
170 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:168:37: error: cannot find type 'CGRect' in scope
166 |     ///   - coordinateSpace: Destination coordinate space
167 |     /// - Returns: Converted rect
168 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
169 |         return rect
170 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:203:88: error: cannot find type 'CGRect' in scope
201 |     /// - Parameter coordinateSpace: Working coordinate space
202 |     /// - Returns: Rect for constrain
203 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                        `- error: cannot find type 'CGRect' in scope
204 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
205 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:203:42: error: cannot find type 'CGRect' in scope
201 |     /// - Parameter coordinateSpace: Working coordinate space
202 |     /// - Returns: Rect for constrain
203 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                          `- error: cannot find type 'CGRect' in scope
204 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
205 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:214:42: error: cannot find type 'CGRect' in scope
212 |     ///   - sourceRect: Source space
213 |     ///   - rect: Rect for constrain
214 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
215 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
216 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:214:59: error: cannot find type 'CGRect' in scope
212 |     ///   - sourceRect: Source space
213 |     ///   - rect: Rect for constrain
214 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
215 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
216 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:224:83: error: cannot find type 'CGRect' in scope
222 |     ///   - coordinateSpace: Destination coordinate space
223 |     /// - Returns: Converted rect
224 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
225 |         guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
226 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:224:37: error: cannot find type 'CGRect' in scope
222 |     ///   - coordinateSpace: Destination coordinate space
223 |     /// - Returns: Converted rect
224 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
225 |         guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
226 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:257:42: error: cannot find type 'CGRect' in scope
255 |     ///   - sourceRect: Source space
256 |     ///   - rect: Rect for constrain
257 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
    |                                          `- error: cannot find type 'CGRect' in scope
258 |
259 |     public /// Converts rect from constraint coordinate space to destination coordinate space if needed.
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:257:59: error: cannot find type 'CGRect' in scope
255 |     ///   - sourceRect: Source space
256 |     ///   - rect: Rect for constrain
257 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
    |                                                           `- error: cannot find type 'CGRect' in scope
258 |
259 |     public /// Converts rect from constraint coordinate space to destination coordinate space if needed.
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:265:83: error: cannot find type 'CGRect' in scope
263 |     ///   - coordinateSpace: Destination coordinate space
264 |     /// - Returns: Converted rect
265 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect { return base.convert(rectIfNeeded: rect, to: coordinateSpace) }
    |                                                                                   `- error: cannot find type 'CGRect' in scope
266 |
267 |     public /// Return rectangle for constrain source rect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:265:37: error: cannot find type 'CGRect' in scope
263 |     ///   - coordinateSpace: Destination coordinate space
264 |     /// - Returns: Converted rect
265 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect { return base.convert(rectIfNeeded: rect, to: coordinateSpace) }
    |                                     `- error: cannot find type 'CGRect' in scope
266 |
267 |     public /// Return rectangle for constrain source rect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:272:88: error: cannot find type 'CGRect' in scope
270 |     /// - Parameter coordinateSpace: Working coordinate space
271 |     /// - Returns: Rect for constrain
272 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect { return base.constrainRect(for: currentSpace, in: coordinateSpace) }
    |                                                                                        `- error: cannot find type 'CGRect' in scope
273 |
274 |     public /// `LayoutElement` object associated with this constraint
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:272:42: error: cannot find type 'CGRect' in scope
270 |     /// - Parameter coordinateSpace: Working coordinate space
271 |     /// - Returns: Rect for constrain
272 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect { return base.constrainRect(for: currentSpace, in: coordinateSpace) }
    |                                          `- error: cannot find type 'CGRect' in scope
273 |
274 |     public /// `LayoutElement` object associated with this constraint
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:286:26: error: cannot find type 'CGRect' in scope
284 | public struct AnonymConstraint: LayoutConstraintProtocol {
285 |     let anchors: [RectBasedConstraint]
286 |     let constrainRect: ((CGRect) -> CGRect)?
    |                          `- error: cannot find type 'CGRect' in scope
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:286:37: error: cannot find type 'CGRect' in scope
284 | public struct AnonymConstraint: LayoutConstraintProtocol {
285 |     let anchors: [RectBasedConstraint]
286 |     let constrainRect: ((CGRect) -> CGRect)?
    |                                     `- error: cannot find type 'CGRect' in scope
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:288:66: error: cannot find type 'CGRect' in scope
286 |     let constrainRect: ((CGRect) -> CGRect)?
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
289 |         self.anchors = anchors
290 |         self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:288:77: error: cannot find type 'CGRect' in scope
286 |     let constrainRect: ((CGRect) -> CGRect)?
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                             `- error: cannot find type 'CGRect' in scope
289 |         self.anchors = anchors
290 |         self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:308:95: error: cannot find type 'CGRect' in scope
306 |     /// - Parameter coordinateSpace: Working coordinate space
307 |     /// - Returns: Rect for constrain
308 |     public func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                               `- error: cannot find type 'CGRect' in scope
309 |         return constrainRect?(currentSpace) ?? currentSpace
310 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:308:49: error: cannot find type 'CGRect' in scope
306 |     /// - Parameter coordinateSpace: Working coordinate space
307 |     /// - Returns: Rect for constrain
308 |     public func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                 `- error: cannot find type 'CGRect' in scope
309 |         return constrainRect?(currentSpace) ?? currentSpace
310 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:317:49: error: cannot find type 'CGRect' in scope
315 |     ///   - sourceRect: Source space
316 |     ///   - rect: Rect for constrain
317 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                 `- error: cannot find type 'CGRect' in scope
318 |         sourceRect = anchors.reduce(sourceRect) { $1.constrained(sourceRect: $0, by: rect) }
319 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:317:66: error: cannot find type 'CGRect' in scope
315 |     ///   - sourceRect: Source space
316 |     ///   - rect: Rect for constrain
317 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
318 |         sourceRect = anchors.reduce(sourceRect) { $1.constrained(sourceRect: $0, by: rect) }
319 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:327:90: error: cannot find type 'CGRect' in scope
325 |     ///   - coordinateSpace: Destination coordinate space
326 |     /// - Returns: Converted rect
327 |     public func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                          `- error: cannot find type 'CGRect' in scope
328 |         return rect
329 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:327:44: error: cannot find type 'CGRect' in scope
325 |     ///   - coordinateSpace: Destination coordinate space
326 |     /// - Returns: Converted rect
327 |     public func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                            `- error: cannot find type 'CGRect' in scope
328 |         return rect
329 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:332:38: error: cannot find type 'CGRect' in scope
330 | }
331 | public extension AnonymConstraint {
332 |     init(transform: @escaping (inout CGRect) -> Void) {
    |                                      `- error: cannot find type 'CGRect' in scope
333 |         self.init(anchors: [Equal()]) {
334 |             var source = $0
/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/layoutConstraint.cglayout.swift:309:45: error: no '??' candidates produce the expected contextual result type '_'
307 |     /// - Returns: Rect for constrain
308 |     public func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
309 |         return constrainRect?(currentSpace) ?? currentSpace
    |                                             `- error: no '??' candidates produce the expected contextual result type '_'
310 |     }
311 |
Swift.??:1:13: note: '??' produces '_', not the expected contextual result type '_'
1 | public func ?? <T>(optional: consuming T?, defaultValue: @autoclosure () throws -> T) rethrows -> T where T : ~Copyable
  |             `- note: '??' produces '_', not the expected contextual result type '_'
Swift.??:1:13: note: '??' produces 'T?', not the expected contextual result type '_'
1 | public func ?? <T>(optional: consuming T?, defaultValue: @autoclosure () throws -> T?) rethrows -> T? where T : ~Copyable
  |             `- note: '??' produces 'T?', not the expected contextual result type '_'
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:28:23: error: cannot find type 'CGRect' in scope
 26 | extension CGRect: LayoutSnapshotProtocol {
 27 |     /// Returns self value
 28 |     public var frame: CGRect { return self }
    |                       `- error: cannot find type 'CGRect' in scope
 29 |     /// Returns empty array
 30 |     public var childSnapshots: [LayoutSnapshotProtocol] { return [] }
[18/20] Compiling CGLayout layoutConstraint.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
 20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
 21 |     /// Frame of layout block represented as snapshot
 22 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 23 |     /// Snapshots of child layout blocks
 24 |     var childSnapshots: [LayoutSnapshotProtocol] { get }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:26:11: error: cannot find type 'CGRect' in scope
 24 |     var childSnapshots: [LayoutSnapshotProtocol] { get }
 25 | }
 26 | extension CGRect: LayoutSnapshotProtocol {
    |           `- error: cannot find type 'CGRect' in scope
 27 |     /// Returns self value
 28 |     public var frame: CGRect { return self }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:39:22: error: cannot find type 'CGRect' in scope
 37 |     /// Snapshot for current state without recalculating
 38 |     var currentSnapshot: LayoutSnapshotProtocol { get }
 39 |     var currentRect: CGRect { get }
    |                      `- error: cannot find type 'CGRect' in scope
 40 |
 41 |     /// Calculate and apply frames layout items.
/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/layoutBlock.cglayout.swift:80:35: error: cannot find type 'CGRect' in scope
 78 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 79 |     /// - Returns: Snapshot that contains frames layout items
 80 |     func snapshot(for sourceRect: CGRect, constrainRects: [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
 81 |         var completedRects = constrainRects
 82 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:80:72: error: cannot find type 'CGRect' in scope
 78 |     ///   - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
 79 |     /// - Returns: Snapshot that contains frames layout items
 80 |     func snapshot(for sourceRect: CGRect, constrainRects: [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                        `- error: cannot find type 'CGRect' in scope
 81 |         var completedRects = constrainRects
 82 |         return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:32:88: error: cannot find type 'CGRect' in scope
 30 |     /// - Parameter coordinateSpace: Working coordinate space
 31 |     /// - Returns: Rect for constrain
 32 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect
    |                                                                                        `- error: cannot find type 'CGRect' in scope
 33 |     /// Converts rect from constraint coordinate space to destination coordinate space if needed.
 34 |     ///
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:32:42: error: cannot find type 'CGRect' in scope
 30 |     /// - Parameter coordinateSpace: Working coordinate space
 31 |     /// - Returns: Rect for constrain
 32 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect
    |                                          `- error: cannot find type 'CGRect' in scope
 33 |     /// Converts rect from constraint coordinate space to destination coordinate space if needed.
 34 |     ///
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:39:83: error: cannot find type 'CGRect' in scope
 37 |     ///   - coordinateSpace: Destination coordinate space
 38 |     /// - Returns: Converted rect
 39 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect
    |                                                                                   `- error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:39:37: error: cannot find type 'CGRect' in scope
 37 |     ///   - coordinateSpace: Destination coordinate space
 38 |     /// - Returns: Converted rect
 39 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect
    |                                     `- error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:117:29: error: cannot find type 'CGRect' in scope
115 |         return item.inLayoutTime.frame
116 |     }
117 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
118 |         guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
119 |         return item.inLayoutTime.frame
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:139:32: error: cannot find type 'CGRect' in scope
137 |     ///
138 |     /// - Parameter sourceRect: Source space
139 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
140 |         guard let item = item else { return debugWarning(LayoutBlock.message(forSkipped: self)) }
141 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:149:35: error: cannot find type 'CGRect' in scope
147 |     /// - Parameter sourceRect: Source space for layout
148 |     /// - Returns: Snapshot contained frames layout elements
149 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
150 |         guard let inLayout = item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
151 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:162:35: error: cannot find type 'CGRect' in scope
160 |     ///   - completedRects: `LayoutElement` elements with corrected frame
161 |     /// - Returns: Frame of this block
162 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
163 |         guard let item = item, let inLayout = self.item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
164 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:162:78: error: cannot find type 'CGRect' in scope
160 |     ///   - completedRects: `LayoutElement` elements with corrected frame
161 |     /// - Returns: Frame of this block
162 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                              `- error: cannot find type 'CGRect' in scope
163 |         guard let item = item, let inLayout = self.item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
164 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:218:29: error: cannot find type 'CGRect' in scope
216 |     }
217 |
218 |     public var currentRect: CGRect {
    |                             `- error: cannot find type 'CGRect' in scope
219 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
220 |         return blocks.reduce(nil) { return $0?.union($1.currentRect) ?? $1.currentRect }!
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:232:32: error: cannot find type 'CGRect' in scope
230 |     ///
231 |     /// - Parameter sourceRect: Source space
232 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
233 |         blocks.forEach { $0.layout(in: sourceRect) }
234 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:251:35: error: cannot find type 'CGRect' in scope
249 |     /// - Parameter sourceRect: Source space for layout
250 |     /// - Returns: Snapshot contained frames layout elements
251 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
252 |         var completedFrames: [(AnyObject, CGRect)] = []
253 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:263:35: error: cannot find type 'CGRect' in scope
261 |     ///   - completedRects: `LayoutElement` elements with corrected frame
262 |     /// - Returns: Frame of this block
263 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                   `- error: cannot find type 'CGRect' in scope
264 |         var snapshotFrame: CGRect?
265 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:263:78: error: cannot find type 'CGRect' in scope
261 |     ///   - completedRects: `LayoutElement` elements with corrected frame
262 |     /// - Returns: Frame of this block
263 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
    |                                                                              `- error: cannot find type 'CGRect' in scope
264 |         var snapshotFrame: CGRect?
265 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:95:15: error: cannot find 'Thread' in scope
 93 |
 94 |     public func setItem(_ item: Item?) {
 95 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
 96 |
 97 |         self.item = item
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:101:15: error: cannot find 'Thread' in scope
 99 |
100 |     public func setLayout(_ layout: RectBasedLayout) {
101 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
102 |
103 |         self.itemLayout = layout
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:107:15: error: cannot find 'Thread' in scope
105 |
106 |     public func setConstraints(_ constraints: [LayoutConstraintProtocol]) {
107 |         guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
    |               `- error: cannot find 'Thread' in scope
108 |
109 |         self.constraints = constraints
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:115:34: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
113 |     var currentSnapshot: LayoutSnapshotProtocol {
114 |         guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
115 |         return item.inLayoutTime.frame
    |                                  `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
116 |     }
117 |     public var currentRect: CGRect {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:152:27: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
150 |         guard let inLayout = item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
151 |
152 |         return itemLayout.layout(rect: inLayout.frame, from: superItem, in: sourceRect, use: constraints.lazy.filter { $0.isActive })
    |                           `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
153 |     }
154 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:165:107: error: cannot find type 'CGRect' in scope
163 |         guard let item = item, let inLayout = self.item?.inLayoutTime, let superItem = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
164 |
165 |         let source = constraints.lazy.filter { $0.isActive }.reduce(sourceRect) { (result, constraint) -> CGRect in
    |                                                                                                           `- error: cannot find type 'CGRect' in scope
166 |             let rect = constraint.isIndependent ? nil : completedRects.first { constraint.layoutElement(is: $0.0) }?.1
167 |
/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/layoutBlock.cglayout.swift:206:28: error: cannot find type 'CGRect' in scope
204 |     public /// Snapshot for current state without recalculating
205 |     var currentSnapshot: LayoutSnapshotProtocol {
206 |         var snapshotFrame: CGRect!
    |                            `- error: cannot find type 'CGRect' in scope
207 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
208 |             let blockFrame = block.currentSnapshot.frame
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:41:16: error: cannot find type 'CGRect' in scope
39 | internal struct LayoutSnapshot: LayoutSnapshotProtocol {
40 |     let childSnapshots: [LayoutSnapshotProtocol]
41 |     let frame: CGRect
   |                `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:220:29: error: missing argument label 'into:' in call
218 |     public var currentRect: CGRect {
219 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
220 |         return blocks.reduce(nil) { return $0?.union($1.currentRect) ?? $1.currentRect }!
    |                             `- error: missing argument label 'into:' in call
221 |     }
222 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:220:89: error: cannot force unwrap value of non-optional type '(_, _) -> T'
218 |     public var currentRect: CGRect {
219 |         guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
220 |         return blocks.reduce(nil) { return $0?.union($1.currentRect) ?? $1.currentRect }!
    |                                                                                         `- error: cannot force unwrap value of non-optional type '(_, _) -> T'
221 |     }
222 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:233:40: error: argument passed to call that takes no arguments
231 |     /// - Parameter sourceRect: Source space
232 |     func layout(in sourceRect: CGRect) {
233 |         blocks.forEach { $0.layout(in: sourceRect) }
    |                                        `- error: argument passed to call that takes no arguments
234 |     }
235 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:252:43: error: cannot find type 'CGRect' in scope
250 |     /// - Returns: Snapshot contained frames layout elements
251 |     func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
252 |         var completedFrames: [(AnyObject, CGRect)] = []
    |                                           `- error: cannot find type 'CGRect' in scope
253 |         return snapshot(for: sourceRect, completedRects: &completedFrames)
254 |     }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:264:28: error: cannot find type 'CGRect' in scope
262 |     /// - Returns: Frame of this block
263 |     func snapshot(for sourceRect: CGRect, completedRects: inout [(AnyObject, CGRect)]) -> LayoutSnapshotProtocol {
264 |         var snapshotFrame: CGRect?
    |                            `- error: cannot find type 'CGRect' in scope
265 |         return LayoutSnapshot(childSnapshots: blocks.map { block in
266 |             let blockSnapshot = block.snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:273:15: error: cannot find 'Thread' in scope
271 |
272 |     public mutating func insertLayout(block: LayoutBlockProtocol, to position: Int? = nil) {
273 |         guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
    |               `- error: cannot find 'Thread' in scope
274 |
275 |         blocks.insert(block, at: position ?? blocks.count)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:279:15: error: cannot find 'Thread' in scope
277 |
278 |     public mutating func removeInactiveBlocks() {
279 |         guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
    |               `- error: cannot find 'Thread' in scope
280 |
281 |         blocks = blocks.filter { $0.isActive }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:42:47: error: cannot find type 'CGRect' in scope
 40 | }
 41 | extension LayoutConstraintProtocol {
 42 |     internal func constrain(sourceRect: inout CGRect, in coordinateSpace: LayoutElement) {
    |                                               `- error: cannot find type 'CGRect' in scope
 43 |         formConstrain(sourceRect: &sourceRect, by: constrainRect(for: sourceRect, in: coordinateSpace))
 44 |     }
/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/layoutConstraint.cglayout.swift:88:88: error: cannot find type 'CGRect' in scope
 86 |     /// - Parameter coordinateSpace: Working coordinate space
 87 |     /// - Returns: Rect for constrain
 88 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                        `- error: cannot find type 'CGRect' in scope
 89 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
 90 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:88:42: error: cannot find type 'CGRect' in scope
 86 |     /// - Parameter coordinateSpace: Working coordinate space
 87 |     /// - Returns: Rect for constrain
 88 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                          `- error: cannot find type 'CGRect' in scope
 89 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
 90 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:99:42: error: cannot find type 'CGRect' in scope
 97 |     ///   - sourceRect: Source space
 98 |     ///   - rect: Rect for constrain
 99 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
100 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
101 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:99:59: error: cannot find type 'CGRect' in scope
 97 |     ///   - sourceRect: Source space
 98 |     ///   - rect: Rect for constrain
 99 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
100 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
101 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:109:83: error: cannot find type 'CGRect' in scope
107 |     ///   - coordinateSpace: Destination coordinate space
108 |     /// - Returns: Converted rect
109 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
110 |         guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
111 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:109:37: error: cannot find type 'CGRect' in scope
107 |     ///   - coordinateSpace: Destination coordinate space
108 |     /// - Returns: Converted rect
109 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
110 |         guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
111 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:145:88: error: cannot find type 'CGRect' in scope
143 |     /// - Parameter coordinateSpace: Working coordinate space
144 |     /// - Returns: Rect for constrain
145 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                        `- error: cannot find type 'CGRect' in scope
146 |         return currentSpace
147 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:145:42: error: cannot find type 'CGRect' in scope
143 |     /// - Parameter coordinateSpace: Working coordinate space
144 |     /// - Returns: Rect for constrain
145 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                          `- error: cannot find type 'CGRect' in scope
146 |         return currentSpace
147 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:154:42: error: cannot find type 'CGRect' in scope
152 |     ///   - sourceRect: Source space
153 |     ///   - rect: Rect for constrain
154 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
155 |         guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:154:59: error: cannot find type 'CGRect' in scope
152 |     ///   - sourceRect: Source space
153 |     ///   - rect: Rect for constrain
154 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
155 |         guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:168:83: error: cannot find type 'CGRect' in scope
166 |     ///   - coordinateSpace: Destination coordinate space
167 |     /// - Returns: Converted rect
168 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
169 |         return rect
170 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:168:37: error: cannot find type 'CGRect' in scope
166 |     ///   - coordinateSpace: Destination coordinate space
167 |     /// - Returns: Converted rect
168 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
169 |         return rect
170 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:203:88: error: cannot find type 'CGRect' in scope
201 |     /// - Parameter coordinateSpace: Working coordinate space
202 |     /// - Returns: Rect for constrain
203 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                        `- error: cannot find type 'CGRect' in scope
204 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
205 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:203:42: error: cannot find type 'CGRect' in scope
201 |     /// - Parameter coordinateSpace: Working coordinate space
202 |     /// - Returns: Rect for constrain
203 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                          `- error: cannot find type 'CGRect' in scope
204 |         guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
205 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:214:42: error: cannot find type 'CGRect' in scope
212 |     ///   - sourceRect: Source space
213 |     ///   - rect: Rect for constrain
214 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                          `- error: cannot find type 'CGRect' in scope
215 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
216 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:214:59: error: cannot find type 'CGRect' in scope
212 |     ///   - sourceRect: Source space
213 |     ///   - rect: Rect for constrain
214 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                           `- error: cannot find type 'CGRect' in scope
215 |         sourceRect = sourceRect.constrainedBy(rect: rect, use: constraints)
216 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:224:83: error: cannot find type 'CGRect' in scope
222 |     ///   - coordinateSpace: Destination coordinate space
223 |     /// - Returns: Converted rect
224 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                   `- error: cannot find type 'CGRect' in scope
225 |         guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
226 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:224:37: error: cannot find type 'CGRect' in scope
222 |     ///   - coordinateSpace: Destination coordinate space
223 |     /// - Returns: Converted rect
224 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                     `- error: cannot find type 'CGRect' in scope
225 |         guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
226 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:257:42: error: cannot find type 'CGRect' in scope
255 |     ///   - sourceRect: Source space
256 |     ///   - rect: Rect for constrain
257 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
    |                                          `- error: cannot find type 'CGRect' in scope
258 |
259 |     public /// Converts rect from constraint coordinate space to destination coordinate space if needed.
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:257:59: error: cannot find type 'CGRect' in scope
255 |     ///   - sourceRect: Source space
256 |     ///   - rect: Rect for constrain
257 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
    |                                                           `- error: cannot find type 'CGRect' in scope
258 |
259 |     public /// Converts rect from constraint coordinate space to destination coordinate space if needed.
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:265:83: error: cannot find type 'CGRect' in scope
263 |     ///   - coordinateSpace: Destination coordinate space
264 |     /// - Returns: Converted rect
265 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect { return base.convert(rectIfNeeded: rect, to: coordinateSpace) }
    |                                                                                   `- error: cannot find type 'CGRect' in scope
266 |
267 |     public /// Return rectangle for constrain source rect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:265:37: error: cannot find type 'CGRect' in scope
263 |     ///   - coordinateSpace: Destination coordinate space
264 |     /// - Returns: Converted rect
265 |     func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect { return base.convert(rectIfNeeded: rect, to: coordinateSpace) }
    |                                     `- error: cannot find type 'CGRect' in scope
266 |
267 |     public /// Return rectangle for constrain source rect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:272:88: error: cannot find type 'CGRect' in scope
270 |     /// - Parameter coordinateSpace: Working coordinate space
271 |     /// - Returns: Rect for constrain
272 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect { return base.constrainRect(for: currentSpace, in: coordinateSpace) }
    |                                                                                        `- error: cannot find type 'CGRect' in scope
273 |
274 |     public /// `LayoutElement` object associated with this constraint
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:272:42: error: cannot find type 'CGRect' in scope
270 |     /// - Parameter coordinateSpace: Working coordinate space
271 |     /// - Returns: Rect for constrain
272 |     func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect { return base.constrainRect(for: currentSpace, in: coordinateSpace) }
    |                                          `- error: cannot find type 'CGRect' in scope
273 |
274 |     public /// `LayoutElement` object associated with this constraint
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:286:26: error: cannot find type 'CGRect' in scope
284 | public struct AnonymConstraint: LayoutConstraintProtocol {
285 |     let anchors: [RectBasedConstraint]
286 |     let constrainRect: ((CGRect) -> CGRect)?
    |                          `- error: cannot find type 'CGRect' in scope
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:286:37: error: cannot find type 'CGRect' in scope
284 | public struct AnonymConstraint: LayoutConstraintProtocol {
285 |     let anchors: [RectBasedConstraint]
286 |     let constrainRect: ((CGRect) -> CGRect)?
    |                                     `- error: cannot find type 'CGRect' in scope
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:288:66: error: cannot find type 'CGRect' in scope
286 |     let constrainRect: ((CGRect) -> CGRect)?
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
289 |         self.anchors = anchors
290 |         self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:288:77: error: cannot find type 'CGRect' in scope
286 |     let constrainRect: ((CGRect) -> CGRect)?
287 |
288 |     public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
    |                                                                             `- error: cannot find type 'CGRect' in scope
289 |         self.anchors = anchors
290 |         self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:308:95: error: cannot find type 'CGRect' in scope
306 |     /// - Parameter coordinateSpace: Working coordinate space
307 |     /// - Returns: Rect for constrain
308 |     public func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                               `- error: cannot find type 'CGRect' in scope
309 |         return constrainRect?(currentSpace) ?? currentSpace
310 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:308:49: error: cannot find type 'CGRect' in scope
306 |     /// - Parameter coordinateSpace: Working coordinate space
307 |     /// - Returns: Rect for constrain
308 |     public func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
    |                                                 `- error: cannot find type 'CGRect' in scope
309 |         return constrainRect?(currentSpace) ?? currentSpace
310 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:317:49: error: cannot find type 'CGRect' in scope
315 |     ///   - sourceRect: Source space
316 |     ///   - rect: Rect for constrain
317 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                 `- error: cannot find type 'CGRect' in scope
318 |         sourceRect = anchors.reduce(sourceRect) { $1.constrained(sourceRect: $0, by: rect) }
319 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:317:66: error: cannot find type 'CGRect' in scope
315 |     ///   - sourceRect: Source space
316 |     ///   - rect: Rect for constrain
317 |     public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
    |                                                                  `- error: cannot find type 'CGRect' in scope
318 |         sourceRect = anchors.reduce(sourceRect) { $1.constrained(sourceRect: $0, by: rect) }
319 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:327:90: error: cannot find type 'CGRect' in scope
325 |     ///   - coordinateSpace: Destination coordinate space
326 |     /// - Returns: Converted rect
327 |     public func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                                                                          `- error: cannot find type 'CGRect' in scope
328 |         return rect
329 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:327:44: error: cannot find type 'CGRect' in scope
325 |     ///   - coordinateSpace: Destination coordinate space
326 |     /// - Returns: Converted rect
327 |     public func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
    |                                            `- error: cannot find type 'CGRect' in scope
328 |         return rect
329 |     }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:332:38: error: cannot find type 'CGRect' in scope
330 | }
331 | public extension AnonymConstraint {
332 |     init(transform: @escaping (inout CGRect) -> Void) {
    |                                      `- error: cannot find type 'CGRect' in scope
333 |         self.init(anchors: [Equal()]) {
334 |             var source = $0
/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/layoutConstraint.cglayout.swift:309:45: error: no '??' candidates produce the expected contextual result type '_'
307 |     /// - Returns: Rect for constrain
308 |     public func constrainRect(for currentSpace: CGRect, in coordinateSpace: LayoutElement) -> CGRect {
309 |         return constrainRect?(currentSpace) ?? currentSpace
    |                                             `- error: no '??' candidates produce the expected contextual result type '_'
310 |     }
311 |
Swift.??:1:13: note: '??' produces '_', not the expected contextual result type '_'
1 | public func ?? <T>(optional: consuming T?, defaultValue: @autoclosure () throws -> T) rethrows -> T where T : ~Copyable
  |             `- note: '??' produces '_', not the expected contextual result type '_'
Swift.??:1:13: note: '??' produces 'T?', not the expected contextual result type '_'
1 | public func ?? <T>(optional: consuming T?, defaultValue: @autoclosure () throws -> T?) rethrows -> T? where T : ~Copyable
  |             `- note: '??' produces 'T?', not the expected contextual result type '_'
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:28:23: error: cannot find type 'CGRect' in scope
 26 | extension CGRect: LayoutSnapshotProtocol {
 27 |     /// Returns self value
 28 |     public var frame: CGRect { return self }
    |                       `- error: cannot find type 'CGRect' in scope
 29 |     /// Returns empty array
 30 |     public var childSnapshots: [LayoutSnapshotProtocol] { return [] }
[19/20] Compiling CGLayout layoutGuide.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:27:28: error: cannot find type 'CGRect' in scope
 25 | open class LayoutGuide<Super: LayoutElement>: LayoutElement, ElementInLayoutTime {
 26 |     public /// Internal layout space of super element
 27 |     var superLayoutBounds: CGRect { return superElement!.layoutBounds }
    |                            `- error: cannot find type 'CGRect' in scope
 28 |     public /// Entity that represents element in layout time
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:31:23: error: cannot find type 'CGRect' in scope
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
 30 |     public /// Internal space for layout subelements
 31 |     var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
    |                       `- error: cannot find type 'CGRect' in scope
 32 |
 33 |     /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/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/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: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/layoutGuide.cglayout.swift:77:54: error: cannot find type 'CGRect' in scope
 75 |     /// - Parameter frame: New frame value.
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                      `- error: cannot find type 'CGRect' in scope
 78 |         return CGRect(origin: .zero, size: frame.size)
 79 |     }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:77:43: error: cannot find type 'CGRect' in scope
 75 |     /// - Parameter frame: New frame value.
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                           `- error: cannot find type 'CGRect' in scope
 78 |         return CGRect(origin: .zero, size: frame.size)
 79 |     }
/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/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/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/layoutGuide.cglayout.swift:229:40: error: cannot find type 'CGRect' in scope
227 |     }
228 |
229 |     open override func layout(in rect: CGRect) {
    |                                        `- error: cannot find type 'CGRect' in scope
230 |         itemLayout.layout(in: rect)
231 |     }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:31:39: error: cannot find 'CGRect' in scope
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
 30 |     public /// Internal space for layout subelements
 31 |     var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
    |                                       `- error: cannot find 'CGRect' in scope
 32 |
 33 |     /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:31:54: error: cannot find 'CGPoint' in scope
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
 30 |     public /// Internal space for layout subelements
 31 |     var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
    |                                                      `- error: cannot find 'CGPoint' in scope
 32 |
 33 |     /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/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/layoutGuide.cglayout.swift:54:23: error: cannot find 'CGRect' in scope
 52 |     public init(frame: CGRect = .zero) {
 53 |         self.frame = frame
 54 |         self.bounds = CGRect(origin: .zero, size: frame.size)
    |                       `- error: cannot find 'CGRect' in scope
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:54:39: error: cannot infer contextual base in reference to member 'zero'
 52 |     public init(frame: CGRect = .zero) {
 53 |         self.frame = frame
 54 |         self.bounds = CGRect(origin: .zero, size: frame.size)
    |                                       `- error: cannot infer contextual base in reference to member 'zero'
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:78:16: error: cannot find 'CGRect' in scope
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
 78 |         return CGRect(origin: .zero, size: frame.size)
    |                `- error: cannot find 'CGRect' in scope
 79 |     }
 80 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:78:32: error: cannot infer contextual base in reference to member 'zero'
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
 78 |         return CGRect(origin: .zero, size: frame.size)
    |                                `- error: cannot infer contextual base in reference to member 'zero'
 79 |     }
 80 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:82:20: error: argument passed to call that takes no arguments
 80 |
 81 |     internal func layout() {
 82 |         layout(in: layoutBounds)
    |                    `- error: argument passed to call that takes no arguments
 83 |     }
 84 |
/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:139:32: error: cannot find type 'CGRect' in scope
137 |     ///
138 |     /// - Parameter sourceRect: Source space
139 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
140 |         guard let item = item else { return debugWarning(LayoutBlock.message(forSkipped: self)) }
141 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:230:31: error: argument passed to call that takes no arguments
228 |
229 |     open override func layout(in rect: CGRect) {
230 |         itemLayout.layout(in: rect)
    |                               `- error: argument passed to call that takes no arguments
231 |     }
232 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:235:24: error: argument passed to call that takes no arguments
233 |     override func layout() {
234 |         if isElementLoaded, ownerElement != nil {
235 |             layout(in: layoutBounds)
    |                        `- error: argument passed to call that takes no arguments
236 |         }
237 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:33:42: error: cannot find type 'CGRect' in scope
31 |     }
32 |
33 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                          `- error: cannot find type 'CGRect' in scope
34 |         constraints.forEach { $0.formConstrain(sourceRect: &sourceRect, by: rect) }
35 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:33:59: error: cannot find type 'CGRect' in scope
31 |     }
32 |
33 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                                           `- error: cannot find type 'CGRect' in scope
34 |         constraints.forEach { $0.formConstrain(sourceRect: &sourceRect, by: rect) }
35 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:41:16: error: cannot find type 'CGRect' in scope
39 | internal struct LayoutSnapshot: LayoutSnapshotProtocol {
40 |     let childSnapshots: [LayoutSnapshotProtocol]
41 |     let frame: CGRect
   |                `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
 20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
 21 |     /// Frame of layout block represented as snapshot
 22 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 23 |     /// Snapshots of child layout blocks
 24 |     var childSnapshots: [LayoutSnapshotProtocol] { get }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:46:42: error: cannot find type 'CGRect' in scope
44 | internal struct _SizeThatFitsConstraint: RectBasedConstraint {
45 |     weak var item: AdaptiveLayoutElement!
46 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                          `- error: cannot find type 'CGRect' in scope
47 |         sourceRect.size = item.sizeThatFits(rect.size)
48 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:46:59: error: cannot find type 'CGRect' in scope
44 | internal struct _SizeThatFitsConstraint: RectBasedConstraint {
45 |     weak var item: AdaptiveLayoutElement!
46 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                                           `- error: cannot find type 'CGRect' in scope
47 |         sourceRect.size = item.sizeThatFits(rect.size)
48 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:52:42: error: cannot find type 'CGRect' in scope
50 | internal struct _MainThreadSizeThatFitsConstraint: RectBasedConstraint {
51 |     weak var item: AdaptiveLayoutElement!
52 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                          `- error: cannot find type 'CGRect' in scope
53 |         sourceRect.size = syncGuard(mainThread: item.sizeThatFits(rect.size))
54 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:52:59: error: cannot find type 'CGRect' in scope
50 | internal struct _MainThreadSizeThatFitsConstraint: RectBasedConstraint {
51 |     weak var item: AdaptiveLayoutElement!
52 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                                           `- error: cannot find type 'CGRect' in scope
53 |         sourceRect.size = syncGuard(mainThread: item.sizeThatFits(rect.size))
54 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:58:23: error: cannot find type 'CGRect' in scope
56 |
57 | internal struct _MainThreadItemInLayoutTime<Item: LayoutElement>: ElementInLayoutTime {
58 |     var layoutBounds: CGRect { return syncGuard(mainThread: { item.layoutBounds }) }
   |                       `- error: cannot find type 'CGRect' in scope
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:59:28: error: cannot find type 'CGRect' in scope
57 | internal struct _MainThreadItemInLayoutTime<Item: LayoutElement>: ElementInLayoutTime {
58 |     var layoutBounds: CGRect { return syncGuard(mainThread: { item.layoutBounds }) }
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
   |                            `- error: cannot find type 'CGRect' in scope
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
61 |     var frame: CGRect {
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:61:16: error: cannot find type 'CGRect' in scope
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
61 |     var frame: CGRect {
   |                `- error: cannot find type 'CGRect' in scope
62 |         set {
63 |             let item = self.item
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:68:17: error: cannot find type 'CGRect' in scope
66 |         get { return syncGuard { item.frame } }
67 |     }
68 |     var bounds: CGRect {
   |                 `- error: cannot find type 'CGRect' in scope
69 |         set {
70 |             let item = self.item
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:58:39: error: no 'syncGuard' candidates produce the expected contextual result type '_'
56 |
57 | internal struct _MainThreadItemInLayoutTime<Item: LayoutElement>: ElementInLayoutTime {
58 |     var layoutBounds: CGRect { return syncGuard(mainThread: { item.layoutBounds }) }
   |                                       `- error: no 'syncGuard' candidates produce the expected contextual result type '_'
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:62:6: note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
 60 |
 61 | @discardableResult
 62 | func syncGuard<T>(mainThread action: () -> T) -> T {
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      `- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
 63 |     return _syncGuard(action)
 64 | }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:59:44: error: no 'syncGuard' candidates produce the expected contextual result type '_'
57 | internal struct _MainThreadItemInLayoutTime<Item: LayoutElement>: ElementInLayoutTime {
58 |     var layoutBounds: CGRect { return syncGuard(mainThread: { item.layoutBounds }) }
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
   |                                            `- error: no 'syncGuard' candidates produce the expected contextual result type '_'
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
61 |     var frame: CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:62:6: note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
 60 |
 61 | @discardableResult
 62 | func syncGuard<T>(mainThread action: () -> T) -> T {
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      `- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
 63 |     return _syncGuard(action)
 64 | }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:66:22: error: no 'syncGuard' candidates produce the expected contextual result type '_'
64 |             syncGuard { item.frame = newValue }()
65 |         }
66 |         get { return syncGuard { item.frame } }
   |                      `- error: no 'syncGuard' candidates produce the expected contextual result type '_'
67 |     }
68 |     var bounds: CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:62:6: note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
 60 |
 61 | @discardableResult
 62 | func syncGuard<T>(mainThread action: () -> T) -> T {
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      `- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
 63 |     return _syncGuard(action)
 64 | }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:73:22: error: no 'syncGuard' candidates produce the expected contextual result type '_'
71 |             syncGuard { item.bounds = newValue }()
72 |         }
73 |         get { return syncGuard { item.bounds } }
   |                      `- error: no 'syncGuard' candidates produce the expected contextual result type '_'
74 |     }
75 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:62:6: note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
 60 |
 61 | @discardableResult
 62 | func syncGuard<T>(mainThread action: () -> T) -> T {
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      `- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
 63 |     return _syncGuard(action)
 64 | }
[20/20] Compiling CGLayout private.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:27:28: error: cannot find type 'CGRect' in scope
 25 | open class LayoutGuide<Super: LayoutElement>: LayoutElement, ElementInLayoutTime {
 26 |     public /// Internal layout space of super element
 27 |     var superLayoutBounds: CGRect { return superElement!.layoutBounds }
    |                            `- error: cannot find type 'CGRect' in scope
 28 |     public /// Entity that represents element in layout time
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:31:23: error: cannot find type 'CGRect' in scope
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
 30 |     public /// Internal space for layout subelements
 31 |     var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
    |                       `- error: cannot find type 'CGRect' in scope
 32 |
 33 |     /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/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/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: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/layoutGuide.cglayout.swift:77:54: error: cannot find type 'CGRect' in scope
 75 |     /// - Parameter frame: New frame value.
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                                      `- error: cannot find type 'CGRect' in scope
 78 |         return CGRect(origin: .zero, size: frame.size)
 79 |     }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:77:43: error: cannot find type 'CGRect' in scope
 75 |     /// - Parameter frame: New frame value.
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
    |                                           `- error: cannot find type 'CGRect' in scope
 78 |         return CGRect(origin: .zero, size: frame.size)
 79 |     }
/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/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/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/layoutGuide.cglayout.swift:229:40: error: cannot find type 'CGRect' in scope
227 |     }
228 |
229 |     open override func layout(in rect: CGRect) {
    |                                        `- error: cannot find type 'CGRect' in scope
230 |         itemLayout.layout(in: rect)
231 |     }
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:31:39: error: cannot find 'CGRect' in scope
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
 30 |     public /// Internal space for layout subelements
 31 |     var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
    |                                       `- error: cannot find 'CGRect' in scope
 32 |
 33 |     /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:31:54: error: cannot find 'CGPoint' in scope
 29 |     var inLayoutTime: ElementInLayoutTime { return self }
 30 |     public /// Internal space for layout subelements
 31 |     var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
    |                                                      `- error: cannot find 'CGPoint' in scope
 32 |
 33 |     /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/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/layoutGuide.cglayout.swift:54:23: error: cannot find 'CGRect' in scope
 52 |     public init(frame: CGRect = .zero) {
 53 |         self.frame = frame
 54 |         self.bounds = CGRect(origin: .zero, size: frame.size)
    |                       `- error: cannot find 'CGRect' in scope
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:54:39: error: cannot infer contextual base in reference to member 'zero'
 52 |     public init(frame: CGRect = .zero) {
 53 |         self.frame = frame
 54 |         self.bounds = CGRect(origin: .zero, size: frame.size)
    |                                       `- error: cannot infer contextual base in reference to member 'zero'
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:78:16: error: cannot find 'CGRect' in scope
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
 78 |         return CGRect(origin: .zero, size: frame.size)
    |                `- error: cannot find 'CGRect' in scope
 79 |     }
 80 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:78:32: error: cannot infer contextual base in reference to member 'zero'
 76 |     /// - Returns: Content rect
 77 |     open func contentRect(forFrame frame: CGRect) -> CGRect {
 78 |         return CGRect(origin: .zero, size: frame.size)
    |                                `- error: cannot infer contextual base in reference to member 'zero'
 79 |     }
 80 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:82:20: error: argument passed to call that takes no arguments
 80 |
 81 |     internal func layout() {
 82 |         layout(in: layoutBounds)
    |                    `- error: argument passed to call that takes no arguments
 83 |     }
 84 |
/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:139:32: error: cannot find type 'CGRect' in scope
137 |     ///
138 |     /// - Parameter sourceRect: Source space
139 |     func layout(in sourceRect: CGRect) {
    |                                `- error: cannot find type 'CGRect' in scope
140 |         guard let item = item else { return debugWarning(LayoutBlock.message(forSkipped: self)) }
141 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:230:31: error: argument passed to call that takes no arguments
228 |
229 |     open override func layout(in rect: CGRect) {
230 |         itemLayout.layout(in: rect)
    |                               `- error: argument passed to call that takes no arguments
231 |     }
232 |
/host/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:235:24: error: argument passed to call that takes no arguments
233 |     override func layout() {
234 |         if isElementLoaded, ownerElement != nil {
235 |             layout(in: layoutBounds)
    |                        `- error: argument passed to call that takes no arguments
236 |         }
237 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:33:42: error: cannot find type 'CGRect' in scope
31 |     }
32 |
33 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                          `- error: cannot find type 'CGRect' in scope
34 |         constraints.forEach { $0.formConstrain(sourceRect: &sourceRect, by: rect) }
35 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:33:59: error: cannot find type 'CGRect' in scope
31 |     }
32 |
33 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                                           `- error: cannot find type 'CGRect' in scope
34 |         constraints.forEach { $0.formConstrain(sourceRect: &sourceRect, by: rect) }
35 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:41:16: error: cannot find type 'CGRect' in scope
39 | internal struct LayoutSnapshot: LayoutSnapshotProtocol {
40 |     let childSnapshots: [LayoutSnapshotProtocol]
41 |     let frame: CGRect
   |                `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
 20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
 21 |     /// Frame of layout block represented as snapshot
 22 |     var frame: CGRect { get }
    |                `- error: cannot find type 'CGRect' in scope
 23 |     /// Snapshots of child layout blocks
 24 |     var childSnapshots: [LayoutSnapshotProtocol] { get }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:46:42: error: cannot find type 'CGRect' in scope
44 | internal struct _SizeThatFitsConstraint: RectBasedConstraint {
45 |     weak var item: AdaptiveLayoutElement!
46 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                          `- error: cannot find type 'CGRect' in scope
47 |         sourceRect.size = item.sizeThatFits(rect.size)
48 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:46:59: error: cannot find type 'CGRect' in scope
44 | internal struct _SizeThatFitsConstraint: RectBasedConstraint {
45 |     weak var item: AdaptiveLayoutElement!
46 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                                           `- error: cannot find type 'CGRect' in scope
47 |         sourceRect.size = item.sizeThatFits(rect.size)
48 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:52:42: error: cannot find type 'CGRect' in scope
50 | internal struct _MainThreadSizeThatFitsConstraint: RectBasedConstraint {
51 |     weak var item: AdaptiveLayoutElement!
52 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                          `- error: cannot find type 'CGRect' in scope
53 |         sourceRect.size = syncGuard(mainThread: item.sizeThatFits(rect.size))
54 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:52:59: error: cannot find type 'CGRect' in scope
50 | internal struct _MainThreadSizeThatFitsConstraint: RectBasedConstraint {
51 |     weak var item: AdaptiveLayoutElement!
52 |     func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
   |                                                           `- error: cannot find type 'CGRect' in scope
53 |         sourceRect.size = syncGuard(mainThread: item.sizeThatFits(rect.size))
54 |     }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:58:23: error: cannot find type 'CGRect' in scope
56 |
57 | internal struct _MainThreadItemInLayoutTime<Item: LayoutElement>: ElementInLayoutTime {
58 |     var layoutBounds: CGRect { return syncGuard(mainThread: { item.layoutBounds }) }
   |                       `- error: cannot find type 'CGRect' in scope
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:59:28: error: cannot find type 'CGRect' in scope
57 | internal struct _MainThreadItemInLayoutTime<Item: LayoutElement>: ElementInLayoutTime {
58 |     var layoutBounds: CGRect { return syncGuard(mainThread: { item.layoutBounds }) }
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
   |                            `- error: cannot find type 'CGRect' in scope
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
61 |     var frame: CGRect {
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:61:16: error: cannot find type 'CGRect' in scope
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
61 |     var frame: CGRect {
   |                `- error: cannot find type 'CGRect' in scope
62 |         set {
63 |             let item = self.item
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:68:17: error: cannot find type 'CGRect' in scope
66 |         get { return syncGuard { item.frame } }
67 |     }
68 |     var bounds: CGRect {
   |                 `- error: cannot find type 'CGRect' in scope
69 |         set {
70 |             let item = self.item
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:58:39: error: no 'syncGuard' candidates produce the expected contextual result type '_'
56 |
57 | internal struct _MainThreadItemInLayoutTime<Item: LayoutElement>: ElementInLayoutTime {
58 |     var layoutBounds: CGRect { return syncGuard(mainThread: { item.layoutBounds }) }
   |                                       `- error: no 'syncGuard' candidates produce the expected contextual result type '_'
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:62:6: note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
 60 |
 61 | @discardableResult
 62 | func syncGuard<T>(mainThread action: () -> T) -> T {
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      `- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
 63 |     return _syncGuard(action)
 64 | }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:59:44: error: no 'syncGuard' candidates produce the expected contextual result type '_'
57 | internal struct _MainThreadItemInLayoutTime<Item: LayoutElement>: ElementInLayoutTime {
58 |     var layoutBounds: CGRect { return syncGuard(mainThread: { item.layoutBounds }) }
59 |     var superLayoutBounds: CGRect { return syncGuard(mainThread: { item.superElement!.layoutBounds }) }
   |                                            `- error: no 'syncGuard' candidates produce the expected contextual result type '_'
60 |     weak var superElement: LayoutElement? { return syncGuard(mainThread: { item.superElement }) }
61 |     var frame: CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:62:6: note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
 60 |
 61 | @discardableResult
 62 | func syncGuard<T>(mainThread action: () -> T) -> T {
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      `- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
 63 |     return _syncGuard(action)
 64 | }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:66:22: error: no 'syncGuard' candidates produce the expected contextual result type '_'
64 |             syncGuard { item.frame = newValue }()
65 |         }
66 |         get { return syncGuard { item.frame } }
   |                      `- error: no 'syncGuard' candidates produce the expected contextual result type '_'
67 |     }
68 |     var bounds: CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:62:6: note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
 60 |
 61 | @discardableResult
 62 | func syncGuard<T>(mainThread action: () -> T) -> T {
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      `- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
 63 |     return _syncGuard(action)
 64 | }
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:73:22: error: no 'syncGuard' candidates produce the expected contextual result type '_'
71 |             syncGuard { item.bounds = newValue }()
72 |         }
73 |         get { return syncGuard { item.bounds } }
   |                      `- error: no 'syncGuard' candidates produce the expected contextual result type '_'
74 |     }
75 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:62:6: note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
 60 |
 61 | @discardableResult
 62 | func syncGuard<T>(mainThread action: () -> T) -> T {
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      |- note: 'syncGuard(mainThread:)' produces '_', not the expected contextual result type '_'
    |      `- note: 'syncGuard(mainThread:)' produces 'CGRect', not the expected contextual result type '_'
 63 |     return _syncGuard(action)
 64 | }
BUILD FAILURE 6.3 android