The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MosaicKit, reference main (3c02b8), with Swift 6.3 for macOS (SPM) on 27 Oct 2026 18:43:20 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.5.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/fdenis75/MosaicKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fdenis75/MosaicKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3c02b8e Merge pull request #86 from fdenis75/claude/lucid-volta-qov3v7
Cloned https://github.com/fdenis75/MosaicKit.git
Revision (git rev-parse @):
3c02b8e939642328b816c4d60572fe3aab17b070
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fdenis75/MosaicKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/fdenis75/MosaicKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/14] Write sources
[4/14] Copying libwebpmux.a
[4/14] Copying libwebp.a
[4/14] Copying MetalShaders.metal
[4/14] Copying libwebpdemux.a
[7/14] Copying libsharpyuv.a
[8/14] Write sources
[10/14] Write swift-version-69A768CDF2A0BEE1.txt
[11/57] Compiling webpbridge WebpIncrementalDecoderResult.mm
[12/57] Compiling webpbridge WebpIncrementalDecoder.mm
[13/57] Compiling webpbridge WebpRGBAMultiplier.mm
[15/69] Compiling DominantColors UIImageExtension.swift
[16/69] Compiling DominantColors GradientColors.swift
[17/69] Compiling DominantColors ImageColorError.swift
[18/72] Compiling DominantColors RGB.swift
[19/72] Compiling DominantColors RGB255.swift
[20/72] Compiling DominantColors XYZ.swift
[21/72] Compiling DominantColors ComplementaryColor.swift
[22/72] Compiling DominantColors ColorShade.swift
[23/72] Compiling DominantColors HSL.swift
[24/72] Compiling DominantColors Hex.swift
[25/72] Compiling DominantColors Lab.swift
[26/72] Compiling DominantColors ContrastRatio.swift
[27/72] Compiling DominantColors DeltaEFormula.swift
[28/72] Compiling DominantColors Difference.swift
[29/72] Compiling DominantColors DominantColorAlgorithm.swift
[30/72] Compiling webp WebPAnimatedEncoder.swift
[31/72] Compiling webp WebPDecoder+Platform.swift
[32/72] Compiling webp CGImage+Util.swift
[33/72] Compiling webp InternalRawRepresentable.swift
[34/72] Emitting module DominantColors
[35/72] Compiling SJSAssetExportSession ExportSession+Error.swift
[36/72] Compiling SJSAssetExportSession VideoFrameSource.swift
[37/72] Compiling SJSAssetExportSession VideoOutputSettings.swift
[38/72] Compiling SJSAssetExportSession CMTime+seconds.swift
[39/72] Compiling SJSAssetExportSession VideoFrame.swift
[40/72] Compiling SJSAssetExportSession AudioOutputSettings.swift
[41/72] Compiling SJSAssetExportSession ExportSession.swift
[42/72] Compiling SJSAssetExportSession Array+Extensions.swift
[43/72] Emitting module SJSAssetExportSession
[44/72] Compiling SJSAssetExportSession SampleWriter.swift
[45/72] Compiling DominantColors DominantColors+UIColor.swift
[46/72] Compiling DominantColors DominantColors.swift
[47/72] Compiling DominantColors CGFloatExtensions.swift
[48/72] Compiling DominantColors CGImageExtensions.swift
[49/72] Compiling DominantColors CGSizeExtensions.swift
[50/72] Compiling DominantColors NSImageExtension.swift
[51/72] Compiling DominantColors DominantColorQuality.swift
[52/72] Compiling DominantColors DominantColors+CIAreaAverage.swift
[53/72] Compiling DominantColors DominantColors+CIE.swift
[54/72] Compiling DominantColors DominantColors+CIKMeans.swift
[55/72] Compiling DominantColors DominantColors+Color.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DominantColors/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 | }
[56/72] Compiling DominantColors DominantColors+ColorResolved.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DominantColors/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 | }
[57/72] Compiling DominantColors DominantColors+NSColor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DominantColors/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 | }
[58/72] Compiling DominantColors ImageFIlter.swift
[59/72] Compiling DominantColors ImageTrimAlpha.swift
[60/72] Compiling DominantColors RelativeLuminance.swift
Fetching https://github.com/awxkee/webp.swift.git
Fetching https://github.com/DenDmitriev/DominantColors.git
Fetching https://github.com/samsonjs/SJSAssetExportSession.git
[1/542] Fetching sjsassetexportsession
[2/1665] Fetching sjsassetexportsession, dominantcolors
[115/1838] Fetching sjsassetexportsession, dominantcolors, webp.swift
Fetched https://github.com/samsonjs/SJSAssetExportSession.git from cache (8.33s)
Fetched https://github.com/DenDmitriev/DominantColors.git from cache (8.33s)
Fetched https://github.com/awxkee/webp.swift.git from cache (8.33s)
Computing version for https://github.com/awxkee/webp.swift.git
Computed https://github.com/awxkee/webp.swift.git at 1.1.2 (11.37s)
Fetching https://github.com/awxkee/libwebp-ios.git
[1/556] Fetching libwebp-ios
Fetched https://github.com/awxkee/libwebp-ios.git from cache (3.88s)
Computing version for https://github.com/awxkee/libwebp-ios.git
Computed https://github.com/awxkee/libwebp-ios.git at 1.1.1 (4.54s)
Computing version for https://github.com/DenDmitriev/DominantColors.git
Computed https://github.com/DenDmitriev/DominantColors.git at 1.3.0 (0.55s)
Computing version for https://github.com/samsonjs/SJSAssetExportSession.git
Computed https://github.com/samsonjs/SJSAssetExportSession.git at 0.5.2 (0.56s)
Creating working copy for https://github.com/awxkee/webp.swift.git
Working copy of https://github.com/awxkee/webp.swift.git resolved at 1.1.2
Creating working copy for https://github.com/DenDmitriev/DominantColors.git
Working copy of https://github.com/DenDmitriev/DominantColors.git resolved at 1.3.0
Creating working copy for https://github.com/awxkee/libwebp-ios.git
Working copy of https://github.com/awxkee/libwebp-ios.git resolved at 1.1.1
Creating working copy for https://github.com/samsonjs/SJSAssetExportSession.git
Working copy of https://github.com/samsonjs/SJSAssetExportSession.git resolved at 0.5.2
BUILD FAILURE 6.3 macosSpm