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.0 for macOS (SPM) on 4 May 2025 18:19:31 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.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/sakrist/RainbowUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Shaders.metal
[2/3] Write swift-version-5BDAB9E9C0126B9D.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
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 RainbowHelper.swift
[6/10] Compiling RainbowUI resource_bundle_accessor.swift
[7/10] Compiling RainbowUI RainbowBorder.swift
[8/10] Compiling RainbowUI Gradient.swift
[9/10] Emitting module RainbowUI
[10/10] Compiling RainbowUI RainbowView.swift
Build complete! (8.89s)
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.