The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CGLayout with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
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/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "cglayout",
      "name": "CGLayout",
      "url": "https://github.com/k-o-d-e-n/CGLayout.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CGLayout",
      "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 (0.80s)
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
warning: '.resolve-product-dependencies': dependency 'cglayout' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/16] Compiling CGLayout layoutGuide.cglayout.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:164:9: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
        unsafeBitCast(layoutGuide, to: LayoutGuide<CALayer>.self).ownerElement = self
        ^~~~~~~~~~~~~
        unsafeDowncast
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:184:13: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
            unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
            ^~~~~~~~~~~~~
            unsafeDowncast
[2/16] Compiling CGLayout private.cglayout.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:164:9: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
        unsafeBitCast(layoutGuide, to: LayoutGuide<CALayer>.self).ownerElement = self
        ^~~~~~~~~~~~~
        unsafeDowncast
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:184:13: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
            unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
            ^~~~~~~~~~~~~
            unsafeDowncast
[3/16] Compiling CGLayout system.cglayout.swift
[4/16] Compiling CGLayout workspace.cglayout.swift
[5/18] Compiling CGLayout anchors.cglayout.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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 Swift 6
public struct CenterAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: note: The missing import of module 'CoreGraphics' will be added implicitly
public struct CenterAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: note: in associated type 'Self.Metric' (inferred as 'CGPoint')
public struct CenterAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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 Swift 6
public struct OriginAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: note: The missing import of module 'CoreGraphics' will be added implicitly
public struct OriginAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: note: in associated type 'Self.Metric' (inferred as 'CGPoint')
public struct OriginAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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 Swift 6
public struct SizeAnchor: SizeRectAnchor {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: note: The missing import of module 'CoreGraphics' will be added implicitly
public struct SizeAnchor: SizeRectAnchor {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: note: in associated type 'Self.Metric' (inferred as 'CGSize')
public struct SizeAnchor: SizeRectAnchor {
              ^
[6/18] Compiling CGLayout backend.anchors.cglayout.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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 Swift 6
public struct CenterAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: note: The missing import of module 'CoreGraphics' will be added implicitly
public struct CenterAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: note: in associated type 'Self.Metric' (inferred as 'CGPoint')
public struct CenterAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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 Swift 6
public struct OriginAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: note: The missing import of module 'CoreGraphics' will be added implicitly
public struct OriginAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: note: in associated type 'Self.Metric' (inferred as 'CGPoint')
public struct OriginAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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 Swift 6
public struct SizeAnchor: SizeRectAnchor {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: note: The missing import of module 'CoreGraphics' will be added implicitly
public struct SizeAnchor: SizeRectAnchor {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: note: in associated type 'Self.Metric' (inferred as 'CGSize')
public struct SizeAnchor: SizeRectAnchor {
              ^
[7/18] Compiling CGLayout layoutBlock.cglayout.swift
[8/18] Compiling CGLayout layoutConstraint.cglayout.swift
[9/18] Compiling CGLayout core.cglayout.swift
[10/18] Compiling CGLayout deprecated.cglayout.swift
[11/18] Emitting module CGLayout
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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 Swift 6
public struct CenterAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: note: The missing import of module 'CoreGraphics' will be added implicitly
public struct CenterAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: note: in associated type 'Self.Metric' (inferred as 'CGPoint')
public struct CenterAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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 Swift 6
public struct OriginAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: note: The missing import of module 'CoreGraphics' will be added implicitly
public struct OriginAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: note: in associated type 'Self.Metric' (inferred as 'CGPoint')
public struct OriginAnchor: RectAnchorPoint {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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 Swift 6
public struct SizeAnchor: SizeRectAnchor {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: note: The missing import of module 'CoreGraphics' will be added implicitly
public struct SizeAnchor: SizeRectAnchor {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: note: in associated type 'Self.Metric' (inferred as 'CGSize')
public struct SizeAnchor: SizeRectAnchor {
              ^
[12/18] Compiling CGLayout rtl.cglayout.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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
            let oldPosition = self.position
            ~~~~^~~~~~~~~~~
            _
[13/18] Compiling CGLayout scroll.layoutGuide.cglayout.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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
            let oldPosition = self.position
            ~~~~^~~~~~~~~~~
            _
[14/18] Compiling CGLayout common.cglayout.swift
[15/18] Compiling CGLayout container.cglayout.swift
[16/18] Compiling CGLayout coordinate.cglayout.swift
[17/18] Compiling CGLayout stack.layoutGuide.cglayout.swift
[18/18] Compiling CGLayout support.cglayout.swift
Build complete! (12.99s)
Build complete.
Done.