The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NumberKit, reference 2.5.1 (38c649), with Swift 6.3 for Android on 14 Apr 2026 11:14:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-numberkit.git
Reference: 2.5.1
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
 * tag               2.5.1      -> FETCH_HEAD
HEAD is now at 38c649a Make usage of `StaticBigInt` conditionally. Reduce deployment target requirements down to macOS 10.13 and iOS 13.
Cloned https://github.com/objecthub/swift-numberkit.git
Revision (git rev-parse @):
38c649a58989ae80f8b0694b0b9826130df5c18f
SUCCESS checkout https://github.com/objecthub/swift-numberkit.git at 2.5.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/objecthub/swift-numberkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
[3/10] Compiling NumberKit NumberUtil.swift
[4/10] Compiling NumberKit Rational.swift
[5/10] Compiling NumberKit Integer.swift
[6/10] Compiling NumberKit IntegerNumber.swift
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:186:1: warning: extension declares a conformance of imported type 'UInt' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
184 | }
185 |
186 | extension UInt: IntegerNumber {
    | |- warning: extension declares a conformance of imported type 'UInt' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
187 |   public var doubleValue: Double {
188 |     return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:198:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
196 | }
197 |
198 | extension UInt8: IntegerNumber {
    | |- warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
199 |   public var doubleValue: Double {
200 |     return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:210:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
208 | }
209 |
210 | extension UInt16: IntegerNumber {
    | |- warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
211 |   public var doubleValue: Double {
212 |     return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:222:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
220 | }
221 |
222 | extension UInt32: IntegerNumber {
    | |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
223 |   public var doubleValue: Double {
224 |     return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:234:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
232 | }
233 |
234 | extension UInt64: IntegerNumber {
    | |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
235 |   public var doubleValue: Double {
236 |     return Double(self)
[7/10] Compiling NumberKit Complex.swift
[8/10] Compiling NumberKit BigInt.swift
[9/10] Emitting module NumberKit
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:186:1: warning: extension declares a conformance of imported type 'UInt' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
184 | }
185 |
186 | extension UInt: IntegerNumber {
    | |- warning: extension declares a conformance of imported type 'UInt' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
187 |   public var doubleValue: Double {
188 |     return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:198:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
196 | }
197 |
198 | extension UInt8: IntegerNumber {
    | |- warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
199 |   public var doubleValue: Double {
200 |     return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:210:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
208 | }
209 |
210 | extension UInt16: IntegerNumber {
    | |- warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
211 |   public var doubleValue: Double {
212 |     return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:222:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
220 | }
221 |
222 | extension UInt32: IntegerNumber {
    | |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
223 |   public var doubleValue: Double {
224 |     return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:234:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
232 | }
233 |
234 | extension UInt64: IntegerNumber {
    | |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
235 |   public var doubleValue: Double {
236 |     return Double(self)
[10/10] Compiling NumberKit FloatingPointNumber.swift
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:56:28: error: cannot convert value of type 'Float' to expected argument type 'Double'
 54 |   }
 55 |   public var sqrt: Float {
 56 |     return Foundation.sqrt(self)
    |                            `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 57 |   }
 58 |   public var sin: Float {
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:56:23: error: cannot convert return expression of type 'Double' to return type 'Float'
 54 |   }
 55 |   public var sqrt: Float {
 56 |     return Foundation.sqrt(self)
    |                       `- error: cannot convert return expression of type 'Double' to return type 'Float'
 57 |   }
 58 |   public var sin: Float {
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:59:23: error: no exact matches in call to global function 'sin'
 57 |   }
 58 |   public var sin: Float {
 59 |     return Foundation.sin(self)
    |                       `- error: no exact matches in call to global function 'sin'
 60 |   }
 61 |   public var cos: Float {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:59:23: error: no 'sin' candidates produce the expected contextual result type 'Float'
 57 |   }
 58 |   public var sin: Float {
 59 |     return Foundation.sin(self)
    |                       `- error: no 'sin' candidates produce the expected contextual result type 'Float'
 60 |   }
 61 |   public var cos: Float {
Foundation.sin:1:13: note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: 'sin' produces 'Double', not the expected contextual result type 'Float'
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: 'sin' produces 'Double', not the expected contextual result type 'Float'
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:62:23: error: no exact matches in call to global function 'cos'
 60 |   }
 61 |   public var cos: Float {
 62 |     return Foundation.cos(self)
    |                       `- error: no exact matches in call to global function 'cos'
 63 |   }
 64 |   public var exp: Float {
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:62:23: error: no 'cos' candidates produce the expected contextual result type 'Float'
 60 |   }
 61 |   public var cos: Float {
 62 |     return Foundation.cos(self)
    |                       `- error: no 'cos' candidates produce the expected contextual result type 'Float'
 63 |   }
 64 |   public var exp: Float {
Foundation.cos:1:13: note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: 'cos' produces 'Double', not the expected contextual result type 'Float'
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: 'cos' produces 'Double', not the expected contextual result type 'Float'
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:65:23: error: no exact matches in call to global function 'exp'
 63 |   }
 64 |   public var exp: Float {
 65 |     return Foundation.exp(self)
    |                       `- error: no exact matches in call to global function 'exp'
 66 |   }
 67 |   public var log: Float {
Foundation.exp:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func exp(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:128:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
126 | long double tanhl(long double __x);
127 |
128 | double exp(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
129 | float expf(float __x);
130 | long double expl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:65:23: error: no 'exp' candidates produce the expected contextual result type 'Float'
 63 |   }
 64 |   public var exp: Float {
 65 |     return Foundation.exp(self)
    |                       `- error: no 'exp' candidates produce the expected contextual result type 'Float'
 66 |   }
 67 |   public var log: Float {
Foundation.exp:1:13: note: 'exp' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func exp(_ x: CGFloat) -> CGFloat
  |             `- note: 'exp' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:128:8: note: 'exp' produces 'Double', not the expected contextual result type 'Float'
126 | long double tanhl(long double __x);
127 |
128 | double exp(double __x);
    |        `- note: 'exp' produces 'Double', not the expected contextual result type 'Float'
129 | float expf(float __x);
130 | long double expl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:68:23: error: no exact matches in call to global function 'log'
 66 |   }
 67 |   public var log: Float {
 68 |     return Foundation.log(self)
    |                       `- error: no exact matches in call to global function 'log'
 69 |   }
 70 |   public func pow(_ ex: Float) -> Float {
Foundation.log:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:152:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:68:23: error: no 'log' candidates produce the expected contextual result type 'Float'
 66 |   }
 67 |   public var log: Float {
 68 |     return Foundation.log(self)
    |                       `- error: no 'log' candidates produce the expected contextual result type 'Float'
 69 |   }
 70 |   public func pow(_ ex: Float) -> Float {
Foundation.log:1:13: note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log(_ x: CGFloat) -> CGFloat
  |             `- note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:152:8: note: 'log' produces 'Double', not the expected contextual result type 'Float'
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
    |        `- note: 'log' produces 'Double', not the expected contextual result type 'Float'
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:71:23: error: no exact matches in call to global function 'pow'
 69 |   }
 70 |   public func pow(_ ex: Float) -> Float {
 71 |     return Foundation.pow(self, ex)
    |                       |- error: no exact matches in call to global function 'pow'
    |                       |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
    |                       `- note: candidate has partially matching parameter list (Decimal, Int)
 72 |   }
 73 |   public func hypot(_ y: Float) -> Float {
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:71:23: error: no 'pow' candidates produce the expected contextual result type 'Float'
 69 |   }
 70 |   public func pow(_ ex: Float) -> Float {
 71 |     return Foundation.pow(self, ex)
    |                       `- error: no 'pow' candidates produce the expected contextual result type 'Float'
 72 |   }
 73 |   public func hypot(_ y: Float) -> Float {
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float'
FoundationEssentials.pow:2:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
  |             `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float'
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: 'pow' produces 'Double', not the expected contextual result type 'Float'
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:74:23: error: no exact matches in call to global function 'hypot'
 72 |   }
 73 |   public func hypot(_ y: Float) -> Float {
 74 |     return Foundation.hypot(self, y)
    |                       |- error: no exact matches in call to global function 'hypot'
    |                       `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 75 |   }
 76 |   public func atan2(_ y: Float) -> Float {
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:192:8: note: candidate has partially matching parameter list (Double, Double)
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:74:23: error: no 'hypot' candidates produce the expected contextual result type 'Float'
 72 |   }
 73 |   public func hypot(_ y: Float) -> Float {
 74 |     return Foundation.hypot(self, y)
    |                       `- error: no 'hypot' candidates produce the expected contextual result type 'Float'
 75 |   }
 76 |   public func atan2(_ y: Float) -> Float {
Foundation.hypot:1:13: note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func hypot(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'hypot' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:192:8: note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
190 | long double fabsl(long double __x) __attribute_const__;
191 |
192 | double hypot(double __x, double __y);
    |        `- note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
193 | float hypotf(float __x, float __y);
194 | long double hypotl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:77:23: error: no exact matches in call to global function 'atan2'
 75 |   }
 76 |   public func atan2(_ y: Float) -> Float {
 77 |     return Foundation.atan2(self, y)
    |                       |- error: no exact matches in call to global function 'atan2'
    |                       `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 78 |   }
 79 | }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/NumberKit/FloatingPointNumber.swift:77:23: error: no 'atan2' candidates produce the expected contextual result type 'Float'
 75 |   }
 76 |   public func atan2(_ y: Float) -> Float {
 77 |     return Foundation.atan2(self, y)
    |                       `- error: no 'atan2' candidates produce the expected contextual result type 'Float'
 78 |   }
 79 | }
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
BUILD FAILURE 6.3 android