Build Information
Failed to build swift-palettecolor, reference main (f0098f), with Swift 6.3 for Android on 30 Sep 2026 03:09:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iheanyi/swift-palettecolor.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/iheanyi/swift-palettecolor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:8ca9e1e6d70fd53f5b05e4f64d92569d697563f7f457a1485802bc9eb2cd1382
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
[1/362] Fetching swiftlintplugins
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.53s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.65.1 (0.69s)
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
[822/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.32s)
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-272D24FF697CF451.txt
[5/24] Emitting module PaletteColor
[6/26] Compiling PaletteColor MathUtils.swift
[7/26] Compiling PaletteColor Quantizer.swift
[8/26] Compiling PaletteColor QuantizerCelebi.swift
[9/26] Compiling PaletteColor PaletteScheme.swift
[10/26] Compiling PaletteColor RGBColor.swift
[11/26] Compiling PaletteColor ColorUtils.swift
[12/26] Compiling PaletteColor Hct.swift
[13/26] Compiling PaletteColor HctSolver.swift
[14/26] Compiling PaletteColor Palette+Platform.swift
[15/26] Compiling PaletteColor Palette.swift
[16/26] Compiling PaletteColor ColorCutQuantizer.swift
/host/spi-builder-workspace/Sources/PaletteColor/ColorCutQuantizer.swift:143:47: error: cannot convert value of type 'Float' to expected argument type 'Double'
141 | }
142 | // Math.round(float) semantics: floor(x + 0.5) in single precision.
143 | let red = Int(floor(Float(redSum) / Float(totalPopulation) + 0.5))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
144 | let green = Int(floor(Float(greenSum) / Float(totalPopulation) + 0.5))
145 | let blue = Int(floor(Float(blueSum) / Float(totalPopulation) + 0.5))
/host/spi-builder-workspace/Sources/PaletteColor/ColorCutQuantizer.swift:144:51: error: cannot convert value of type 'Float' to expected argument type 'Double'
142 | // Math.round(float) semantics: floor(x + 0.5) in single precision.
143 | let red = Int(floor(Float(redSum) / Float(totalPopulation) + 0.5))
144 | let green = Int(floor(Float(greenSum) / Float(totalPopulation) + 0.5))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
145 | let blue = Int(floor(Float(blueSum) / Float(totalPopulation) + 0.5))
146 | return Palette.Swatch(
/host/spi-builder-workspace/Sources/PaletteColor/ColorCutQuantizer.swift:145:49: error: cannot convert value of type 'Float' to expected argument type 'Double'
143 | let red = Int(floor(Float(redSum) / Float(totalPopulation) + 0.5))
144 | let green = Int(floor(Float(greenSum) / Float(totalPopulation) + 0.5))
145 | let blue = Int(floor(Float(blueSum) / Float(totalPopulation) + 0.5))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
146 | return Palette.Swatch(
147 | rgb: ColorCutQuantizer.approximate(red: red, green: green, blue: blue),
[17/26] Compiling PaletteColor HCTColor.swift
/host/spi-builder-workspace/Sources/PaletteColor/ColorCutQuantizer.swift:143:47: error: cannot convert value of type 'Float' to expected argument type 'Double'
141 | }
142 | // Math.round(float) semantics: floor(x + 0.5) in single precision.
143 | let red = Int(floor(Float(redSum) / Float(totalPopulation) + 0.5))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
144 | let green = Int(floor(Float(greenSum) / Float(totalPopulation) + 0.5))
145 | let blue = Int(floor(Float(blueSum) / Float(totalPopulation) + 0.5))
/host/spi-builder-workspace/Sources/PaletteColor/ColorCutQuantizer.swift:144:51: error: cannot convert value of type 'Float' to expected argument type 'Double'
142 | // Math.round(float) semantics: floor(x + 0.5) in single precision.
143 | let red = Int(floor(Float(redSum) / Float(totalPopulation) + 0.5))
144 | let green = Int(floor(Float(greenSum) / Float(totalPopulation) + 0.5))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
145 | let blue = Int(floor(Float(blueSum) / Float(totalPopulation) + 0.5))
146 | return Palette.Swatch(
/host/spi-builder-workspace/Sources/PaletteColor/ColorCutQuantizer.swift:145:49: error: cannot convert value of type 'Float' to expected argument type 'Double'
143 | let red = Int(floor(Float(redSum) / Float(totalPopulation) + 0.5))
144 | let green = Int(floor(Float(greenSum) / Float(totalPopulation) + 0.5))
145 | let blue = Int(floor(Float(blueSum) / Float(totalPopulation) + 0.5))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
146 | return Palette.Swatch(
147 | rgb: ColorCutQuantizer.approximate(red: red, green: green, blue: blue),
[18/26] Compiling PaletteColor Cam16.swift
/host/spi-builder-workspace/Sources/PaletteColor/ColorCutQuantizer.swift:143:47: error: cannot convert value of type 'Float' to expected argument type 'Double'
141 | }
142 | // Math.round(float) semantics: floor(x + 0.5) in single precision.
143 | let red = Int(floor(Float(redSum) / Float(totalPopulation) + 0.5))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
144 | let green = Int(floor(Float(greenSum) / Float(totalPopulation) + 0.5))
145 | let blue = Int(floor(Float(blueSum) / Float(totalPopulation) + 0.5))
/host/spi-builder-workspace/Sources/PaletteColor/ColorCutQuantizer.swift:144:51: error: cannot convert value of type 'Float' to expected argument type 'Double'
142 | // Math.round(float) semantics: floor(x + 0.5) in single precision.
143 | let red = Int(floor(Float(redSum) / Float(totalPopulation) + 0.5))
144 | let green = Int(floor(Float(greenSum) / Float(totalPopulation) + 0.5))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
145 | let blue = Int(floor(Float(blueSum) / Float(totalPopulation) + 0.5))
146 | return Palette.Swatch(
/host/spi-builder-workspace/Sources/PaletteColor/ColorCutQuantizer.swift:145:49: error: cannot convert value of type 'Float' to expected argument type 'Double'
143 | let red = Int(floor(Float(redSum) / Float(totalPopulation) + 0.5))
144 | let green = Int(floor(Float(greenSum) / Float(totalPopulation) + 0.5))
145 | let blue = Int(floor(Float(blueSum) / Float(totalPopulation) + 0.5))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
146 | return Palette.Swatch(
147 | rgb: ColorCutQuantizer.approximate(red: red, green: green, blue: blue),
[19/26] Compiling PaletteColor Score.swift
[20/26] Compiling PaletteColor TonalPalette.swift
[21/26] Compiling PaletteColor ViewingConditions.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.3 android