The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-palettecolor, reference 0.3.0 (f0098f), with Swift 6.1 for Android on 30 Sep 2026 03:11:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/iheanyi/swift-palettecolor.git
https://github.com/iheanyi/swift-palettecolor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
[1/362] Fetching swiftlintplugins
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.52s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.65.1 (0.76s)
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.30s)
[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] Emitting module PaletteColor
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/26] Compiling PaletteColor MathUtils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/26] Compiling PaletteColor Quantizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/26] Compiling PaletteColor QuantizerCelebi.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/26] Compiling PaletteColor MediaArtworkScheme.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/26] Compiling PaletteColor Palette+CoreGraphics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/26] Compiling PaletteColor ColorCutQuantizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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),
[12/26] Compiling PaletteColor HCTColor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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),
[13/26] Compiling PaletteColor Cam16.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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),
[14/26] Compiling PaletteColor PaletteScheme.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/26] Compiling PaletteColor RGBColor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/26] Compiling PaletteColor ColorUtils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/26] Compiling PaletteColor Hct.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/26] Compiling PaletteColor HctSolver.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/26] Compiling PaletteColor Palette+Platform.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/26] Compiling PaletteColor Palette.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/26] Compiling PaletteColor QuantizerMap.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/26] Compiling PaletteColor QuantizerWsmeans.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/26] Compiling PaletteColor QuantizerWu.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/26] Compiling PaletteColor Score.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/26] Compiling PaletteColor TonalPalette.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/26] Compiling PaletteColor ViewingConditions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/23] Emitting module PaletteColor
[5/25] Compiling PaletteColor Score.swift
[6/25] Compiling PaletteColor TonalPalette.swift
[7/25] Compiling PaletteColor ViewingConditions.swift
[8/25] Compiling PaletteColor MediaArtworkScheme.swift
[9/25] Compiling PaletteColor Palette+CoreGraphics.swift
[10/25] Compiling PaletteColor Palette+Platform.swift
[11/25] Compiling PaletteColor Palette.swift
[12/25] Compiling PaletteColor MathUtils.swift
[13/25] Compiling PaletteColor Quantizer.swift
[14/25] Compiling PaletteColor QuantizerCelebi.swift
[15/25] Compiling PaletteColor ColorUtils.swift
[16/25] Compiling PaletteColor Hct.swift
[17/25] Compiling PaletteColor HctSolver.swift
[18/25] Compiling PaletteColor PaletteScheme.swift
[19/25] Compiling PaletteColor RGBColor.swift
[20/25] 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),
[21/25] 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),
[22/25] 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),
[23/25] Compiling PaletteColor QuantizerMap.swift
[24/25] Compiling PaletteColor QuantizerWsmeans.swift
[25/25] Compiling PaletteColor QuantizerWu.swift
BUILD FAILURE 6.1 android