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 RainbowUI, reference main (a07e1d), with Swift 6.1 for macOS (SPM) on 4 May 2025 18:19:27 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sakrist/RainbowUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sakrist/RainbowUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a07e1de fix corners
Cloned https://github.com/sakrist/RainbowUI.git
Revision (git rev-parse @):
a07e1dee2c56f18b050d794c86bcf686fd28a51e
SUCCESS checkout https://github.com/sakrist/RainbowUI.git at main
========================================
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",
  "dependencies": [
    {
      "identity": "rainbowui",
      "name": "RainbowUI",
      "url": "https://github.com/sakrist/RainbowUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RainbowUI",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/sakrist/RainbowUI.git
[1/90] Fetching rainbowui
Fetched https://github.com/sakrist/RainbowUI.git from cache (0.86s)
Creating working copy for https://github.com/sakrist/RainbowUI.git
Working copy of https://github.com/sakrist/RainbowUI.git resolved at main (a07e1de)
warning: '.resolve-product-dependencies': dependency 'rainbowui' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sakrist/RainbowUI.git
https://github.com/sakrist/RainbowUI.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RainbowUI",
  "name" : "RainbowUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "RainbowUI",
      "targets" : [
        "RainbowUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RainbowUI",
      "module_type" : "SwiftTarget",
      "name" : "RainbowUI",
      "path" : "Sources/RainbowUI",
      "product_memberships" : [
        "RainbowUI"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/RainbowUI/Shaders/Shaders.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Gradient.swift",
        "RainbowBorder.swift",
        "RainbowButtonStyle.swift",
        "RainbowHelper.swift",
        "RainbowView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/3] Write sources
[1/3] Copying Shaders.metal
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/10] Compiling RainbowUI resource_bundle_accessor.swift
[5/10] Compiling RainbowUI RainbowBorder.swift
[6/10] Compiling RainbowUI RainbowHelper.swift
[7/10] Compiling RainbowUI Gradient.swift
[8/10] Compiling RainbowUI RainbowButtonStyle.swift
macro expansion #Preview:22:44: warning: no calls to throwing functions occur within 'try' expression
`- /Users/admin/builder/spi-builder-workspace/Sources/RainbowUI/RainbowButtonStyle.swift:76:2: note: expanded code originates here
74 | //        .rainbowBorder()
75 |     }
76 | }
   +--- macro expansion #Preview ---------------------------------------
   |20 |                     Button {
   |21 |                         print("Button tapped!")
   |22 |                         guard let device = try? MTLCreateSystemDefaultDevice() else {
   |   |                                            `- warning: no calls to throwing functions occur within 'try' expression
   |23 |                             fatalError("Unable to create default device")
   |24 |                         }
   +--------------------------------------------------------------------
77 |
78 |
[9/10] Compiling RainbowUI RainbowView.swift
[10/10] Emitting module RainbowUI
Build complete! (9.06s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RainbowUI",
  "name" : "RainbowUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "RainbowUI",
      "targets" : [
        "RainbowUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RainbowUI",
      "module_type" : "SwiftTarget",
      "name" : "RainbowUI",
      "path" : "Sources/RainbowUI",
      "product_memberships" : [
        "RainbowUI"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/RainbowUI/Shaders/Shaders.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Gradient.swift",
        "RainbowBorder.swift",
        "RainbowButtonStyle.swift",
        "RainbowHelper.swift",
        "RainbowView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.