The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of LayoutUI, reference master (8cc8e3), with Swift 6.0 for macOS (SPM) on 31 Aug 2025 01:28:26 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/k-o-d-e-n/LayoutUI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/k-o-d-e-n/LayoutUI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8cc8e3d Last changes
Cloned https://github.com/k-o-d-e-n/LayoutUI.git
Revision (git rev-parse @):
8cc8e3d6ba1d17c258ef6d51f44db9027e928c27
SUCCESS checkout https://github.com/k-o-d-e-n/LayoutUI.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/k-o-d-e-n/LayoutUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/14] Compiling LayoutUI UIKit+AppKit.swift
[4/14] Compiling LayoutUI ViewBasedLayout.swift
[5/14] Compiling LayoutUI StackLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/LayoutUI/StackLayout.swift:37:32: warning: static property 'null' cannot be used in an '@inlinable' function because 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
 35 |     @inline(__always)
 36 |     public func layout(to rect: inout CGRect, with view: Scheme.View, in source: CGRect) {
 37 |         var unionRect = CGRect.null
    |                                |- warning: static property 'null' cannot be used in an '@inlinable' function because '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
 38 |         for element in data {
 39 |             var r = source
/Users/admin/builder/spi-builder-workspace/Sources/LayoutUI/StackLayout.swift:41:35: warning: instance method 'union' cannot be used in an '@inlinable' function because 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
 39 |             var r = source
 40 |             scheme(element).layout(to: &r, with: view, in: source)
 41 |             unionRect = unionRect.union(r)
    |                                   |- warning: instance method 'union' cannot be used in an '@inlinable' function because '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
 42 |         }
 43 |         rect = unionRect
/Users/admin/builder/spi-builder-workspace/Sources/LayoutUI/StackLayout.swift:188:32: warning: static property 'null' cannot be used in an '@inlinable' function because 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
186 |     @inline(__always)
187 |     public func layout(to rect: inout CGRect, with view: Scheme.View, in source: CGRect) {
188 |         var unionRect = CGRect.null
    |                                |- warning: static property 'null' cannot be used in an '@inlinable' function because '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
189 |         reducer.reduce(source) { result, element -> SublayoutForRectCalculating<Scheme> in
190 |             let l = scheme(result, element)
[6/14] Compiling LayoutUI StackLayouts.swift
[7/14] Compiling LayoutUI LayoutBuilder.swift
[8/14] Compiling LayoutUI LayoutBuilders.swift
[9/14] Compiling LayoutUI RectAccessors.swift
[10/14] Compiling LayoutUI RectBasedLayout.swift
[11/14] Compiling LayoutUI RectLayouts.swift
[12/14] Compiling LayoutUI RectConstraints.swift
[13/14] Emitting module LayoutUI
/Users/admin/builder/spi-builder-workspace/Sources/LayoutUI/StackLayout.swift:37:32: warning: static property 'null' cannot be used in an '@inlinable' function because 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
 35 |     @inline(__always)
 36 |     public func layout(to rect: inout CGRect, with view: Scheme.View, in source: CGRect) {
 37 |         var unionRect = CGRect.null
    |                                |- warning: static property 'null' cannot be used in an '@inlinable' function because '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
 38 |         for element in data {
 39 |             var r = source
/Users/admin/builder/spi-builder-workspace/Sources/LayoutUI/StackLayout.swift:41:35: warning: instance method 'union' cannot be used in an '@inlinable' function because 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
 39 |             var r = source
 40 |             scheme(element).layout(to: &r, with: view, in: source)
 41 |             unionRect = unionRect.union(r)
    |                                   |- warning: instance method 'union' cannot be used in an '@inlinable' function because '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
 42 |         }
 43 |         rect = unionRect
/Users/admin/builder/spi-builder-workspace/Sources/LayoutUI/StackLayout.swift:188:32: warning: static property 'null' cannot be used in an '@inlinable' function because 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
186 |     @inline(__always)
187 |     public func layout(to rect: inout CGRect, with view: Scheme.View, in source: CGRect) {
188 |         var unionRect = CGRect.null
    |                                |- warning: static property 'null' cannot be used in an '@inlinable' function because '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
189 |         reducer.reduce(source) { result, element -> SublayoutForRectCalculating<Scheme> in
190 |             let l = scheme(result, element)
[14/14] Compiling LayoutUI SwiftUI.swift
[15/15] Compiling LayoutUI ViewConstraints.swift
Build complete! (8.15s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LayoutUI",
  "name" : "LayoutUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "LayoutUI",
      "targets" : [
        "LayoutUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LayoutUITests",
      "module_type" : "SwiftTarget",
      "name" : "LayoutUITests",
      "path" : "Tests/LayoutUITests",
      "sources" : [
        "LayoutUITests.swift"
      ],
      "target_dependencies" : [
        "LayoutUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LayoutUI",
      "module_type" : "SwiftTarget",
      "name" : "LayoutUI",
      "path" : "Sources/LayoutUI",
      "product_memberships" : [
        "LayoutUI"
      ],
      "sources" : [
        "LayoutBuilder.swift",
        "LayoutBuilders.swift",
        "RectAccessors.swift",
        "RectBasedLayout.swift",
        "RectConstraints.swift",
        "RectLayouts.swift",
        "StackLayout.swift",
        "StackLayouts.swift",
        "SwiftUI.swift",
        "UIKit+AppKit.swift",
        "ViewBasedLayout.swift",
        "ViewConstraints.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.