The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NumberKit, reference 3.0.0 (ac0762), with Swift 6.4 for Android on 9 Oct 2026 11:52:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-numberkit.git
Reference: 3.0.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/objecthub/swift-numberkit
 * tag               3.0.0      -> FETCH_HEAD
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 3.0.0
========================================
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-54344843-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.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...
[Planning deferred tasks]
[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: 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')
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:93:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 91 | long double cosl(long double __x);
 92 |
 93 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | float sinf(float __x);
 95 | 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'
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:93:8: note: 'sin' produces 'Double', not the expected contextual result type 'Float'
 91 | long double cosl(long double __x);
 92 |
 93 | double sin(double __x);
    |        `- note: 'sin' produces 'Double', not the expected contextual result type 'Float'
 94 | float sinf(float __x);
 95 | 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')
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:89:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 87 | long double atan2l(long double __y, long double __x);
 88 |
 89 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | float cosf(float __x);
 91 | 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'
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:89:8: note: 'cos' produces 'Double', not the expected contextual result type 'Float'
 87 | long double atan2l(long double __y, long double __x);
 88 |
 89 | double cos(double __x);
    |        `- note: 'cos' produces 'Double', not the expected contextual result type 'Float'
 90 | float cosf(float __x);
 91 | 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')
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:125:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
123 | long double tanhl(long double __x);
124 |
125 | double exp(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
126 | float expf(float __x);
127 | 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'
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:125:8: note: 'exp' produces 'Double', not the expected contextual result type 'Float'
123 | long double tanhl(long double __x);
124 |
125 | double exp(double __x);
    |        `- note: 'exp' produces 'Double', not the expected contextual result type 'Float'
126 | float expf(float __x);
127 | 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')
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:149:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
147 | long double ldexpl(long double __x, int __exponent);
148 |
149 | double log(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
150 | float logf(float __x);
151 | 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'
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:149:8: note: 'log' produces 'Double', not the expected contextual result type 'Float'
147 | long double ldexpl(long double __x, int __exponent);
148 |
149 | double log(double __x);
    |        `- note: 'log' produces 'Double', not the expected contextual result type 'Float'
150 | float logf(float __x);
151 | 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 {
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:193:8: note: candidate has partially matching parameter list (Double, Double)
191 | long double hypotl(long double __x, long double __y);
192 |
193 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
194 | float powf(float __x, float __y);
195 | 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'
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:193:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float'
191 | long double hypotl(long double __x, long double __y);
192 |
193 | double pow(double __x, double __y);
    |        `- note: 'pow' produces 'Double', not the expected contextual result type 'Float'
194 | float powf(float __x, float __y);
195 | 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 {
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:189:8: note: candidate has partially matching parameter list (Double, Double)
187 | long double fabsl(long double __x) __attribute_const__;
188 |
189 | double hypot(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
190 | float hypotf(float __x, float __y);
191 | 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'
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:189:8: note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
187 | long double fabsl(long double __x) __attribute_const__;
188 |
189 | double hypot(double __x, double __y);
    |        `- note: 'hypot' produces 'Double', not the expected contextual result type 'Float'
190 | float hypotf(float __x, float __y);
191 | 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 | }
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:85:8: note: candidate has partially matching parameter list (Double, Double)
 83 | long double atanl(long double __x);
 84 |
 85 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 86 | float atan2f(float __y, float __x);
 87 | 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'
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:85:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
 83 | long double atanl(long double __x);
 84 |
 85 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Float'
 86 | float atan2f(float __y, float __x);
 87 | 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