Build Information
Failed to build CGLayout, reference master (62d3ab), with Swift 6.4 for watchOS using Xcode 27.0 on 16 Sep 2026 07:24:32 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CGLayout-Package -destination generic/platform=watchOSBuild Log
71 |
72 | public func formLayout(rect: inout CGRect, in source: CGRect) {
| `- error: cannot find type 'CGRect' in scope
73 | layout.formLayout(rect: &rect, in: source)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:88:20: error: cannot find type 'CGFloat' in scope
86 | public enum Filling {
87 | case equally
88 | case equal(CGFloat)
| `- error: cannot find type 'CGFloat' in scope
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:94: error: cannot find type 'CGRect' in scope
94 | var filling: Filling
95 |
96 | public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
| `- error: cannot find type 'CGRect' in scope
97 | guard rects.count > 0 else { return rects }
98 | let fill: CGFloat = {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:36: error: cannot find type 'CGRect' in scope
94 | var filling: Filling
95 |
96 | public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
| `- error: cannot find type 'CGRect' in scope
97 | guard rects.count > 0 else { return rects }
98 | let fill: CGFloat = {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:96:60: error: cannot find type 'CGRect' in scope
94 | var filling: Filling
95 |
96 | public func distribute(rects: [CGRect], in sourceRect: CGRect, along axis: RectAxis) -> [CGRect] {
| `- error: cannot find type 'CGRect' in scope
97 | guard rects.count > 0 else { return rects }
98 | let fill: CGFloat = {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:193:29: error: cannot find type 'CGRect' in scope
191 | }, frame: snapshotFrame ?? .zero)
192 | }
193 | public var currentRect: CGRect {
| `- error: cannot find type 'CGRect' in scope
194 | let items = self.items()
195 | guard items.count > 0 else { fatalError(StackLayoutScheme.message(forNotActive: self)) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:202:32: error: cannot find type 'CGRect' in scope
200 | ///
201 | /// - Parameter sourceRect: Source space
202 | func layout(in sourceRect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
203 | let subItems = items()
204 | let frames = distribution.distribute(rects: subItems.map { $0.inLayoutTime.frame }, in: sourceRect, along: axis)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:223:35: error: cannot find type 'CGRect' in scope
221 | /// - Parameter sourceRect: Source space for layout
222 | /// - Returns: Snapshot contained frames layout items
223 | func snapshot(for sourceRect: CGRect) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
224 | var completedFrames: [ObjectIdentifier: CGRect] = [:]
225 | return snapshot(for: sourceRect, completedRects: &completedFrames)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:235:35: error: cannot find type 'CGRect' in scope
233 | /// - completedRects: `LayoutItem` items with corrected frame
234 | /// - Returns: Frame of this block
235 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
236 | let subItems = items()
237 | let frames = distribution.distribute(
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:235:85: error: cannot find type 'CGRect' in scope
233 | /// - completedRects: `LayoutItem` items with corrected frame
234 | /// - Returns: Frame of this block
235 | func snapshot(for sourceRect: CGRect, completedRects: inout [ObjectIdentifier : CGRect]) -> LayoutSnapshotProtocol {
| `- error: cannot find type 'CGRect' in scope
236 | let subItems = items()
237 | let frames = distribution.distribute(
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:262:29: error: cannot find type 'EdgeInsets' in scope
260 | open var arrangedItems: [LayoutElement] { return items.map { $0.child } }
261 | /// Insets for distribution space
262 | open var contentInsets: EdgeInsets = .zero {
| `- error: cannot find type 'EdgeInsets' in scope
263 | didSet { insetAnchor = Inset(contentInsets) }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:294:40: error: cannot find type 'CGRect' in scope
292 | ///
293 | /// - Parameter rect: Space for layout
294 | override open func layout(in rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
295 | super.layout(in: rect)
296 | scheme.layout(in: rect)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:303:63: error: cannot find type 'CGRect' in scope
301 | /// - Parameter frame: New frame value.
302 | /// - Returns: Content rect
303 | open override func contentRect(forFrame frame: CGRect) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
304 | let lFrame = super.contentRect(forFrame: frame)
305 | return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:303:52: error: cannot find type 'CGRect' in scope
301 | /// - Parameter frame: New frame value.
302 | /// - Returns: Content rect
303 | open override func contentRect(forFrame frame: CGRect) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
304 | let lFrame = super.contentRect(forFrame: frame)
305 | return insetAnchor?.constrained(sourceRect: lFrame, by: .zero) ?? lFrame
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:312:42: error: cannot find type 'CGSize' in scope
310 | /// - Parameter size: The size for which the view should calculate its best-fitting size
311 | /// - Returns: A new size that fits the receiver’s content
312 | func sizeThatFits(_ size: CGSize) -> CGSize {
| `- error: cannot find type 'CGSize' in scope
313 | let sourceRect = CGRect(origin: .zero, size: size)
314 | var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:312:31: error: cannot find type 'CGSize' in scope
310 | /// - Parameter size: The size for which the view should calculate its best-fitting size
311 | /// - Returns: A new size that fits the receiver’s content
312 | func sizeThatFits(_ size: CGSize) -> CGSize {
| `- error: cannot find type 'CGSize' in scope
313 | let sourceRect = CGRect(origin: .zero, size: size)
314 | var result = scheme.snapshot(for: insetAnchor?.constrained(sourceRect: sourceRect, by: .zero) ?? sourceRect).frame.distanceFromOrigin
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/container.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/deprecated.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/system.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/private.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift -target arm64-apple-watchos27.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -swift-version 4.2 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/DerivedSources -Xcc -DSWIFT_PACKAGE\=1 -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CGLayout -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name watchos27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CGLayout.build/Debug-watchos/CGLayout.build/Objects-normal/arm64/CGLayout.abi.json
SwiftCompile normal arm64 (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
SwiftCompile normal arm64 Compiling\ coordinate.cglayout.swift,\ core.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 }
/Users/admin/builder/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 }
/Users/admin/builder/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)
/Users/admin/builder/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()
/Users/admin/builder/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()
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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) }
/Users/admin/builder/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) }
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:234:68: error: type 'CGRect' has no member 'zero'
232 | let constraint = anchor.constraint
233 | return AnyRectBasedConstraint({ s, r in
234 | var source: (before: CGRect, after: CGRect) = (s, .zero)
| `- error: type 'CGRect' has no member 'zero'
235 | constraint.formConstrain(sourceRect: &s, by: r)
236 | source.after = s
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:288:68: error: type 'CGRect' has no member 'zero'
286 | return AdjustLayoutConstraint(element: self, anchors: anchors.map({ (anchor) -> Size in
287 | return Size.build(AnyRectBasedConstraint({ s, r in
288 | var source: (before: CGRect, after: CGRect) = (s, .zero)
| `- error: type 'CGRect' has no member 'zero'
289 | anchor.formConstrain(sourceRect: &s, by: r)
290 | source.after = s
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:620:43: error: value of type 'CGRect' has no member 'height'
618 | /// - rect: Rect for constrain
619 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
620 | sourceRect.size.height = rect.height * multiplier
| `- error: value of type 'CGRect' has no member 'height'
621 | }
622 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:638:42: error: value of type 'CGRect' has no member 'width'
636 | /// - rect: Rect for constrain
637 | func formConstrain(sourceRect: inout CGRect, by rect: CGRect) {
638 | sourceRect.size.width = rect.width * multiplier
| `- error: value of type 'CGRect' has no member 'width'
639 | }
640 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1092:44: error: value of type 'CGRect' has no member 'midX'
1090 | let offset: CGFloat
1091 | func formLayout(rect: inout CGRect, in source: CGRect) {
1092 | rect.origin.x = source.midX - (rect.width / 2) + offset
| `- error: value of type 'CGRect' has no member 'midX'
1093 | }
1094 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1092:57: error: value of type 'CGRect' has no member 'width'
1090 | let offset: CGFloat
1091 | func formLayout(rect: inout CGRect, in source: CGRect) {
1092 | rect.origin.x = source.midX - (rect.width / 2) + offset
| `- error: value of type 'CGRect' has no member 'width'
1093 | }
1094 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1114:44: error: value of type 'CGRect' has no member 'minX'
1112 | let multiplier: CGFloat
1113 | func formLayout(rect: inout CGRect, in source: CGRect) {
1114 | rect.origin.x = source.minX + (source.width * multiplier)
| `- error: value of type 'CGRect' has no member 'minX'
1115 | }
1116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1114:59: error: value of type 'CGRect' has no member 'width'
1112 | let multiplier: CGFloat
1113 | func formLayout(rect: inout CGRect, in source: CGRect) {
1114 | rect.origin.x = source.minX + (source.width * multiplier)
| `- error: value of type 'CGRect' has no member 'width'
1115 | }
1116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1125:44: error: value of type 'CGRect' has no member 'maxX'
1123 | let offset: CGFloat
1124 | func formLayout(rect: inout CGRect, in source: CGRect) {
1125 | rect.origin.x = source.maxX - rect.width - offset
| `- error: value of type 'CGRect' has no member 'maxX'
1126 | }
1127 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1125:56: error: value of type 'CGRect' has no member 'width'
1123 | let offset: CGFloat
1124 | func formLayout(rect: inout CGRect, in source: CGRect) {
1125 | rect.origin.x = source.maxX - rect.width - offset
| `- error: value of type 'CGRect' has no member 'width'
1126 | }
1127 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1136:44: error: value of type 'CGRect' has no member 'maxX'
1134 | let multiplier: CGFloat
1135 | func formLayout(rect: inout CGRect, in source: CGRect) {
1136 | rect.origin.x = source.maxX - rect.width - (source.width * multiplier)
| `- error: value of type 'CGRect' has no member 'maxX'
1137 | }
1138 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1136:56: error: value of type 'CGRect' has no member 'width'
1134 | let multiplier: CGFloat
1135 | func formLayout(rect: inout CGRect, in source: CGRect) {
1136 | rect.origin.x = source.maxX - rect.width - (source.width * multiplier)
| `- error: value of type 'CGRect' has no member 'width'
1137 | }
1138 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1136:72: error: value of type 'CGRect' has no member 'width'
1134 | let multiplier: CGFloat
1135 | func formLayout(rect: inout CGRect, in source: CGRect) {
1136 | rect.origin.x = source.maxX - rect.width - (source.width * multiplier)
| `- error: value of type 'CGRect' has no member 'width'
1137 | }
1138 | }
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1149:44: error: value of type 'CGRect' has no member 'minX'
1147 | let space: ClosedRange<CGFloat>
1148 | func formLayout(rect: inout CGRect, in source: CGRect) {
1149 | rect.origin.x = source.minX + max(space.lowerBound, min(space.upperBound, source.width - rect.width))
| `- error: value of type 'CGRect' has no member 'minX'
1150 | }
1151 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1149:102: error: value of type 'CGRect' has no member 'width'
1147 | let space: ClosedRange<CGFloat>
1148 | func formLayout(rect: inout CGRect, in source: CGRect) {
1149 | rect.origin.x = source.minX + max(space.lowerBound, min(space.upperBound, source.width - rect.width))
| `- error: value of type 'CGRect' has no member 'width'
1150 | }
1151 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1149:115: error: value of type 'CGRect' has no member 'width'
1147 | let space: ClosedRange<CGFloat>
1148 | func formLayout(rect: inout CGRect, in source: CGRect) {
1149 | rect.origin.x = source.minX + max(space.lowerBound, min(space.upperBound, source.width - rect.width))
| `- error: value of type 'CGRect' has no member 'width'
1150 | }
1151 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1162:44: error: value of type 'CGRect' has no member 'maxX'
1160 | let space: ClosedRange<CGFloat>
1161 | func formLayout(rect: inout CGRect, in source: CGRect) {
1162 | rect.origin.x = source.maxX - rect.width - max(space.lowerBound, min(space.upperBound, source.width - rect.width))
| `- error: value of type 'CGRect' has no member 'maxX'
1163 | }
1164 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1162:56: error: value of type 'CGRect' has no member 'width'
1160 | let space: ClosedRange<CGFloat>
1161 | func formLayout(rect: inout CGRect, in source: CGRect) {
1162 | rect.origin.x = source.maxX - rect.width - max(space.lowerBound, min(space.upperBound, source.width - rect.width))
| `- error: value of type 'CGRect' has no member 'width'
1163 | }
1164 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1162:115: error: value of type 'CGRect' has no member 'width'
1160 | let space: ClosedRange<CGFloat>
1161 | func formLayout(rect: inout CGRect, in source: CGRect) {
1162 | rect.origin.x = source.maxX - rect.width - max(space.lowerBound, min(space.upperBound, source.width - rect.width))
| `- error: value of type 'CGRect' has no member 'width'
1163 | }
1164 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1162:128: error: value of type 'CGRect' has no member 'width'
1160 | let space: ClosedRange<CGFloat>
1161 | func formLayout(rect: inout CGRect, in source: CGRect) {
1162 | rect.origin.x = source.maxX - rect.width - max(space.lowerBound, min(space.upperBound, source.width - rect.width))
| `- error: value of type 'CGRect' has no member 'width'
1163 | }
1164 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1203:44: error: value of type 'CGRect' has no member 'midY'
1201 | let offset: CGFloat
1202 | func formLayout(rect: inout CGRect, in source: CGRect) {
1203 | rect.origin.y = source.midY - (rect.height / 2) + offset
| `- error: value of type 'CGRect' has no member 'midY'
1204 | }
1205 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1203:57: error: value of type 'CGRect' has no member 'height'
1201 | let offset: CGFloat
1202 | func formLayout(rect: inout CGRect, in source: CGRect) {
1203 | rect.origin.y = source.midY - (rect.height / 2) + offset
| `- error: value of type 'CGRect' has no member 'height'
1204 | }
1205 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1225:44: error: value of type 'CGRect' has no member 'minY'
1223 | let multiplier: CGFloat
1224 | func formLayout(rect: inout CGRect, in source: CGRect) {
1225 | rect.origin.y = source.minY + (source.height * multiplier)
| `- error: value of type 'CGRect' has no member 'minY'
1226 | }
1227 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1225:59: error: value of type 'CGRect' has no member 'height'
1223 | let multiplier: CGFloat
1224 | func formLayout(rect: inout CGRect, in source: CGRect) {
1225 | rect.origin.y = source.minY + (source.height * multiplier)
| `- error: value of type 'CGRect' has no member 'height'
1226 | }
1227 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1236:44: error: value of type 'CGRect' has no member 'maxY'
1234 | let offset: CGFloat
1235 | func formLayout(rect: inout CGRect, in source: CGRect) {
1236 | rect.origin.y = source.maxY - rect.height - offset
| `- error: value of type 'CGRect' has no member 'maxY'
1237 | }
1238 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1236:56: error: value of type 'CGRect' has no member 'height'
1234 | let offset: CGFloat
1235 | func formLayout(rect: inout CGRect, in source: CGRect) {
1236 | rect.origin.y = source.maxY - rect.height - offset
| `- error: value of type 'CGRect' has no member 'height'
1237 | }
1238 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1247:44: error: value of type 'CGRect' has no member 'maxY'
1245 | let multiplier: CGFloat
1246 | func formLayout(rect: inout CGRect, in source: CGRect) {
1247 | rect.origin.y = source.maxY - rect.height - (source.height * multiplier)
| `- error: value of type 'CGRect' has no member 'maxY'
1248 | }
1249 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1247:56: error: value of type 'CGRect' has no member 'height'
1245 | let multiplier: CGFloat
1246 | func formLayout(rect: inout CGRect, in source: CGRect) {
1247 | rect.origin.y = source.maxY - rect.height - (source.height * multiplier)
| `- error: value of type 'CGRect' has no member 'height'
1248 | }
1249 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1247:73: error: value of type 'CGRect' has no member 'height'
1245 | let multiplier: CGFloat
1246 | func formLayout(rect: inout CGRect, in source: CGRect) {
1247 | rect.origin.y = source.maxY - rect.height - (source.height * multiplier)
| `- error: value of type 'CGRect' has no member 'height'
1248 | }
1249 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1261:44: error: value of type 'CGRect' has no member 'minY'
1259 | let space: ClosedRange<CGFloat>
1260 | func formLayout(rect: inout CGRect, in source: CGRect) {
1261 | rect.origin.y = source.minY + max(space.lowerBound, min(space.upperBound, source.height - rect.height))
| `- error: value of type 'CGRect' has no member 'minY'
1262 | }
1263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1261:102: error: value of type 'CGRect' has no member 'height'
1259 | let space: ClosedRange<CGFloat>
1260 | func formLayout(rect: inout CGRect, in source: CGRect) {
1261 | rect.origin.y = source.minY + max(space.lowerBound, min(space.upperBound, source.height - rect.height))
| `- error: value of type 'CGRect' has no member 'height'
1262 | }
1263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1261:116: error: value of type 'CGRect' has no member 'height'
1259 | let space: ClosedRange<CGFloat>
1260 | func formLayout(rect: inout CGRect, in source: CGRect) {
1261 | rect.origin.y = source.minY + max(space.lowerBound, min(space.upperBound, source.height - rect.height))
| `- error: value of type 'CGRect' has no member 'height'
1262 | }
1263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:1270:85: error: value of type 'CGRect' has no member 'height'
1268 | let step: CGFloat
1269 | func formLayout(rect: inout CGRect, in source: CGRect) {
1270 | let offset = max(space.lowerBound, min(space.upperBound, source.height - rect.height))
| `- error: value of type 'CGRect' has no member 'height'
1271 | rect.origin.y = source.minY + (offset >= space.upperBound ? offset : offset - offset.truncatingRemainder(dividingBy: step))
1272 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile coordinate.cglayout.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile core.cglayout.swift
SwiftCompile normal arm64 Compiling\ common.cglayout.swift,\ container.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/container.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
/Users/admin/builder/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) }
/Users/admin/builder/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) }
/Users/admin/builder/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) }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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) }
/Users/admin/builder/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 }
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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) }
/Users/admin/builder/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 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile common.cglayout.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/container.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile container.cglayout.swift
/Users/admin/builder/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 {
SwiftCompile normal arm64 Compiling\ deprecated.cglayout.swift,\ anchors.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/deprecated.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
/Users/admin/builder/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 }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 }
/Users/admin/builder/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 }
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift:465:19: error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
463 | anonymConstraint = anchor.equal(to: value)
464 | }
465 | mutating func boxed<LI: AnchoredLayoutElement, A2: SizeRectAnchor>(by a2: DimensionAnchor<LI, A2>, box: CGFloat)
| `- error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
466 | where Anchor.Metric == A2.Metric, Anchor.Metric == CGSize {
467 | checkConflictsOnAddEqualConstraint()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift:470:19: error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
468 | associatedConstraint = (a2.item, anchor.boxed(by: a2.anchor, box: box))
469 | }
470 | mutating func scaled<LI: AnchoredLayoutElement, A2: SizeRectAnchor>(by a2: DimensionAnchor<LI, A2>, scale: CGFloat)
| `- error: no type for 'Anchor.Metric' can satisfy both 'Anchor.Metric == CGSize' and 'Anchor.Metric : Equatable'
471 | where Anchor.Metric == A2.Metric, Anchor.Metric == CGSize {
472 | checkConflictsOnAddEqualConstraint()
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:53:17: error: no type for 'Self.Metric' can satisfy both 'Self.Metric == CGSize' and 'Self.Metric : Equatable'
51 | return AnyRectBasedConstraint { source, _ in self.set(value, for: &source) }
52 | }
53 | public func boxed<A2: SizeRectAnchor>(by a2: A2, box: CGFloat) -> AnyRectBasedConstraint
| `- error: no type for 'Self.Metric' can satisfy both 'Self.Metric == CGSize' and 'Self.Metric : Equatable'
54 | where Metric == A2.Metric, Metric == CGSize {
55 | return AnyRectBasedConstraint { self.set(a2.get(for: $1) - box, for: &$0) }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/deprecated.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile deprecated.cglayout.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile anchors.cglayout.swift
SwiftCompile normal arm64 Compiling\ scroll.layoutGuide.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:50:24: error: cannot find type 'CGRect' in scope
48 | func removeFromSuperElement() { ownerElement = nil }
49 |
50 | public init(frame: CGRect = .zero) {
| `- error: cannot find type 'CGRect' in scope
51 | self.frame = frame
52 | self.bounds = CGRect(origin: .zero, size: frame.size)
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:33:29: error: cannot find type 'CGPoint' in scope
31 |
32 | /// Point that defines offset for content origin
33 | open var contentOffset: CGPoint { set { bounds.origin = newValue } get { return bounds.origin } }
| `- error: cannot find type 'CGPoint' in scope
34 | /// Size of content
35 | open var contentSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:35:27: error: cannot find type 'CGSize' in scope
33 | open var contentOffset: CGPoint { set { bounds.origin = newValue } get { return bounds.origin } }
34 | /// Size of content
35 | open var contentSize: CGSize = .zero
| `- error: cannot find type 'CGSize' in scope
36 | open var contentInset: EdgeInsets = .zero {
37 | didSet {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:36:28: error: cannot find type 'EdgeInsets' in scope
34 | /// Size of content
35 | open var contentSize: CGSize = .zero
36 | open var contentInset: EdgeInsets = .zero {
| `- error: cannot find type 'EdgeInsets' in scope
37 | didSet {
38 | if oldValue != contentInset {
/Users/admin/builder/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) }
/Users/admin/builder/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) }
/Users/admin/builder/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) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:42:33: error: cannot find 'CGPoint' in scope
40 | let y = contentInset.top - oldValue.top
41 |
42 | contentOffset = CGPoint(x: contentOffset.x - x, y: contentOffset.y - y)
| `- error: cannot find 'CGPoint' in scope
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:47:39: error: cannot find type 'CGRect' in scope
45 | }
46 |
47 | override public var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x - contentOffset.x, y: frame.origin.y - contentOffset.y), size: contentSize) }
| `- error: cannot find type 'CGRect' in scope
48 | /// Performs layout for subelements, which this layout guide manages, in layout space rect
49 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:51:40: error: cannot find type 'CGRect' in scope
49 | ///
50 | /// - Parameter rect: Space for layout
51 | override open func layout(in rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
52 | super.layout(in: rect)
53 | layout.layout(in: rect)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:60:63: error: cannot find type 'CGRect' in scope
58 | /// - Parameter frame: New frame value.
59 | /// - Returns: Content rect
60 | override open func contentRect(forFrame frame: CGRect) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
61 | // var contentRect = bounds
62 | // let lFrame = layoutBounds
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:60:52: error: cannot find type 'CGRect' in scope
58 | /// - Parameter frame: New frame value.
59 | /// - Returns: Content rect
60 | override open func contentRect(forFrame frame: CGRect) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
61 | // var contentRect = bounds
62 | // let lFrame = layoutBounds
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:71:28: error: cannot find type 'CGPoint' in scope
69 | }
70 | public extension ScrollLayoutGuide {
71 | func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
| `- error: cannot find type 'CGPoint' in scope
72 | guard let translation = translation else {
73 | return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:71:50: error: cannot find type 'CGPoint' in scope
69 | }
70 | public extension ScrollLayoutGuide {
71 | func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
| `- error: cannot find type 'CGPoint' in scope
72 | guard let translation = translation else {
73 | return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:71:70: error: cannot find type 'CGPoint' in scope
69 | }
70 | public extension ScrollLayoutGuide {
71 | func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
| `- error: cannot find type 'CGPoint' in scope
72 | guard let translation = translation else {
73 | return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:131:77: error: cannot find type 'CGFloat' in scope
129 |
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
132 | let constant: CGFloat = 0.55
133 | let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:131:43: error: cannot find type 'CGFloat' in scope
129 |
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
132 | let constant: CGFloat = 0.55
133 | let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:131:65: error: cannot find type 'CGFloat' in scope
129 |
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
132 | let constant: CGFloat = 0.55
133 | let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:71: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
139 | if t <= 0 {
140 | return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:29: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
139 | if t <= 0 {
140 | return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:45: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
139 | if t <= 0 {
140 | return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:138:59: error: cannot find type 'CGFloat' in scope
136 | }
137 |
138 | func LinearInterpolation(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
139 | if t <= 0 {
140 | return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:68: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
151 | if t <= 0 {
152 | return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:26: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
151 | if t <= 0 {
152 | return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:42: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
151 | if t <= 0 {
152 | return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:150:56: error: cannot find type 'CGFloat' in scope
148 | }
149 |
150 | func QuadraticEaseOut(t: CGFloat, start: CGFloat, end: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
151 | if t <= 0 {
152 | return start
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:164:20: error: cannot find type 'TimeInterval' in scope
162 |
163 | protocol ScrollAnimation {
164 | var beginTime: TimeInterval { get set }
| `- error: cannot find type 'TimeInterval' in scope
165 | }
166 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:168:25: error: cannot find type 'TimeInterval' in scope
166 |
167 | struct ScrollAnimationDecelerationComponent {
168 | var decelerateTime: TimeInterval
| `- error: cannot find type 'TimeInterval' in scope
169 | var position: CGFloat
170 | var velocity: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:169:19: error: cannot find type 'CGFloat' in scope
167 | struct ScrollAnimationDecelerationComponent {
168 | var decelerateTime: TimeInterval
169 | var position: CGFloat
| `- error: cannot find type 'CGFloat' in scope
170 | var velocity: CGFloat
171 | var returnTime: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:170:19: error: cannot find type 'CGFloat' in scope
168 | var decelerateTime: TimeInterval
169 | var position: CGFloat
170 | var velocity: CGFloat
| `- error: cannot find type 'CGFloat' in scope
171 | var returnTime: TimeInterval
172 | var returnFrom: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:171:21: error: cannot find type 'TimeInterval' in scope
169 | var position: CGFloat
170 | var velocity: CGFloat
171 | var returnTime: TimeInterval
| `- error: cannot find type 'TimeInterval' in scope
172 | var returnFrom: CGFloat
173 | var bounced: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:172:21: error: cannot find type 'CGFloat' in scope
170 | var velocity: CGFloat
171 | var returnTime: TimeInterval
172 | var returnFrom: CGFloat
| `- error: cannot find type 'CGFloat' in scope
173 | var bounced: Bool
174 | var bouncing: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:176:29: error: cannot find type 'TimeInterval' in scope
174 | var bouncing: Bool
175 |
176 | mutating func bounce(t: TimeInterval, to: CGFloat) -> Bool {
| `- error: cannot find type 'TimeInterval' in scope
177 | if bounced && returnTime != 0 {
178 | let returnBounceTime: TimeInterval = min(1, ((t - returnTime) / returnAnimationDuration))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:176:47: error: cannot find type 'CGFloat' in scope
174 | var bouncing: Bool
175 |
176 | mutating func bounce(t: TimeInterval, to: CGFloat) -> Bool {
| `- error: cannot find type 'CGFloat' in scope
177 | if bounced && returnTime != 0 {
178 | let returnBounceTime: TimeInterval = min(1, ((t - returnTime) / returnAnimationDuration))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:203:49: error: cannot find type 'CGFloat' in scope
201 | }
202 |
203 | mutating func animateBounce(_ offset: inout CGFloat, begin beginTime: TimeInterval, to targetOffset: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
204 | let currentTime: TimeInterval = Date.timeIntervalSinceReferenceDate
205 | bouncing = true
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:203:75: error: cannot find type 'TimeInterval' in scope
201 | }
202 |
203 | mutating func animateBounce(_ offset: inout CGFloat, begin beginTime: TimeInterval, to targetOffset: CGFloat) {
| `- error: cannot find type 'TimeInterval' in scope
204 | let currentTime: TimeInterval = Date.timeIntervalSinceReferenceDate
205 | bouncing = true
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:203:106: error: cannot find type 'CGFloat' in scope
201 | }
202 |
203 | mutating func animateBounce(_ offset: inout CGFloat, begin beginTime: TimeInterval, to targetOffset: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
204 | let currentTime: TimeInterval = Date.timeIntervalSinceReferenceDate
205 | bouncing = true
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:215:51: error: cannot find type 'CGFloat' in scope
213 | }
214 |
215 | private let minimumBounceVelocityBeforeReturning: CGFloat = 100
| `- error: cannot find type 'CGFloat' in scope
216 | private let returnAnimationDuration: TimeInterval = 0.6
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:216:38: error: cannot find type 'TimeInterval' in scope
214 |
215 | private let minimumBounceVelocityBeforeReturning: CGFloat = 100
216 | private let returnAnimationDuration: TimeInterval = 0.6
| `- error: cannot find type 'TimeInterval' in scope
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
218 | private let springTightness: CGFloat = 0.3
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:217:30: error: cannot find type 'TimeInterval' in scope
215 | private let minimumBounceVelocityBeforeReturning: CGFloat = 100
216 | private let returnAnimationDuration: TimeInterval = 0.6
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
| `- error: cannot find type 'TimeInterval' in scope
218 | private let springTightness: CGFloat = 0.3
219 | private let springDampening: CGFloat = 15
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:218:30: error: cannot find type 'CGFloat' in scope
216 | private let returnAnimationDuration: TimeInterval = 0.6
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
218 | private let springTightness: CGFloat = 0.3
| `- error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:219:30: error: cannot find type 'CGFloat' in scope
217 | private let physicsTimeStep: TimeInterval = 1 / 60.0
218 | private let springTightness: CGFloat = 0.3
219 | private let springDampening: CGFloat = 15
| `- error: cannot find type 'CGFloat' in scope
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:63: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
222 | return (v < min) ? min : (v > max) ? max : v
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:23: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
222 | return (v < min) ? min : (v > max) ? max : v
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:37: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
222 | return (v < min) ? min : (v > max) ? max : v
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:221:51: error: cannot find type 'CGFloat' in scope
219 | private let springDampening: CGFloat = 15
220 |
221 | private func Clamp(v: CGFloat, min: CGFloat, max: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
222 | return (v < min) ? min : (v > max) ? max : v
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:225:44: error: cannot find type 'CGFloat' in scope
223 | }
224 |
225 | private func ClampedVelocty(v: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
226 | let V: CGFloat = 500
227 | return Clamp(v: v, min: -V, max: V)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:225:32: error: cannot find type 'CGFloat' in scope
223 | }
224 |
225 | private func ClampedVelocty(v: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
226 | let V: CGFloat = 500
227 | return Clamp(v: v, min: -V, max: V)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:125: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
231 | let d: CGFloat = position - restPosition
232 | return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:31: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
231 | let d: CGFloat = position - restPosition
232 | return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:50: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
231 | let d: CGFloat = position - restPosition
232 | return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:73: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
231 | let d: CGFloat = position - restPosition
232 | return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:93: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
231 | let d: CGFloat = position - restPosition
232 | return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:230:113: error: cannot find type 'CGFloat' in scope
228 | }
229 |
230 | private func Spring(velocity: CGFloat, position: CGFloat, restPosition: CGFloat, tightness: CGFloat, dampening: CGFloat) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope
231 | let d: CGFloat = position - restPosition
232 | return (-tightness * d) - (dampening * velocity) / 1
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:236:62: error: cannot find type 'CGPoint' in scope
234 |
235 | extension ScrollLayoutGuide {
236 | func _confinedContentOffset(_ contentOffset: CGPoint) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | let scrollerBounds: CGRect = EdgeInsetsInsetRect(bounds, contentInset)
238 | var contentOffset = contentOffset
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:236:50: error: cannot find type 'CGPoint' in scope
234 |
235 | extension ScrollLayoutGuide {
236 | func _confinedContentOffset(_ contentOffset: CGPoint) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
237 | let scrollerBounds: CGRect = EdgeInsetsInsetRect(bounds, contentInset)
238 | var contentOffset = contentOffset
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:255:48: error: cannot find type 'CGPoint' in scope
253 | return contentOffset
254 | }
255 | func _setRestrainedContentOffset(_ offset: CGPoint) {
| `- error: cannot find type 'CGPoint' in scope
256 | var offset = offset
257 | let confinedOffset: CGPoint = _confinedContentOffset(offset)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:272:35: error: cannot find type 'TimeInterval' in scope
270 | private var x: ScrollAnimationDecelerationComponent
271 | private var y: ScrollAnimationDecelerationComponent
272 | private var lastMomentumTime: TimeInterval
| `- error: cannot find type 'TimeInterval' in scope
273 | private(set) weak var scrollGuide: ScrollLayoutGuide<Item>!
274 | var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:274:20: error: cannot find type 'TimeInterval' in scope
272 | private var lastMomentumTime: TimeInterval
273 | private(set) weak var scrollGuide: ScrollLayoutGuide<Item>!
274 | var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
| `- error: cannot find type 'TimeInterval' in scope
275 |
276 | let timeInterval: CGFloat = 1/60
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:274:35: error: cannot find 'Date' in scope
272 | private var lastMomentumTime: TimeInterval
273 | private(set) weak var scrollGuide: ScrollLayoutGuide<Item>!
274 | var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
| `- error: cannot find 'Date' in scope
275 |
276 | let timeInterval: CGFloat = 1/60
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:276:23: error: cannot find type 'CGFloat' in scope
274 | var beginTime: TimeInterval = Date.timeIntervalSinceReferenceDate
275 |
276 | let timeInterval: CGFloat = 1/60
| `- error: cannot find type 'CGFloat' in scope
277 | let startVelocity: CGPoint
278 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:277:24: error: cannot find type 'CGPoint' in scope
275 |
276 | let timeInterval: CGFloat = 1/60
277 | let startVelocity: CGPoint
| `- error: cannot find type 'CGPoint' in scope
278 |
279 | public var bounces: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:280:70: error: cannot find type 'CGPoint' in scope
278 |
279 | public var bounces: Bool
280 | public init(scrollGuide sg: ScrollLayoutGuide<Item>, velocity v: CGPoint, bounces: Bool) {
| `- error: cannot find type 'CGPoint' in scope
281 | self.scrollGuide = sg
282 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:63:31: error: cannot find type 'CGRect' in scope
61 | ///
62 | /// - Parameter rect: Space for layout
63 | open func layout(in rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
64 | // subclass override
65 | }
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:44:17: error: cannot find type 'CGRect' in scope
42 | }
43 | open /// Internal coordinate space of layout entity
44 | var bounds: CGRect { didSet { layout() } }
| `- error: cannot find type 'CGRect' in scope
45 | open /// Layout element that maintained this layout entity
46 | var superElement: LayoutElement? { return ownerElement }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:47:55: error: cannot find 'CGRect' in scope
45 | }
46 |
47 | override public var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x - contentOffset.x, y: frame.origin.y - contentOffset.y), size: contentSize) }
| `- error: cannot find 'CGRect' in scope
48 | /// Performs layout for subelements, which this layout guide manages, in layout space rect
49 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:47:70: error: cannot find 'CGPoint' in scope
45 | }
46 |
47 | override public var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x - contentOffset.x, y: frame.origin.y - contentOffset.y), size: contentSize) }
| `- error: cannot find 'CGPoint' in scope
48 | /// Performs layout for subelements, which this layout guide manages, in layout space rect
49 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:36:16: error: cannot find type 'CGRect' in scope
34 | }
35 | open /// External representation of layout entity in coordinate space
36 | var frame: CGRect {
| `- error: cannot find type 'CGRect' in scope
37 | didSet {
38 | // if oldValue != frame { bounds = contentRect(forFrame: frame) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:52:26: error: argument passed to call that takes no arguments
50 | /// - Parameter rect: Space for layout
51 | override open func layout(in rect: CGRect) {
52 | super.layout(in: rect)
| `- error: argument passed to call that takes no arguments
53 | layout.layout(in: rect)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:73:20: error: generic parameter 'Item' could not be inferred
71 | func decelerate(start: CGPoint, translation: CGPoint?, velocity: CGPoint) -> ScrollAnimationDeceleration<Super>? {
72 | guard let translation = translation else {
73 | return ScrollAnimationDeceleration(scrollGuide: self, velocity: velocity, bounces: true)
| |- error: generic parameter 'Item' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
74 | }
75 | var targetPosition = contentOffset
:
267 | }
268 |
269 | public class ScrollAnimationDeceleration<Item: LayoutElement>: ScrollAnimation {
| `- note: 'Item' declared as parameter to type 'ScrollAnimationDeceleration'
270 | private var x: ScrollAnimationDecelerationComponent
271 | private var y: ScrollAnimationDecelerationComponent
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:76:31: error: cannot find type 'CGFloat' in scope
74 | }
75 | var targetPosition = contentOffset
76 | let newBoundsOriginX: CGFloat = start.x - translation.x
| `- error: cannot find type 'CGFloat' in scope
77 | let minBoundsOriginX: CGFloat = 0.0
78 | let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:76:49: error: no '-' candidates produce the expected contextual result type '_'
74 | }
75 | var targetPosition = contentOffset
76 | let newBoundsOriginX: CGFloat = start.x - translation.x
| `- error: no '-' candidates produce the expected contextual result type '_'
77 | let minBoundsOriginX: CGFloat = 0.0
78 | let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
Swift.Duration.-:3:22: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func - (lhs: Duration, rhs: Duration) -> Duration}
| `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 |
Swift.Int128.-:3:22: note: '-' produces 'Int128', not the expected contextual result type '_'
1 | struct Int128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public static func - (a: Int128, b: Int128) -> Int128}
| `- note: '-' produces 'Int128', not the expected contextual result type '_'
4 |
Swift.UInt128.-:3:22: note: '-' produces 'UInt128', not the expected contextual result type '_'
1 | struct UInt128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public static func - (a: UInt128, b: UInt128) -> UInt128}
| `- note: '-' produces 'UInt128', not the expected contextual result type '_'
4 |
Swift.Float16.-:2:20: note: '-' produces 'Float16', not the expected contextual result type '_'
1 | struct Float16 {
2 | public static func - (lhs: Float16, rhs: Float16) -> Float16}
| `- note: '-' produces 'Float16', not the expected contextual result type '_'
3 |
Swift.Float.-:2:20: note: '-' produces 'Float', not the expected contextual result type '_'
1 | struct Float {
2 | public static func - (lhs: Float, rhs: Float) -> Float}
| `- note: '-' produces 'Float', not the expected contextual result type '_'
3 |
Swift.Double.-:2:20: note: '-' produces 'Double', not the expected contextual result type '_'
1 | struct Double {
2 | public static func - (lhs: Double, rhs: Double) -> Double}
| `- note: '-' produces 'Double', not the expected contextual result type '_'
3 |
Swift.UInt8.-:2:20: note: '-' produces 'UInt8', not the expected contextual result type '_'
1 | struct UInt8 {
2 | public static func - (lhs: UInt8, rhs: UInt8) -> UInt8}
| `- note: '-' produces 'UInt8', not the expected contextual result type '_'
3 |
Swift.Int8.-:2:20: note: '-' produces 'Int8', not the expected contextual result type '_'
1 | struct Int8 {
2 | public static func - (lhs: Int8, rhs: Int8) -> Int8}
| `- note: '-' produces 'Int8', not the expected contextual result type '_'
3 |
Swift.UInt16.-:2:20: note: '-' produces 'UInt16', not the expected contextual result type '_'
1 | struct UInt16 {
2 | public static func - (lhs: UInt16, rhs: UInt16) -> UInt16}
| `- note: '-' produces 'UInt16', not the expected contextual result type '_'
3 |
Swift.Int16.-:2:20: note: '-' produces 'Int16', not the expected contextual result type '_'
1 | struct Int16 {
2 | public static func - (lhs: Int16, rhs: Int16) -> Int16}
| `- note: '-' produces 'Int16', not the expected contextual result type '_'
3 |
Swift.UInt32.-:2:20: note: '-' produces 'UInt32', not the expected contextual result type '_'
1 | struct UInt32 {
2 | public static func - (lhs: UInt32, rhs: UInt32) -> UInt32}
| `- note: '-' produces 'UInt32', not the expected contextual result type '_'
3 |
Swift.Int32.-:2:20: note: '-' produces 'Int32', not the expected contextual result type '_'
1 | struct Int32 {
2 | public static func - (lhs: Int32, rhs: Int32) -> Int32}
| `- note: '-' produces 'Int32', not the expected contextual result type '_'
3 |
Swift.UInt64.-:2:20: note: '-' produces 'UInt64', not the expected contextual result type '_'
1 | struct UInt64 {
2 | public static func - (lhs: UInt64, rhs: UInt64) -> UInt64}
| `- note: '-' produces 'UInt64', not the expected contextual result type '_'
3 |
Swift.Int64.-:2:20: note: '-' produces 'Int64', not the expected contextual result type '_'
1 | struct Int64 {
2 | public static func - (lhs: Int64, rhs: Int64) -> Int64}
| `- note: '-' produces 'Int64', not the expected contextual result type '_'
3 |
Swift.UInt.-:2:20: note: '-' produces 'UInt', not the expected contextual result type '_'
1 | struct UInt {
2 | public static func - (lhs: UInt, rhs: UInt) -> UInt}
| `- note: '-' produces 'UInt', not the expected contextual result type '_'
3 |
Swift.Int.-:2:20: note: '-' produces 'Int', not the expected contextual result type '_'
1 | struct Int {
2 | public static func - (lhs: Int, rhs: Int) -> Int}
| `- note: '-' produces 'Int', not the expected contextual result type '_'
3 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 | struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: Duration) -> ContinuousClock.Instant }
| `- note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 | struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: ContinuousClock.Instant) -> Duration }
| `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 | struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: Duration) -> SuspendingClock.Instant }
| `- note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 | struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: SuspendingClock.Instant) -> Duration }
| `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
Swift.FloatingPoint.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol FloatingPoint {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.AdditiveArithmetic.-:2:13: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol AdditiveArithmetic {
2 | static func - (lhs: Self, rhs: Self) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.BinaryInteger.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol BinaryInteger {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.Strideable.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol Strideable {
2 | public static func - (lhs: Self, rhs: Self.Stride) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.Strideable.-:2:20: note: '-' produces 'Self.Stride', not the expected contextual result type '_'
1 | protocol Strideable {
2 | public static func - (lhs: Self, rhs: Self) -> Self.Stride}
| `- note: '-' produces 'Self.Stride', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self.Scalar, b: Self) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self.Scalar) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:77:31: error: cannot find type 'CGFloat' in scope
75 | var targetPosition = contentOffset
76 | let newBoundsOriginX: CGFloat = start.x - translation.x
77 | let minBoundsOriginX: CGFloat = 0.0
| `- error: cannot find type 'CGFloat' in scope
78 | let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
79 | let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:78:31: error: cannot find type 'CGFloat' in scope
76 | let newBoundsOriginX: CGFloat = start.x - translation.x
77 | let minBoundsOriginX: CGFloat = 0.0
78 | let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
| `- error: cannot find type 'CGFloat' in scope
79 | let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
80 | let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:79:39: error: cannot find type 'CGFloat' in scope
77 | let minBoundsOriginX: CGFloat = 0.0
78 | let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
79 | let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
| `- error: cannot find type 'CGFloat' in scope
80 | let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
81 | targetPosition.x = constrainedBoundsOriginX + rubberBandedX
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:80:28: error: cannot find type 'CGFloat' in scope
78 | let maxBoundsOriginX: CGFloat = contentSize.width - bounds.size.width
79 | let constrainedBoundsOriginX: CGFloat = max(minBoundsOriginX, min(newBoundsOriginX, maxBoundsOriginX))
80 | let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
| `- error: cannot find type 'CGFloat' in scope
81 | targetPosition.x = constrainedBoundsOriginX + rubberBandedX
82 | let newBoundsOriginY: CGFloat = start.y - translation.y
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:82:31: error: cannot find type 'CGFloat' in scope
80 | let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
81 | targetPosition.x = constrainedBoundsOriginX + rubberBandedX
82 | let newBoundsOriginY: CGFloat = start.y - translation.y
| `- error: cannot find type 'CGFloat' in scope
83 | let minBoundsOriginY: CGFloat = 0.0
84 | let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:82:49: error: no '-' candidates produce the expected contextual result type '_'
80 | let rubberBandedX: CGFloat = rubberBandDistance(newBoundsOriginX - constrainedBoundsOriginX, bounds.width)
81 | targetPosition.x = constrainedBoundsOriginX + rubberBandedX
82 | let newBoundsOriginY: CGFloat = start.y - translation.y
| `- error: no '-' candidates produce the expected contextual result type '_'
83 | let minBoundsOriginY: CGFloat = 0.0
84 | let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
Swift.Duration.-:3:22: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func - (lhs: Duration, rhs: Duration) -> Duration}
| `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 |
Swift.Int128.-:3:22: note: '-' produces 'Int128', not the expected contextual result type '_'
1 | struct Int128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public static func - (a: Int128, b: Int128) -> Int128}
| `- note: '-' produces 'Int128', not the expected contextual result type '_'
4 |
Swift.UInt128.-:3:22: note: '-' produces 'UInt128', not the expected contextual result type '_'
1 | struct UInt128 {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public static func - (a: UInt128, b: UInt128) -> UInt128}
| `- note: '-' produces 'UInt128', not the expected contextual result type '_'
4 |
Swift.Float16.-:2:20: note: '-' produces 'Float16', not the expected contextual result type '_'
1 | struct Float16 {
2 | public static func - (lhs: Float16, rhs: Float16) -> Float16}
| `- note: '-' produces 'Float16', not the expected contextual result type '_'
3 |
Swift.Float.-:2:20: note: '-' produces 'Float', not the expected contextual result type '_'
1 | struct Float {
2 | public static func - (lhs: Float, rhs: Float) -> Float}
| `- note: '-' produces 'Float', not the expected contextual result type '_'
3 |
Swift.Double.-:2:20: note: '-' produces 'Double', not the expected contextual result type '_'
1 | struct Double {
2 | public static func - (lhs: Double, rhs: Double) -> Double}
| `- note: '-' produces 'Double', not the expected contextual result type '_'
3 |
Swift.UInt8.-:2:20: note: '-' produces 'UInt8', not the expected contextual result type '_'
1 | struct UInt8 {
2 | public static func - (lhs: UInt8, rhs: UInt8) -> UInt8}
| `- note: '-' produces 'UInt8', not the expected contextual result type '_'
3 |
Swift.Int8.-:2:20: note: '-' produces 'Int8', not the expected contextual result type '_'
1 | struct Int8 {
2 | public static func - (lhs: Int8, rhs: Int8) -> Int8}
| `- note: '-' produces 'Int8', not the expected contextual result type '_'
3 |
Swift.UInt16.-:2:20: note: '-' produces 'UInt16', not the expected contextual result type '_'
1 | struct UInt16 {
2 | public static func - (lhs: UInt16, rhs: UInt16) -> UInt16}
| `- note: '-' produces 'UInt16', not the expected contextual result type '_'
3 |
Swift.Int16.-:2:20: note: '-' produces 'Int16', not the expected contextual result type '_'
1 | struct Int16 {
2 | public static func - (lhs: Int16, rhs: Int16) -> Int16}
| `- note: '-' produces 'Int16', not the expected contextual result type '_'
3 |
Swift.UInt32.-:2:20: note: '-' produces 'UInt32', not the expected contextual result type '_'
1 | struct UInt32 {
2 | public static func - (lhs: UInt32, rhs: UInt32) -> UInt32}
| `- note: '-' produces 'UInt32', not the expected contextual result type '_'
3 |
Swift.Int32.-:2:20: note: '-' produces 'Int32', not the expected contextual result type '_'
1 | struct Int32 {
2 | public static func - (lhs: Int32, rhs: Int32) -> Int32}
| `- note: '-' produces 'Int32', not the expected contextual result type '_'
3 |
Swift.UInt64.-:2:20: note: '-' produces 'UInt64', not the expected contextual result type '_'
1 | struct UInt64 {
2 | public static func - (lhs: UInt64, rhs: UInt64) -> UInt64}
| `- note: '-' produces 'UInt64', not the expected contextual result type '_'
3 |
Swift.Int64.-:2:20: note: '-' produces 'Int64', not the expected contextual result type '_'
1 | struct Int64 {
2 | public static func - (lhs: Int64, rhs: Int64) -> Int64}
| `- note: '-' produces 'Int64', not the expected contextual result type '_'
3 |
Swift.UInt.-:2:20: note: '-' produces 'UInt', not the expected contextual result type '_'
1 | struct UInt {
2 | public static func - (lhs: UInt, rhs: UInt) -> UInt}
| `- note: '-' produces 'UInt', not the expected contextual result type '_'
3 |
Swift.Int.-:2:20: note: '-' produces 'Int', not the expected contextual result type '_'
1 | struct Int {
2 | public static func - (lhs: Int, rhs: Int) -> Int}
| `- note: '-' produces 'Int', not the expected contextual result type '_'
3 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 | struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: Duration) -> ContinuousClock.Instant }
| `- note: '-' produces 'ContinuousClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.ContinuousClock.Instant.-:3:31: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct ContinuousClock {
2 | struct Instant {
3 | @inlinable public static func - (lhs: ContinuousClock.Instant, rhs: ContinuousClock.Instant) -> Duration }
| `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 | struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: Duration) -> SuspendingClock.Instant }
| `- note: '-' produces 'SuspendingClock.Instant', not the expected contextual result type '_'
4 | }
5 |
_Concurrency.SuspendingClock.Instant.-:3:20: note: '-' produces 'Duration', not the expected contextual result type '_'
1 | struct SuspendingClock {
2 | struct Instant {
3 | public static func - (lhs: SuspendingClock.Instant, rhs: SuspendingClock.Instant) -> Duration }
| `- note: '-' produces 'Duration', not the expected contextual result type '_'
4 | }
5 |
Swift.FloatingPoint.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol FloatingPoint {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.AdditiveArithmetic.-:2:13: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol AdditiveArithmetic {
2 | static func - (lhs: Self, rhs: Self) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.BinaryInteger.-:2:22: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol BinaryInteger {
2 | override static func - (lhs: Self, rhs: Self) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.Strideable.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol Strideable {
2 | public static func - (lhs: Self, rhs: Self.Stride) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.Strideable.-:2:20: note: '-' produces 'Self.Stride', not the expected contextual result type '_'
1 | protocol Strideable {
2 | public static func - (lhs: Self, rhs: Self) -> Self.Stride}
| `- note: '-' produces 'Self.Stride', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self.Scalar, b: Self) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
Swift.SIMD.-:2:20: note: '-' produces '_', not the expected contextual result type '_'
1 | protocol SIMD {
2 | public static func - (a: Self, b: Self.Scalar) -> Self}
| `- note: '-' produces '_', not the expected contextual result type '_'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:83:31: error: cannot find type 'CGFloat' in scope
81 | targetPosition.x = constrainedBoundsOriginX + rubberBandedX
82 | let newBoundsOriginY: CGFloat = start.y - translation.y
83 | let minBoundsOriginY: CGFloat = 0.0
| `- error: cannot find type 'CGFloat' in scope
84 | let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
85 | let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:84:31: error: cannot find type 'CGFloat' in scope
82 | let newBoundsOriginY: CGFloat = start.y - translation.y
83 | let minBoundsOriginY: CGFloat = 0.0
84 | let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
| `- error: cannot find type 'CGFloat' in scope
85 | let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
86 | let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:85:39: error: cannot find type 'CGFloat' in scope
83 | let minBoundsOriginY: CGFloat = 0.0
84 | let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
85 | let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
| `- error: cannot find type 'CGFloat' in scope
86 | let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
87 | targetPosition.y = constrainedBoundsOriginY + rubberBandedY
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:86:28: error: cannot find type 'CGFloat' in scope
84 | let maxBoundsOriginY: CGFloat = contentSize.height - bounds.size.height
85 | let constrainedBoundsOriginY: CGFloat = max(minBoundsOriginY, min(newBoundsOriginY, maxBoundsOriginY))
86 | let rubberBandedY: CGFloat = rubberBandDistance(newBoundsOriginY - constrainedBoundsOriginY, bounds.height)
| `- error: cannot find type 'CGFloat' in scope
87 | targetPosition.y = constrainedBoundsOriginY + rubberBandedY
88 | self.contentOffset = targetPosition
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:132:19: error: cannot find type 'CGFloat' in scope
130 |
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
132 | let constant: CGFloat = 0.55
| `- error: cannot find type 'CGFloat' in scope
133 | let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
134 | // The algorithm expects a positive offset, so we have to negate the result if the offset was negative.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:133:17: error: cannot find type 'CGFloat' in scope
131 | private func rubberBandDistance(_ offset: CGFloat, _ dimension: CGFloat) -> CGFloat {
132 | let constant: CGFloat = 0.55
133 | let result: CGFloat = (constant * abs(offset) * dimension) / (dimension + constant * abs(offset))
| `- error: cannot find type 'CGFloat' in scope
134 | // The algorithm expects a positive offset, so we have to negate the result if the offset was negative.
135 | return offset < 0.0 ? -result : result
/Users/admin/builder/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 {
/Users/admin/builder/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 {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile scroll.layoutGuide.cglayout.swift
SwiftCompile normal arm64 Compiling\ workspace.cglayout.swift,\ layoutBlock.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
/Users/admin/builder/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) }
/Users/admin/builder/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) }
/Users/admin/builder/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) }
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 }
/Users/admin/builder/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 }
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }))
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile workspace.cglayout.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutBlock.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile layoutBlock.cglayout.swift
SwiftCompile normal arm64 Compiling\ layoutConstraint.cglayout.swift,\ layoutGuide.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 }
/Users/admin/builder/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 }
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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))
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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))
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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) {
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:29:23: error: cannot find type 'CGRect' in scope
27 | var inLayoutTime: ElementInLayoutTime { return self }
28 | public /// Internal space for layout subelements
29 | var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
| `- error: cannot find type 'CGRect' in scope
30 |
31 | /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:36:16: error: cannot find type 'CGRect' in scope
34 | }
35 | open /// External representation of layout entity in coordinate space
36 | var frame: CGRect {
| `- error: cannot find type 'CGRect' in scope
37 | didSet {
38 | // if oldValue != frame { bounds = contentRect(forFrame: frame) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:44:17: error: cannot find type 'CGRect' in scope
42 | }
43 | open /// Internal coordinate space of layout entity
44 | var bounds: CGRect { didSet { layout() } }
| `- error: cannot find type 'CGRect' in scope
45 | open /// Layout element that maintained this layout entity
46 | var superElement: LayoutElement? { return ownerElement }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:75:54: error: cannot find type 'CGRect' in scope
73 | /// - Parameter frame: New frame value.
74 | /// - Returns: Content rect
75 | open func contentRect(forFrame frame: CGRect) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
76 | return CGRect(origin: .zero, size: frame.size)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:75:43: error: cannot find type 'CGRect' in scope
73 | /// - Parameter frame: New frame value.
74 | /// - Returns: Content rect
75 | open func contentRect(forFrame frame: CGRect) -> CGRect {
| `- error: cannot find type 'CGRect' in scope
76 | return CGRect(origin: .zero, size: frame.size)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:63:31: error: cannot find type 'CGRect' in scope
61 | ///
62 | /// - Parameter rect: Space for layout
63 | open func layout(in rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
64 | // subclass override
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:50:24: error: cannot find type 'CGRect' in scope
48 | func removeFromSuperElement() { ownerElement = nil }
49 |
50 | public init(frame: CGRect = .zero) {
| `- error: cannot find type 'CGRect' in scope
51 | self.frame = frame
52 | self.bounds = CGRect(origin: .zero, size: frame.size)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:227:40: error: cannot find type 'CGRect' in scope
225 | }
226 |
227 | open override func layout(in rect: CGRect) {
| `- error: cannot find type 'CGRect' in scope
228 | itemLayout.layout(in: rect)
229 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:29:39: error: cannot find 'CGRect' in scope
27 | var inLayoutTime: ElementInLayoutTime { return self }
28 | public /// Internal space for layout subelements
29 | var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
| `- error: cannot find 'CGRect' in scope
30 |
31 | /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:29:54: error: cannot find 'CGPoint' in scope
27 | var inLayoutTime: ElementInLayoutTime { return self }
28 | public /// Internal space for layout subelements
29 | var layoutBounds: CGRect { return CGRect(origin: CGPoint(x: frame.origin.x + bounds.origin.x, y: frame.origin.y + bounds.origin.y), size: bounds.size) }
| `- error: cannot find 'CGPoint' in scope
30 |
31 | /// Layout element where added this layout guide. For addition use `func add(layoutGuide:)`.
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:52:23: error: cannot find 'CGRect' in scope
50 | public init(frame: CGRect = .zero) {
51 | self.frame = frame
52 | self.bounds = CGRect(origin: .zero, size: frame.size)
| `- error: cannot find 'CGRect' in scope
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:76:16: error: cannot find 'CGRect' in scope
74 | /// - Returns: Content rect
75 | open func contentRect(forFrame frame: CGRect) -> CGRect {
76 | return CGRect(origin: .zero, size: frame.size)
| `- error: cannot find 'CGRect' in scope
77 | }
78 |
/Users/admin/builder/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.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutConstraint.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile layoutConstraint.cglayout.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile layoutGuide.cglayout.swift
SwiftCompile normal arm64 Compiling\ support.cglayout.swift /Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift (in target 'CGLayout' from project 'CGLayout')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile support.cglayout.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ CGLayout (in target 'CGLayout' from project 'CGLayout')
SwiftCompile normal arm64 (in target 'CGLayout' from project 'CGLayout')
Building project CGLayout with scheme CGLayout-Package
(3 failures)
BUILD FAILURE 6.4 watchOS