Build Information
Successful build of BigDecimal, reference 3.0.2 (4414e0
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 15:40:36 UTC.
Swift 6 data race errors: 53
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgriebling/BigDecimal.git
Reference: 3.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mgriebling/BigDecimal
* tag 3.0.2 -> FETCH_HEAD
HEAD is now at 4414e0e Added more tests and added minimum requirements for OSes.
Cloned https://github.com/mgriebling/BigDecimal.git
Revision (git rev-parse @):
4414e0e82bb859cf5a2883f9401e7d7cb030f5b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mgriebling/BigDecimal.git at 3.0.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mgriebling/BigDecimal.git
https://github.com/mgriebling/BigDecimal.git
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mgriebling/BigInt.git"
},
{
"identity" : "swift-numerics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-numerics"
},
{
"identity" : "uint128",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.5",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mgriebling/UInt128.git"
}
],
"manifest_display_name" : "BigDecimal",
"name" : "BigDecimal",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.3"
},
{
"name" : "ios",
"version" : "16.4"
},
{
"name" : "maccatalyst",
"version" : "13.3"
},
{
"name" : "tvos",
"version" : "16.4"
},
{
"name" : "watchos",
"version" : "9.4"
}
],
"products" : [
{
"name" : "BigDecimal",
"targets" : [
"BigDecimal"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BigDecimalTests",
"module_type" : "SwiftTarget",
"name" : "BigDecimalTests",
"path" : "Tests/BigDecimalTests",
"sources" : [
"Decimal32Tests.swift",
"TestAbs.swift",
"TestAddition.swift",
"TestArithmetic.swift",
"TestAsString.swift",
"TestBigDecimal.swift",
"TestCompare.swift",
"TestComplex.swift",
"TestConstructor.swift",
"TestConversion.swift",
"TestData.swift",
"TestDecimal.swift",
"TestDecimal128.swift",
"TestDecimal128Encoding.swift",
"TestDecimal128FMA.swift",
"TestDecimal32.swift",
"TestDecimal32Encoding.swift",
"TestDecimal64.swift",
"TestDecimal64Encoding.swift",
"TestDecimal64FMA.swift",
"TestDivision1.swift",
"TestDivision2.swift",
"TestEncode128.swift",
"TestEncode32.swift",
"TestEncode64.swift",
"TestHyperbolic.swift",
"TestInfinityNaN.swift",
"TestLogarithm.swift",
"TestLogic.swift",
"TestMinMax.swift",
"TestMultiplication.swift",
"TestOperations.swift",
"TestPow.swift",
"TestProperties.swift",
"TestQuantize.swift",
"TestRandom.swift",
"TestRemainder.swift",
"TestRoundAdd.swift",
"TestRoundDiv.swift",
"TestRoundMul.swift",
"TestRoundPow.swift",
"TestScale.swift",
"TestSubtraction.swift",
"TestTrig.swift",
"TestTrim.swift",
"TestWithExponent.swift"
],
"target_dependencies" : [
"BigDecimal"
],
"type" : "test"
},
{
"c99name" : "BigDecimal",
"module_type" : "SwiftTarget",
"name" : "BigDecimal",
"path" : "Sources/BigDecimal",
"product_dependencies" : [
"BigInt",
"UInt128",
"Numerics"
],
"product_memberships" : [
"BigDecimal"
],
"sources" : [
"BigDecimal.swift",
"CBDecimal.swift",
"Decimal.swift",
"Decimal128.swift",
"Decimal32.swift",
"Decimal64.swift",
"DecimalMath/AsinCalculator.swift",
"DecimalMath/CosCalculator.swift",
"DecimalMath/CoshCalculator.swift",
"DecimalMath/DecimalMath-Simple.swift",
"DecimalMath/DecimalMath.swift",
"DecimalMath/ExponentCalculator.swift",
"DecimalMath/SeriesCalculator.swift",
"DecimalMath/SinCalculator.swift",
"DecimalMath/SinhCalculator.swift",
"Support/DecimalFloatingPoint.swift",
"Support/DecimalLogic.swift",
"Support/Extensions.swift",
"Support/Rounding.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[6/8] Compiling _NumericsShims _NumericsShims.c
[7/8] Write swift-version-2F0A5646E1D333AE.txt
[9/35] Compiling RealModule Double+Real.swift
[10/35] Compiling RealModule AugmentedArithmetic.swift
[11/35] Emitting module RealModule
[12/35] Compiling RealModule ApproximateEquality.swift
[13/36] Compiling RealModule Float80+Real.swift
[14/36] Compiling RealModule ElementaryFunctions.swift
[15/36] Compiling RealModule Float+Real.swift
[16/36] Compiling RealModule Real.swift
[17/36] Compiling RealModule Float16+Real.swift
[18/36] Compiling RealModule AlgebraicField.swift
[19/36] Compiling RealModule RealFunctions.swift
[20/36] Emitting module UInt128
[21/36] Compiling UInt128 UInt128.swift
[22/36] Compiling UInt128 Common.swift
[23/36] Compiling UInt128 Int128.swift
[24/41] Compiling ComplexModule Differentiable.swift
[25/41] Emitting module ComplexModule
[26/41] Compiling ComplexModule Complex.swift
[27/41] Compiling ComplexModule ElementaryFunctions.swift
[28/41] Compiling ComplexModule Arithmetic.swift
[29/43] Emitting module Numerics
[30/43] Compiling Numerics Numerics.swift
[31/43] Compiling BigInt Karatsuba.swift
[32/43] Compiling BigInt FFT.swift
[33/43] Compiling BigInt Limbs.swift
[34/43] Compiling BigInt BurnikelZiegler.swift
[35/43] Compiling BigInt CRT.swift
[36/43] Compiling BigInt Factorial.swift
[37/43] Compiling BigInt ExpMod.swift
[38/43] Compiling BigInt GCD.swift
[39/44] Compiling BigInt ToomCook.swift
[40/44] Emitting module BigInt
[41/44] Compiling BigInt BigFrac.swift
[42/44] Compiling BigInt BigInt-Extensions.swift
[43/44] Compiling BigInt BigInt.swift
[44/44] Compiling BigInt BitSieve.swift
[45/63] Compiling BigDecimal DecimalLogic.swift
[46/63] Compiling BigDecimal Extensions.swift
[47/64] Compiling BigDecimal Decimal.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:180:16: warning: static property 'largestNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 | public struct Decimal : DecimalType, Codable, Hashable {
179 |
180 | static var largestNumber = RawDecimal("0")!
| |- warning: static property 'largestNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'largestNumber' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'largestNumber' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 | static var exponentBias = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:182:16: warning: static property 'exponentBias' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
180 | static var largestNumber = RawDecimal("0")!
181 |
182 | static var exponentBias = 0
| |- warning: static property 'exponentBias' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exponentBias' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exponentBias' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | static var exponentBits = 32
184 | static var maxExponent = 128
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:183:16: warning: static property 'exponentBits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 |
182 | static var exponentBias = 0
183 | static var exponentBits = 32
| |- warning: static property 'exponentBits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exponentBits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exponentBits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | static var maxExponent = 128
185 | static var maxDigits = 38
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:184:16: warning: static property 'maxExponent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 | static var exponentBias = 0
183 | static var exponentBits = 32
184 | static var maxExponent = 128
| |- warning: static property 'maxExponent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxExponent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxExponent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | static var maxDigits = 38
186 |
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:185:16: warning: static property 'maxDigits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | static var exponentBits = 32
184 | static var maxExponent = 128
185 | static var maxDigits = 38
| |- warning: static property 'maxDigits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxDigits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxDigits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | public typealias ID = Decimal
[48/64] Compiling BigDecimal Decimal128.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:180:16: warning: static property 'largestNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 | public struct Decimal : DecimalType, Codable, Hashable {
179 |
180 | static var largestNumber = RawDecimal("0")!
| |- warning: static property 'largestNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'largestNumber' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'largestNumber' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 | static var exponentBias = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:182:16: warning: static property 'exponentBias' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
180 | static var largestNumber = RawDecimal("0")!
181 |
182 | static var exponentBias = 0
| |- warning: static property 'exponentBias' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exponentBias' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exponentBias' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | static var exponentBits = 32
184 | static var maxExponent = 128
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:183:16: warning: static property 'exponentBits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 |
182 | static var exponentBias = 0
183 | static var exponentBits = 32
| |- warning: static property 'exponentBits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exponentBits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exponentBits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | static var maxExponent = 128
185 | static var maxDigits = 38
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:184:16: warning: static property 'maxExponent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 | static var exponentBias = 0
183 | static var exponentBits = 32
184 | static var maxExponent = 128
| |- warning: static property 'maxExponent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxExponent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxExponent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | static var maxDigits = 38
186 |
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:185:16: warning: static property 'maxDigits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | static var exponentBits = 32
184 | static var maxExponent = 128
185 | static var maxDigits = 38
| |- warning: static property 'maxDigits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxDigits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxDigits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | public typealias ID = Decimal
[49/64] Compiling BigDecimal SeriesCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:24:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var factors: [BigRational]
23 |
24 | static var instance = SinCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:22:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type '[SinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
20 | public struct SinCalculator : SeriesCalculator, Sendable {
21 | public var calculateInPairs: Bool
22 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type '[SinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
23 |
24 | static var instance = SinCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:28:17: warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
26 | private var n = 0
27 | private var negative = false
28 | private var factorial2nPlus1 = BigRational.ONE
| `- warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
29 |
30 | public init() {
/Users/admin/builder/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() {
[50/64] Compiling BigDecimal SinCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:24:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var factors: [BigRational]
23 |
24 | static var instance = SinCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:22:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type '[SinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
20 | public struct SinCalculator : SeriesCalculator, Sendable {
21 | public var calculateInPairs: Bool
22 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type '[SinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
23 |
24 | static var instance = SinCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:28:17: warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
26 | private var n = 0
27 | private var negative = false
28 | private var factorial2nPlus1 = BigRational.ONE
| `- warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
29 |
30 | public init() {
/Users/admin/builder/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() {
[51/64] Compiling BigDecimal Rounding.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:41:23: warning: static property 'decimal32' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
35 | /// BigDecimal rounding object containing a rounding mode and a precision
36 | /// which is the number of digits in the rounded result
37 | public struct Rounding: Equatable {
| `- note: consider making struct 'Rounding' conform to the 'Sendable' protocol
38 | // MARK: Constants
39 |
40 | /// Decimal32 rounding: .toNearestOrEven, 7
41 | public static let decimal32 = Rounding(.toNearestOrEven,
| |- warning: static property 'decimal32' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decimal32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | Decimal32.maxDigits)
43 | /// Decimal64 rounding: .toNearestOrEven, 16
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:44:23: warning: static property 'decimal64' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
35 | /// BigDecimal rounding object containing a rounding mode and a precision
36 | /// which is the number of digits in the rounded result
37 | public struct Rounding: Equatable {
| `- note: consider making struct 'Rounding' conform to the 'Sendable' protocol
38 | // MARK: Constants
39 |
:
42 | Decimal32.maxDigits)
43 | /// Decimal64 rounding: .toNearestOrEven, 16
44 | public static let decimal64 = Rounding(.toNearestOrEven,
| |- warning: static property 'decimal64' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decimal64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Decimal64.maxDigits)
46 | /// Decimal128 rounding: .toNearestOrEven, 34
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:47:23: warning: static property 'decimal128' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
35 | /// BigDecimal rounding object containing a rounding mode and a precision
36 | /// which is the number of digits in the rounded result
37 | public struct Rounding: Equatable {
| `- note: consider making struct 'Rounding' conform to the 'Sendable' protocol
38 | // MARK: Constants
39 |
:
45 | Decimal64.maxDigits)
46 | /// Decimal128 rounding: .toNearestOrEven, 34
47 | public static let decimal128 = Rounding(.toNearestOrEven,
| |- warning: static property 'decimal128' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decimal128' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Decimal128.maxDigits)
49 |
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:186:21: warning: static property 'conversionSyntax' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
184 | private static let DUnderflow = 0x00002000
185 |
186 | public static let conversionSyntax = Status(rawValue:DConversion_syntax)
| |- warning: static property 'conversionSyntax' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conversionSyntax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | public static let divisionByZero = Status(rawValue:DDivision_by_zero)
188 | public static let divisionImpossible = Status(rawValue:DDivision_impossible)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:187:21: warning: static property 'divisionByZero' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
185 |
186 | public static let conversionSyntax = Status(rawValue:DConversion_syntax)
187 | public static let divisionByZero = Status(rawValue:DDivision_by_zero)
| |- warning: static property 'divisionByZero' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'divisionByZero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | public static let divisionImpossible = Status(rawValue:DDivision_impossible)
189 | public static let divisionUndefined = Status(rawValue:DDivision_undefined)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:188:21: warning: static property 'divisionImpossible' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
186 | public static let conversionSyntax = Status(rawValue:DConversion_syntax)
187 | public static let divisionByZero = Status(rawValue:DDivision_by_zero)
188 | public static let divisionImpossible = Status(rawValue:DDivision_impossible)
| |- warning: static property 'divisionImpossible' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'divisionImpossible' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | public static let divisionUndefined = Status(rawValue:DDivision_undefined)
190 | public static let insufficientStorage=Status(rawValue:DInsufficient_storage)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:189:21: warning: static property 'divisionUndefined' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
187 | public static let divisionByZero = Status(rawValue:DDivision_by_zero)
188 | public static let divisionImpossible = Status(rawValue:DDivision_impossible)
189 | public static let divisionUndefined = Status(rawValue:DDivision_undefined)
| |- warning: static property 'divisionUndefined' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'divisionUndefined' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | public static let insufficientStorage=Status(rawValue:DInsufficient_storage)
191 | public static let inexact = Status(rawValue:DInexact)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:190:21: warning: static property 'insufficientStorage' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
188 | public static let divisionImpossible = Status(rawValue:DDivision_impossible)
189 | public static let divisionUndefined = Status(rawValue:DDivision_undefined)
190 | public static let insufficientStorage=Status(rawValue:DInsufficient_storage)
| |- warning: static property 'insufficientStorage' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'insufficientStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | public static let inexact = Status(rawValue:DInexact)
192 | public static let invalidContext = Status(rawValue:DInvalid_context)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:191:21: warning: static property 'inexact' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
189 | public static let divisionUndefined = Status(rawValue:DDivision_undefined)
190 | public static let insufficientStorage=Status(rawValue:DInsufficient_storage)
191 | public static let inexact = Status(rawValue:DInexact)
| |- warning: static property 'inexact' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inexact' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | public static let invalidContext = Status(rawValue:DInvalid_context)
193 | public static let lostDigits = Status(rawValue:DLost_digits)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:192:21: warning: static property 'invalidContext' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
190 | public static let insufficientStorage=Status(rawValue:DInsufficient_storage)
191 | public static let inexact = Status(rawValue:DInexact)
192 | public static let invalidContext = Status(rawValue:DInvalid_context)
| |- warning: static property 'invalidContext' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalidContext' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | public static let lostDigits = Status(rawValue:DLost_digits)
194 | public static let invalidOperation = Status(rawValue:DInvalid_operation)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:193:21: warning: static property 'lostDigits' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
191 | public static let inexact = Status(rawValue:DInexact)
192 | public static let invalidContext = Status(rawValue:DInvalid_context)
193 | public static let lostDigits = Status(rawValue:DLost_digits)
| |- warning: static property 'lostDigits' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lostDigits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | public static let invalidOperation = Status(rawValue:DInvalid_operation)
195 | public static let overflow = Status(rawValue:DOverflow)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:194:21: warning: static property 'invalidOperation' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
192 | public static let invalidContext = Status(rawValue:DInvalid_context)
193 | public static let lostDigits = Status(rawValue:DLost_digits)
194 | public static let invalidOperation = Status(rawValue:DInvalid_operation)
| |- warning: static property 'invalidOperation' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalidOperation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | public static let overflow = Status(rawValue:DOverflow)
196 | public static let clamped = Status(rawValue:DClamped)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:195:21: warning: static property 'overflow' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
193 | public static let lostDigits = Status(rawValue:DLost_digits)
194 | public static let invalidOperation = Status(rawValue:DInvalid_operation)
195 | public static let overflow = Status(rawValue:DOverflow)
| |- warning: static property 'overflow' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'overflow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | public static let clamped = Status(rawValue:DClamped)
197 | public static let rounded = Status(rawValue:DRounded)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:196:21: warning: static property 'clamped' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
194 | public static let invalidOperation = Status(rawValue:DInvalid_operation)
195 | public static let overflow = Status(rawValue:DOverflow)
196 | public static let clamped = Status(rawValue:DClamped)
| |- warning: static property 'clamped' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'clamped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | public static let rounded = Status(rawValue:DRounded)
198 | public static let subnormal = Status(rawValue:DSubnormal)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:197:21: warning: static property 'rounded' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
195 | public static let overflow = Status(rawValue:DOverflow)
196 | public static let clamped = Status(rawValue:DClamped)
197 | public static let rounded = Status(rawValue:DRounded)
| |- warning: static property 'rounded' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rounded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | public static let subnormal = Status(rawValue:DSubnormal)
199 | public static let underflow = Status(rawValue:DUnderflow)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:198:21: warning: static property 'subnormal' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
196 | public static let clamped = Status(rawValue:DClamped)
197 | public static let rounded = Status(rawValue:DRounded)
198 | public static let subnormal = Status(rawValue:DSubnormal)
| |- warning: static property 'subnormal' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'subnormal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | public static let underflow = Status(rawValue:DUnderflow)
200 | public static let clearFlags = Status([])
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:199:21: warning: static property 'underflow' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
197 | public static let rounded = Status(rawValue:DRounded)
198 | public static let subnormal = Status(rawValue:DSubnormal)
199 | public static let underflow = Status(rawValue:DUnderflow)
| |- warning: static property 'underflow' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underflow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | public static let clearFlags = Status([])
201 |
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:200:21: warning: static property 'clearFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
198 | public static let subnormal = Status(rawValue:DSubnormal)
199 | public static let underflow = Status(rawValue:DUnderflow)
200 | public static let clearFlags = Status([])
| |- warning: static property 'clearFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'clearFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | public static let errorFlags =
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:202:21: warning: static property 'errorFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
200 | public static let clearFlags = Status([])
201 |
202 | public static let errorFlags =
| |- warning: static property 'errorFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'errorFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | Status(rawValue: Int(DDivision_by_zero | DOverflow |
204 | DUnderflow | DConversion_syntax | DDivision_impossible |
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:207:21: warning: static property 'informationFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
205 | DDivision_undefined | DInsufficient_storage |
206 | DInvalid_context | DInvalid_operation))
207 | public static let informationFlags =
| |- warning: static property 'informationFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'informationFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | Status(rawValue: Int(DClamped | DRounded | DInexact | DLost_digits))
209 |
[52/64] Compiling BigDecimal DecimalMath.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:130:24: warning: static property 'factorialCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | private static var factorialCache: [BigDecimal] = {
| |- warning: static property 'factorialCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'factorialCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'factorialCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | let initialSize = 100
132 | var cache = [BigDecimal](); cache.reserveCapacity(initialSize)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:239:24: warning: static property 'spougeFactorialConstantsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
237 | }
238 |
239 | private static var spougeFactorialConstantsCache = [Int: [BigDecimal]]()
| |- warning: static property 'spougeFactorialConstantsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spougeFactorialConstantsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spougeFactorialConstantsCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 | public static func getSpougeFactorialConstants(_ a: Int) -> [BigDecimal] {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:536:24: warning: static property 'piCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
534 | }
535 |
536 | private static var piCache: BigDecimal?
| |- warning: static property 'piCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'piCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'piCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
537 |
538 | private static func piChudnovski(_ mc: Rounding) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:1246:24: warning: static property 'log2Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1244 | }
1245 |
1246 | private static var log2Cache: BigDecimal?
| |- warning: static property 'log2Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log2Cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log2Cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1247 | private static func logTwo(_ mc: Rounding) -> Self {
1248 | if let result = log2Cache, mc.precision <= result.precision {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:1256:24: warning: static property 'log3Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1254 | }
1255 |
1256 | private static var log3Cache: BigDecimal?
| |- warning: static property 'log3Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log3Cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log3Cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1257 | private static func logThree(_ mc: Rounding) -> Self {
1258 | if let result = log3Cache, mc.precision <= result.precision {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:1266:24: warning: static property 'log10Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1264 | }
1265 |
1266 | private static var log10Cache: BigDecimal?
| |- warning: static property 'log10Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log10Cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log10Cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1267 | private static func logTen(_ mc: Rounding) -> Self {
1268 | if let result = log10Cache, mc.precision <= result.precision {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:21:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | */
20 | public struct ExpCalculator : SeriesCalculator, Sendable {
21 | public static var instance = ExpCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public var calculateInPairs: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:24:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
22 |
23 | public var calculateInPairs: Bool
24 | public var factors = [BigInt.BFraction]()
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:27:17: warning: stored property 'oneOverFactorialOfN' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
27 | private var oneOverFactorialOfN = BigRational.ONE
| `- warning: stored property 'oneOverFactorialOfN' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
28 |
29 | public init() {
/Users/admin/builder/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() {
[53/64] Compiling BigDecimal ExponentCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:130:24: warning: static property 'factorialCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | private static var factorialCache: [BigDecimal] = {
| |- warning: static property 'factorialCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'factorialCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'factorialCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | let initialSize = 100
132 | var cache = [BigDecimal](); cache.reserveCapacity(initialSize)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:239:24: warning: static property 'spougeFactorialConstantsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
237 | }
238 |
239 | private static var spougeFactorialConstantsCache = [Int: [BigDecimal]]()
| |- warning: static property 'spougeFactorialConstantsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spougeFactorialConstantsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spougeFactorialConstantsCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 | public static func getSpougeFactorialConstants(_ a: Int) -> [BigDecimal] {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:536:24: warning: static property 'piCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
534 | }
535 |
536 | private static var piCache: BigDecimal?
| |- warning: static property 'piCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'piCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'piCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
537 |
538 | private static func piChudnovski(_ mc: Rounding) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:1246:24: warning: static property 'log2Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1244 | }
1245 |
1246 | private static var log2Cache: BigDecimal?
| |- warning: static property 'log2Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log2Cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log2Cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1247 | private static func logTwo(_ mc: Rounding) -> Self {
1248 | if let result = log2Cache, mc.precision <= result.precision {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:1256:24: warning: static property 'log3Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1254 | }
1255 |
1256 | private static var log3Cache: BigDecimal?
| |- warning: static property 'log3Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log3Cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log3Cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1257 | private static func logThree(_ mc: Rounding) -> Self {
1258 | if let result = log3Cache, mc.precision <= result.precision {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:1266:24: warning: static property 'log10Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1264 | }
1265 |
1266 | private static var log10Cache: BigDecimal?
| |- warning: static property 'log10Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log10Cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log10Cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1267 | private static func logTen(_ mc: Rounding) -> Self {
1268 | if let result = log10Cache, mc.precision <= result.precision {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:21:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | */
20 | public struct ExpCalculator : SeriesCalculator, Sendable {
21 | public static var instance = ExpCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public var calculateInPairs: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:24:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
22 |
23 | public var calculateInPairs: Bool
24 | public var factors = [BigInt.BFraction]()
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:27:17: warning: stored property 'oneOverFactorialOfN' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
27 | private var oneOverFactorialOfN = BigRational.ONE
| `- warning: stored property 'oneOverFactorialOfN' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
28 |
29 | public init() {
/Users/admin/builder/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() {
[54/64] Compiling BigDecimal CoshCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public var factors: [BigRational]
24 |
25 | static var instance = CoshCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:23:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type '[CoshCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
21 | public struct CoshCalculator : SeriesCalculator, Sendable {
22 | public var calculateInPairs: Bool
23 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type '[CoshCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
24 |
25 | static var instance = CoshCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 | //
8 |
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:28:17: warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
26 |
27 | private var n = 0
28 | private var factorial2n = BigRational.ONE
| `- warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
29 |
30 | public init() {
/Users/admin/builder/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() {
[55/64] Compiling BigDecimal DecimalMath-Simple.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public var factors: [BigRational]
24 |
25 | static var instance = CoshCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:23:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type '[CoshCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
21 | public struct CoshCalculator : SeriesCalculator, Sendable {
22 | public var calculateInPairs: Bool
23 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type '[CoshCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
24 |
25 | static var instance = CoshCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 | //
8 |
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:28:17: warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
26 |
27 | private var n = 0
28 | private var factorial2n = BigRational.ONE
| `- warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
29 |
30 | public init() {
/Users/admin/builder/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() {
[56/64] Compiling BigDecimal AsinCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:24:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var factors: [BigRational]
23 |
24 | static var instance = AsinCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:22:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type '[AsinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
20 | public struct AsinCalculator : SeriesCalculator, Sendable {
21 | public var calculateInPairs: Bool
22 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type '[AsinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
23 |
24 | static var instance = AsinCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:27:17: warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
27 | private var factorial2n = BigRational.ONE
| `- warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
28 | private var factorialN = BigRational.ONE
29 | private var fourPowerN = BigRational.ONE
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:28:17: warning: stored property 'factorialN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
26 | private var n = 0
27 | private var factorial2n = BigRational.ONE
28 | private var factorialN = BigRational.ONE
| `- warning: stored property 'factorialN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
29 | private var fourPowerN = BigRational.ONE
30 |
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:29:17: warning: stored property 'fourPowerN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
27 | private var factorial2n = BigRational.ONE
28 | private var factorialN = BigRational.ONE
29 | private var fourPowerN = BigRational.ONE
| `- warning: stored property 'fourPowerN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
30 |
31 | public init() {
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public var factors: [BigInt.BFraction]
24 |
25 | static var instance = CosCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:23:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
21 | public struct CosCalculator : SeriesCalculator, Sendable {
22 | public var calculateInPairs: Bool
23 | public var factors: [BigInt.BFraction]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
24 |
25 | static var instance = CosCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 | //
8 |
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:29:17: warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
27 | private var n = 0
28 | private var negative = false
29 | private var factorial2n = BigRational.ONE
| `- warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
30 |
31 | public init() {
/Users/admin/builder/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() {
[57/64] Compiling BigDecimal CosCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:24:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var factors: [BigRational]
23 |
24 | static var instance = AsinCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:22:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type '[AsinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
20 | public struct AsinCalculator : SeriesCalculator, Sendable {
21 | public var calculateInPairs: Bool
22 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type '[AsinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
23 |
24 | static var instance = AsinCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:27:17: warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
27 | private var factorial2n = BigRational.ONE
| `- warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
28 | private var factorialN = BigRational.ONE
29 | private var fourPowerN = BigRational.ONE
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:28:17: warning: stored property 'factorialN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
26 | private var n = 0
27 | private var factorial2n = BigRational.ONE
28 | private var factorialN = BigRational.ONE
| `- warning: stored property 'factorialN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
29 | private var fourPowerN = BigRational.ONE
30 |
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:29:17: warning: stored property 'fourPowerN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
27 | private var factorial2n = BigRational.ONE
28 | private var factorialN = BigRational.ONE
29 | private var fourPowerN = BigRational.ONE
| `- warning: stored property 'fourPowerN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
30 |
31 | public init() {
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public var factors: [BigInt.BFraction]
24 |
25 | static var instance = CosCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:23:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
21 | public struct CosCalculator : SeriesCalculator, Sendable {
22 | public var calculateInPairs: Bool
23 | public var factors: [BigInt.BFraction]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
24 |
25 | static var instance = CosCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 | //
8 |
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:29:17: warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
27 | private var n = 0
28 | private var negative = false
29 | private var factorial2n = BigRational.ONE
| `- warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
30 |
31 | public init() {
/Users/admin/builder/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() {
[58/64] Compiling BigDecimal Decimal32.swift
[59/64] Compiling BigDecimal Decimal64.swift
[60/64] Compiling BigDecimal SinhCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:24:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var factors: [BigRational]
23 |
24 | static var instance = SinhCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:22:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type '[SinhCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
20 | public struct SinhCalculator : SeriesCalculator, Sendable {
21 | public var calculateInPairs: Bool
22 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type '[SinhCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
23 |
24 | static var instance = SinhCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:27:17: warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
27 | private var factorial2nPlus1 = BigRational.ONE
| `- warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
28 |
29 | public init() {
/Users/admin/builder/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() {
[61/64] Compiling BigDecimal DecimalFloatingPoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:24:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var factors: [BigRational]
23 |
24 | static var instance = SinhCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:22:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type '[SinhCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
20 | public struct SinhCalculator : SeriesCalculator, Sendable {
21 | public var calculateInPairs: Bool
22 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type '[SinhCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
23 |
24 | static var instance = SinhCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:27:17: warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
27 | private var factorial2nPlus1 = BigRational.ONE
| `- warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
28 |
29 | public init() {
/Users/admin/builder/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() {
[62/64] Emitting module BigDecimal
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/BigDecimal.swift:355:23: warning: static property 'mc' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
353 |
354 | // Default precision and rounding same as Decimal128
355 | public static var mc = Rounding.decimal128
| |- warning: static property 'mc' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mc' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | public static var radix: Int { 10 }
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/BigDecimal.swift:606:23: warning: static property 'nanFlag' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
604 | /// NaN flag - set to *true* whenever a NaN value is generated
605 | /// Can be set to *false* by application code
606 | public static var nanFlag = false
| |- warning: static property 'nanFlag' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nanFlag' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nanFlag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
607 |
608 | // MARK: Conversion functions
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:180:16: warning: static property 'largestNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 | public struct Decimal : DecimalType, Codable, Hashable {
179 |
180 | static var largestNumber = RawDecimal("0")!
| |- warning: static property 'largestNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'largestNumber' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'largestNumber' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 | static var exponentBias = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:182:16: warning: static property 'exponentBias' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
180 | static var largestNumber = RawDecimal("0")!
181 |
182 | static var exponentBias = 0
| |- warning: static property 'exponentBias' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exponentBias' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exponentBias' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | static var exponentBits = 32
184 | static var maxExponent = 128
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:183:16: warning: static property 'exponentBits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 |
182 | static var exponentBias = 0
183 | static var exponentBits = 32
| |- warning: static property 'exponentBits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exponentBits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exponentBits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | static var maxExponent = 128
185 | static var maxDigits = 38
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:184:16: warning: static property 'maxExponent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 | static var exponentBias = 0
183 | static var exponentBits = 32
184 | static var maxExponent = 128
| |- warning: static property 'maxExponent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxExponent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxExponent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | static var maxDigits = 38
186 |
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Decimal.swift:185:16: warning: static property 'maxDigits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | static var exponentBits = 32
184 | static var maxExponent = 128
185 | static var maxDigits = 38
| |- warning: static property 'maxDigits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxDigits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxDigits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | public typealias ID = Decimal
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:24:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var factors: [BigRational]
23 |
24 | static var instance = AsinCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:22:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type '[AsinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
20 | public struct AsinCalculator : SeriesCalculator, Sendable {
21 | public var calculateInPairs: Bool
22 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type '[AsinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
23 |
24 | static var instance = AsinCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:27:17: warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
27 | private var factorial2n = BigRational.ONE
| `- warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
28 | private var factorialN = BigRational.ONE
29 | private var fourPowerN = BigRational.ONE
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:28:17: warning: stored property 'factorialN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
26 | private var n = 0
27 | private var factorial2n = BigRational.ONE
28 | private var factorialN = BigRational.ONE
| `- warning: stored property 'factorialN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
29 | private var fourPowerN = BigRational.ONE
30 |
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/AsinCalculator.swift:29:17: warning: stored property 'fourPowerN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
27 | private var factorial2n = BigRational.ONE
28 | private var factorialN = BigRational.ONE
29 | private var fourPowerN = BigRational.ONE
| `- warning: stored property 'fourPowerN' of 'Sendable'-conforming struct 'AsinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
30 |
31 | public init() {
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public var factors: [BigInt.BFraction]
24 |
25 | static var instance = CosCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:23:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
21 | public struct CosCalculator : SeriesCalculator, Sendable {
22 | public var calculateInPairs: Bool
23 | public var factors: [BigInt.BFraction]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
24 |
25 | static var instance = CosCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 | //
8 |
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CosCalculator.swift:29:17: warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
27 | private var n = 0
28 | private var negative = false
29 | private var factorial2n = BigRational.ONE
| `- warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CosCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
30 |
31 | public init() {
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | public var factors: [BigRational]
24 |
25 | static var instance = CoshCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:23:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type '[CoshCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
21 | public struct CoshCalculator : SeriesCalculator, Sendable {
22 | public var calculateInPairs: Bool
23 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type '[CoshCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
24 |
25 | static var instance = CoshCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 | //
8 |
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/CoshCalculator.swift:28:17: warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
26 |
27 | private var n = 0
28 | private var factorial2n = BigRational.ONE
| `- warning: stored property 'factorial2n' of 'Sendable'-conforming struct 'CoshCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
29 |
30 | public init() {
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:130:24: warning: static property 'factorialCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | private static var factorialCache: [BigDecimal] = {
| |- warning: static property 'factorialCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'factorialCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'factorialCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | let initialSize = 100
132 | var cache = [BigDecimal](); cache.reserveCapacity(initialSize)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:239:24: warning: static property 'spougeFactorialConstantsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
237 | }
238 |
239 | private static var spougeFactorialConstantsCache = [Int: [BigDecimal]]()
| |- warning: static property 'spougeFactorialConstantsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spougeFactorialConstantsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spougeFactorialConstantsCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 | public static func getSpougeFactorialConstants(_ a: Int) -> [BigDecimal] {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:536:24: warning: static property 'piCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
534 | }
535 |
536 | private static var piCache: BigDecimal?
| |- warning: static property 'piCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'piCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'piCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
537 |
538 | private static func piChudnovski(_ mc: Rounding) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:1246:24: warning: static property 'log2Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1244 | }
1245 |
1246 | private static var log2Cache: BigDecimal?
| |- warning: static property 'log2Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log2Cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log2Cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1247 | private static func logTwo(_ mc: Rounding) -> Self {
1248 | if let result = log2Cache, mc.precision <= result.precision {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:1256:24: warning: static property 'log3Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1254 | }
1255 |
1256 | private static var log3Cache: BigDecimal?
| |- warning: static property 'log3Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log3Cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log3Cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1257 | private static func logThree(_ mc: Rounding) -> Self {
1258 | if let result = log3Cache, mc.precision <= result.precision {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/DecimalMath.swift:1266:24: warning: static property 'log10Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1264 | }
1265 |
1266 | private static var log10Cache: BigDecimal?
| |- warning: static property 'log10Cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log10Cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log10Cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1267 | private static func logTen(_ mc: Rounding) -> Self {
1268 | if let result = log10Cache, mc.precision <= result.precision {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:21:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | */
20 | public struct ExpCalculator : SeriesCalculator, Sendable {
21 | public static var instance = ExpCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public var calculateInPairs: Bool
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:24:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
22 |
23 | public var calculateInPairs: Bool
24 | public var factors = [BigInt.BFraction]()
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type '[BFraction]'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/ExponentCalculator.swift:27:17: warning: stored property 'oneOverFactorialOfN' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
27 | private var oneOverFactorialOfN = BigRational.ONE
| `- warning: stored property 'oneOverFactorialOfN' of 'Sendable'-conforming struct 'ExpCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
28 |
29 | public init() {
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:24:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var factors: [BigRational]
23 |
24 | static var instance = SinCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:22:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type '[SinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
20 | public struct SinCalculator : SeriesCalculator, Sendable {
21 | public var calculateInPairs: Bool
22 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type '[SinCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
23 |
24 | static var instance = SinCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinCalculator.swift:28:17: warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
26 | private var n = 0
27 | private var negative = false
28 | private var factorial2nPlus1 = BigRational.ONE
| `- warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
29 |
30 | public init() {
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:24:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public var factors: [BigRational]
23 |
24 | static var instance = SinhCalculator()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:22:16: warning: stored property 'factors' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type '[SinhCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
20 | public struct SinhCalculator : SeriesCalculator, Sendable {
21 | public var calculateInPairs: Bool
22 | public var factors: [BigRational]
| `- warning: stored property 'factors' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type '[SinhCalculator.BigRational]' (aka 'Array<BFraction>'); this is an error in the Swift 6 language mode
23 |
24 | static var instance = SinhCalculator()
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/DecimalMath/SinhCalculator.swift:27:17: warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
25 |
26 | private var n = 0
27 | private var factorial2nPlus1 = BigRational.ONE
| `- warning: stored property 'factorial2nPlus1' of 'Sendable'-conforming struct 'SinhCalculator' has non-sendable type 'BFraction'; this is an error in the Swift 6 language mode
28 |
29 | public init() {
/Users/admin/builder/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() {
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:41:23: warning: static property 'decimal32' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
35 | /// BigDecimal rounding object containing a rounding mode and a precision
36 | /// which is the number of digits in the rounded result
37 | public struct Rounding: Equatable {
| `- note: consider making struct 'Rounding' conform to the 'Sendable' protocol
38 | // MARK: Constants
39 |
40 | /// Decimal32 rounding: .toNearestOrEven, 7
41 | public static let decimal32 = Rounding(.toNearestOrEven,
| |- warning: static property 'decimal32' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decimal32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | Decimal32.maxDigits)
43 | /// Decimal64 rounding: .toNearestOrEven, 16
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:44:23: warning: static property 'decimal64' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
35 | /// BigDecimal rounding object containing a rounding mode and a precision
36 | /// which is the number of digits in the rounded result
37 | public struct Rounding: Equatable {
| `- note: consider making struct 'Rounding' conform to the 'Sendable' protocol
38 | // MARK: Constants
39 |
:
42 | Decimal32.maxDigits)
43 | /// Decimal64 rounding: .toNearestOrEven, 16
44 | public static let decimal64 = Rounding(.toNearestOrEven,
| |- warning: static property 'decimal64' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decimal64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Decimal64.maxDigits)
46 | /// Decimal128 rounding: .toNearestOrEven, 34
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:47:23: warning: static property 'decimal128' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
35 | /// BigDecimal rounding object containing a rounding mode and a precision
36 | /// which is the number of digits in the rounded result
37 | public struct Rounding: Equatable {
| `- note: consider making struct 'Rounding' conform to the 'Sendable' protocol
38 | // MARK: Constants
39 |
:
45 | Decimal64.maxDigits)
46 | /// Decimal128 rounding: .toNearestOrEven, 34
47 | public static let decimal128 = Rounding(.toNearestOrEven,
| |- warning: static property 'decimal128' is not concurrency-safe because non-'Sendable' type 'Rounding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decimal128' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Decimal128.maxDigits)
49 |
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:186:21: warning: static property 'conversionSyntax' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
184 | private static let DUnderflow = 0x00002000
185 |
186 | public static let conversionSyntax = Status(rawValue:DConversion_syntax)
| |- warning: static property 'conversionSyntax' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conversionSyntax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | public static let divisionByZero = Status(rawValue:DDivision_by_zero)
188 | public static let divisionImpossible = Status(rawValue:DDivision_impossible)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:187:21: warning: static property 'divisionByZero' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
185 |
186 | public static let conversionSyntax = Status(rawValue:DConversion_syntax)
187 | public static let divisionByZero = Status(rawValue:DDivision_by_zero)
| |- warning: static property 'divisionByZero' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'divisionByZero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | public static let divisionImpossible = Status(rawValue:DDivision_impossible)
189 | public static let divisionUndefined = Status(rawValue:DDivision_undefined)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:188:21: warning: static property 'divisionImpossible' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
186 | public static let conversionSyntax = Status(rawValue:DConversion_syntax)
187 | public static let divisionByZero = Status(rawValue:DDivision_by_zero)
188 | public static let divisionImpossible = Status(rawValue:DDivision_impossible)
| |- warning: static property 'divisionImpossible' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'divisionImpossible' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | public static let divisionUndefined = Status(rawValue:DDivision_undefined)
190 | public static let insufficientStorage=Status(rawValue:DInsufficient_storage)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:189:21: warning: static property 'divisionUndefined' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
187 | public static let divisionByZero = Status(rawValue:DDivision_by_zero)
188 | public static let divisionImpossible = Status(rawValue:DDivision_impossible)
189 | public static let divisionUndefined = Status(rawValue:DDivision_undefined)
| |- warning: static property 'divisionUndefined' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'divisionUndefined' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | public static let insufficientStorage=Status(rawValue:DInsufficient_storage)
191 | public static let inexact = Status(rawValue:DInexact)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:190:21: warning: static property 'insufficientStorage' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
188 | public static let divisionImpossible = Status(rawValue:DDivision_impossible)
189 | public static let divisionUndefined = Status(rawValue:DDivision_undefined)
190 | public static let insufficientStorage=Status(rawValue:DInsufficient_storage)
| |- warning: static property 'insufficientStorage' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'insufficientStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | public static let inexact = Status(rawValue:DInexact)
192 | public static let invalidContext = Status(rawValue:DInvalid_context)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:191:21: warning: static property 'inexact' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
189 | public static let divisionUndefined = Status(rawValue:DDivision_undefined)
190 | public static let insufficientStorage=Status(rawValue:DInsufficient_storage)
191 | public static let inexact = Status(rawValue:DInexact)
| |- warning: static property 'inexact' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inexact' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | public static let invalidContext = Status(rawValue:DInvalid_context)
193 | public static let lostDigits = Status(rawValue:DLost_digits)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:192:21: warning: static property 'invalidContext' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
190 | public static let insufficientStorage=Status(rawValue:DInsufficient_storage)
191 | public static let inexact = Status(rawValue:DInexact)
192 | public static let invalidContext = Status(rawValue:DInvalid_context)
| |- warning: static property 'invalidContext' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalidContext' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | public static let lostDigits = Status(rawValue:DLost_digits)
194 | public static let invalidOperation = Status(rawValue:DInvalid_operation)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:193:21: warning: static property 'lostDigits' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
191 | public static let inexact = Status(rawValue:DInexact)
192 | public static let invalidContext = Status(rawValue:DInvalid_context)
193 | public static let lostDigits = Status(rawValue:DLost_digits)
| |- warning: static property 'lostDigits' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lostDigits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | public static let invalidOperation = Status(rawValue:DInvalid_operation)
195 | public static let overflow = Status(rawValue:DOverflow)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:194:21: warning: static property 'invalidOperation' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
192 | public static let invalidContext = Status(rawValue:DInvalid_context)
193 | public static let lostDigits = Status(rawValue:DLost_digits)
194 | public static let invalidOperation = Status(rawValue:DInvalid_operation)
| |- warning: static property 'invalidOperation' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invalidOperation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | public static let overflow = Status(rawValue:DOverflow)
196 | public static let clamped = Status(rawValue:DClamped)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:195:21: warning: static property 'overflow' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
193 | public static let lostDigits = Status(rawValue:DLost_digits)
194 | public static let invalidOperation = Status(rawValue:DInvalid_operation)
195 | public static let overflow = Status(rawValue:DOverflow)
| |- warning: static property 'overflow' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'overflow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | public static let clamped = Status(rawValue:DClamped)
197 | public static let rounded = Status(rawValue:DRounded)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:196:21: warning: static property 'clamped' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
194 | public static let invalidOperation = Status(rawValue:DInvalid_operation)
195 | public static let overflow = Status(rawValue:DOverflow)
196 | public static let clamped = Status(rawValue:DClamped)
| |- warning: static property 'clamped' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'clamped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | public static let rounded = Status(rawValue:DRounded)
198 | public static let subnormal = Status(rawValue:DSubnormal)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:197:21: warning: static property 'rounded' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
195 | public static let overflow = Status(rawValue:DOverflow)
196 | public static let clamped = Status(rawValue:DClamped)
197 | public static let rounded = Status(rawValue:DRounded)
| |- warning: static property 'rounded' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rounded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | public static let subnormal = Status(rawValue:DSubnormal)
199 | public static let underflow = Status(rawValue:DUnderflow)
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:198:21: warning: static property 'subnormal' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
196 | public static let clamped = Status(rawValue:DClamped)
197 | public static let rounded = Status(rawValue:DRounded)
198 | public static let subnormal = Status(rawValue:DSubnormal)
| |- warning: static property 'subnormal' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'subnormal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | public static let underflow = Status(rawValue:DUnderflow)
200 | public static let clearFlags = Status([])
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:199:21: warning: static property 'underflow' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
197 | public static let rounded = Status(rawValue:DRounded)
198 | public static let subnormal = Status(rawValue:DSubnormal)
199 | public static let underflow = Status(rawValue:DUnderflow)
| |- warning: static property 'underflow' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underflow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | public static let clearFlags = Status([])
201 |
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:200:21: warning: static property 'clearFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
198 | public static let subnormal = Status(rawValue:DSubnormal)
199 | public static let underflow = Status(rawValue:DUnderflow)
200 | public static let clearFlags = Status([])
| |- warning: static property 'clearFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'clearFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | public static let errorFlags =
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:202:21: warning: static property 'errorFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
200 | public static let clearFlags = Status([])
201 |
202 | public static let errorFlags =
| |- warning: static property 'errorFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'errorFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | Status(rawValue: Int(DDivision_by_zero | DOverflow |
204 | DUnderflow | DConversion_syntax | DDivision_impossible |
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/Support/Rounding.swift:207:21: warning: static property 'informationFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 |
166 | public struct Status: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
167 |
168 | public let rawValue: Int
:
205 | DDivision_undefined | DInsufficient_storage |
206 | DInvalid_context | DInvalid_operation))
207 | public static let informationFlags =
| |- warning: static property 'informationFlags' is not concurrency-safe because non-'Sendable' type 'Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'informationFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | Status(rawValue: Int(DClamped | DRounded | DInexact | DLost_digits))
209 |
[63/64] Compiling BigDecimal BigDecimal.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/BigDecimal.swift:355:23: warning: static property 'mc' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
353 |
354 | // Default precision and rounding same as Decimal128
355 | public static var mc = Rounding.decimal128
| |- warning: static property 'mc' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mc' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | public static var radix: Int { 10 }
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/BigDecimal.swift:606:23: warning: static property 'nanFlag' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
604 | /// NaN flag - set to *true* whenever a NaN value is generated
605 | /// Can be set to *false* by application code
606 | public static var nanFlag = false
| |- warning: static property 'nanFlag' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nanFlag' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nanFlag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
607 |
608 | // MARK: Conversion functions
[64/64] Compiling BigDecimal CBDecimal.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/BigDecimal.swift:355:23: warning: static property 'mc' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
353 |
354 | // Default precision and rounding same as Decimal128
355 | public static var mc = Rounding.decimal128
| |- warning: static property 'mc' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mc' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | public static var radix: Int { 10 }
/Users/admin/builder/spi-builder-workspace/Sources/BigDecimal/BigDecimal.swift:606:23: warning: static property 'nanFlag' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
604 | /// NaN flag - set to *true* whenever a NaN value is generated
605 | /// Can be set to *false* by application code
606 | public static var nanFlag = false
| |- warning: static property 'nanFlag' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nanFlag' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nanFlag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
607 |
608 | // MARK: Conversion functions
Build complete! (13.02s)
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/mgriebling/BigInt.git
Fetching https://github.com/apple/swift-numerics from cache
[1/1584] Fetching uint128
[318/9094] Fetching uint128, bigint
Fetched https://github.com/mgriebling/UInt128.git from cache (1.57s)
Fetched https://github.com/mgriebling/BigInt.git from cache (1.57s)
Fetched https://github.com/apple/swift-numerics from cache (1.57s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (2.61s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.57s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.3.0 (0.45s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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
Build complete.
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mgriebling/BigInt.git"
},
{
"identity" : "swift-numerics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-numerics"
},
{
"identity" : "uint128",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.5",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mgriebling/UInt128.git"
}
],
"manifest_display_name" : "BigDecimal",
"name" : "BigDecimal",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.3"
},
{
"name" : "ios",
"version" : "16.4"
},
{
"name" : "maccatalyst",
"version" : "13.3"
},
{
"name" : "tvos",
"version" : "16.4"
},
{
"name" : "watchos",
"version" : "9.4"
}
],
"products" : [
{
"name" : "BigDecimal",
"targets" : [
"BigDecimal"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BigDecimalTests",
"module_type" : "SwiftTarget",
"name" : "BigDecimalTests",
"path" : "Tests/BigDecimalTests",
"sources" : [
"Decimal32Tests.swift",
"TestAbs.swift",
"TestAddition.swift",
"TestArithmetic.swift",
"TestAsString.swift",
"TestBigDecimal.swift",
"TestCompare.swift",
"TestComplex.swift",
"TestConstructor.swift",
"TestConversion.swift",
"TestData.swift",
"TestDecimal.swift",
"TestDecimal128.swift",
"TestDecimal128Encoding.swift",
"TestDecimal128FMA.swift",
"TestDecimal32.swift",
"TestDecimal32Encoding.swift",
"TestDecimal64.swift",
"TestDecimal64Encoding.swift",
"TestDecimal64FMA.swift",
"TestDivision1.swift",
"TestDivision2.swift",
"TestEncode128.swift",
"TestEncode32.swift",
"TestEncode64.swift",
"TestHyperbolic.swift",
"TestInfinityNaN.swift",
"TestLogarithm.swift",
"TestLogic.swift",
"TestMinMax.swift",
"TestMultiplication.swift",
"TestOperations.swift",
"TestPow.swift",
"TestProperties.swift",
"TestQuantize.swift",
"TestRandom.swift",
"TestRemainder.swift",
"TestRoundAdd.swift",
"TestRoundDiv.swift",
"TestRoundMul.swift",
"TestRoundPow.swift",
"TestScale.swift",
"TestSubtraction.swift",
"TestTrig.swift",
"TestTrim.swift",
"TestWithExponent.swift"
],
"target_dependencies" : [
"BigDecimal"
],
"type" : "test"
},
{
"c99name" : "BigDecimal",
"module_type" : "SwiftTarget",
"name" : "BigDecimal",
"path" : "Sources/BigDecimal",
"product_dependencies" : [
"BigInt",
"UInt128",
"Numerics"
],
"product_memberships" : [
"BigDecimal"
],
"sources" : [
"BigDecimal.swift",
"CBDecimal.swift",
"Decimal.swift",
"Decimal128.swift",
"Decimal32.swift",
"Decimal64.swift",
"DecimalMath/AsinCalculator.swift",
"DecimalMath/CosCalculator.swift",
"DecimalMath/CoshCalculator.swift",
"DecimalMath/DecimalMath-Simple.swift",
"DecimalMath/DecimalMath.swift",
"DecimalMath/ExponentCalculator.swift",
"DecimalMath/SeriesCalculator.swift",
"DecimalMath/SinCalculator.swift",
"DecimalMath/SinhCalculator.swift",
"Support/DecimalFloatingPoint.swift",
"Support/DecimalLogic.swift",
"Support/Extensions.swift",
"Support/Rounding.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.