Build Information
Failed to build NumberKit, reference master (ac0762), with Swift 6.4 for Android on 9 Oct 2026 21:28:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-numberkit.git
Reference: master
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/objecthub/swift-numberkit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ac07627 Finalize release 3.0.
Cloned https://github.com/objecthub/swift-numberkit.git
Revision (git rev-parse @):
ac0762770fcfda2d88c34857ce8954cd31c4aac9
SUCCESS checkout https://github.com/objecthub/swift-numberkit.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/objecthub/swift-numberkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:34a00a57f57797b403a98b861c3ce940f20735b4cb78ef45654f0d4f3b0c0295
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Pre-planning 1 / 66]
[27 / 35] NumberKit
[32 / 35] NumberKit
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile FloatingPointNumber.swift
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:56:28: [1;31merror: [1;39mcannot convert value of type 'Float' to expected argument type 'Double'[0;0m
[0;36m54 |[0;0m }
[0;36m55 |[0;0m public var sqrt: Float {
[0;36m56 |[0;0m return Foundation.sqrt(self)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'Float' to expected argument type 'Double'[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m public var sin: Float {
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:56:23: [1;31merror: [1;39mcannot convert return expression of type 'Double' to return type 'Float'[0;0m
[0;36m54 |[0;0m }
[0;36m55 |[0;0m public var sqrt: Float {
[0;36m56 |[0;0m return [4;39mFoundation.sqrt(self)[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert return expression of type 'Double' to return type 'Float'[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m public var sin: Float {
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:59:23: [1;31merror: [1;39mno exact matches in call to global function 'sin'[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m public var sin: Float {
[0;36m59 |[0;0m return Foundation.sin(self)
[0;36m|[0;0m `- [1;31merror: [1;39mno exact matches in call to global function 'sin'[0;0m
[0;36m60 |[0;0m }
[0;36m61 |[0;0m public var cos: Float {
Foundation.sin:1:13: [1;39mnote: [1;39mcandidate expects value of type 'CGFloat' for parameter #1 (got 'Float')[0;0m
[0;36m1 |[0;0m public func sin(_ x: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate expects value of type 'CGFloat' for parameter #1 (got 'Float')[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:93:8: [1;39mnote: [1;39mcandidate expects value of type 'Double' for parameter #1 (got 'Float')[0;0m
[0;36m91 |[0;0m long double cosl(long double __x);
[0;36m92 |[0;0m
[0;36m93 |[0;0m double sin(double __x);
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate expects value of type 'Double' for parameter #1 (got 'Float')[0;0m
[0;36m94 |[0;0m float sinf(float __x);
[0;36m95 |[0;0m long double sinl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:59:23: [1;31merror: [1;39mno 'sin' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m public var sin: Float {
[0;36m59 |[0;0m return Foundation.sin(self)
[0;36m|[0;0m `- [1;31merror: [1;39mno 'sin' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m60 |[0;0m }
[0;36m61 |[0;0m public var cos: Float {
Foundation.sin:1:13: [1;39mnote: [1;39m'sin' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
[0;36m1 |[0;0m public func sin(_ x: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39m'sin' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:93:8: [1;39mnote: [1;39m'sin' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m91 |[0;0m long double cosl(long double __x);
[0;36m92 |[0;0m
[0;36m93 |[0;0m double sin(double __x);
[0;36m|[0;0m `- [1;39mnote: [1;39m'sin' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m94 |[0;0m float sinf(float __x);
[0;36m95 |[0;0m long double sinl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:62:23: [1;31merror: [1;39mno exact matches in call to global function 'cos'[0;0m
[0;36m60 |[0;0m }
[0;36m61 |[0;0m public var cos: Float {
[0;36m62 |[0;0m return Foundation.cos(self)
[0;36m|[0;0m `- [1;31merror: [1;39mno exact matches in call to global function 'cos'[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m public var exp: Float {
Foundation.cos:1:13: [1;39mnote: [1;39mcandidate expects value of type 'CGFloat' for parameter #1 (got 'Float')[0;0m
[0;36m1 |[0;0m public func cos(_ x: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate expects value of type 'CGFloat' for parameter #1 (got 'Float')[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:89:8: [1;39mnote: [1;39mcandidate expects value of type 'Double' for parameter #1 (got 'Float')[0;0m
[0;36m87 |[0;0m long double atan2l(long double __y, long double __x);
[0;36m88 |[0;0m
[0;36m89 |[0;0m double cos(double __x);
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate expects value of type 'Double' for parameter #1 (got 'Float')[0;0m
[0;36m90 |[0;0m float cosf(float __x);
[0;36m91 |[0;0m long double cosl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:62:23: [1;31merror: [1;39mno 'cos' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m60 |[0;0m }
[0;36m61 |[0;0m public var cos: Float {
[0;36m62 |[0;0m return Foundation.cos(self)
[0;36m|[0;0m `- [1;31merror: [1;39mno 'cos' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m public var exp: Float {
Foundation.cos:1:13: [1;39mnote: [1;39m'cos' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
[0;36m1 |[0;0m public func cos(_ x: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39m'cos' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:89:8: [1;39mnote: [1;39m'cos' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m87 |[0;0m long double atan2l(long double __y, long double __x);
[0;36m88 |[0;0m
[0;36m89 |[0;0m double cos(double __x);
[0;36m|[0;0m `- [1;39mnote: [1;39m'cos' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m90 |[0;0m float cosf(float __x);
[0;36m91 |[0;0m long double cosl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:65:23: [1;31merror: [1;39mno exact matches in call to global function 'exp'[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m public var exp: Float {
[0;36m65 |[0;0m return Foundation.exp(self)
[0;36m|[0;0m `- [1;31merror: [1;39mno exact matches in call to global function 'exp'[0;0m
[0;36m66 |[0;0m }
[0;36m67 |[0;0m public var log: Float {
Foundation.exp:1:13: [1;39mnote: [1;39mcandidate expects value of type 'CGFloat' for parameter #1 (got 'Float')[0;0m
[0;36m1 |[0;0m public func exp(_ x: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate expects value of type 'CGFloat' for parameter #1 (got 'Float')[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:125:8: [1;39mnote: [1;39mcandidate expects value of type 'Double' for parameter #1 (got 'Float')[0;0m
[0;36m123 |[0;0m long double tanhl(long double __x);
[0;36m124 |[0;0m
[0;36m125 |[0;0m double exp(double __x);
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate expects value of type 'Double' for parameter #1 (got 'Float')[0;0m
[0;36m126 |[0;0m float expf(float __x);
[0;36m127 |[0;0m long double expl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:65:23: [1;31merror: [1;39mno 'exp' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m public var exp: Float {
[0;36m65 |[0;0m return Foundation.exp(self)
[0;36m|[0;0m `- [1;31merror: [1;39mno 'exp' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m66 |[0;0m }
[0;36m67 |[0;0m public var log: Float {
Foundation.exp:1:13: [1;39mnote: [1;39m'exp' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
[0;36m1 |[0;0m public func exp(_ x: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39m'exp' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:125:8: [1;39mnote: [1;39m'exp' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m123 |[0;0m long double tanhl(long double __x);
[0;36m124 |[0;0m
[0;36m125 |[0;0m double exp(double __x);
[0;36m|[0;0m `- [1;39mnote: [1;39m'exp' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m126 |[0;0m float expf(float __x);
[0;36m127 |[0;0m long double expl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:68:23: [1;31merror: [1;39mno exact matches in call to global function 'log'[0;0m
[0;36m66 |[0;0m }
[0;36m67 |[0;0m public var log: Float {
[0;36m68 |[0;0m return Foundation.log(self)
[0;36m|[0;0m `- [1;31merror: [1;39mno exact matches in call to global function 'log'[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m public func pow(_ ex: Float) -> Float {
Foundation.log:1:13: [1;39mnote: [1;39mcandidate expects value of type 'CGFloat' for parameter #1 (got 'Float')[0;0m
[0;36m1 |[0;0m public func log(_ x: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate expects value of type 'CGFloat' for parameter #1 (got 'Float')[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:149:8: [1;39mnote: [1;39mcandidate expects value of type 'Double' for parameter #1 (got 'Float')[0;0m
[0;36m147 |[0;0m long double ldexpl(long double __x, int __exponent);
[0;36m148 |[0;0m
[0;36m149 |[0;0m double log(double __x);
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate expects value of type 'Double' for parameter #1 (got 'Float')[0;0m
[0;36m150 |[0;0m float logf(float __x);
[0;36m151 |[0;0m long double logl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:68:23: [1;31merror: [1;39mno 'log' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m66 |[0;0m }
[0;36m67 |[0;0m public var log: Float {
[0;36m68 |[0;0m return Foundation.log(self)
[0;36m|[0;0m `- [1;31merror: [1;39mno 'log' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m public func pow(_ ex: Float) -> Float {
Foundation.log:1:13: [1;39mnote: [1;39m'log' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
[0;36m1 |[0;0m public func log(_ x: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39m'log' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:149:8: [1;39mnote: [1;39m'log' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m147 |[0;0m long double ldexpl(long double __x, int __exponent);
[0;36m148 |[0;0m
[0;36m149 |[0;0m double log(double __x);
[0;36m|[0;0m `- [1;39mnote: [1;39m'log' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m150 |[0;0m float logf(float __x);
[0;36m151 |[0;0m long double logl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:71:23: [1;31merror: [1;39mno exact matches in call to global function 'pow'[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m public func pow(_ ex: Float) -> Float {
[0;36m71 |[0;0m return Foundation.pow(self, ex)
[0;36m|[0;0m |- [1;31merror: [1;39mno exact matches in call to global function 'pow'[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39mcandidate has partially matching parameter list (CGFloat, CGFloat)[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate has partially matching parameter list (Decimal, Int)[0;0m
[0;36m72 |[0;0m }
[0;36m73 |[0;0m public func hypot(_ y: Float) -> Float {
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:193:8: [1;39mnote: [1;39mcandidate has partially matching parameter list (Double, Double)[0;0m
[0;36m191 |[0;0m long double hypotl(long double __x, long double __y);
[0;36m192 |[0;0m
[0;36m193 |[0;0m double pow(double __x, double __y);
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate has partially matching parameter list (Double, Double)[0;0m
[0;36m194 |[0;0m float powf(float __x, float __y);
[0;36m195 |[0;0m long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:71:23: [1;31merror: [1;39mno 'pow' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m public func pow(_ ex: Float) -> Float {
[0;36m71 |[0;0m return Foundation.pow(self, ex)
[0;36m|[0;0m `- [1;31merror: [1;39mno 'pow' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m72 |[0;0m }
[0;36m73 |[0;0m public func hypot(_ y: Float) -> Float {
Foundation.pow:1:13: [1;39mnote: [1;39m'pow' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
[0;36m1 |[0;0m public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39m'pow' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
FoundationEssentials.pow:2:13: [1;39mnote: [1;39m'pow' produces 'Decimal', not the expected contextual result type 'Float'[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public func pow(_ x: Decimal, _ y: Int) -> Decimal
[0;36m|[0;0m `- [1;39mnote: [1;39m'pow' produces 'Decimal', not the expected contextual result type 'Float'[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:193:8: [1;39mnote: [1;39m'pow' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m191 |[0;0m long double hypotl(long double __x, long double __y);
[0;36m192 |[0;0m
[0;36m193 |[0;0m double pow(double __x, double __y);
[0;36m|[0;0m `- [1;39mnote: [1;39m'pow' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m194 |[0;0m float powf(float __x, float __y);
[0;36m195 |[0;0m long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:74:23: [1;31merror: [1;39mno exact matches in call to global function 'hypot'[0;0m
[0;36m72 |[0;0m }
[0;36m73 |[0;0m public func hypot(_ y: Float) -> Float {
[0;36m74 |[0;0m return Foundation.hypot(self, y)
[0;36m|[0;0m |- [1;31merror: [1;39mno exact matches in call to global function 'hypot'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate has partially matching parameter list (CGFloat, CGFloat)[0;0m
[0;36m75 |[0;0m }
[0;36m76 |[0;0m public func atan2(_ y: Float) -> Float {
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:189:8: [1;39mnote: [1;39mcandidate has partially matching parameter list (Double, Double)[0;0m
[0;36m187 |[0;0m long double fabsl(long double __x) __attribute_const__;
[0;36m188 |[0;0m
[0;36m189 |[0;0m double hypot(double __x, double __y);
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate has partially matching parameter list (Double, Double)[0;0m
[0;36m190 |[0;0m float hypotf(float __x, float __y);
[0;36m191 |[0;0m long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:74:23: [1;31merror: [1;39mno 'hypot' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m72 |[0;0m }
[0;36m73 |[0;0m public func hypot(_ y: Float) -> Float {
[0;36m74 |[0;0m return Foundation.hypot(self, y)
[0;36m|[0;0m `- [1;31merror: [1;39mno 'hypot' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m75 |[0;0m }
[0;36m76 |[0;0m public func atan2(_ y: Float) -> Float {
Foundation.hypot:1:13: [1;39mnote: [1;39m'hypot' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
[0;36m1 |[0;0m public func hypot(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39m'hypot' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:189:8: [1;39mnote: [1;39m'hypot' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m187 |[0;0m long double fabsl(long double __x) __attribute_const__;
[0;36m188 |[0;0m
[0;36m189 |[0;0m double hypot(double __x, double __y);
[0;36m|[0;0m `- [1;39mnote: [1;39m'hypot' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m190 |[0;0m float hypotf(float __x, float __y);
[0;36m191 |[0;0m long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:77:23: [1;31merror: [1;39mno exact matches in call to global function 'atan2'[0;0m
[0;36m75 |[0;0m }
[0;36m76 |[0;0m public func atan2(_ y: Float) -> Float {
[0;36m77 |[0;0m return Foundation.atan2(self, y)
[0;36m|[0;0m |- [1;31merror: [1;39mno exact matches in call to global function 'atan2'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate has partially matching parameter list (CGFloat, CGFloat)[0;0m
[0;36m78 |[0;0m }
[0;36m79 |[0;0m }
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:85:8: [1;39mnote: [1;39mcandidate has partially matching parameter list (Double, Double)[0;0m
[0;36m83 |[0;0m long double atanl(long double __x);
[0;36m84 |[0;0m
[0;36m85 |[0;0m double atan2(double __y, double __x);
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate has partially matching parameter list (Double, Double)[0;0m
[0;36m86 |[0;0m float atan2f(float __y, float __x);
[0;36m87 |[0;0m long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:77:23: [1;31merror: [1;39mno 'atan2' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m75 |[0;0m }
[0;36m76 |[0;0m public func atan2(_ y: Float) -> Float {
[0;36m77 |[0;0m return Foundation.atan2(self, y)
[0;36m|[0;0m `- [1;31merror: [1;39mno 'atan2' candidates produce the expected contextual result type 'Float'[0;0m
[0;36m78 |[0;0m }
[0;36m79 |[0;0m }
Foundation.atan2:1:13: [1;39mnote: [1;39m'atan2' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
[0;36m1 |[0;0m public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
[0;36m|[0;0m `- [1;39mnote: [1;39m'atan2' produces 'CGFloat', not the expected contextual result type 'Float'[0;0m
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:85:8: [1;39mnote: [1;39m'atan2' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m83 |[0;0m long double atanl(long double __x);
[0;36m84 |[0;0m
[0;36m85 |[0;0m double atan2(double __y, double __x);
[0;36m|[0;0m `- [1;39mnote: [1;39m'atan2' produces 'Double', not the expected contextual result type 'Float'[0;0m
[0;36m86 |[0;0m float atan2f(float __y, float __x);
[0;36m87 |[0;0m long double atan2l(long double __y, long double __x);
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/NumberKit/BigInt.swift /host/spi-builder-workspace/Sources/NumberKit/Complex.swift -primary-file /host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift /host/spi-builder-workspace/Sources/NumberKit/Integer.swift /host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift /host/spi-builder-workspace/Sources/NumberKit/NumberUtil.swift /host/spi-builder-workspace/Sources/NumberKit/Rational.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumberKit.build/Debug-android-aarch64/NumberKit-t.build/Objects-normal/aarch64/FloatingPointNumber.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumberKit.build/Debug-android-aarch64/NumberKit-t.build/Objects-normal/aarch64/FloatingPointNumber.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumberKit.build/Debug-android-aarch64/NumberKit-t.build/Objects-normal/aarch64/FloatingPointNumber.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumberKit.build/Debug-android-aarch64/NumberKit-t.build/Objects-normal/aarch64/FloatingPointNumber.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NumberKit.build/Debug-android-aarch64/NumberKit-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NumberKit.build/Debug-android-aarch64/NumberKit-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NumberKit.build/Debug-android-aarch64/NumberKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NumberKit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumberKit.build/Debug-android-aarch64/NumberKit-t.build/Objects-normal/aarch64/NumberKit_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumberKit.build/Debug-android-aarch64/NumberKit-t.build/Objects-normal/aarch64/FloatingPointNumber.o -index-unit-output-path /NumberKit.build/Debug-android-aarch64/NumberKit-t.build/Objects-normal/aarch64/FloatingPointNumber.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android