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 1.0.0 (73c37a), with Swift 6.0 for macOS (SPM) on 18 Feb 2025 20:49:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gregmturek/color-perception.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gregmturek/color-perception
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 73c37a8 Initial local commit
Cloned https://github.com/gregmturek/color-perception.git
Revision (git rev-parse @):
73c37a85f1846a98d3b1e6c629888f31d45af909
SUCCESS checkout https://github.com/gregmturek/color-perception.git at 1.0.0
========================================
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": "color-perception",
      "name": "ColorPerception",
      "url": "https://github.com/gregmturek/color-perception.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/color-perception",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/gregmturek/color-perception.git
[1/24] Fetching color-perception
Fetched https://github.com/gregmturek/color-perception.git from cache (0.66s)
Creating working copy for https://github.com/gregmturek/color-perception.git
Working copy of https://github.com/gregmturek/color-perception.git resolved at 1.0.0 (73c37a8)
warning: '.resolve-product-dependencies': dependency 'color-perception' 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/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.2.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-5BDAB9E9C0126B9D.txt
[3/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 {
[4/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 {
[5/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 {
[6/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 {
[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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/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 {
[9/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 {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.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 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 {
[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 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/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 {
BUILD FAILURE 6.0 macosSpm