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

Failed to build ColorPerception, reference main (d8177c), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 15:39:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gregmturek/color-perception.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gregmturek/color-perception
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d8177ca Update README.md
Cloned https://github.com/gregmturek/color-perception.git
Revision (git rev-parse @):
d8177cabc4d2325d17cdd22ffc224f64c563129e
SUCCESS checkout https://github.com/gregmturek/color-perception.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gregmturek/color-perception.git
https://github.com/gregmturek/color-perception.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ColorPerception",
  "name" : "ColorPerception",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ColorPerception",
      "targets" : [
        "ColorPerception"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ColorPerceptionTests",
      "module_type" : "SwiftTarget",
      "name" : "ColorPerceptionTests",
      "path" : "Tests/ColorPerceptionTests",
      "sources" : [
        "ColorExtensionTests.swift",
        "ColorPerceptionUtilsTests.swift",
        "DefaultContrastPairCacheTests.swift",
        "TestHelpers.swift",
        "UIColorExtensionTests.swift"
      ],
      "target_dependencies" : [
        "ColorPerception"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ColorPerception",
      "module_type" : "SwiftTarget",
      "name" : "ColorPerception",
      "path" : "Sources/ColorPerception",
      "product_memberships" : [
        "ColorPerception"
      ],
      "sources" : [
        "ColorExtension.swift",
        "ColorPerceptionUtils.swift",
        "ContrastPairCache.swift",
        "DefaultContrastPairCache.swift",
        "PerceptualColor.swift",
        "UIColorExtension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling ColorPerception UIColorExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
[4/9] Compiling ColorPerception DefaultContrastPairCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module ColorPerception
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
[6/9] Compiling ColorPerception ContrastPairCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
[7/9] Compiling ColorPerception ColorPerceptionUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
[8/9] Compiling ColorPerception ColorExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
[9/9] Compiling ColorPerception PerceptualColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/8] Compiling ColorPerception UIColorExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
[3/8] Compiling ColorPerception PerceptualColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
[4/8] Compiling ColorPerception ContrastPairCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
[5/8] Compiling ColorPerception DefaultContrastPairCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module ColorPerception
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
[7/8] Compiling ColorPerception ColorExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
[8/8] Compiling ColorPerception ColorPerceptionUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorPerception/UIColorExtension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIColor: ColorConvertible {
BUILD FAILURE 6.1 macosSpm