Build Information
Failed to build NumberKit, reference master (33af3f
), with Swift 6.2 (beta) for Android on 21 Jun 2025 10:06:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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 33af3f9 Delete swiftpm files
Cloned https://github.com/objecthub/swift-numberkit.git
Revision (git rev-parse @):
33af3f9011e45dcd8ee696492d30dbcd5a8a67f3
SUCCESS checkout https://github.com/objecthub/swift-numberkit.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/objecthub/swift-numberkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/10] Compiling NumberKit IntegerNumber.swift
[4/10] Compiling NumberKit Integer.swift
[5/10] Compiling NumberKit Complex.swift
[6/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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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'
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float'
1 | 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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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);
[7/10] Compiling NumberKit NumberUtil.swift
[8/10] Compiling NumberKit Rational.swift
[9/10] Emitting module NumberKit
[10/10] Compiling NumberKit BigInt.swift
BUILD FAILURE 6.2 android