The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CGLayout, reference 0.7.2 (c059f2), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 21:40:52 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: 0.7.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/k-o-d-e-n/CGLayout
 * tag               0.7.2      -> FETCH_HEAD
HEAD is now at c059f2f 0.7.2
Cloned https://github.com/k-o-d-e-n/CGLayout.git
Revision (git rev-parse @):
c059f2f8d5d87fda9ba101028986530dceb0ac6e
SUCCESS checkout https://github.com/k-o-d-e-n/CGLayout.git at 0.7.2
========================================
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 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()
    |             `- 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()
[4/19] 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()
    |             `- 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()
[5/19] Compiling CGLayout coordinate.cglayout.swift
[6/19] Compiling CGLayout core.cglayout.swift
[7/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
[8/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
[9/20] Compiling CGLayout deprecated.cglayout.swift
[10/20] Compiling CGLayout anchors.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 private.cglayout.swift
[13/20] Compiling CGLayout rtl.cglayout.swift
[14/20] Compiling CGLayout workspace.cglayout.swift
[15/20] Compiling CGLayout layoutBlock.cglayout.swift
[16/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)
[17/20] Compiling CGLayout layoutConstraint.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:166:9: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
164 |     /// - Parameter layoutGuide: Layout guide for binding
165 |     func add<T: CALayer>(layoutGuide: LayoutGuide<T>) {
166 |         unsafeBitCast(layoutGuide, to: LayoutGuide<CALayer>.self).ownerElement = self
    |         `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
167 |     }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:186:13: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
184 |         /// - Parameter layoutGuide: Layout guide for binding
185 |         func add<T: NSView>(layoutGuide: LayoutGuide<T>) {
186 |             unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
    |             `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
187 |         }
188 |     }
[18/20] Compiling CGLayout layoutGuide.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:166:9: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
164 |     /// - Parameter layoutGuide: Layout guide for binding
165 |     func add<T: CALayer>(layoutGuide: LayoutGuide<T>) {
166 |         unsafeBitCast(layoutGuide, to: LayoutGuide<CALayer>.self).ownerElement = self
    |         `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
167 |     }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:186:13: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
184 |         /// - Parameter layoutGuide: Layout guide for binding
185 |         func add<T: NSView>(layoutGuide: LayoutGuide<T>) {
186 |             unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
    |             `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
187 |         }
188 |     }
[19/20] Compiling CGLayout stack.layoutGuide.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:426:39: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
424 |     ///   - index: Index in list.
425 |     public func insertArrangedElement<T: CALayer>(_ item: LayoutGuide<T>, at index: Int) {
426 |         ownerElement?.addChildElement(unsafeBitCast(item, to: LayoutGuide<CALayer>.self))
    |                                       `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
427 |         items.insert(item, at: index)
428 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:470:39: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
468 |     ///   - index: Index in list.
469 |     public func insertArrangedElement<T: NSView>(_ element: LayoutGuide<T>, at index: Int) {
470 |         ownerElement?.addChildElement(unsafeBitCast(element, to: LayoutGuide<NSView>.self))
    |                                       `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
471 |         items.insert(element, at: index)
472 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:490:39: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
488 |     ///   - index: Index in list.
489 |     public func insertArrangedElement<T: CALayer>(_ element: LayoutGuide<T>, at index: Int) {
490 |         ownerElement?.addChildElement(unsafeBitCast(element, to: LayoutGuide<CALayer>.self))
    |                                       `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
491 |         items.insert(element, at: index)
492 |     }
[20/20] Compiling CGLayout support.cglayout.swift
Build complete! (7.26s)
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.