The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CGLayout, reference 0.7.2 (c059f2), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 07:24:38 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/k-o-d-e-n/CGLayout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[31 / 40] CGLayout
[32 / 40] CGLayout
[37 / 40] CGLayout
[39 / 40] CGLayout
Build complete! (11.07 sec)
/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 | }
/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/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 |     }
/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/scroll.layoutGuide.cglayout.swift:188:17: warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
189 |             self.position += -velocity * CGFloat(physicsTimeStep)
190 | //            print("p:", oldPosition, self.position)
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/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 |     }
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.