The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-palettecolor, reference 0.3.0 (f0098f), with Swift 6.2 for Wasm on 30 Sep 2026 03:19:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iheanyi/swift-palettecolor.git
Reference: 0.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/iheanyi/swift-palettecolor
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at f0098fe Match Android's MCU seed exactly; fix the Wsmeans livelock (0.3.0) (#3)
Cloned https://github.com/iheanyi/swift-palettecolor.git
Revision (git rev-parse @):
f0098fe8bd98b7991f623fba7344c52064ddb433
SUCCESS checkout https://github.com/iheanyi/swift-palettecolor.git at 0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/iheanyi/swift-palettecolor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
[1/362] Fetching swiftlintplugins
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.48s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.65.1 (0.65s)
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.65.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.65.1/SwiftLintBinary.artifactbundle.zip
[1369/75992853] Downloading https://github.com/realm/SwiftLint/releases/download/0.65.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.65.1/SwiftLintBinary.artifactbundle.zip (4.31s)
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/24] Compiling PaletteColor Palette+Platform.swift
[6/24] Compiling PaletteColor Palette.swift
[7/24] Compiling PaletteColor MathUtils.swift
[8/24] Compiling PaletteColor Quantizer.swift
[9/24] Compiling PaletteColor QuantizerCelebi.swift
[10/26] Compiling PaletteColor Score.swift
/host/spi-builder-workspace/Sources/PaletteColor/MaterialColorUtilities/Score.swift:60:78: error: integer literal '4282549748' overflows when stored into 'Int'
 58 |   ///   colors display in Android 12's wallpaper picker.
 59 |   static func score(
 60 |     _ quantized: QuantizerResult, desired: Int = 4, fallbackColorARGB: Int = 0xff42_85F4,
    |                                                                              `- error: integer literal '4282549748' overflows when stored into 'Int'
 61 |     filter: Bool = true
 62 |   )
[11/26] Compiling PaletteColor TonalPalette.swift
/host/spi-builder-workspace/Sources/PaletteColor/MaterialColorUtilities/Score.swift:60:78: error: integer literal '4282549748' overflows when stored into 'Int'
 58 |   ///   colors display in Android 12's wallpaper picker.
 59 |   static func score(
 60 |     _ quantized: QuantizerResult, desired: Int = 4, fallbackColorARGB: Int = 0xff42_85F4,
    |                                                                              `- error: integer literal '4282549748' overflows when stored into 'Int'
 61 |     filter: Bool = true
 62 |   )
[12/26] Compiling PaletteColor ViewingConditions.swift
/host/spi-builder-workspace/Sources/PaletteColor/MaterialColorUtilities/Score.swift:60:78: error: integer literal '4282549748' overflows when stored into 'Int'
 58 |   ///   colors display in Android 12's wallpaper picker.
 59 |   static func score(
 60 |     _ quantized: QuantizerResult, desired: Int = 4, fallbackColorARGB: Int = 0xff42_85F4,
    |                                                                              `- error: integer literal '4282549748' overflows when stored into 'Int'
 61 |     filter: Bool = true
 62 |   )
[13/26] Compiling PaletteColor ColorCutQuantizer.swift
[14/26] Compiling PaletteColor HCTColor.swift
[15/26] Compiling PaletteColor Cam16.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/26] Emitting module PaletteColor
/host/spi-builder-workspace/Sources/PaletteColor/MaterialColorUtilities/Score.swift:60:78: error: integer literal '4282549748' overflows when stored into 'Int'
 58 |   ///   colors display in Android 12's wallpaper picker.
 59 |   static func score(
 60 |     _ quantized: QuantizerResult, desired: Int = 4, fallbackColorARGB: Int = 0xff42_85F4,
    |                                                                              `- error: integer literal '4282549748' overflows when stored into 'Int'
 61 |     filter: Bool = true
 62 |   )
[17/26] Compiling PaletteColor ColorUtils.swift
[18/26] Compiling PaletteColor Hct.swift
[19/26] Compiling PaletteColor HctSolver.swift
[20/26] Compiling PaletteColor PaletteScheme.swift
[21/26] Compiling PaletteColor RGBColor.swift
[22/26] Compiling PaletteColor MediaArtworkScheme.swift
[23/26] Compiling PaletteColor Palette+CoreGraphics.swift
[24/26] Compiling PaletteColor QuantizerMap.swift
[25/26] Compiling PaletteColor QuantizerWsmeans.swift
[26/26] Compiling PaletteColor QuantizerWu.swift
BUILD FAILURE 6.2 wasm