The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DCLib, reference 1.3.0 (38999c), with Swift 6.1 for macOS (SPM) on 28 Oct 2026 05:03:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DenDmitriev/DominantColors.git
Reference: 1.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DenDmitriev/DominantColors
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at 38999cf Update README.md for up version to 1.3.0
Cloned https://github.com/DenDmitriev/DominantColors.git
Revision (git rev-parse @):
38999cf2f1aedc33e932ba0729fe441e250d7d8d
SUCCESS checkout https://github.com/DenDmitriev/DominantColors.git at 1.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/DenDmitriev/DominantColors.git
https://github.com/DenDmitriev/DominantColors.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DCLib",
  "name" : "DCLib",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "DominantColors",
      "targets" : [
        "DominantColors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DominantColorsTests",
      "module_type" : "SwiftTarget",
      "name" : "DominantColorsTests",
      "path" : "Tests/DominantColorsTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/DominantColorsTests/Media.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AverageColorTests.swift",
        "CGFloatExtensionsTests.swift",
        "CGSizeExtensionsTests.swift",
        "ColorDifferenceTest.swift",
        "ColorFrequencyTests.swift",
        "ColorShadeTests.swift",
        "ComparisonTests.swift",
        "ComplementaryColorTests.swift",
        "ContrastColorsTests.swift",
        "ContrastRatioTests.swift",
        "DeterminismTests.swift",
        "DominantColorQualityTests.swift",
        "DominantColorsTests.swift",
        "ExtractColorsTests.swift",
        "FIlterBlackWhiteTests.swift",
        "FilterImageTests.swift",
        "GradientColorsTests.swift",
        "HSLTests.swift",
        "HexTests.swift",
        "LabTests.swift",
        "RGBTests.swift",
        "RelativeLuminanceTests.swift",
        "SwiftUIColorTests.swift",
        "UIKitAPITests.swift",
        "XYZTests.swift"
      ],
      "target_dependencies" : [
        "DominantColors"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DominantColors",
      "module_type" : "SwiftTarget",
      "name" : "DominantColors",
      "path" : "Sources/DominantColors",
      "product_memberships" : [
        "DominantColors"
      ],
      "sources" : [
        "AverageColor+UIColor.swift",
        "AverageColor.swift",
        "ColorFrequency.swift",
        "ColorPalette/ContrastColors.swift",
        "Colors/ColorShade.swift",
        "Colors/HSL.swift",
        "Colors/Hex.swift",
        "Colors/Lab.swift",
        "Colors/RGB.swift",
        "Colors/RGB255.swift",
        "Colors/XYZ.swift",
        "ComplementaryColor.swift",
        "ContrastRatio.swift",
        "DeltaEFormula.swift",
        "Difference.swift",
        "DominantColorAlgorithm.swift",
        "DominantColorQuality.swift",
        "DominantColors+CIAreaAverage.swift",
        "DominantColors+CIE.swift",
        "DominantColors+CIKMeans.swift",
        "DominantColors+Color.swift",
        "DominantColors+ColorResolved.swift",
        "DominantColors+NSColor.swift",
        "DominantColors+UIColor.swift",
        "DominantColors.swift",
        "Extensions/CGFloatExtensions.swift",
        "Extensions/CGImageExtensions.swift",
        "Extensions/CGSizeExtensions.swift",
        "Extensions/NSImageExtension.swift",
        "Extensions/UIImageExtension.swift",
        "GradientColors.swift",
        "ImageColorError.swift",
        "ImageFIlter.swift",
        "ImageTrimAlpha.swift",
        "RelativeLuminance.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/35] Emitting module DominantColors
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/ImageFIlter.swift:13:16: warning: static property 'ciContext' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     /// One context for every filter pass. Creating a `CIContext` is expensive and each new one recompiles its kernels.
13 |     static let ciContext = CIContext()
   |                `- warning: static property 'ciContext' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |     /// Resize the image based on the requested quality
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
 34 |
 35 | NS_CLASS_AVAILABLE(10_4, 5_0)
 36 | @interface CIContext : NSObject
    |            `- note: class 'CIContext' does not conform to the 'Sendable' protocol
 37 | {
 38 |     void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/ImageFIlter.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 6 | //
 7 |
 8 | import CoreImage
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 9 |
10 | class ImageFilter {
11 |
12 |     /// One context for every filter pass. Creating a `CIContext` is expensive and each new one recompiles its kernels.
13 |     static let ciContext = CIContext()
   |                |- note: add '@MainActor' to make static property 'ciContext' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Resize the image based on the requested quality
[4/38] Compiling DominantColors UIImageExtension.swift
[5/38] Compiling DominantColors GradientColors.swift
[6/38] Compiling DominantColors ImageColorError.swift
[7/38] Compiling DominantColors ContrastRatio.swift
[8/38] Compiling DominantColors DeltaEFormula.swift
[9/38] Compiling DominantColors Difference.swift
[10/38] Compiling DominantColors DominantColorAlgorithm.swift
[11/38] Compiling DominantColors RGB.swift
[12/38] Compiling DominantColors RGB255.swift
[13/38] Compiling DominantColors XYZ.swift
[14/38] Compiling DominantColors ComplementaryColor.swift
[15/38] Compiling DominantColors AverageColor+UIColor.swift
[16/38] Compiling DominantColors AverageColor.swift
[17/38] Compiling DominantColors ColorFrequency.swift
[18/38] Compiling DominantColors ContrastColors.swift
[19/38] Compiling DominantColors ColorShade.swift
[20/38] Compiling DominantColors HSL.swift
[21/38] Compiling DominantColors Hex.swift
[22/38] Compiling DominantColors Lab.swift
[23/38] Compiling DominantColors ImageFIlter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/ImageFIlter.swift:13:16: warning: static property 'ciContext' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     /// One context for every filter pass. Creating a `CIContext` is expensive and each new one recompiles its kernels.
13 |     static let ciContext = CIContext()
   |                `- warning: static property 'ciContext' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |     /// Resize the image based on the requested quality
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
 34 |
 35 | NS_CLASS_AVAILABLE(10_4, 5_0)
 36 | @interface CIContext : NSObject
    |            `- note: class 'CIContext' does not conform to the 'Sendable' protocol
 37 | {
 38 |     void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/ImageFIlter.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 6 | //
 7 |
 8 | import CoreImage
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 9 |
10 | class ImageFilter {
11 |
12 |     /// One context for every filter pass. Creating a `CIContext` is expensive and each new one recompiles its kernels.
13 |     static let ciContext = CIContext()
   |                |- note: add '@MainActor' to make static property 'ciContext' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Resize the image based on the requested quality
[24/38] Compiling DominantColors ImageTrimAlpha.swift
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/ImageFIlter.swift:13:16: warning: static property 'ciContext' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     /// One context for every filter pass. Creating a `CIContext` is expensive and each new one recompiles its kernels.
13 |     static let ciContext = CIContext()
   |                `- warning: static property 'ciContext' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |     /// Resize the image based on the requested quality
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
 34 |
 35 | NS_CLASS_AVAILABLE(10_4, 5_0)
 36 | @interface CIContext : NSObject
    |            `- note: class 'CIContext' does not conform to the 'Sendable' protocol
 37 | {
 38 |     void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/ImageFIlter.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 6 | //
 7 |
 8 | import CoreImage
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 9 |
10 | class ImageFilter {
11 |
12 |     /// One context for every filter pass. Creating a `CIContext` is expensive and each new one recompiles its kernels.
13 |     static let ciContext = CIContext()
   |                |- note: add '@MainActor' to make static property 'ciContext' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Resize the image based on the requested quality
[25/38] Compiling DominantColors RelativeLuminance.swift
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/ImageFIlter.swift:13:16: warning: static property 'ciContext' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     /// One context for every filter pass. Creating a `CIContext` is expensive and each new one recompiles its kernels.
13 |     static let ciContext = CIContext()
   |                `- warning: static property 'ciContext' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |     /// Resize the image based on the requested quality
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
 34 |
 35 | NS_CLASS_AVAILABLE(10_4, 5_0)
 36 | @interface CIContext : NSObject
    |            `- note: class 'CIContext' does not conform to the 'Sendable' protocol
 37 | {
 38 |     void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/ImageFIlter.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 6 | //
 7 |
 8 | import CoreImage
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
 9 |
10 | class ImageFilter {
11 |
12 |     /// One context for every filter pass. Creating a `CIContext` is expensive and each new one recompiles its kernels.
13 |     static let ciContext = CIContext()
   |                |- note: add '@MainActor' to make static property 'ciContext' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// Resize the image based on the requested quality
[26/38] Compiling DominantColors CGImageExtensions.swift
[27/38] Compiling DominantColors CGSizeExtensions.swift
[28/38] Compiling DominantColors NSImageExtension.swift
[29/38] Compiling DominantColors DominantColorQuality.swift
[30/38] Compiling DominantColors DominantColors+CIAreaAverage.swift
[31/38] Compiling DominantColors DominantColors+CIE.swift
[32/38] Compiling DominantColors DominantColors+CIKMeans.swift
[33/38] Compiling DominantColors DominantColors+UIColor.swift
[34/38] Compiling DominantColors DominantColors.swift
[35/38] Compiling DominantColors CGFloatExtensions.swift
[36/38] Compiling DominantColors DominantColors+Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/DominantColors+Color.swift:50:16: error: 'init(cgColor:)' is only available in macOS 12.0 or newer
26 |     ///  - timeLog: Logs each step of the algorithm with time for debug.
27 |     /// - Returns: The dominant colors as array of `Color` instances.
28 |     public static func dominantSwiftUIColors(
   |                        `- note: add @available attribute to enclosing static method
29 |         image: CGImage,
30 |         quality: DominantColorQuality = .fair,
   :
48 |             timeLog: timeLog
49 |         )
50 |         .map { Color(cgColor: $0) }
   |                |- error: 'init(cgColor:)' is only available in macOS 12.0 or newer
   |                `- note: add 'if #available' version check
51 |     }
52 | }
[37/38] Compiling DominantColors DominantColors+ColorResolved.swift
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/DominantColors+Color.swift:50:16: error: 'init(cgColor:)' is only available in macOS 12.0 or newer
26 |     ///  - timeLog: Logs each step of the algorithm with time for debug.
27 |     /// - Returns: The dominant colors as array of `Color` instances.
28 |     public static func dominantSwiftUIColors(
   |                        `- note: add @available attribute to enclosing static method
29 |         image: CGImage,
30 |         quality: DominantColorQuality = .fair,
   :
48 |             timeLog: timeLog
49 |         )
50 |         .map { Color(cgColor: $0) }
   |                |- error: 'init(cgColor:)' is only available in macOS 12.0 or newer
   |                `- note: add 'if #available' version check
51 |     }
52 | }
[38/38] Compiling DominantColors DominantColors+NSColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/DominantColors+Color.swift:50:16: error: 'init(cgColor:)' is only available in macOS 12.0 or newer
26 |     ///  - timeLog: Logs each step of the algorithm with time for debug.
27 |     /// - Returns: The dominant colors as array of `Color` instances.
28 |     public static func dominantSwiftUIColors(
   |                        `- note: add @available attribute to enclosing static method
29 |         image: CGImage,
30 |         quality: DominantColorQuality = .fair,
   :
48 |             timeLog: timeLog
49 |         )
50 |         .map { Color(cgColor: $0) }
   |                |- error: 'init(cgColor:)' is only available in macOS 12.0 or newer
   |                `- note: add 'if #available' version check
51 |     }
52 | }
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/34] Emitting module DominantColors
[3/37] Compiling DominantColors RGB.swift
[4/37] Compiling DominantColors RGB255.swift
[5/37] Compiling DominantColors XYZ.swift
[6/37] Compiling DominantColors ComplementaryColor.swift
[7/37] Compiling DominantColors UIImageExtension.swift
[8/37] Compiling DominantColors GradientColors.swift
[9/37] Compiling DominantColors ImageColorError.swift
[10/37] Compiling DominantColors CGImageExtensions.swift
[11/37] Compiling DominantColors CGSizeExtensions.swift
[12/37] Compiling DominantColors NSImageExtension.swift
[13/37] Compiling DominantColors ImageFIlter.swift
[14/37] Compiling DominantColors ImageTrimAlpha.swift
[15/37] Compiling DominantColors RelativeLuminance.swift
[16/37] Compiling DominantColors ColorShade.swift
[17/37] Compiling DominantColors HSL.swift
[18/37] Compiling DominantColors Hex.swift
[19/37] Compiling DominantColors Lab.swift
[20/37] Compiling DominantColors DominantColors+UIColor.swift
[21/37] Compiling DominantColors DominantColors.swift
[22/37] Compiling DominantColors CGFloatExtensions.swift
[23/37] Compiling DominantColors ContrastRatio.swift
[24/37] Compiling DominantColors DeltaEFormula.swift
[25/37] Compiling DominantColors Difference.swift
[26/37] Compiling DominantColors DominantColorAlgorithm.swift
[27/37] Compiling DominantColors DominantColors+Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/DominantColors+Color.swift:50:16: error: 'init(cgColor:)' is only available in macOS 12.0 or newer
26 |     ///  - timeLog: Logs each step of the algorithm with time for debug.
27 |     /// - Returns: The dominant colors as array of `Color` instances.
28 |     public static func dominantSwiftUIColors(
   |                        `- note: add @available attribute to enclosing static method
29 |         image: CGImage,
30 |         quality: DominantColorQuality = .fair,
   :
48 |             timeLog: timeLog
49 |         )
50 |         .map { Color(cgColor: $0) }
   |                |- error: 'init(cgColor:)' is only available in macOS 12.0 or newer
   |                `- note: add 'if #available' version check
51 |     }
52 | }
[28/37] Compiling DominantColors DominantColors+ColorResolved.swift
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/DominantColors+Color.swift:50:16: error: 'init(cgColor:)' is only available in macOS 12.0 or newer
26 |     ///  - timeLog: Logs each step of the algorithm with time for debug.
27 |     /// - Returns: The dominant colors as array of `Color` instances.
28 |     public static func dominantSwiftUIColors(
   |                        `- note: add @available attribute to enclosing static method
29 |         image: CGImage,
30 |         quality: DominantColorQuality = .fair,
   :
48 |             timeLog: timeLog
49 |         )
50 |         .map { Color(cgColor: $0) }
   |                |- error: 'init(cgColor:)' is only available in macOS 12.0 or newer
   |                `- note: add 'if #available' version check
51 |     }
52 | }
[29/37] Compiling DominantColors DominantColors+NSColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/DominantColors/DominantColors+Color.swift:50:16: error: 'init(cgColor:)' is only available in macOS 12.0 or newer
26 |     ///  - timeLog: Logs each step of the algorithm with time for debug.
27 |     /// - Returns: The dominant colors as array of `Color` instances.
28 |     public static func dominantSwiftUIColors(
   |                        `- note: add @available attribute to enclosing static method
29 |         image: CGImage,
30 |         quality: DominantColorQuality = .fair,
   :
48 |             timeLog: timeLog
49 |         )
50 |         .map { Color(cgColor: $0) }
   |                |- error: 'init(cgColor:)' is only available in macOS 12.0 or newer
   |                `- note: add 'if #available' version check
51 |     }
52 | }
[30/37] Compiling DominantColors AverageColor+UIColor.swift
[31/37] Compiling DominantColors AverageColor.swift
[32/37] Compiling DominantColors ColorFrequency.swift
[33/37] Compiling DominantColors ContrastColors.swift
[34/37] Compiling DominantColors DominantColorQuality.swift
[35/37] Compiling DominantColors DominantColors+CIAreaAverage.swift
[36/37] Compiling DominantColors DominantColors+CIE.swift
[37/37] Compiling DominantColors DominantColors+CIKMeans.swift
BUILD FAILURE 6.1 macosSpm