Build Information
Successful build of CGLayout, reference master (62d3ab
), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 21:40:48 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/k-o-d-e-n/CGLayout.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/k-o-d-e-n/CGLayout
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 62d3ab1 Update README.md
Cloned https://github.com/k-o-d-e-n/CGLayout.git
Revision (git rev-parse @):
62d3ab15e690bb56136e924a9be7115583f3a94b
SUCCESS checkout https://github.com/k-o-d-e-n/CGLayout.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/k-o-d-e-n/CGLayout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/19] Compiling CGLayout common.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
[4/19] Compiling CGLayout container.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
[5/20] Compiling CGLayout backend.anchors.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
177 | public func get(for rect: CGRect) -> CGFloat { return get(rect) }
178 | }
179 | public struct CenterAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
180 | public let axis = CGRectAxis.xy
181 | public var horizontal: AxisCenterAnchor<CGRectAxis.Horizontal> { return .horizontal }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
193 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
196 | public let axis = CGRectAxis.xy
197 | let horizontalAnchor: HorizontalAnchor
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
209 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
| |- warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGSize')
212 | public typealias Metric = CGSize
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/system.cglayout.swift:35:13: warning: capture of non-sendable type 'Item.Type' in an isolated closure
33 | private func scheduleLayout() {
34 | RunLoop.current.perform {
35 | self.scheme.layout(in: self.item.layoutBounds)
| `- warning: capture of non-sendable type 'Item.Type' in an isolated closure
36 | self.isNeedLayout = false
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/system.cglayout.swift:33:18: warning: capture of non-sendable type 'Item.Type' in an isolated closure
31 | }
32 |
33 | private func scheduleLayout() {
| `- warning: capture of non-sendable type 'Item.Type' in an isolated closure
34 | RunLoop.current.perform {
35 | self.scheme.layout(in: self.item.layoutBounds)
[6/20] Compiling CGLayout system.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
177 | public func get(for rect: CGRect) -> CGFloat { return get(rect) }
178 | }
179 | public struct CenterAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
180 | public let axis = CGRectAxis.xy
181 | public var horizontal: AxisCenterAnchor<CGRectAxis.Horizontal> { return .horizontal }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
193 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
196 | public let axis = CGRectAxis.xy
197 | let horizontalAnchor: HorizontalAnchor
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
209 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
| |- warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGSize')
212 | public typealias Metric = CGSize
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/system.cglayout.swift:35:13: warning: capture of non-sendable type 'Item.Type' in an isolated closure
33 | private func scheduleLayout() {
34 | RunLoop.current.perform {
35 | self.scheme.layout(in: self.item.layoutBounds)
| `- warning: capture of non-sendable type 'Item.Type' in an isolated closure
36 | self.isNeedLayout = false
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/system.cglayout.swift:33:18: warning: capture of non-sendable type 'Item.Type' in an isolated closure
31 | }
32 |
33 | private func scheduleLayout() {
| `- warning: capture of non-sendable type 'Item.Type' in an isolated closure
34 | RunLoop.current.perform {
35 | self.scheme.layout(in: self.item.layoutBounds)
[7/20] Compiling CGLayout deprecated.cglayout.swift
[8/20] Compiling CGLayout anchors.cglayout.swift
[9/20] Compiling CGLayout coordinate.cglayout.swift
[10/20] Compiling CGLayout core.cglayout.swift
[11/20] Emitting module CGLayout
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
177 | public func get(for rect: CGRect) -> CGFloat { return get(rect) }
178 | }
179 | public struct CenterAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
180 | public let axis = CGRectAxis.xy
181 | public var horizontal: AxisCenterAnchor<CGRectAxis.Horizontal> { return .horizontal }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
193 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
196 | public let axis = CGRectAxis.xy
197 | let horizontalAnchor: HorizontalAnchor
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
209 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
| |- warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGSize')
212 | public typealias Metric = CGSize
213 | }
[12/20] Compiling CGLayout scroll.layoutGuide.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:188:17: warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
186 | self.velocity += F * CGFloat(physicsTimeStep)
187 | // print("v:", velocity, oldVelocity)
188 | let oldPosition = self.position
| `- warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
189 | self.position += -velocity * CGFloat(physicsTimeStep)
190 | // print("p:", oldPosition, self.position)
[13/20] Compiling CGLayout layoutConstraint.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:164:9: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
162 | /// - Parameter layoutGuide: Layout guide for binding
163 | func add<T: CALayer>(layoutGuide: LayoutGuide<T>) {
164 | unsafeBitCast(layoutGuide, to: LayoutGuide<CALayer>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
165 | }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:184:13: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
182 | /// - Parameter layoutGuide: Layout guide for binding
183 | func add<T: NSView>(layoutGuide: LayoutGuide<T>) {
184 | unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
185 | }
186 | }
[14/20] Compiling CGLayout layoutGuide.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:164:9: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
162 | /// - Parameter layoutGuide: Layout guide for binding
163 | func add<T: CALayer>(layoutGuide: LayoutGuide<T>) {
164 | unsafeBitCast(layoutGuide, to: LayoutGuide<CALayer>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
165 | }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:184:13: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
182 | /// - Parameter layoutGuide: Layout guide for binding
183 | func add<T: NSView>(layoutGuide: LayoutGuide<T>) {
184 | unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
185 | }
186 | }
[15/20] Compiling CGLayout private.cglayout.swift
[16/20] Compiling CGLayout rtl.cglayout.swift
[17/20] Compiling CGLayout stack.layoutGuide.cglayout.swift
[18/20] Compiling CGLayout workspace.cglayout.swift
[19/20] Compiling CGLayout layoutBlock.cglayout.swift
[20/20] Compiling CGLayout support.cglayout.swift
Build complete! (7.78s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CGLayout",
"name" : "CGLayout",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CGLayout",
"targets" : [
"CGLayout"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CGLayoutTests",
"module_type" : "SwiftTarget",
"name" : "CGLayoutTests",
"path" : "Tests/CGLayoutTests",
"sources" : [
"CGLayoutTests.swift",
"Tests.swift",
"XCTestManifests.swift",
"support_linux.tests.swift"
],
"target_dependencies" : [
"CGLayout"
],
"type" : "test"
},
{
"c99name" : "CGLayout",
"module_type" : "SwiftTarget",
"name" : "CGLayout",
"path" : "Sources/Classes",
"product_memberships" : [
"CGLayout"
],
"sources" : [
"common.cglayout.swift",
"container.cglayout.swift",
"coordinate.cglayout.swift",
"core.cglayout.swift",
"deprecated.cglayout.swift",
"evolution.cglayout/anchors.cglayout.swift",
"evolution.cglayout/backend.anchors.cglayout.swift",
"evolution.cglayout/system.cglayout.swift",
"evolution.cglayout/workspace.cglayout.swift",
"layoutBlock.cglayout.swift",
"layoutConstraint.cglayout.swift",
"layoutGuide.cglayout.swift",
"private.cglayout.swift",
"rtl.cglayout.swift",
"scroll.layoutGuide.cglayout.swift",
"stack.layoutGuide.cglayout.swift",
"support.cglayout.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.