The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BigDecimal, reference main (ddc5df), with Swift 6.4 for Android on 21 Sep 2026 07:55:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgriebling/BigDecimal.git
Reference: main
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/mgriebling/BigDecimal
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ddc5df3 Put back the nanFlag.
Cloned https://github.com/mgriebling/BigDecimal.git
Revision (git rev-parse @):
ddc5df3676a865345686901c44fa022f30dd4a0b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mgriebling/BigDecimal.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mgriebling/BigDecimal.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/mgriebling/BigInt.git
Fetching https://github.com/mgriebling/UInt128.git
[1/2345] Fetching swift-docc-plugin
[236/3929] Fetching swift-docc-plugin, uint128
Fetched https://github.com/apple/swift-docc-plugin (0.56s)
[1/7510] Fetching bigint
[2029/14146] Fetching bigint, swift-numerics
Fetched https://github.com/mgriebling/UInt128.git (0.90s)
Fetched https://github.com/apple/swift-numerics (0.90s)
Fetched https://github.com/mgriebling/BigInt.git (0.90s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (1.95s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.15s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.3.0 (0.14s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Creating working copy for https://github.com/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.3.0
Creating working copy for https://github.com/mgriebling/UInt128.git
Working copy of https://github.com/mgriebling/UInt128.git resolved at 3.2.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 244]
[Starting]
[64 / 120] UInt128
[73 / 120] RealModule
[75 / 120] UInt128-product
[76 / 120] BigInt
[86 / 120] RealModule
[89 / 120] BigInt
[92 / 120]
[96 / 130] ComplexModule
[99 / 132] RealModule
[107 / 132] ComplexModule
[114 / 133]
[129 / 146] BigDecimal
[130 / 147] ComplexModule
[131 / 147] BigInt
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile AsinCalculator.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile CosCalculator.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile CoshCalculator.swift
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:22:16: error: stored property 'factors' of 'Sendable'-conforming struct 'AsinCalculator' contains non-Sendable type 'BFraction'
20 | public struct AsinCalculator : SeriesCalculator, Sendable {
21 |     public var calculateInPairs: Bool
22 |     public var factors: [BigRational]
   |                `- error: stored property 'factors' of 'Sendable'-conforming struct 'AsinCalculator' contains non-Sendable type 'BFraction'
23 |
24 |     static let instance = AsinCalculator()
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigFrac.swift:8:15: note: struct 'BFraction' does not conform to the 'Sendable' protocol
   6 | //
   7 |
   8 | public struct BFraction: CustomStringConvertible, Comparable, Equatable {
     |               `- note: struct 'BFraction' does not conform to the 'Sendable' protocol
   9 |
  10 |     mutating func normalize() {
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'BigInt' as warnings [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 6 | //
 7 |
 8 | import BigInt
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'BigInt' as warnings [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 9 |
10 | /**
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:27:17: error: stored property 'factorial2n' of 'Sendable'-conforming struct 'AsinCalculator' has non-Sendable type 'BFraction'
25 |
26 |     private var n = 0
27 |     private var factorial2n = BigRational.ONE
   |                 `- error: stored property 'factorial2n' of 'Sendable'-conforming struct 'AsinCalculator' has non-Sendable type 'BFraction'
28 |     private var factorialN = BigRational.ONE
29 |     private var fourPowerN = BigRational.ONE
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigFrac.swift:8:15: note: struct 'BFraction' does not conform to the 'Sendable' protocol
   6 | //
   7 |
   8 | public struct BFraction: CustomStringConvertible, Comparable, Equatable {
     |               `- note: struct 'BFraction' does not conform to the 'Sendable' protocol
   9 |
  10 |     mutating func normalize() {
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:28:17: error: stored property 'factorialN' of 'Sendable'-conforming struct 'AsinCalculator' has non-Sendable type 'BFraction'
26 |     private var n = 0
27 |     private var factorial2n = BigRational.ONE
28 |     private var factorialN = BigRational.ONE
   |                 `- error: stored property 'factorialN' of 'Sendable'-conforming struct 'AsinCalculator' has non-Sendable type 'BFraction'
29 |     private var fourPowerN = BigRational.ONE
30 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigFrac.swift:8:15: note: struct 'BFraction' does not conform to the 'Sendable' protocol
   6 | //
   7 |
   8 | public struct BFraction: CustomStringConvertible, Comparable, Equatable {
     |               `- note: struct 'BFraction' does not conform to the 'Sendable' protocol
   9 |
  10 |     mutating func normalize() {
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:29:17: error: stored property 'fourPowerN' of 'Sendable'-conforming struct 'AsinCalculator' has non-Sendable type 'BFraction'
27 |     private var factorial2n = BigRational.ONE
28 |     private var factorialN = BigRational.ONE
29 |     private var fourPowerN = BigRational.ONE
   |                 `- error: stored property 'fourPowerN' of 'Sendable'-conforming struct 'AsinCalculator' has non-Sendable type 'BFraction'
30 |
31 |     public init() {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigFrac.swift:8:15: note: struct 'BFraction' does not conform to the 'Sendable' protocol
   6 | //
   7 |
   8 | public struct BFraction: CustomStringConvertible, Comparable, Equatable {
     |               `- note: struct 'BFraction' does not conform to the 'Sendable' protocol
   9 |
  10 |     mutating func normalize() {
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:23:16: error: stored property 'factors' of 'Sendable'-conforming struct 'CosCalculator' contains non-Sendable type 'BFraction'
21 | public struct CosCalculator : SeriesCalculator, Sendable {
22 |     public var calculateInPairs: Bool
23 |     public var factors: [BigInt.BFraction]
   |                `- error: stored property 'factors' of 'Sendable'-conforming struct 'CosCalculator' contains non-Sendable type 'BFraction'
24 |
25 |     static let instance = CosCalculator()
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigFrac.swift:8:15: note: struct 'BFraction' does not conform to the 'Sendable' protocol
   6 | //
   7 |
   8 | public struct BFraction: CustomStringConvertible, Comparable, Equatable {
     |               `- note: struct 'BFraction' does not conform to the 'Sendable' protocol
   9 |
  10 |     mutating func normalize() {
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:9:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'BigInt' as warnings [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 7 | //
 8 |
 9 | import BigInt
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'BigInt' as warnings [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
10 |
11 | /**
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:29:17: error: stored property 'factorial2n' of 'Sendable'-conforming struct 'CosCalculator' has non-Sendable type 'BFraction'
27 |     private var n = 0
28 |     private var negative = false
29 |     private var factorial2n = BigRational.ONE
   |                 `- error: stored property 'factorial2n' of 'Sendable'-conforming struct 'CosCalculator' has non-Sendable type 'BFraction'
30 |
31 |     public init() {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigFrac.swift:8:15: note: struct 'BFraction' does not conform to the 'Sendable' protocol
   6 | //
   7 |
   8 | public struct BFraction: CustomStringConvertible, Comparable, Equatable {
     |               `- note: struct 'BFraction' does not conform to the 'Sendable' protocol
   9 |
  10 |     mutating func normalize() {
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:23:16: error: stored property 'factors' of 'Sendable'-conforming struct 'CoshCalculator' contains non-Sendable type 'BFraction'
21 | public struct CoshCalculator : SeriesCalculator, Sendable {
22 |     public var calculateInPairs: Bool
23 |     public var factors: [BigRational]
   |                `- error: stored property 'factors' of 'Sendable'-conforming struct 'CoshCalculator' contains non-Sendable type 'BFraction'
24 |
25 |     static let instance = CoshCalculator()
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigFrac.swift:8:15: note: struct 'BFraction' does not conform to the 'Sendable' protocol
   6 | //
   7 |
   8 | public struct BFraction: CustomStringConvertible, Comparable, Equatable {
     |               `- note: struct 'BFraction' does not conform to the 'Sendable' protocol
   9 |
  10 |     mutating func normalize() {
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:9:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'BigInt' as warnings [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 7 | //
 8 |
 9 | import BigInt
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'BigInt' as warnings [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
10 |
11 | /**
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:28:17: error: stored property 'factorial2n' of 'Sendable'-conforming struct 'CoshCalculator' has non-Sendable type 'BFraction'
26 |
27 |     private var n = 0
28 |     private var factorial2n = BigRational.ONE
   |                 `- error: stored property 'factorial2n' of 'Sendable'-conforming struct 'CoshCalculator' has non-Sendable type 'BFraction'
29 |
30 |     public init() {
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigFrac.swift:8:15: note: struct 'BFraction' does not conform to the 'Sendable' protocol
   6 | //
   7 |
   8 | public struct BFraction: CustomStringConvertible, Comparable, Equatable {
     |               `- note: struct 'BFraction' does not conform to the 'Sendable' protocol
   9 |
  10 |     mutating func normalize() {
[#AddPreconcurrencyImport]: <https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/BigDecimal/BigDecimal.swift /host/spi-builder-workspace/Sources/BigDecimal/CBDecimal.swift /host/spi-builder-workspace/Sources/BigDecimal/Decimal.swift /host/spi-builder-workspace/Sources/BigDecimal/Decimal128.swift /host/spi-builder-workspace/Sources/BigDecimal/Decimal32.swift /host/spi-builder-workspace/Sources/BigDecimal/Decimal64.swift -primary-file /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift -primary-file /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift -primary-file /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath-Simple.swift /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SeriesCalculator.swift /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift /host/spi-builder-workspace/Sources/BigDecimal/Support/DecimalFloatingPoint.swift /host/spi-builder-workspace/Sources/BigDecimal/Support/DecimalLogic.swift /host/spi-builder-workspace/Sources/BigDecimal/Support/Extensions.swift /host/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/Objects-normal/aarch64/supplementaryOutputs-3 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/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 StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -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/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BigDecimal -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/Objects-normal/aarch64/BigDecimal_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/Objects-normal/aarch64/AsinCalculator.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/Objects-normal/aarch64/CosCalculator.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/Objects-normal/aarch64/CoshCalculator.o -index-unit-output-path /BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/Objects-normal/aarch64/AsinCalculator.o -index-unit-output-path /BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/Objects-normal/aarch64/CosCalculator.o -index-unit-output-path /BigDecimal.build/Debug-android-aarch64/BigDecimal-t.build/Objects-normal/aarch64/CoshCalculator.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android