The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CGLayout, reference master (62d3ab), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 18:31:32 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "cglayout",
      "name": "CGLayout",
      "url": "https://github.com/k-o-d-e-n/CGLayout.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CGLayout",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/k-o-d-e-n/CGLayout.git
[1/2754] Fetching cglayout
Fetched https://github.com/k-o-d-e-n/CGLayout.git from cache (1.40s)
Creating working copy for https://github.com/k-o-d-e-n/CGLayout.git
Working copy of https://github.com/k-o-d-e-n/CGLayout.git resolved at master (62d3ab1)
warning: '.resolve-product-dependencies': dependency 'cglayout' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/k-o-d-e-n/CGLayout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/19] 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)
[4/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 | }
[5/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 | }
[6/20] Compiling CGLayout private.cglayout.swift
[7/20] Compiling CGLayout rtl.cglayout.swift
[8/20] Compiling CGLayout workspace.cglayout.swift
[9/20] Compiling CGLayout layoutBlock.cglayout.swift
[10/20] 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
[11/20] 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
[12/20] Compiling CGLayout deprecated.cglayout.swift
[13/20] Compiling CGLayout anchors.cglayout.swift
[14/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 |     }
[15/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 |     }
[16/20] Compiling CGLayout stack.layoutGuide.cglayout.swift
[17/20] Compiling CGLayout coordinate.cglayout.swift
[18/20] Compiling CGLayout core.cglayout.swift
[19/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 | }
[20/20] Compiling CGLayout support.cglayout.swift
Build complete! (8.62s)
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.