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 0.0.4 (ac982c), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 03:46:15 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sakrist/RainbowUI.git
Reference: 0.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sakrist/RainbowUI
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at ac982c9 Update README.md
Cloned https://github.com/sakrist/RainbowUI.git
Revision (git rev-parse @):
ac982c9359a3847e6e78ae1959dc9869221c14cb
SUCCESS checkout https://github.com/sakrist/RainbowUI.git at 0.0.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sakrist/RainbowUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[0/3] Copying Shaders.metal
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/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
50 |
51 |
52 | #Preview {
   | `- note: in expansion of macro 'Preview' here
53 |     ZStack {
54 |         Button {
   :
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 |
[5/10] Compiling RainbowUI RainbowBorder.swift
[6/10] Compiling RainbowUI Gradient.swift
[7/10] Emitting module RainbowUI
[8/10] Compiling RainbowUI RainbowView.swift
[9/10] Compiling RainbowUI RainbowHelper.swift
[10/10] Compiling RainbowUI resource_bundle_accessor.swift
Build complete! (8.05s)
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.