Build Information
Successful build of BigDecimal, reference 3.0.2 (4414e0
), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 02:55:03 UTC.
Swift 6 data race errors: 39
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.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
Fetching https://github.com/mgriebling/BigInt.git
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/apple/swift-numerics
[1/5576] Fetching swift-numerics
[169/7160] Fetching swift-numerics, uint128
[2764/14664] Fetching swift-numerics, uint128, bigint
Fetched https://github.com/apple/swift-numerics from cache (1.89s)
Fetched https://github.com/mgriebling/BigInt.git from cache (1.89s)
Fetched https://github.com/mgriebling/UInt128.git from cache (1.89s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.1.5 (3.08s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.56s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.2.4 (0.50s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/mgriebling/UInt128.git
Working copy of https://github.com/mgriebling/UInt128.git resolved at 3.1.5
Creating working copy for https://github.com/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.2.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "bigdecimal",
"name": "BigDecimal",
"url": "https://github.com/mgriebling/BigDecimal.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigDecimal",
"dependencies": [
{
"identity": "bigint",
"name": "BigInt",
"url": "https://github.com/mgriebling/BigInt.git",
"version": "2.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
"dependencies": [
]
},
{
"identity": "swift-numerics",
"name": "swift-numerics",
"url": "https://github.com/apple/swift-numerics",
"version": "1.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
"dependencies": [
]
},
{
"identity": "uint128",
"name": "UInt128",
"url": "https://github.com/mgriebling/UInt128.git",
"version": "3.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UInt128",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/mgriebling/BigDecimal.git
[1/5879] Fetching bigdecimal
Fetched https://github.com/mgriebling/BigDecimal.git from cache (1.60s)
Fetching https://github.com/mgriebling/UInt128.git from cache
Fetching https://github.com/apple/swift-numerics from cache
Fetching https://github.com/mgriebling/BigInt.git from cache
Fetched https://github.com/mgriebling/BigInt.git from cache (0.48s)
Fetched https://github.com/mgriebling/UInt128.git from cache (0.48s)
Fetched https://github.com/apple/swift-numerics from cache (0.48s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (0.54s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.02s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.3.0 (0.42s)
Creating working copy for https://github.com/mgriebling/UInt128.git
Working copy of https://github.com/mgriebling/UInt128.git resolved at 3.2.0
Creating working copy for https://github.com/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.3.0
Creating working copy for https://github.com/mgriebling/BigDecimal.git
Working copy of https://github.com/mgriebling/BigDecimal.git resolved at 3.0.2 (4414e0e)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
warning: '.resolve-product-dependencies': dependency 'bigdecimal' is not used by any target
Found 3 product dependencies
- BigInt
- swift-numerics
- UInt128
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
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.1.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--7754E27361AE5C74.txt
[9/33] Emitting module RealModule
[10/34] Compiling RealModule Real.swift
[11/34] Compiling RealModule Float80+Real.swift
[12/34] Compiling RealModule RealFunctions.swift
[13/34] Compiling RealModule Float16+Real.swift
[14/34] Compiling RealModule AugmentedArithmetic.swift
[15/34] Compiling RealModule Double+Real.swift
[16/34] Compiling RealModule ElementaryFunctions.swift
[17/34] Compiling RealModule ApproximateEquality.swift
[18/34] Compiling RealModule Float+Real.swift
[19/34] Compiling RealModule AlgebraicField.swift
[20/39] Compiling ComplexModule Arithmetic.swift
[21/39] Compiling ComplexModule Differentiable.swift
[22/39] Compiling ComplexModule Complex.swift
[23/39] Compiling ComplexModule ElementaryFunctions.swift
[24/39] Emitting module ComplexModule
[25/41] Emitting module Numerics
[26/41] Compiling Numerics Numerics.swift
[27/41] Compiling UInt128 UInt128.swift
[28/41] Emitting module UInt128
[29/41] Compiling BigInt Factorial.swift
[30/41] Compiling BigInt GCD.swift
[31/42] Compiling BigInt ExpMod.swift
[32/42] Compiling BigInt FFT.swift
[33/42] Compiling BigInt BurnikelZiegler.swift
[34/42] Compiling BigInt CRT.swift
[35/42] Compiling BigInt Karatsuba.swift
[36/42] Compiling BigInt Limbs.swift
[37/42] Compiling BigInt ToomCook.swift
[38/42] Compiling BigInt BigFrac.swift
[39/42] Compiling BigInt BigInt-Extensions.swift
[40/42] Emitting module BigInt
[41/42] Compiling BigInt BigInt.swift
[42/42] Compiling BigInt BitSieve.swift
[43/61] Compiling BigDecimal DecimalLogic.swift
[44/61] Compiling BigDecimal Extensions.swift
[45/62] 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: annotate 'decimal32' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decimal64' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decimal128' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'conversionSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'divisionByZero' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'divisionImpossible' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'divisionUndefined' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'insufficientStorage' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inexact' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'invalidContext' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'lostDigits' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'invalidOperation' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'overflow' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'clamped' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'rounded' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'subnormal' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'underflow' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'clearFlags' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'errorFlags' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'informationFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | Status(rawValue: Int(DClamped | DRounded | DInexact | DLost_digits))
209 |
[46/62] 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: annotate 'factorialCache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'spougeFactorialConstantsCache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'piCache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'log2Cache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'log3Cache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'log10Cache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | private var n = 0
[47/62] 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: annotate 'factorialCache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'spougeFactorialConstantsCache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'piCache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'log2Cache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'log3Cache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'log10Cache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | private var n = 0
[48/62] 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
[49/62] 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
[50/62] 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'mc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | public static var radix: Int { 10 }
[51/62] 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'mc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | public static var radix: Int { 10 }
[52/62] 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | private var n = 0
[53/62] 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | private var n = 0
[54/62] Compiling BigDecimal Decimal32.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: annotate 'decimal32' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decimal64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Decimal64.maxDigits)
46 | /// Decimal128 rounding: .toNearestOrEven, 34
[55/62] Compiling BigDecimal Decimal64.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: annotate 'decimal32' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decimal64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Decimal64.maxDigits)
46 | /// Decimal128 rounding: .toNearestOrEven, 34
[56/62] 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: annotate 'largestNumber' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'exponentBias' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'exponentBits' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'maxExponent' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'maxDigits' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'decimal128' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Decimal128.maxDigits)
49 |
[57/62] 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: annotate 'largestNumber' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'exponentBias' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'exponentBits' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'maxExponent' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'maxDigits' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'decimal128' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Decimal128.maxDigits)
49 |
[58/62] 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
[59/62] 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var n = 0
[60/62] 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: annotate 'mc' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'decimal128' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'nanFlag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
607 |
608 | // MARK: Conversion functions
[61/62] 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: annotate 'mc' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'decimal128' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'nanFlag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
607 |
608 | // MARK: Conversion functions
[62/62] 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: annotate 'mc' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'decimal128' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'nanFlag' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'largestNumber' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'exponentBias' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'exponentBits' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'maxExponent' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'maxDigits' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'factorialCache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'spougeFactorialConstantsCache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'piCache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'log2Cache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'log3Cache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'log10Cache' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'decimal32' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decimal64' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'conversionSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'divisionByZero' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'divisionImpossible' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'divisionUndefined' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'insufficientStorage' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inexact' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'invalidContext' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'lostDigits' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'invalidOperation' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'overflow' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'clamped' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'rounded' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'subnormal' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'underflow' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'clearFlags' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'errorFlags' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'informationFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | Status(rawValue: Int(DClamped | DRounded | DInexact | DLost_digits))
209 |
Build complete! (18.83s)
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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/mgriebling/bigdecimal/3.0.2
Repository: mgriebling/BigDecimal
Swift version used: 6.0
Target: Target1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/mgriebling/BigInt.git
Updated https://github.com/mgriebling/BigInt.git (0.45s)
[1/2044] Fetching swift-docc-plugin
Updating https://github.com/apple/swift-numerics
Updating https://github.com/mgriebling/UInt128.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.25s)
Updated https://github.com/mgriebling/UInt128.git (0.50s)
Updated https://github.com/apple/swift-numerics (0.50s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.1.5 (0.53s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.53s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.2.4 (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.52s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.55s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Compiling Snippets SnippetParser.swift
[8/53] Compiling SymbolKit GenericConstraint.swift
[9/53] Compiling SymbolKit GenericParameter.swift
[10/53] Compiling SymbolKit Generics.swift
[11/53] Compiling SymbolKit Namespace.swift
[12/53] Compiling SymbolKit Names.swift
[13/53] Compiling SymbolKit SPI.swift
[14/53] Compiling SymbolKit Snippet.swift
[15/53] Compiling SymbolKit Extension.swift
[16/53] Compiling SymbolKit DeclarationFragments.swift
[17/53] Compiling SymbolKit Fragment.swift
[18/53] Compiling SymbolKit FragmentKind.swift
[19/53] Compiling SymbolKit FunctionParameter.swift
[20/53] Compiling SymbolKit FunctionSignature.swift
[21/53] Compiling SymbolKit SourceRange.swift
[22/53] Compiling SymbolKit Metadata.swift
[23/53] Compiling SymbolKit Module.swift
[24/53] Compiling SymbolKit OperatingSystem.swift
[25/53] Compiling SymbolKit Platform.swift
[26/57] Compiling SymbolKit SemanticVersion.swift
[27/57] Compiling SymbolKit AccessControl.swift
[28/57] Compiling SymbolKit Availability.swift
[29/57] Compiling SymbolKit AvailabilityItem.swift
[30/57] Compiling SymbolKit Domain.swift
[31/57] Emitting module Snippets
[32/57] Emitting module SymbolKit
[33/57] Compiling SymbolKit Identifier.swift
[34/57] Compiling SymbolKit KindIdentifier.swift
[35/57] Compiling SymbolKit Location.swift
[36/57] Compiling SymbolKit Mutability.swift
[37/57] Compiling SymbolKit Relationship.swift
[38/57] Compiling SymbolKit RelationshipKind.swift
[39/57] Compiling SymbolKit SourceOrigin.swift
[40/57] Compiling SymbolKit GenericConstraints.swift
[41/57] Compiling SymbolKit Swift.swift
[42/57] Compiling SymbolKit Symbol.swift
[43/57] Compiling SymbolKit SymbolKind.swift
[44/57] Compiling SymbolKit SymbolGraph.swift
[45/57] Compiling SymbolKit GraphCollector.swift
[46/57] Compiling SymbolKit Mixin+Equals.swift
[47/57] Compiling SymbolKit Mixin+Hash.swift
[48/57] Compiling SymbolKit Mixin.swift
[49/57] Compiling SymbolKit LineList.swift
[50/57] Compiling SymbolKit Position.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract SnippetBuildCommand.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract URL+Status.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.92s)
error: no target named 'Target1'
compatible targets: 'BigDecimal', 'BigInt', 'UInt128', 'Numerics'
Target: Target2
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.18s)
error: no target named 'Target2'
compatible targets: 'BigDecimal', 'BigInt', 'UInt128', 'Numerics'
1
0 /Users/admin/builder/spi-builder-workspace/.docs/mgriebling/bigdecimal/3.0.2
✅ Doc result (uploading) reported
Error while generating docs: Error Domain=NSCocoaErrorDomain Code=260 "The folder “documentation” doesn’t exist." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.docs/mgriebling/bigdecimal/3.0.2/documentation, NSUserStringVariant=(
Folder
), NSUnderlyingError=0x600001f34210 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}
✅ Doc result (failed) reported
Done.