The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of PrettyColors, reference 5.0.2 (afd455), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 03:23:07 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jdhealy/PrettyColors.git
Reference: 5.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jdhealy/PrettyColors
 * tag               5.0.2      -> FETCH_HEAD
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 5.0.2
========================================
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": "prettycolors",
      "name": "PrettyColors",
      "url": "https://github.com/jdhealy/PrettyColors.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PrettyColors",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jdhealy/PrettyColors.git
[1/1115] Fetching prettycolors
Fetched https://github.com/jdhealy/PrettyColors.git from cache (0.93s)
Creating working copy for https://github.com/jdhealy/PrettyColors.git
Working copy of https://github.com/jdhealy/PrettyColors.git resolved at 5.0.2 (afd4553)
warning: '.resolve-product-dependencies': dependency 'prettycolors' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jdhealy/PrettyColors.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.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
223 | 	}
224 |
225 | 	public mutating func reserveCapacity(_ minimumCapacity: UnderlyingCollection.IndexDistance) {
    |                                                                               `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int
226 | 		parameters.reserveCapacity(minimumCapacity)
227 | 	}
[4/9] Compiling PrettyColors ECMA 48.swift
[5/9] Compiling PrettyColors StyleParameter.swift
[6/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
223 | 	}
224 |
225 | 	public mutating func reserveCapacity(_ minimumCapacity: UnderlyingCollection.IndexDistance) {
    |                                                                               `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int
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
 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
    |     `- 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
 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
    |     `- 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
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
    |                     `- 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
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
    |                     `- note: use 'compactMap(_:)' instead
137 | 				self.filter(level: .background, inverse: true) // All non-background parameters
138 | 		}
[7/9] Compiling PrettyColors Color · Named.swift
[8/9] Compiling PrettyColors Color.swift
[9/9] Compiling PrettyColors Color · EightBit.swift
Build complete! (3.09s)
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.