The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-53886769-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/mgriebling/BigInt.git
[1/2345] Fetching swift-docc-plugin
[72/3929] Fetching swift-docc-plugin, uint128
[712/10565] Fetching swift-docc-plugin, uint128, swift-numerics
Fetched https://github.com/mgriebling/UInt128.git (0.57s)
[1/7510] Fetching bigint
Fetched https://github.com/apple/swift-numerics (0.91s)
Fetched https://github.com/apple/swift-docc-plugin (0.91s)
Fetched https://github.com/mgriebling/BigInt.git (0.91s)
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.13s)
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.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.77s)
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/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.3.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
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 244]
[Planning deferred tasks]
[17 / 95] _NumericsShims
[64 / 120] RealModule
[64 / 120] UInt128
[75 / 120] UInt128-product
[78 / 120] BigInt
[85 / 120] RealModule
[88 / 120] RealModule
[90 / 120] BigInt-product
[94 / 122] UInt128
[102 / 132] BigInt
[104 / 132] BigInt
[108 / 132] ComplexModule
[123 / 137] ComplexModule
[130 / 147] ComplexModule
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile ExponentCalculator.swift
/host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:24:16: error: stored property 'factors' of 'Sendable'-conforming struct 'ExpCalculator' contains non-Sendable type 'BFraction'
22 |
23 |     public var calculateInPairs: Bool
24 |     public var factors = [BigInt.BFraction]()
   |                `- error: stored property 'factors' of 'Sendable'-conforming struct 'ExpCalculator' contains non-Sendable type 'BFraction'
25 |
26 |     private var n = 0
/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/ExponentCalculator.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/ExponentCalculator.swift:27:17: error: stored property 'oneOverFactorialOfN' of 'Sendable'-conforming struct 'ExpCalculator' has non-Sendable type 'BFraction'
25 |
26 |     private var n = 0
27 |     private var oneOverFactorialOfN = BigRational.ONE
   |                 `- error: stored property 'oneOverFactorialOfN' of 'Sendable'-conforming struct 'ExpCalculator' has non-Sendable type 'BFraction'
28 |
29 |     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:
/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 /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift /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 -primary-file /host/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift -primary-file /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 -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/ExponentCalculator.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/ExponentCalculator.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/ExponentCalculator.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/ExponentCalculator.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/SeriesCalculator.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/SeriesCalculator.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/SeriesCalculator.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/SeriesCalculator.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 /usr/lib/swift/host/plugins/testing\#/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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/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-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/BigDecimal_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/ExponentCalculator.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/SeriesCalculator.o -index-unit-output-path /BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/ExponentCalculator.o -index-unit-output-path /BigDecimal.build/Debug-linux-x86_64/BigDecimal-t.build/Objects-normal/x86_64/SeriesCalculator.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[133 / 147] ComplexModule
error: Build failed
BUILD FAILURE 6.4 linux