The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PrettyColors, reference master (afd455), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 23:42:45 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/jdhealy/PrettyColors.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jdhealy/PrettyColors
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at afd4553 Version `5.0.2`.
Submodule path 'Supporting Files/Configuration Support': checked out 'e95b87a2bd6cb0afd94d250399dad91663185bec'
Submodule 'Supporting Files/Configuration Support' (https://github.com/jdhealy/FABConfig.git) registered for path 'Supporting Files/Configuration Support'
Cloning into '/Users/admin/builder/spi-builder-workspace/Supporting Files/Configuration Support'...
Cloned https://github.com/jdhealy/PrettyColors.git
Revision (git rev-parse @):
afd4553a4db6f656521cfe9b1f70bece2748c7d8
SUCCESS checkout https://github.com/jdhealy/PrettyColors.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jdhealy/PrettyColors.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/9] Emitting module PrettyColors
/Users/admin/builder/spi-builder-workspace/Source/ColorWrap.swift:225:79: warning: 'IndexDistance' is deprecated: all index distances are now of type Int [#DeprecatedDeclaration]
223 | 	}
224 |
225 | 	public mutating func reserveCapacity(_ minimumCapacity: UnderlyingCollection.IndexDistance) {
    |                                                                               `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int [#DeprecatedDeclaration]
226 | 		parameters.reserveCapacity(minimumCapacity)
227 | 	}
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/9] Compiling PrettyColors ECMA 48.swift
[5/9] Compiling PrettyColors StyleParameter.swift
[6/9] Compiling PrettyColors Color · Named.swift
[7/9] Compiling PrettyColors Color · EightBit.swift
[8/9] Compiling PrettyColors ColorWrap.swift
/Users/admin/builder/spi-builder-workspace/Source/ColorWrap.swift:225:79: warning: 'IndexDistance' is deprecated: all index distances are now of type Int [#DeprecatedDeclaration]
223 | 	}
224 |
225 | 	public mutating func reserveCapacity(_ minimumCapacity: UnderlyingCollection.IndexDistance) {
    |                                                                               `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int [#DeprecatedDeclaration]
226 | 		parameters.reserveCapacity(minimumCapacity)
227 | 	}
/Users/admin/builder/spi-builder-workspace/Source/ColorWrap.swift:40:5: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 38 | 			foreground.map { Color.Named(foreground: $0) },
 39 | 			background.map { Color.Named(background: $0) }
 40 | 		].flatMap { $0 } // concatenate non-nil ColorType parameters
    |     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |     `- note: use 'compactMap(_:)' instead
 41 |
 42 | 		self.init(parameters: colors + style.map { $0 as Parameter })
/Users/admin/builder/spi-builder-workspace/Source/ColorWrap.swift:53:5: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 51 | 			foreground.map { Color.EightBit(foreground: $0) },
 52 | 			background.map { Color.EightBit(background: $0) }
 53 | 		].flatMap { $0 } // concatenate non-nil ColorType parameters
    |     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |     `- note: use 'compactMap(_:)' instead
 54 |
 55 | 		self.init(parameters: colors + style.map { $0 as Parameter })
/Users/admin/builder/spi-builder-workspace/Source/ColorWrap.swift:125:21: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
123 | 		mutating set(newForeground) {
124 | 			self.parameters =
125 | 				[newForeground].flatMap { $0 } + // Empty array or array containing new foreground
    |                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                     `- note: use 'compactMap(_:)' instead
126 | 				self.filter(level: .foreground, inverse: true) // All non-foreground parameters
127 | 		}
/Users/admin/builder/spi-builder-workspace/Source/ColorWrap.swift:136:21: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
134 | 		mutating set(newBackground) {
135 | 			self.parameters =
136 | 				[newBackground].flatMap { $0 } + // Empty array or array containing new background
    |                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                     `- note: use 'compactMap(_:)' instead
137 | 				self.filter(level: .background, inverse: true) // All non-background parameters
138 | 		}
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/9] Compiling PrettyColors Color.swift
Build complete! (0.77s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PrettyColors",
  "name" : "PrettyColors",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PrettyColors",
      "targets" : [
        "PrettyColors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UnitTests",
      "module_type" : "SwiftTarget",
      "name" : "UnitTests",
      "path" : "Tests/UnitTests",
      "sources" : [
        "Equality.swift",
        "PrettyColorsTests.swift"
      ],
      "target_dependencies" : [
        "PrettyColors"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PrettyColors",
      "module_type" : "SwiftTarget",
      "name" : "PrettyColors",
      "path" : "Source",
      "product_memberships" : [
        "PrettyColors"
      ],
      "sources" : [
        "Color · EightBit.swift",
        "Color · Named.swift",
        "Color.swift",
        "ColorWrap.swift",
        "ECMA 48.swift",
        "StyleParameter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.