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 RandomColor, reference 2.0.0 (ab01c6), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 03:10:53 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/onevcat/RandomColorSwift.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/onevcat/RandomColorSwift
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at ab01c6e Update readme
Cloned https://github.com/onevcat/RandomColorSwift.git
Revision (git rev-parse @):
ab01c6eff99f40c5e23ffcb957eb3971f937f106
SUCCESS checkout https://github.com/onevcat/RandomColorSwift.git at 2.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/onevcat/RandomColorSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/7] Compiling RandomColor Luminosity.swift
[4/7] Compiling RandomColor ColorDefinition.swift
[5/7] Emitting module RandomColor
[6/7] Compiling RandomColor RandomColor.swift
/Users/admin/builder/spi-builder-workspace/RandomColor/RandomColor.swift:134:13: warning: variable 'color' was never mutated; consider changing to 'let' constant
132 |
133 |     func pickBrightness(color: ColorDefinition, saturationValue: Int, luminosity: Luminosity) -> Int {
134 |         var color = color
    |             `- warning: variable 'color' was never mutated; consider changing to 'let' constant
135 |
136 |         func getMinimumBrightness(saturationValue: Int) -> Int {
[7/7] Compiling RandomColor Hue.swift
Build complete! (5.59s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RandomColor",
  "name" : "RandomColor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "RandomColor",
      "targets" : [
        "RandomColor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RandomColor",
      "module_type" : "SwiftTarget",
      "name" : "RandomColor",
      "path" : "RandomColor",
      "product_memberships" : [
        "RandomColor"
      ],
      "sources" : [
        "ColorDefinition.swift",
        "Hue.swift",
        "Luminosity.swift",
        "RandomColor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.