Build Information
Failed to build CGLayout, reference master (62d3ab), with Swift 6.3 for Wasm on 10 Apr 2026 18:25:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
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
[14/20] Compiling CGLayout core.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:61: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:25: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:63: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:25: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:59: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:24: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:61: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:24: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:17: error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
30 | }
31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:42: error: cannot find type 'CGRect' in scope
29 | /// - sourceRect: Source space
30 | /// - rect: Rect for constrain
31 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
| `- error: cannot find type 'CGRect' in scope
32 | }
33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:59: error: cannot find type 'CGRect' in scope
29 | /// - sourceRect: Source space
30 | /// - rect: Rect for constrain
31 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
| `- error: cannot find type 'CGRect' in scope
32 | }
33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:312:17: error: cannot find type 'EdgeInsets' in scope
310 | case bottom(Bottom)
311 | case size(Size)
312 | case insets(EdgeInsets)
| `- error: cannot find type 'EdgeInsets' in scope
313 | case equal(CGRect)
314 | case equally
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:395:17: error: cannot find type 'EdgeInsets' in scope
393 | /// - Returns: Inset constraint
394 | public struct Inset: RectBasedConstraint {
395 | let insets: EdgeInsets
| `- error: cannot find type 'EdgeInsets' in scope
396 | public init(_ insets: EdgeInsets) {
397 | self.insets = insets
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:396:27: error: cannot find type 'EdgeInsets' in scope
394 | public struct Inset: RectBasedConstraint {
395 | let insets: EdgeInsets
396 | public init(_ insets: EdgeInsets) {
| `- error: cannot find type 'EdgeInsets' in scope
397 | self.insets = insets
398 | }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:78:69: error: extra argument 'in' in call
76 | func layout(rect: CGRect, from coordinateSpace: LayoutElement, in sourceRect: CGRect, use constraints: [LayoutConstraintProtocol] = []) -> CGRect {
77 | return layout(rect: rect, in: constraints.reduce(into: sourceRect) { res, constraint in
78 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: extra argument 'in' in call
79 | })
80 | }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:78:60: error: 'nil' is not compatible with expected argument type 'CGRect'
76 | func layout(rect: CGRect, from coordinateSpace: LayoutElement, in sourceRect: CGRect, use constraints: [LayoutConstraintProtocol] = []) -> CGRect {
77 | return layout(rect: rect, in: constraints.reduce(into: sourceRect) { res, constraint in
78 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: 'nil' is not compatible with expected argument type 'CGRect'
79 | })
80 | }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:405:20: error: value of type 'CGRect' has no member 'apply'
403 | /// - rect: Rect for constrain
404 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
405 | sourceRect.apply(edgeInsets: insets)
| `- error: value of type 'CGRect' has no member 'apply'
406 | }
407 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:34: error: cannot find type 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:11: error: cannot find type 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:22: error: cannot find type 'CGFloat' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGFloat' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGFloat' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGFloat' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:81: error: cannot find type 'CGFloat' in scope
45 | }
46 |
47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
48 | let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
49 | return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:24: error: cannot find type 'CGRect' in scope
45 | }
46 |
47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
| `- error: cannot find type 'CGRect' in scope
48 | let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
49 | return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:48: error: cannot find type 'CGRect' in scope
45 | }
46 |
47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
| `- error: cannot find type 'CGRect' in scope
48 | let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
49 | return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
21 | /// Frame of layout block represented as snapshot
22 | var frame: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
23 | /// Snapshots of child layout blocks
24 | var childSnapshots: [LayoutSnapshotProtocol] { get }
[15/20] Compiling CGLayout deprecated.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:61: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:25: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:63: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:25: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:59: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:24: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:61: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:24: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:17: error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
30 | }
31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:42: error: cannot find type 'CGRect' in scope
29 | /// - sourceRect: Source space
30 | /// - rect: Rect for constrain
31 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
| `- error: cannot find type 'CGRect' in scope
32 | }
33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:59: error: cannot find type 'CGRect' in scope
29 | /// - sourceRect: Source space
30 | /// - rect: Rect for constrain
31 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
| `- error: cannot find type 'CGRect' in scope
32 | }
33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:312:17: error: cannot find type 'EdgeInsets' in scope
310 | case bottom(Bottom)
311 | case size(Size)
312 | case insets(EdgeInsets)
| `- error: cannot find type 'EdgeInsets' in scope
313 | case equal(CGRect)
314 | case equally
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:395:17: error: cannot find type 'EdgeInsets' in scope
393 | /// - Returns: Inset constraint
394 | public struct Inset: RectBasedConstraint {
395 | let insets: EdgeInsets
| `- error: cannot find type 'EdgeInsets' in scope
396 | public init(_ insets: EdgeInsets) {
397 | self.insets = insets
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:396:27: error: cannot find type 'EdgeInsets' in scope
394 | public struct Inset: RectBasedConstraint {
395 | let insets: EdgeInsets
396 | public init(_ insets: EdgeInsets) {
| `- error: cannot find type 'EdgeInsets' in scope
397 | self.insets = insets
398 | }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:78:69: error: extra argument 'in' in call
76 | func layout(rect: CGRect, from coordinateSpace: LayoutElement, in sourceRect: CGRect, use constraints: [LayoutConstraintProtocol] = []) -> CGRect {
77 | return layout(rect: rect, in: constraints.reduce(into: sourceRect) { res, constraint in
78 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: extra argument 'in' in call
79 | })
80 | }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:78:60: error: 'nil' is not compatible with expected argument type 'CGRect'
76 | func layout(rect: CGRect, from coordinateSpace: LayoutElement, in sourceRect: CGRect, use constraints: [LayoutConstraintProtocol] = []) -> CGRect {
77 | return layout(rect: rect, in: constraints.reduce(into: sourceRect) { res, constraint in
78 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: 'nil' is not compatible with expected argument type 'CGRect'
79 | })
80 | }
/host/spi-builder-workspace/Sources/Classes/core.cglayout.swift:405:20: error: value of type 'CGRect' has no member 'apply'
403 | /// - rect: Rect for constrain
404 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
405 | sourceRect.apply(edgeInsets: insets)
| `- error: value of type 'CGRect' has no member 'apply'
406 | }
407 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:34: error: cannot find type 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:11: error: cannot find type 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:22: error: cannot find type 'CGFloat' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGFloat' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGFloat' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGFloat' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:81: error: cannot find type 'CGFloat' in scope
45 | }
46 |
47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
48 | let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
49 | return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:24: error: cannot find type 'CGRect' in scope
45 | }
46 |
47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
| `- error: cannot find type 'CGRect' in scope
48 | let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
49 | return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/host/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:47:48: error: cannot find type 'CGRect' in scope
45 | }
46 |
47 | func space(for rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> CGFloat {
| `- error: cannot find type 'CGRect' in scope
48 | let fullLength = rects.reduce(0) { $0 + axis.get(sizeAt: $1) }
49 | return (axis.get(sizeAt: sourceRect) - fullLength) / CGFloat(rects.count - 1)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
21 | /// Frame of layout block represented as snapshot
22 | var frame: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
23 | /// Snapshots of child layout blocks
24 | var childSnapshots: [LayoutSnapshotProtocol] { get }
[16/20] Compiling CGLayout common.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGFloat' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGFloat' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:34: error: cannot find type 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:11: error: cannot find type 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:22: error: cannot find type 'CGFloat' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGFloat' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:90:11: error: cannot find type 'CGPoint' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
90 | extension CGPoint {
| `- error: cannot find type 'CGPoint' in scope
91 | func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
92 | func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:95:11: error: cannot find type 'CGRect' in scope
93 | }
94 |
95 | extension CGRect {
| `- error: cannot find type 'CGRect' in scope
96 | var left: CGFloat { return minX }
97 | var right: CGFloat { return maxX }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:104:11: error: cannot find type 'CGRect' in scope
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
104 | extension CGRect {
| `- error: cannot find type 'CGRect' in scope
105 | mutating func apply(edgeInsets: EdgeInsets) {
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:71: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
114 | #if os(iOS) || os(tvOS)
115 | return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:34: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
114 | #if os(iOS) || os(tvOS)
115 | return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:56: error: cannot find type 'EdgeInsets' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
| `- error: cannot find type 'EdgeInsets' in scope
114 | #if os(iOS) || os(tvOS)
115 | return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:131:11: error: cannot find type 'EdgeInsets' in scope
129 | #endif
130 |
131 | extension EdgeInsets {
| `- error: cannot find type 'EdgeInsets' in scope
132 | var horizontal: CGFloat { return left + right }
133 | var vertical: CGFloat { return top + bottom }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:38:16: error: cannot find 'ProcessInfo' in scope
36 | debugAction {
37 | if condition() {
38 | if ProcessInfo.processInfo.arguments.contains("CGL_LOG_WARNINGS") {
| `- error: cannot find 'ProcessInfo' in scope
39 | debugPrint("CGLayout WARNING: \(message())")
40 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:41:16: error: cannot find 'ProcessInfo' in scope
39 | debugPrint("CGLayout WARNING: \(message())")
40 | }
41 | if ProcessInfo.processInfo.arguments.contains("CGL_THROW_ON_WARNING") { fatalError() }
| `- error: cannot find 'ProcessInfo' in scope
42 | }
43 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:50: error: cannot find 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:50: error: cannot find 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:50: error: cannot find 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: cannot find 'CGRect' in scope
115 | return rect.inset(by: edgeInsets)
116 | #else
117 | return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
| `- error: cannot find 'CGRect' in scope
118 | width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 | #endif
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
115 | return rect.inset(by: edgeInsets)
116 | #else
117 | return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
118 | width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 | #endif
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:61: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:25: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:63: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:25: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:59: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:24: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:61: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:24: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:17: error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
30 | }
31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:96: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 | fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
220 | let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 | var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:44: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 | fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
220 | let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 | var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:68: error: cannot find type 'CGPoint' in scope
234 | return converted
235 | }
236 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | return Self.convert(point: point, from: self, to: item)
238 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:32: error: cannot find type 'CGPoint' in scope
234 | return converted
235 | }
236 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | return Self.convert(point: point, from: self, to: item)
238 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:70: error: cannot find type 'CGPoint' in scope
238 | }
239 |
240 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:32: error: cannot find type 'CGPoint' in scope
238 | }
239 |
240 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:66: error: cannot find type 'CGRect' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
243 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
244 | var rect = rect
245 | rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:31: error: cannot find type 'CGRect' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
243 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
244 | var rect = rect
245 | rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:68: error: cannot find type 'CGRect' in scope
246 | return rect
247 | }
248 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
249 | var rect = rect
250 | rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:31: error: cannot find type 'CGRect' in scope
246 | return rect
247 | }
248 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
249 | var rect = rect
250 | rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:91:24: error: cannot find type 'CGPoint' in scope
89 |
90 | extension CGPoint {
91 | func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
| `- error: cannot find type 'CGPoint' in scope
92 | func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
93 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:92:23: error: cannot find type 'CGPoint' in scope
90 | extension CGPoint {
91 | func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
92 | func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
| `- error: cannot find type 'CGPoint' in scope
93 | }
94 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:96:15: error: cannot find type 'CGFloat' in scope
94 |
95 | extension CGRect {
96 | var left: CGFloat { return minX }
| `- error: cannot find type 'CGFloat' in scope
97 | var right: CGFloat { return maxX }
98 | var top: CGFloat { return minY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:97:16: error: cannot find type 'CGFloat' in scope
95 | extension CGRect {
96 | var left: CGFloat { return minX }
97 | var right: CGFloat { return maxX }
| `- error: cannot find type 'CGFloat' in scope
98 | var top: CGFloat { return minY }
99 | var bottom: CGFloat { return maxY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:98:14: error: cannot find type 'CGFloat' in scope
96 | var left: CGFloat { return minX }
97 | var right: CGFloat { return maxX }
98 | var top: CGFloat { return minY }
| `- error: cannot find type 'CGFloat' in scope
99 | var bottom: CGFloat { return maxY }
100 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:99:17: error: cannot find type 'CGFloat' in scope
97 | var right: CGFloat { return maxX }
98 | var top: CGFloat { return minY }
99 | var bottom: CGFloat { return maxY }
| `- error: cannot find type 'CGFloat' in scope
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:101:29: error: cannot find type 'CGSize' in scope
99 | var bottom: CGFloat { return maxY }
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
| `- error: cannot find type 'CGSize' in scope
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:43: error: cannot find type 'CGSize' in scope
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
| `- error: cannot find type 'CGSize' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:31: error: cannot find type 'CGPoint' in scope
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
| `- error: cannot find type 'CGPoint' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:105:37: error: cannot find type 'EdgeInsets' in scope
103 | }
104 | extension CGRect {
105 | mutating func apply(edgeInsets: EdgeInsets) {
| `- error: cannot find type 'EdgeInsets' in scope
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
107 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:46: error: cannot find type 'CGRect' in scope
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
107 | }
108 | func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
| `- error: cannot find type 'CGRect' in scope
109 |
110 | public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:31: error: cannot find type 'EdgeInsets' in scope
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
107 | }
108 | func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
| `- error: cannot find type 'EdgeInsets' in scope
109 |
110 | public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:132:21: error: cannot find type 'CGFloat' in scope
130 |
131 | extension EdgeInsets {
132 | var horizontal: CGFloat { return left + right }
| `- error: cannot find type 'CGFloat' in scope
133 | var vertical: CGFloat { return top + bottom }
134 | #if os(macOS) || os(Linux)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:133:19: error: cannot find type 'CGFloat' in scope
131 | extension EdgeInsets {
132 | var horizontal: CGFloat { return left + right }
133 | var vertical: CGFloat { return top + bottom }
| `- error: cannot find type 'CGFloat' in scope
134 | #if os(macOS) || os(Linux)
135 | public static var zero: EdgeInsets { return EdgeInsets(top: 0, left: 0, bottom: 0, right: 0) }
[17/20] Compiling CGLayout container.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGFloat' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGFloat' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:34: error: cannot find type 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:11: error: cannot find type 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:22: error: cannot find type 'CGFloat' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGFloat' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:90:11: error: cannot find type 'CGPoint' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
90 | extension CGPoint {
| `- error: cannot find type 'CGPoint' in scope
91 | func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
92 | func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:95:11: error: cannot find type 'CGRect' in scope
93 | }
94 |
95 | extension CGRect {
| `- error: cannot find type 'CGRect' in scope
96 | var left: CGFloat { return minX }
97 | var right: CGFloat { return maxX }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:104:11: error: cannot find type 'CGRect' in scope
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
104 | extension CGRect {
| `- error: cannot find type 'CGRect' in scope
105 | mutating func apply(edgeInsets: EdgeInsets) {
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:71: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
114 | #if os(iOS) || os(tvOS)
115 | return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:34: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
114 | #if os(iOS) || os(tvOS)
115 | return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:56: error: cannot find type 'EdgeInsets' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
| `- error: cannot find type 'EdgeInsets' in scope
114 | #if os(iOS) || os(tvOS)
115 | return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:131:11: error: cannot find type 'EdgeInsets' in scope
129 | #endif
130 |
131 | extension EdgeInsets {
| `- error: cannot find type 'EdgeInsets' in scope
132 | var horizontal: CGFloat { return left + right }
133 | var vertical: CGFloat { return top + bottom }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:38:16: error: cannot find 'ProcessInfo' in scope
36 | debugAction {
37 | if condition() {
38 | if ProcessInfo.processInfo.arguments.contains("CGL_LOG_WARNINGS") {
| `- error: cannot find 'ProcessInfo' in scope
39 | debugPrint("CGLayout WARNING: \(message())")
40 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:41:16: error: cannot find 'ProcessInfo' in scope
39 | debugPrint("CGLayout WARNING: \(message())")
40 | }
41 | if ProcessInfo.processInfo.arguments.contains("CGL_THROW_ON_WARNING") { fatalError() }
| `- error: cannot find 'ProcessInfo' in scope
42 | }
43 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:50: error: cannot find 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:50: error: cannot find 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:50: error: cannot find 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: cannot find 'CGRect' in scope
115 | return rect.inset(by: edgeInsets)
116 | #else
117 | return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
| `- error: cannot find 'CGRect' in scope
118 | width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 | #endif
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
115 | return rect.inset(by: edgeInsets)
116 | #else
117 | return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
118 | width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 | #endif
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:61: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:25: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:63: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:25: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:59: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:24: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:61: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:24: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:17: error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
30 | }
31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:96: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 | fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
220 | let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 | var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:44: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 | fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
220 | let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 | var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:68: error: cannot find type 'CGPoint' in scope
234 | return converted
235 | }
236 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | return Self.convert(point: point, from: self, to: item)
238 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:32: error: cannot find type 'CGPoint' in scope
234 | return converted
235 | }
236 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | return Self.convert(point: point, from: self, to: item)
238 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:70: error: cannot find type 'CGPoint' in scope
238 | }
239 |
240 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:32: error: cannot find type 'CGPoint' in scope
238 | }
239 |
240 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:66: error: cannot find type 'CGRect' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
243 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
244 | var rect = rect
245 | rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:31: error: cannot find type 'CGRect' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
243 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
244 | var rect = rect
245 | rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:68: error: cannot find type 'CGRect' in scope
246 | return rect
247 | }
248 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
249 | var rect = rect
250 | rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:31: error: cannot find type 'CGRect' in scope
246 | return rect
247 | }
248 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
249 | var rect = rect
250 | rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:91:24: error: cannot find type 'CGPoint' in scope
89 |
90 | extension CGPoint {
91 | func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
| `- error: cannot find type 'CGPoint' in scope
92 | func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
93 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:92:23: error: cannot find type 'CGPoint' in scope
90 | extension CGPoint {
91 | func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
92 | func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
| `- error: cannot find type 'CGPoint' in scope
93 | }
94 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:96:15: error: cannot find type 'CGFloat' in scope
94 |
95 | extension CGRect {
96 | var left: CGFloat { return minX }
| `- error: cannot find type 'CGFloat' in scope
97 | var right: CGFloat { return maxX }
98 | var top: CGFloat { return minY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:97:16: error: cannot find type 'CGFloat' in scope
95 | extension CGRect {
96 | var left: CGFloat { return minX }
97 | var right: CGFloat { return maxX }
| `- error: cannot find type 'CGFloat' in scope
98 | var top: CGFloat { return minY }
99 | var bottom: CGFloat { return maxY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:98:14: error: cannot find type 'CGFloat' in scope
96 | var left: CGFloat { return minX }
97 | var right: CGFloat { return maxX }
98 | var top: CGFloat { return minY }
| `- error: cannot find type 'CGFloat' in scope
99 | var bottom: CGFloat { return maxY }
100 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:99:17: error: cannot find type 'CGFloat' in scope
97 | var right: CGFloat { return maxX }
98 | var top: CGFloat { return minY }
99 | var bottom: CGFloat { return maxY }
| `- error: cannot find type 'CGFloat' in scope
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:101:29: error: cannot find type 'CGSize' in scope
99 | var bottom: CGFloat { return maxY }
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
| `- error: cannot find type 'CGSize' in scope
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:43: error: cannot find type 'CGSize' in scope
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
| `- error: cannot find type 'CGSize' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:31: error: cannot find type 'CGPoint' in scope
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
| `- error: cannot find type 'CGPoint' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:105:37: error: cannot find type 'EdgeInsets' in scope
103 | }
104 | extension CGRect {
105 | mutating func apply(edgeInsets: EdgeInsets) {
| `- error: cannot find type 'EdgeInsets' in scope
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
107 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:46: error: cannot find type 'CGRect' in scope
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
107 | }
108 | func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
| `- error: cannot find type 'CGRect' in scope
109 |
110 | public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:31: error: cannot find type 'EdgeInsets' in scope
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
107 | }
108 | func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
| `- error: cannot find type 'EdgeInsets' in scope
109 |
110 | public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:132:21: error: cannot find type 'CGFloat' in scope
130 |
131 | extension EdgeInsets {
132 | var horizontal: CGFloat { return left + right }
| `- error: cannot find type 'CGFloat' in scope
133 | var vertical: CGFloat { return top + bottom }
134 | #if os(macOS) || os(Linux)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:133:19: error: cannot find type 'CGFloat' in scope
131 | extension EdgeInsets {
132 | var horizontal: CGFloat { return left + right }
133 | var vertical: CGFloat { return top + bottom }
| `- error: cannot find type 'CGFloat' in scope
134 | #if os(macOS) || os(Linux)
135 | public static var zero: EdgeInsets { return EdgeInsets(top: 0, left: 0, bottom: 0, right: 0) }
[18/20] Compiling CGLayout coordinate.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:34: error: cannot find type 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:11: error: cannot find type 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:22: error: cannot find type 'CGFloat' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find type 'CGFloat' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:34: error: cannot find type 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:11: error: cannot find type 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:22: error: cannot find type 'CGFloat' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find type 'CGFloat' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:34: error: cannot find type 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:11: error: cannot find type 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:22: error: cannot find type 'CGFloat' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find type 'CGFloat' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:90:11: error: cannot find type 'CGPoint' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
90 | extension CGPoint {
| `- error: cannot find type 'CGPoint' in scope
91 | func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
92 | func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:95:11: error: cannot find type 'CGRect' in scope
93 | }
94 |
95 | extension CGRect {
| `- error: cannot find type 'CGRect' in scope
96 | var left: CGFloat { return minX }
97 | var right: CGFloat { return maxX }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:104:11: error: cannot find type 'CGRect' in scope
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
104 | extension CGRect {
| `- error: cannot find type 'CGRect' in scope
105 | mutating func apply(edgeInsets: EdgeInsets) {
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:71: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
114 | #if os(iOS) || os(tvOS)
115 | return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:34: error: cannot find type 'CGRect' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
114 | #if os(iOS) || os(tvOS)
115 | return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:113:56: error: cannot find type 'EdgeInsets' in scope
111 | }
112 |
113 | func EdgeInsetsInsetRect(_ rect: CGRect, _ edgeInsets: EdgeInsets) -> CGRect {
| `- error: cannot find type 'EdgeInsets' in scope
114 | #if os(iOS) || os(tvOS)
115 | return rect.inset(by: edgeInsets)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:131:11: error: cannot find type 'EdgeInsets' in scope
129 | #endif
130 |
131 | extension EdgeInsets {
| `- error: cannot find type 'EdgeInsets' in scope
132 | var horizontal: CGFloat { return left + right }
133 | var vertical: CGFloat { return top + bottom }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:38:16: error: cannot find 'ProcessInfo' in scope
36 | debugAction {
37 | if condition() {
38 | if ProcessInfo.processInfo.arguments.contains("CGL_LOG_WARNINGS") {
| `- error: cannot find 'ProcessInfo' in scope
39 | debugPrint("CGLayout WARNING: \(message())")
40 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:41:16: error: cannot find 'ProcessInfo' in scope
39 | debugPrint("CGLayout WARNING: \(message())")
40 | }
41 | if ProcessInfo.processInfo.arguments.contains("CGL_THROW_ON_WARNING") { fatalError() }
| `- error: cannot find 'ProcessInfo' in scope
42 | }
43 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:86:50: error: cannot find 'CGSize' in scope
84 | #endif
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
| `- error: cannot find 'CGSize' in scope
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:87:50: error: cannot find 'CGSize' in scope
85 |
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
| `- error: cannot find 'CGSize' in scope
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
89 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:88:50: error: cannot find 'CGSize' in scope
86 | func -(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width - r, height: l.height - r) }
87 | func +(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width + r, height: l.height + r) }
88 | func *(l: CGSize, r: CGFloat) -> CGSize { return CGSize(width: l.width * r, height: l.height * r) }
| `- error: cannot find 'CGSize' in scope
89 |
90 | extension CGPoint {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: cannot find 'CGRect' in scope
115 | return rect.inset(by: edgeInsets)
116 | #else
117 | return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
| `- error: cannot find 'CGRect' in scope
118 | width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 | #endif
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:117:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
115 | return rect.inset(by: edgeInsets)
116 | #else
117 | return CGRect(x: rect.origin.x + edgeInsets.left, y: rect.origin.y + edgeInsets.top,
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
118 | width: rect.size.width - edgeInsets.horizontal, height: rect.size.height - edgeInsets.vertical)
119 | #endif
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:61: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:25: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:63: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:25: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:59: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:24: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:61: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:24: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:17: error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
30 | }
31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:96: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 | fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
220 | let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 | var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:219:44: error: cannot find type 'CGPoint' in scope
217 |
218 | extension LayoutCoordinateSpace where Self: LayoutElement {
219 | fileprivate static func convert(point: CGPoint, from: LayoutElement, to: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
220 | let list1Iterator = LinkedList(start: from) { $0.inLayoutTime.superElement }.makeIterator()
221 | var list2Iterator = LinkedList(start: to) { $0.inLayoutTime.superElement }.reversed().makeIterator()
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:68: error: cannot find type 'CGPoint' in scope
234 | return converted
235 | }
236 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | return Self.convert(point: point, from: self, to: item)
238 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:32: error: cannot find type 'CGPoint' in scope
234 | return converted
235 | }
236 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | return Self.convert(point: point, from: self, to: item)
238 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:70: error: cannot find type 'CGPoint' in scope
238 | }
239 |
240 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:32: error: cannot find type 'CGPoint' in scope
238 | }
239 |
240 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:66: error: cannot find type 'CGRect' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
243 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
244 | var rect = rect
245 | rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:31: error: cannot find type 'CGRect' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
243 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
244 | var rect = rect
245 | rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:68: error: cannot find type 'CGRect' in scope
246 | return rect
247 | }
248 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
249 | var rect = rect
250 | rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:31: error: cannot find type 'CGRect' in scope
246 | return rect
247 | }
248 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
249 | var rect = rect
250 | rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:91:24: error: cannot find type 'CGPoint' in scope
89 |
90 | extension CGPoint {
91 | func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
| `- error: cannot find type 'CGPoint' in scope
92 | func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
93 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:92:23: error: cannot find type 'CGPoint' in scope
90 | extension CGPoint {
91 | func positive() -> CGPoint { return CGPoint(x: abs(x), y: abs(y)) }
92 | func negated() -> CGPoint { return CGPoint(x: -x, y: -y) }
| `- error: cannot find type 'CGPoint' in scope
93 | }
94 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:96:15: error: cannot find type 'CGFloat' in scope
94 |
95 | extension CGRect {
96 | var left: CGFloat { return minX }
| `- error: cannot find type 'CGFloat' in scope
97 | var right: CGFloat { return maxX }
98 | var top: CGFloat { return minY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:97:16: error: cannot find type 'CGFloat' in scope
95 | extension CGRect {
96 | var left: CGFloat { return minX }
97 | var right: CGFloat { return maxX }
| `- error: cannot find type 'CGFloat' in scope
98 | var top: CGFloat { return minY }
99 | var bottom: CGFloat { return maxY }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:98:14: error: cannot find type 'CGFloat' in scope
96 | var left: CGFloat { return minX }
97 | var right: CGFloat { return maxX }
98 | var top: CGFloat { return minY }
| `- error: cannot find type 'CGFloat' in scope
99 | var bottom: CGFloat { return maxY }
100 |
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:99:17: error: cannot find type 'CGFloat' in scope
97 | var right: CGFloat { return maxX }
98 | var top: CGFloat { return minY }
99 | var bottom: CGFloat { return maxY }
| `- error: cannot find type 'CGFloat' in scope
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:101:29: error: cannot find type 'CGSize' in scope
99 | var bottom: CGFloat { return maxY }
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
| `- error: cannot find type 'CGSize' in scope
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
103 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:43: error: cannot find type 'CGSize' in scope
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
| `- error: cannot find type 'CGSize' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:102:31: error: cannot find type 'CGPoint' in scope
100 |
101 | var distanceFromOrigin: CGSize { return CGSize(width: maxX, height: maxY) }
102 | func distance(from point: CGPoint) -> CGSize { return CGSize(width: maxX - point.x, height: maxY - point.y) }
| `- error: cannot find type 'CGPoint' in scope
103 | }
104 | extension CGRect {
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:105:37: error: cannot find type 'EdgeInsets' in scope
103 | }
104 | extension CGRect {
105 | mutating func apply(edgeInsets: EdgeInsets) {
| `- error: cannot find type 'EdgeInsets' in scope
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
107 | }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:46: error: cannot find type 'CGRect' in scope
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
107 | }
108 | func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
| `- error: cannot find type 'CGRect' in scope
109 |
110 | public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:108:31: error: cannot find type 'EdgeInsets' in scope
106 | self = EdgeInsetsInsetRect(self, edgeInsets)
107 | }
108 | func applying(edgeInsets: EdgeInsets) -> CGRect { var this = self; this.apply(edgeInsets: edgeInsets); return this }
| `- error: cannot find type 'EdgeInsets' in scope
109 |
110 | public func asLayout() -> Layout { return Layout(x: .left(origin.x), y: .top(origin.y), width: .fixed(width), height: .fixed(height)) }
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:132:21: error: cannot find type 'CGFloat' in scope
130 |
131 | extension EdgeInsets {
132 | var horizontal: CGFloat { return left + right }
| `- error: cannot find type 'CGFloat' in scope
133 | var vertical: CGFloat { return top + bottom }
134 | #if os(macOS) || os(Linux)
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:133:19: error: cannot find type 'CGFloat' in scope
131 | extension EdgeInsets {
132 | var horizontal: CGFloat { return left + right }
133 | var vertical: CGFloat { return top + bottom }
| `- error: cannot find type 'CGFloat' in scope
134 | #if os(macOS) || os(Linux)
135 | public static var zero: EdgeInsets { return EdgeInsets(top: 0, left: 0, bottom: 0, right: 0) }
[19/20] Compiling CGLayout layoutBlock.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
21 | /// Frame of layout block represented as snapshot
22 | var frame: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
23 | /// Snapshots of child layout blocks
24 | var childSnapshots: [LayoutSnapshotProtocol] { get }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:26:11: error: cannot find type 'CGRect' in scope
24 | var childSnapshots: [LayoutSnapshotProtocol] { get }
25 | }
26 | extension CGRect: LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
27 | /// Returns self value
28 | public var frame: CGRect { return self }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:39:22: error: cannot find type 'CGRect' in scope
37 | /// Snapshot for current state without recalculating
38 | var currentSnapshot: LayoutSnapshotProtocol { get }
39 | var currentRect: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
40 |
41 | /// Calculate and apply frames layout items in custom space.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:44:32: error: cannot find type 'CGRect' in scope
42 | ///
43 | /// - Parameter sourceRect: Source space
44 | func layout(in sourceRect: CGRect)
| `- error: cannot find type 'CGRect' in scope
45 |
46 | /// Returns snapshot for all `LayoutElement` items in block. Attention: in during calculating snapshot frames of layout items must not changed.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:50:35: error: cannot find type 'CGRect' in scope
48 | /// - Parameter sourceRect: Source space for layout
49 | /// - Returns: Snapshot that contains frames layout items
50 | func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol
| `- error: cannot find type 'CGRect' in scope
51 |
52 | /// Returns snapshot for all `LayoutElement` items in block. Does not call this method directly outside `LayoutBlockProtocol` object.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:59:35: error: cannot find type 'CGRect' in scope
57 | /// - completedRects: `LayoutElement` items with corrected frame
58 | /// - Returns: Snapshot that contains frames layout items
59 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol
| `- error: cannot find type 'CGRect' in scope
60 |
61 | /// Applying frames from snapshot to `LayoutElement` items in this block.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:59:84: error: cannot find type 'CGRect' in scope
57 | /// - completedRects: `LayoutElement` items with corrected frame
58 | /// - Returns: Snapshot that contains frames layout items
59 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol
| `- error: cannot find type 'CGRect' in scope
60 |
61 | /// Applying frames from snapshot to `LayoutElement` items in this block.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:76:35: error: cannot find type 'CGRect' in scope
74 | /// - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
75 | /// - Returns: Snapshot that contains frames layout items
76 | func snapshot(for sourceRect: CGRect, constrainRects: [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
77 | var completedRects = constrainRects
78 | return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:76:78: error: cannot find type 'CGRect' in scope
74 | /// - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
75 | /// - Returns: Snapshot that contains frames layout items
76 | func snapshot(for sourceRect: CGRect, constrainRects: [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
77 | var completedRects = constrainRects
78 | return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:42: error: cannot find type 'CGRect' in scope
29 | /// - sourceRect: Source space
30 | /// - rect: Rect for constrain
31 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
| `- error: cannot find type 'CGRect' in scope
32 | }
33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:59: error: cannot find type 'CGRect' in scope
29 | /// - sourceRect: Source space
30 | /// - rect: Rect for constrain
31 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
| `- error: cannot find type 'CGRect' in scope
32 | }
33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:113:29: error: cannot find type 'CGRect' in scope
111 | return item.inLayoutTime.frame
112 | }
113 | public var currentRect: CGRect {
| `- error: cannot find type 'CGRect' in scope
114 | guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
115 | return item.inLayoutTime.frame
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:127:32: error: cannot find type 'CGRect' in scope
125 | ///
126 | /// - Parameter sourceRect: Source space
127 | func layout(in sourceRect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
128 | guard var inLayoutTime = item?.inLayoutTime, let coordinateSpace = inLayoutTime.superElement else { return debugWarning(LayoutBlock.message(forSkipped: self)) }
129 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:139:35: error: cannot find type 'CGRect' in scope
137 | /// - Parameter sourceRect: Source space for layout
138 | /// - Returns: Snapshot contained frames layout elements
139 | func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
140 | guard let inLayout = item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
141 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:154:35: error: cannot find type 'CGRect' in scope
152 | /// - completedRects: `LayoutElement` elements with corrected frame
153 | /// - Returns: Frame of this block
154 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
155 | guard let item = self.item, let inLayout = self.item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:154:85: error: cannot find type 'CGRect' in scope
152 | /// - completedRects: `LayoutElement` elements with corrected frame
153 | /// - Returns: Frame of this block
154 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
155 | guard let item = self.item, let inLayout = self.item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:206:29: error: cannot find type 'CGRect' in scope
204 | }
205 |
206 | public var currentRect: CGRect {
| `- error: cannot find type 'CGRect' in scope
207 | guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
208 | return blocks[1...].reduce(into: blocks[0].currentRect) { res, next in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:216:32: error: cannot find type 'CGRect' in scope
214 | ///
215 | /// - Parameter sourceRect: Source space
216 | func layout(in sourceRect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
217 | blocks.forEach { $0.layout(in: sourceRect) }
218 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:235:35: error: cannot find type 'CGRect' in scope
233 | /// - Parameter sourceRect: Source space for layout
234 | /// - Returns: Snapshot contained frames layout elements
235 | func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
236 | var completedFrames: [ObjectIdentifier: CGRect] = [:]
237 | return snapshot(for: sourceRect, completedRects: &completedFrames)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:247:35: error: cannot find type 'CGRect' in scope
245 | /// - completedRects: `LayoutElement` elements with corrected frame
246 | /// - Returns: Frame of this block
247 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
248 | var snapshotFrame: CGRect?
249 | return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:247:85: error: cannot find type 'CGRect' in scope
245 | /// - completedRects: `LayoutElement` elements with corrected frame
246 | /// - Returns: Frame of this block
247 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
248 | var snapshotFrame: CGRect?
249 | return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:91:15: error: cannot find 'Thread' in scope
89 |
90 | public func setItem(_ item: Item?) {
91 | guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
| `- error: cannot find 'Thread' in scope
92 |
93 | self.item = item
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:97:15: error: cannot find 'Thread' in scope
95 |
96 | public func setLayout(_ layout: RectBasedLayout) {
97 | guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
| `- error: cannot find 'Thread' in scope
98 |
99 | self.itemLayout = layout
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:103:15: error: cannot find 'Thread' in scope
101 |
102 | public func setConstraints(_ constraints: [LayoutConstraintProtocol]) {
103 | guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
| `- error: cannot find 'Thread' in scope
104 |
105 | self.constraints = constraints
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:111:34: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
109 | var currentSnapshot: LayoutSnapshotProtocol {
110 | guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
111 | return item.inLayoutTime.frame
| `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
112 | }
113 | public var currentRect: CGRect {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:131:69: error: extra argument 'in' in call
129 |
130 | itemLayout.formLayout(rect: &inLayoutTime.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
131 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: extra argument 'in' in call
132 | }))
133 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:131:60: error: 'nil' is not compatible with expected argument type 'CGRect'
129 |
130 | itemLayout.formLayout(rect: &inLayoutTime.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
131 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: 'nil' is not compatible with expected argument type 'CGRect'
132 | }))
133 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:142:27: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
140 | guard let inLayout = item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
141 |
142 | return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
| `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
143 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
144 | }))
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:143:69: error: extra argument 'in' in call
141 |
142 | return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
143 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: extra argument 'in' in call
144 | }))
145 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:143:60: error: 'nil' is not compatible with expected argument type 'CGRect'
141 |
142 | return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
143 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: 'nil' is not compatible with expected argument type 'CGRect'
144 | }))
145 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:194:28: error: cannot find type 'CGRect' in scope
192 | var currentSnapshot: LayoutSnapshotProtocol {
193 | guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
194 | var snapshotFrame: CGRect!
| `- error: cannot find type 'CGRect' in scope
195 | return LayoutSnapshot(childSnapshots: blocks.map { block in
196 | let blockFrame = block.currentSnapshot.frame
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:41:16: error: cannot find type 'CGRect' in scope
39 | internal struct LayoutSnapshot: LayoutSnapshotProtocol {
40 | let childSnapshots: [LayoutSnapshotProtocol]
41 | let frame: CGRect
| `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:208:24: error: cannot convert value of type 'PartialRangeFrom<Int>' to expected argument type 'Int'
206 | public var currentRect: CGRect {
207 | guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
208 | return blocks[1...].reduce(into: blocks[0].currentRect) { res, next in
| `- error: cannot convert value of type 'PartialRangeFrom<Int>' to expected argument type 'Int'
209 | res = res.union(next.currentRect)
210 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:208:29: error: value of type 'any LayoutBlockProtocol' has no member 'reduce'
206 | public var currentRect: CGRect {
207 | guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
208 | return blocks[1...].reduce(into: blocks[0].currentRect) { res, next in
| `- error: value of type 'any LayoutBlockProtocol' has no member 'reduce'
209 | res = res.union(next.currentRect)
210 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:236:49: error: cannot find type 'CGRect' in scope
234 | /// - Returns: Snapshot contained frames layout elements
235 | func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
236 | var completedFrames: [ObjectIdentifier: CGRect] = [:]
| `- error: cannot find type 'CGRect' in scope
237 | return snapshot(for: sourceRect, completedRects: &completedFrames)
238 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:248:28: error: cannot find type 'CGRect' in scope
246 | /// - Returns: Frame of this block
247 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
248 | var snapshotFrame: CGRect?
| `- error: cannot find type 'CGRect' in scope
249 | return LayoutSnapshot(childSnapshots: blocks.map { block in
250 | let blockSnapshot = block.snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:257:15: error: cannot find 'Thread' in scope
255 |
256 | public mutating func insertLayout(block: LayoutBlockProtocol, to position: Int? = nil) {
257 | guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
| `- error: cannot find 'Thread' in scope
258 |
259 | blocks.insert(block, at: position ?? blocks.count)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:263:15: error: cannot find 'Thread' in scope
261 |
262 | public mutating func removeInactiveBlocks() {
263 | guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
| `- error: cannot find 'Thread' in scope
264 |
265 | blocks = blocks.filter { $0.isActive }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:61: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:25: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:63: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:25: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:59: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:24: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:61: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:24: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:17: error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
30 | }
31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:68:42: error: cannot find type 'CGRect' in scope
66 | /// - sourceRect: Source space
67 | /// - rect: Rect for constrain
68 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
69 | constraints.forEach { (constraint) in
70 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:68:59: error: cannot find type 'CGRect' in scope
66 | /// - sourceRect: Source space
67 | /// - rect: Rect for constrain
68 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
69 | constraints.forEach { (constraint) in
70 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:80:83: error: cannot find type 'CGRect' in scope
78 | /// - coordinateSpace: Destination coordinate space
79 | /// - Returns: Converted rect
80 | func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
81 | guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
82 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:80:37: error: cannot find type 'CGRect' in scope
78 | /// - coordinateSpace: Destination coordinate space
79 | /// - Returns: Converted rect
80 | func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
81 | guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
82 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:86:49: error: cannot find type 'CGRect' in scope
84 | }
85 |
86 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
87 | guard let item = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
88 | formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? item.frame, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:86:66: error: cannot find type 'CGRect' in scope
84 | }
85 |
86 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
87 | guard let item = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
88 | formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? item.frame, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:114:42: error: cannot find type 'CGRect' in scope
112 | /// - sourceRect: Source space
113 | /// - rect: Rect for constrain
114 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
115 | guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
116 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:114:59: error: cannot find type 'CGRect' in scope
112 | /// - sourceRect: Source space
113 | /// - rect: Rect for constrain
114 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
115 | guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
116 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:124:49: error: cannot find type 'CGRect' in scope
122 | }
123 |
124 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
125 | formConstrain(sourceRect: &sourceRect, by: rect ?? sourceRect)
126 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:124:66: error: cannot find type 'CGRect' in scope
122 | }
123 |
124 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
125 | formConstrain(sourceRect: &sourceRect, by: rect ?? sourceRect)
126 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:154:42: error: cannot find type 'CGRect' in scope
152 | /// - sourceRect: Source space
153 | /// - rect: Rect for constrain
154 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
155 | constraints.forEach { (constraint) in
156 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:154:59: error: cannot find type 'CGRect' in scope
152 | /// - sourceRect: Source space
153 | /// - rect: Rect for constrain
154 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
155 | constraints.forEach { (constraint) in
156 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:166:83: error: cannot find type 'CGRect' in scope
164 | /// - coordinateSpace: Destination coordinate space
165 | /// - Returns: Converted rect
166 | func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
167 | guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
168 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:166:37: error: cannot find type 'CGRect' in scope
164 | /// - coordinateSpace: Destination coordinate space
165 | /// - Returns: Converted rect
166 | func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
167 | guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
168 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:172:49: error: cannot find type 'CGRect' in scope
170 | }
171 |
172 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
173 | guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
174 | formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? layoutItem.layoutBounds, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:172:66: error: cannot find type 'CGRect' in scope
170 | }
171 |
172 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
173 | guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
174 | formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? layoutItem.layoutBounds, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:205:42: error: cannot find type 'CGRect' in scope
203 | /// - sourceRect: Source space
204 | /// - rect: Rect for constrain
205 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
| `- error: cannot find type 'CGRect' in scope
206 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 | base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:205:59: error: cannot find type 'CGRect' in scope
203 | /// - sourceRect: Source space
204 | /// - rect: Rect for constrain
205 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
| `- error: cannot find type 'CGRect' in scope
206 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 | base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:206:49: error: cannot find type 'CGRect' in scope
204 | /// - rect: Rect for constrain
205 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
207 | base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
208 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:206:66: error: cannot find type 'CGRect' in scope
204 | /// - rect: Rect for constrain
205 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
207 | base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
208 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:216:26: error: cannot find type 'CGRect' in scope
214 | public struct AnonymConstraint: LayoutConstraintProtocol {
215 | let anchors: [RectBasedConstraint]
216 | let constrainRect: ((CGRect) -> CGRect)?
| `- error: cannot find type 'CGRect' in scope
217 |
218 | public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:216:37: error: cannot find type 'CGRect' in scope
214 | public struct AnonymConstraint: LayoutConstraintProtocol {
215 | let anchors: [RectBasedConstraint]
216 | let constrainRect: ((CGRect) -> CGRect)?
| `- error: cannot find type 'CGRect' in scope
217 |
218 | public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:218:66: error: cannot find type 'CGRect' in scope
216 | let constrainRect: ((CGRect) -> CGRect)?
217 |
218 | public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
| `- error: cannot find type 'CGRect' in scope
219 | self.anchors = anchors
220 | self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:218:77: error: cannot find type 'CGRect' in scope
216 | let constrainRect: ((CGRect) -> CGRect)?
217 |
218 | public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
| `- error: cannot find type 'CGRect' in scope
219 | self.anchors = anchors
220 | self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:232:49: error: cannot find type 'CGRect' in scope
230 | /// - sourceRect: Source space
231 | /// - rect: Rect for constrain
232 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
233 | anchors.forEach { (constraint) in
234 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:232:66: error: cannot find type 'CGRect' in scope
230 | /// - sourceRect: Source space
231 | /// - rect: Rect for constrain
232 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
233 | anchors.forEach { (constraint) in
234 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:237:49: error: cannot find type 'CGRect' in scope
235 | }
236 | }
237 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
238 | formConstrain(sourceRect: &sourceRect, by: constrainRect?(rect ?? sourceRect) ?? sourceRect)
239 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:237:66: error: cannot find type 'CGRect' in scope
235 | }
236 | }
237 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
238 | formConstrain(sourceRect: &sourceRect, by: constrainRect?(rect ?? sourceRect) ?? sourceRect)
239 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:242:38: error: cannot find type 'CGRect' in scope
240 | }
241 | public extension AnonymConstraint {
242 | init(transform: @escaping (inout CGRect) -> Void) {
| `- error: cannot find type 'CGRect' in scope
243 | self.init(anchors: [Equal()]) {
244 | var source = $0
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:68: error: cannot find type 'CGPoint' in scope
234 | return converted
235 | }
236 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | return Self.convert(point: point, from: self, to: item)
238 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:32: error: cannot find type 'CGPoint' in scope
234 | return converted
235 | }
236 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | return Self.convert(point: point, from: self, to: item)
238 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:70: error: cannot find type 'CGPoint' in scope
238 | }
239 |
240 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:32: error: cannot find type 'CGPoint' in scope
238 | }
239 |
240 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:66: error: cannot find type 'CGRect' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
243 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
244 | var rect = rect
245 | rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:31: error: cannot find type 'CGRect' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
243 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
244 | var rect = rect
245 | rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:68: error: cannot find type 'CGRect' in scope
246 | return rect
247 | }
248 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
249 | var rect = rect
250 | rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:31: error: cannot find type 'CGRect' in scope
246 | return rect
247 | }
248 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
249 | var rect = rect
250 | rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:207:67: error: extra argument 'in' in call
205 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 | base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
| `- error: extra argument 'in' in call
208 | }
209 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:28:23: error: cannot find type 'CGRect' in scope
26 | extension CGRect: LayoutSnapshotProtocol {
27 | /// Returns self value
28 | public var frame: CGRect { return self }
| `- error: cannot find type 'CGRect' in scope
29 | /// Returns empty array
30 | public var childSnapshots: [LayoutSnapshotProtocol] { return [] }
[20/20] Compiling CGLayout layoutConstraint.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:22:16: error: cannot find type 'CGRect' in scope
20 | public protocol LayoutSnapshotProtocol { // TODO: Equatable
21 | /// Frame of layout block represented as snapshot
22 | var frame: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
23 | /// Snapshots of child layout blocks
24 | var childSnapshots: [LayoutSnapshotProtocol] { get }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:26:11: error: cannot find type 'CGRect' in scope
24 | var childSnapshots: [LayoutSnapshotProtocol] { get }
25 | }
26 | extension CGRect: LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
27 | /// Returns self value
28 | public var frame: CGRect { return self }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:39:22: error: cannot find type 'CGRect' in scope
37 | /// Snapshot for current state without recalculating
38 | var currentSnapshot: LayoutSnapshotProtocol { get }
39 | var currentRect: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
40 |
41 | /// Calculate and apply frames layout items in custom space.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:44:32: error: cannot find type 'CGRect' in scope
42 | ///
43 | /// - Parameter sourceRect: Source space
44 | func layout(in sourceRect: CGRect)
| `- error: cannot find type 'CGRect' in scope
45 |
46 | /// Returns snapshot for all `LayoutElement` items in block. Attention: in during calculating snapshot frames of layout items must not changed.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:50:35: error: cannot find type 'CGRect' in scope
48 | /// - Parameter sourceRect: Source space for layout
49 | /// - Returns: Snapshot that contains frames layout items
50 | func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol
| `- error: cannot find type 'CGRect' in scope
51 |
52 | /// Returns snapshot for all `LayoutElement` items in block. Does not call this method directly outside `LayoutBlockProtocol` object.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:59:35: error: cannot find type 'CGRect' in scope
57 | /// - completedRects: `LayoutElement` items with corrected frame
58 | /// - Returns: Snapshot that contains frames layout items
59 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol
| `- error: cannot find type 'CGRect' in scope
60 |
61 | /// Applying frames from snapshot to `LayoutElement` items in this block.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:59:84: error: cannot find type 'CGRect' in scope
57 | /// - completedRects: `LayoutElement` items with corrected frame
58 | /// - Returns: Snapshot that contains frames layout items
59 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol
| `- error: cannot find type 'CGRect' in scope
60 |
61 | /// Applying frames from snapshot to `LayoutElement` items in this block.
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:76:35: error: cannot find type 'CGRect' in scope
74 | /// - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
75 | /// - Returns: Snapshot that contains frames layout items
76 | func snapshot(for sourceRect: CGRect, constrainRects: [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
77 | var completedRects = constrainRects
78 | return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:76:78: error: cannot find type 'CGRect' in scope
74 | /// - constrainRects: `LayoutElement` items, that not included to block, but use for constraining.
75 | /// - Returns: Snapshot that contains frames layout items
76 | func snapshot(for sourceRect: CGRect, constrainRects: [ObjectIdentifier: CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
77 | var completedRects = constrainRects
78 | return snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:42: error: cannot find type 'CGRect' in scope
29 | /// - sourceRect: Source space
30 | /// - rect: Rect for constrain
31 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
| `- error: cannot find type 'CGRect' in scope
32 | }
33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:31:59: error: cannot find type 'CGRect' in scope
29 | /// - sourceRect: Source space
30 | /// - rect: Rect for constrain
31 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement)
| `- error: cannot find type 'CGRect' in scope
32 | }
33 | public extension LayoutConstraintProtocol {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:113:29: error: cannot find type 'CGRect' in scope
111 | return item.inLayoutTime.frame
112 | }
113 | public var currentRect: CGRect {
| `- error: cannot find type 'CGRect' in scope
114 | guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
115 | return item.inLayoutTime.frame
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:127:32: error: cannot find type 'CGRect' in scope
125 | ///
126 | /// - Parameter sourceRect: Source space
127 | func layout(in sourceRect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
128 | guard var inLayoutTime = item?.inLayoutTime, let coordinateSpace = inLayoutTime.superElement else { return debugWarning(LayoutBlock.message(forSkipped: self)) }
129 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:139:35: error: cannot find type 'CGRect' in scope
137 | /// - Parameter sourceRect: Source space for layout
138 | /// - Returns: Snapshot contained frames layout elements
139 | func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
140 | guard let inLayout = item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
141 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:154:35: error: cannot find type 'CGRect' in scope
152 | /// - completedRects: `LayoutElement` elements with corrected frame
153 | /// - Returns: Frame of this block
154 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
155 | guard let item = self.item, let inLayout = self.item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:154:85: error: cannot find type 'CGRect' in scope
152 | /// - completedRects: `LayoutElement` elements with corrected frame
153 | /// - Returns: Frame of this block
154 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
155 | guard let item = self.item, let inLayout = self.item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
156 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:206:29: error: cannot find type 'CGRect' in scope
204 | }
205 |
206 | public var currentRect: CGRect {
| `- error: cannot find type 'CGRect' in scope
207 | guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
208 | return blocks[1...].reduce(into: blocks[0].currentRect) { res, next in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:216:32: error: cannot find type 'CGRect' in scope
214 | ///
215 | /// - Parameter sourceRect: Source space
216 | func layout(in sourceRect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
217 | blocks.forEach { $0.layout(in: sourceRect) }
218 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:235:35: error: cannot find type 'CGRect' in scope
233 | /// - Parameter sourceRect: Source space for layout
234 | /// - Returns: Snapshot contained frames layout elements
235 | func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
236 | var completedFrames: [ObjectIdentifier: CGRect] = [:]
237 | return snapshot(for: sourceRect, completedRects: &completedFrames)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:247:35: error: cannot find type 'CGRect' in scope
245 | /// - completedRects: `LayoutElement` elements with corrected frame
246 | /// - Returns: Frame of this block
247 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
248 | var snapshotFrame: CGRect?
249 | return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:247:85: error: cannot find type 'CGRect' in scope
245 | /// - completedRects: `LayoutElement` elements with corrected frame
246 | /// - Returns: Frame of this block
247 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
248 | var snapshotFrame: CGRect?
249 | return LayoutSnapshot(childSnapshots: blocks.map { block in
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:91:15: error: cannot find 'Thread' in scope
89 |
90 | public func setItem(_ item: Item?) {
91 | guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
| `- error: cannot find 'Thread' in scope
92 |
93 | self.item = item
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:97:15: error: cannot find 'Thread' in scope
95 |
96 | public func setLayout(_ layout: RectBasedLayout) {
97 | guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
| `- error: cannot find 'Thread' in scope
98 |
99 | self.itemLayout = layout
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:103:15: error: cannot find 'Thread' in scope
101 |
102 | public func setConstraints(_ constraints: [LayoutConstraintProtocol]) {
103 | guard Thread.isMainThread else { fatalError(LayoutBlock.message(forMutating: self)) }
| `- error: cannot find 'Thread' in scope
104 |
105 | self.constraints = constraints
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:111:34: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
109 | var currentSnapshot: LayoutSnapshotProtocol {
110 | guard let item = item else { fatalError(LayoutBlock.message(forNotActive: self)) }
111 | return item.inLayoutTime.frame
| `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
112 | }
113 | public var currentRect: CGRect {
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:131:69: error: extra argument 'in' in call
129 |
130 | itemLayout.formLayout(rect: &inLayoutTime.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
131 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: extra argument 'in' in call
132 | }))
133 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:131:60: error: 'nil' is not compatible with expected argument type 'CGRect'
129 |
130 | itemLayout.formLayout(rect: &inLayoutTime.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
131 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: 'nil' is not compatible with expected argument type 'CGRect'
132 | }))
133 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:142:27: error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
140 | guard let inLayout = item?.inLayoutTime, let coordinateSpace = inLayout.superElement else { fatalError(LayoutBlock.message(forNotActive: self)) }
141 |
142 | return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
| `- error: return expression of type 'CGRect' does not conform to 'LayoutSnapshotProtocol'
143 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
144 | }))
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:143:69: error: extra argument 'in' in call
141 |
142 | return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
143 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: extra argument 'in' in call
144 | }))
145 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:143:60: error: 'nil' is not compatible with expected argument type 'CGRect'
141 |
142 | return itemLayout.layout(rect: inLayout.frame, in: constraints.lazy.filter { $0.isActive }.reduce(into: sourceRect, { (res, constraint) in
143 | constraint.formConstrain(sourceRect: &res, by: nil, in: coordinateSpace)
| `- error: 'nil' is not compatible with expected argument type 'CGRect'
144 | }))
145 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:194:28: error: cannot find type 'CGRect' in scope
192 | var currentSnapshot: LayoutSnapshotProtocol {
193 | guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
194 | var snapshotFrame: CGRect!
| `- error: cannot find type 'CGRect' in scope
195 | return LayoutSnapshot(childSnapshots: blocks.map { block in
196 | let blockFrame = block.currentSnapshot.frame
/host/spi-builder-workspace/Sources/Classes/private.cglayout.swift:41:16: error: cannot find type 'CGRect' in scope
39 | internal struct LayoutSnapshot: LayoutSnapshotProtocol {
40 | let childSnapshots: [LayoutSnapshotProtocol]
41 | let frame: CGRect
| `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:208:24: error: cannot convert value of type 'PartialRangeFrom<Int>' to expected argument type 'Int'
206 | public var currentRect: CGRect {
207 | guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
208 | return blocks[1...].reduce(into: blocks[0].currentRect) { res, next in
| `- error: cannot convert value of type 'PartialRangeFrom<Int>' to expected argument type 'Int'
209 | res = res.union(next.currentRect)
210 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:208:29: error: value of type 'any LayoutBlockProtocol' has no member 'reduce'
206 | public var currentRect: CGRect {
207 | guard blocks.count > 0 else { fatalError(LayoutScheme.message(forNotActive: self)) }
208 | return blocks[1...].reduce(into: blocks[0].currentRect) { res, next in
| `- error: value of type 'any LayoutBlockProtocol' has no member 'reduce'
209 | res = res.union(next.currentRect)
210 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:236:49: error: cannot find type 'CGRect' in scope
234 | /// - Returns: Snapshot contained frames layout elements
235 | func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
236 | var completedFrames: [ObjectIdentifier: CGRect] = [:]
| `- error: cannot find type 'CGRect' in scope
237 | return snapshot(for: sourceRect, completedRects: &completedFrames)
238 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:248:28: error: cannot find type 'CGRect' in scope
246 | /// - Returns: Frame of this block
247 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
248 | var snapshotFrame: CGRect?
| `- error: cannot find type 'CGRect' in scope
249 | return LayoutSnapshot(childSnapshots: blocks.map { block in
250 | let blockSnapshot = block.snapshot(for: sourceRect, completedRects: &completedRects)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:257:15: error: cannot find 'Thread' in scope
255 |
256 | public mutating func insertLayout(block: LayoutBlockProtocol, to position: Int? = nil) {
257 | guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
| `- error: cannot find 'Thread' in scope
258 |
259 | blocks.insert(block, at: position ?? blocks.count)
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:263:15: error: cannot find 'Thread' in scope
261 |
262 | public mutating func removeInactiveBlocks() {
263 | guard Thread.isMainThread else { fatalError("Mutating layout scheme is available only on main thread") }
| `- error: cannot find 'Thread' in scope
264 |
265 | blocks = blocks.filter { $0.isActive }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:61: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:24:25: error: cannot find type 'CGPoint' in scope
22 | /// Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:63: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:25:25: error: cannot find type 'CGPoint' in scope
23 | public protocol LayoutCoordinateSpace {
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
| `- error: cannot find type 'CGPoint' in scope
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:59: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:26:24: error: cannot find type 'CGRect' in scope
24 | func convert(point: CGPoint, to item: LayoutElement) -> CGPoint
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:61: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:27:24: error: cannot find type 'CGRect' in scope
25 | func convert(point: CGPoint, from item: LayoutElement) -> CGPoint
26 | func convert(rect: CGRect, to item: LayoutElement) -> CGRect
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
| `- error: cannot find type 'CGRect' in scope
28 |
29 | var bounds: CGRect { get }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:17: error: cannot find type 'CGRect' in scope
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
30 | }
31 | #if os(iOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:68:42: error: cannot find type 'CGRect' in scope
66 | /// - sourceRect: Source space
67 | /// - rect: Rect for constrain
68 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
69 | constraints.forEach { (constraint) in
70 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:68:59: error: cannot find type 'CGRect' in scope
66 | /// - sourceRect: Source space
67 | /// - rect: Rect for constrain
68 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
69 | constraints.forEach { (constraint) in
70 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:80:83: error: cannot find type 'CGRect' in scope
78 | /// - coordinateSpace: Destination coordinate space
79 | /// - Returns: Converted rect
80 | func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
81 | guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
82 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:80:37: error: cannot find type 'CGRect' in scope
78 | /// - coordinateSpace: Destination coordinate space
79 | /// - Returns: Converted rect
80 | func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
81 | guard let superLayoutItem = inLayoutTimeItem?.superElement else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
82 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:86:49: error: cannot find type 'CGRect' in scope
84 | }
85 |
86 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
87 | guard let item = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
88 | formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? item.frame, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:86:66: error: cannot find type 'CGRect' in scope
84 | }
85 |
86 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
87 | guard let item = inLayoutTimeItem else { fatalError("Constraint has not access to layout item or him super item. /n\(self)") }
88 | formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? item.frame, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:114:42: error: cannot find type 'CGRect' in scope
112 | /// - sourceRect: Source space
113 | /// - rect: Rect for constrain
114 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
115 | guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
116 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:114:59: error: cannot find type 'CGRect' in scope
112 | /// - sourceRect: Source space
113 | /// - rect: Rect for constrain
114 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
115 | guard let item = item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
116 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:124:49: error: cannot find type 'CGRect' in scope
122 | }
123 |
124 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
125 | formConstrain(sourceRect: &sourceRect, by: rect ?? sourceRect)
126 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:124:66: error: cannot find type 'CGRect' in scope
122 | }
123 |
124 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
125 | formConstrain(sourceRect: &sourceRect, by: rect ?? sourceRect)
126 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:154:42: error: cannot find type 'CGRect' in scope
152 | /// - sourceRect: Source space
153 | /// - rect: Rect for constrain
154 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
155 | constraints.forEach { (constraint) in
156 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:154:59: error: cannot find type 'CGRect' in scope
152 | /// - sourceRect: Source space
153 | /// - rect: Rect for constrain
154 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
155 | constraints.forEach { (constraint) in
156 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:166:83: error: cannot find type 'CGRect' in scope
164 | /// - coordinateSpace: Destination coordinate space
165 | /// - Returns: Converted rect
166 | func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
167 | guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
168 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:166:37: error: cannot find type 'CGRect' in scope
164 | /// - coordinateSpace: Destination coordinate space
165 | /// - Returns: Converted rect
166 | func convert(rectIfNeeded rect: CGRect, to coordinateSpace: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
167 | guard let item = self.item else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
168 |
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:172:49: error: cannot find type 'CGRect' in scope
170 | }
171 |
172 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
173 | guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
174 | formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? layoutItem.layoutBounds, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:172:66: error: cannot find type 'CGRect' in scope
170 | }
171 |
172 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
173 | guard let layoutItem = inLayoutTimeItem else { fatalError("Constraint has not access to layout element or him super element. /n\(self)") }
174 | formConstrain(sourceRect: &sourceRect, by: convert(rectIfNeeded: rect ?? layoutItem.layoutBounds, to: coordinateSpace))
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:205:42: error: cannot find type 'CGRect' in scope
203 | /// - sourceRect: Source space
204 | /// - rect: Rect for constrain
205 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
| `- error: cannot find type 'CGRect' in scope
206 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 | base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:205:59: error: cannot find type 'CGRect' in scope
203 | /// - sourceRect: Source space
204 | /// - rect: Rect for constrain
205 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
| `- error: cannot find type 'CGRect' in scope
206 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 | base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:206:49: error: cannot find type 'CGRect' in scope
204 | /// - rect: Rect for constrain
205 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
207 | base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
208 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:206:66: error: cannot find type 'CGRect' in scope
204 | /// - rect: Rect for constrain
205 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
207 | base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
208 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:216:26: error: cannot find type 'CGRect' in scope
214 | public struct AnonymConstraint: LayoutConstraintProtocol {
215 | let anchors: [RectBasedConstraint]
216 | let constrainRect: ((CGRect) -> CGRect)?
| `- error: cannot find type 'CGRect' in scope
217 |
218 | public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:216:37: error: cannot find type 'CGRect' in scope
214 | public struct AnonymConstraint: LayoutConstraintProtocol {
215 | let anchors: [RectBasedConstraint]
216 | let constrainRect: ((CGRect) -> CGRect)?
| `- error: cannot find type 'CGRect' in scope
217 |
218 | public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:218:66: error: cannot find type 'CGRect' in scope
216 | let constrainRect: ((CGRect) -> CGRect)?
217 |
218 | public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
| `- error: cannot find type 'CGRect' in scope
219 | self.anchors = anchors
220 | self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:218:77: error: cannot find type 'CGRect' in scope
216 | let constrainRect: ((CGRect) -> CGRect)?
217 |
218 | public init(anchors: [RectBasedConstraint], constrainRect: ((CGRect) -> CGRect)? = nil) {
| `- error: cannot find type 'CGRect' in scope
219 | self.anchors = anchors
220 | self.constrainRect = constrainRect
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:232:49: error: cannot find type 'CGRect' in scope
230 | /// - sourceRect: Source space
231 | /// - rect: Rect for constrain
232 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
233 | anchors.forEach { (constraint) in
234 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:232:66: error: cannot find type 'CGRect' in scope
230 | /// - sourceRect: Source space
231 | /// - rect: Rect for constrain
232 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
233 | anchors.forEach { (constraint) in
234 | constraint.formConstrain(sourceRect: &sourceRect, by: rect)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:237:49: error: cannot find type 'CGRect' in scope
235 | }
236 | }
237 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
238 | formConstrain(sourceRect: &sourceRect, by: constrainRect?(rect ?? sourceRect) ?? sourceRect)
239 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:237:66: error: cannot find type 'CGRect' in scope
235 | }
236 | }
237 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
| `- error: cannot find type 'CGRect' in scope
238 | formConstrain(sourceRect: &sourceRect, by: constrainRect?(rect ?? sourceRect) ?? sourceRect)
239 | }
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:242:38: error: cannot find type 'CGRect' in scope
240 | }
241 | public extension AnonymConstraint {
242 | init(transform: @escaping (inout CGRect) -> Void) {
| `- error: cannot find type 'CGRect' in scope
243 | self.init(anchors: [Equal()]) {
244 | var source = $0
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:68: error: cannot find type 'CGPoint' in scope
234 | return converted
235 | }
236 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | return Self.convert(point: point, from: self, to: item)
238 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:236:32: error: cannot find type 'CGPoint' in scope
234 | return converted
235 | }
236 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | return Self.convert(point: point, from: self, to: item)
238 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:70: error: cannot find type 'CGPoint' in scope
238 | }
239 |
240 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:240:32: error: cannot find type 'CGPoint' in scope
238 | }
239 |
240 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:66: error: cannot find type 'CGRect' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
243 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
244 | var rect = rect
245 | rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:243:31: error: cannot find type 'CGRect' in scope
241 | return Self.convert(point: point, from: item, to: self)
242 | }
243 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
244 | var rect = rect
245 | rect.origin = convert(point: rect.origin, to: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:68: error: cannot find type 'CGRect' in scope
246 | return rect
247 | }
248 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
249 | var rect = rect
250 | rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:248:31: error: cannot find type 'CGRect' in scope
246 | return rect
247 | }
248 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
249 | var rect = rect
250 | rect.origin = convert(point: rect.origin, from: item)
/host/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift:207:67: error: extra argument 'in' in call
205 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) { base.formConstrain(sourceRect: &sourceRect, by: rect) }
206 | public func formConstrain(sourceRect: inout CGRect, by rect: CGRect?, in coordinateSpace: LayoutElement) {
207 | base.formConstrain(sourceRect: &sourceRect, by: rect, in: coordinateSpace)
| `- error: extra argument 'in' in call
208 | }
209 | }
/host/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift:28:23: error: cannot find type 'CGRect' in scope
26 | extension CGRect: LayoutSnapshotProtocol {
27 | /// Returns self value
28 | public var frame: CGRect { return self }
| `- error: cannot find type 'CGRect' in scope
29 | /// Returns empty array
30 | public var childSnapshots: [LayoutSnapshotProtocol] { return [] }
BUILD FAILURE 6.3 wasm