Build Information
Successful build of BigNum, reference 5.4.1 (3200f6
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 21:13:47 UTC.
Swift 6 data race errors: 16
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bignum.git
Reference: 5.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-bignum
* tag 5.4.1 -> FETCH_HEAD
HEAD is now at 3200f6b switch trigger to on:push:tags
Cloned https://github.com/dankogai/swift-bignum.git
Revision (git rev-parse @):
3200f6ba76308beaf2c6ebc3d2919ec80324f7f4
SUCCESS checkout https://github.com/dankogai/swift-bignum.git at 5.4.1
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/attaswift/BigInt
[1/4732] Fetching bigint
[96/10308] Fetching bigint, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.39s)
Fetched https://github.com/attaswift/BigInt from cache (1.39s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.67s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 5.5.0 (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/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 5.5.0
========================================
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": "swift-bignum",
"name": "BigNum",
"url": "https://github.com/dankogai/swift-bignum.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-bignum",
"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": "bigint",
"name": "BigInt",
"url": "https://github.com/attaswift/BigInt",
"version": "5.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/dankogai/swift-bignum.git
[1/1303] Fetching swift-bignum
Fetched https://github.com/dankogai/swift-bignum.git from cache (1.15s)
Fetching https://github.com/attaswift/BigInt from cache
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/attaswift/BigInt from cache (0.59s)
Fetched https://github.com/apple/swift-numerics from cache (0.59s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.03s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 5.5.0 (0.02s)
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 5.5.0
Creating working copy for https://github.com/dankogai/swift-bignum.git
Working copy of https://github.com/dankogai/swift-bignum.git resolved at 5.4.1 (3200f6b)
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 'swift-bignum' is not used by any target
Found 2 product dependencies
- swift-numerics
- BigInt
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dankogai/swift-bignum.git
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
Building for debugging...
[0/12] Write sources
[4/12] Write BigNumRun-entitlement.plist
[7/12] Compiling _NumericsShims _NumericsShims.c
[8/12] Write swift-version--7754E27361AE5C74.txt
[10/43] Emitting module BigInt
[11/45] Compiling RealModule Float+Real.swift
[12/46] Compiling RealModule RealFunctions.swift
[13/46] Compiling RealModule AlgebraicField.swift
[14/46] Emitting module RealModule
[15/46] Compiling RealModule Real.swift
[16/46] Compiling RealModule AugmentedArithmetic.swift
[17/46] Compiling RealModule ElementaryFunctions.swift
[18/46] Compiling RealModule Double+Real.swift
[19/46] Compiling RealModule ApproximateEquality.swift
[20/46] Compiling RealModule Float80+Real.swift
[21/46] Compiling RealModule Float16+Real.swift
[22/51] Compiling ComplexModule Complex.swift
[23/51] Compiling ComplexModule Differentiable.swift
[24/51] Compiling ComplexModule ElementaryFunctions.swift
[25/51] Compiling ComplexModule Arithmetic.swift
[26/51] Emitting module ComplexModule
[27/53] Emitting module Numerics
[28/53] Compiling Numerics Numerics.swift
[29/53] Compiling BigInt Strideable.swift
[30/53] Compiling BigInt String Conversion.swift
[31/53] Compiling BigInt Integer Conversion.swift
[32/53] Compiling BigInt Multiplication.swift
[33/53] Compiling BigInt GCD.swift
[34/53] Compiling BigInt Hashable.swift
[35/53] Compiling BigInt Prime Test.swift
[36/53] Compiling BigInt Random.swift
[37/53] Compiling BigInt Shifts.swift
[38/53] Compiling BigInt Square Root.swift
[39/53] Compiling BigInt Subtraction.swift
[40/53] Compiling BigInt Words and Bits.swift
[41/53] Compiling BigInt Exponentiation.swift
[42/53] Compiling BigInt Floating Point Conversion.swift
[43/53] Compiling BigInt Bitwise Ops.swift
[44/53] Compiling BigInt Codable.swift
[45/53] Compiling BigInt Comparable.swift
[46/53] Compiling BigInt Addition.swift
[47/53] Compiling BigInt BigInt.swift
[48/53] Compiling BigInt BigUInt.swift
[49/53] Compiling BigInt Data Conversion.swift
[50/53] Compiling BigInt Division.swift
[51/58] Compiling BigNum GenericMath.swift
[52/58] Compiling BigNum BigFloat.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:13:23: warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var scale:Exponent // stored property
12 | public var mantissa:Significand // stored property
13 | public static var precision = 64
| |- warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'precision' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'precision' 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
14 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
15 | public static var expLimit = Self(Int16.max)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:14:23: warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public var mantissa:Significand // stored property
13 | public static var precision = 64
14 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
| |- warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'roundingRule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'roundingRule' 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
15 | public static var expLimit = Self(Int16.max)
16 | // basic init
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:15:23: warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var precision = 64
14 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
15 | public static var expLimit = Self(Int16.max)
| |- warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expLimit' 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
16 | // basic init
17 | public init(scale: Exponent, mantissa:Significand) {
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:406:23: warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
404 | extension BigFloat : BigFloatingPoint {
405 | public typealias IntType = BigInt
406 | public static var ATAN1 = (precision:0, value:nan)
| |- warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ATAN1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ATAN1' 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
407 | public static var E = (precision:0, value:nan)
408 | public static var SQRT2 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:407:23: warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
405 | public typealias IntType = BigInt
406 | public static var ATAN1 = (precision:0, value:nan)
407 | public static var E = (precision:0, value:nan)
| |- warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'E' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'E' 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
408 | public static var SQRT2 = (precision:0, value:nan)
409 | public static var LN2 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:408:23: warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
406 | public static var ATAN1 = (precision:0, value:nan)
407 | public static var E = (precision:0, value:nan)
408 | public static var SQRT2 = (precision:0, value:nan)
| |- warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SQRT2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'SQRT2' 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
409 | public static var LN2 = (precision:0, value:nan)
410 | public static var LN10 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:409:23: warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
407 | public static var E = (precision:0, value:nan)
408 | public static var SQRT2 = (precision:0, value:nan)
409 | public static var LN2 = (precision:0, value:nan)
| |- warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LN2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'LN2' 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
410 | public static var LN10 = (precision:0, value:nan)
411 | public init(_ value: BigRat) {
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:410:23: warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
408 | public static var SQRT2 = (precision:0, value:nan)
409 | public static var LN2 = (precision:0, value:nan)
410 | public static var LN10 = (precision:0, value:nan)
| |- warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LN10' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'LN10' 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
411 | public init(_ value: BigRat) {
412 | self.init(value, precision:BigFloat.precision, round:BigFloat.roundingRule)
[53/58] Compiling BigNum Rational.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:445:23: warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
443 | public typealias Element = BigInt
444 | public typealias IntType = BigInt
445 | public static var precision = 64
| |- warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'precision' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'precision' 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
446 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 | public static var ATAN1 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:446:23: warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
444 | public typealias IntType = BigInt
445 | public static var precision = 64
446 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
| |- warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'roundingRule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'roundingRule' 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
447 | public static var ATAN1 = (precision:0, value:nan)
448 | public static var E = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:447:23: warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
445 | public static var precision = 64
446 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 | public static var ATAN1 = (precision:0, value:nan)
| |- warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ATAN1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ATAN1' 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
448 | public static var E = (precision:0, value:nan)
449 | public static var SQRT2 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:448:23: warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
446 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 | public static var ATAN1 = (precision:0, value:nan)
448 | public static var E = (precision:0, value:nan)
| |- warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'E' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'E' 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
449 | public static var SQRT2 = (precision:0, value:nan)
450 | public static var LN2 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:449:23: warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
447 | public static var ATAN1 = (precision:0, value:nan)
448 | public static var E = (precision:0, value:nan)
449 | public static var SQRT2 = (precision:0, value:nan)
| |- warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SQRT2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'SQRT2' 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
450 | public static var LN2 = (precision:0, value:nan)
451 | public static var LN10 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:450:23: warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
448 | public static var E = (precision:0, value:nan)
449 | public static var SQRT2 = (precision:0, value:nan)
450 | public static var LN2 = (precision:0, value:nan)
| |- warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LN2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'LN2' 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
451 | public static var LN10 = (precision:0, value:nan)
452 | public static var pi: Self { return Self.PI(precision:Self.precision) }
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:451:23: warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
449 | public static var SQRT2 = (precision:0, value:nan)
450 | public static var LN2 = (precision:0, value:nan)
451 | public static var LN10 = (precision:0, value:nan)
| |- warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LN10' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'LN10' 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
452 | public static var pi: Self { return Self.PI(precision:Self.precision) }
453 | public static func getEpsilon(precision px:Int)->BigRational {
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:474:23: warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
472 | /// if smaller than `-expLimit` 0 is returned
473 | /// anything larger than `+expLimit` +infinity is returned
474 | public static var expLimit = Self(Int16.max)
| |- warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expLimit' 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
475 | public func remainder(dividingBy other:BigRational,
476 | precision:Int = BigRational.precision,
[54/58] Compiling BigNum BigNum.swift
[55/58] Emitting module BigNum
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:13:23: warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var scale:Exponent // stored property
12 | public var mantissa:Significand // stored property
13 | public static var precision = 64
| |- warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'precision' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'precision' 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
14 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
15 | public static var expLimit = Self(Int16.max)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:14:23: warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public var mantissa:Significand // stored property
13 | public static var precision = 64
14 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
| |- warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'roundingRule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'roundingRule' 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
15 | public static var expLimit = Self(Int16.max)
16 | // basic init
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:15:23: warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var precision = 64
14 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
15 | public static var expLimit = Self(Int16.max)
| |- warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expLimit' 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
16 | // basic init
17 | public init(scale: Exponent, mantissa:Significand) {
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:406:23: warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
404 | extension BigFloat : BigFloatingPoint {
405 | public typealias IntType = BigInt
406 | public static var ATAN1 = (precision:0, value:nan)
| |- warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ATAN1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ATAN1' 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
407 | public static var E = (precision:0, value:nan)
408 | public static var SQRT2 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:407:23: warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
405 | public typealias IntType = BigInt
406 | public static var ATAN1 = (precision:0, value:nan)
407 | public static var E = (precision:0, value:nan)
| |- warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'E' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'E' 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
408 | public static var SQRT2 = (precision:0, value:nan)
409 | public static var LN2 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:408:23: warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
406 | public static var ATAN1 = (precision:0, value:nan)
407 | public static var E = (precision:0, value:nan)
408 | public static var SQRT2 = (precision:0, value:nan)
| |- warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SQRT2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'SQRT2' 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
409 | public static var LN2 = (precision:0, value:nan)
410 | public static var LN10 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:409:23: warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
407 | public static var E = (precision:0, value:nan)
408 | public static var SQRT2 = (precision:0, value:nan)
409 | public static var LN2 = (precision:0, value:nan)
| |- warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LN2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'LN2' 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
410 | public static var LN10 = (precision:0, value:nan)
411 | public init(_ value: BigRat) {
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/BigFloat.swift:410:23: warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
408 | public static var SQRT2 = (precision:0, value:nan)
409 | public static var LN2 = (precision:0, value:nan)
410 | public static var LN10 = (precision:0, value:nan)
| |- warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LN10' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'LN10' 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
411 | public init(_ value: BigRat) {
412 | self.init(value, precision:BigFloat.precision, round:BigFloat.roundingRule)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:445:23: warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
443 | public typealias Element = BigInt
444 | public typealias IntType = BigInt
445 | public static var precision = 64
| |- warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'precision' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'precision' 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
446 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 | public static var ATAN1 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:446:23: warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
444 | public typealias IntType = BigInt
445 | public static var precision = 64
446 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
| |- warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'roundingRule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'roundingRule' 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
447 | public static var ATAN1 = (precision:0, value:nan)
448 | public static var E = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:447:23: warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
445 | public static var precision = 64
446 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 | public static var ATAN1 = (precision:0, value:nan)
| |- warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ATAN1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ATAN1' 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
448 | public static var E = (precision:0, value:nan)
449 | public static var SQRT2 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:448:23: warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
446 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 | public static var ATAN1 = (precision:0, value:nan)
448 | public static var E = (precision:0, value:nan)
| |- warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'E' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'E' 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
449 | public static var SQRT2 = (precision:0, value:nan)
450 | public static var LN2 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:449:23: warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
447 | public static var ATAN1 = (precision:0, value:nan)
448 | public static var E = (precision:0, value:nan)
449 | public static var SQRT2 = (precision:0, value:nan)
| |- warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SQRT2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'SQRT2' 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
450 | public static var LN2 = (precision:0, value:nan)
451 | public static var LN10 = (precision:0, value:nan)
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:450:23: warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
448 | public static var E = (precision:0, value:nan)
449 | public static var SQRT2 = (precision:0, value:nan)
450 | public static var LN2 = (precision:0, value:nan)
| |- warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LN2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'LN2' 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
451 | public static var LN10 = (precision:0, value:nan)
452 | public static var pi: Self { return Self.PI(precision:Self.precision) }
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:451:23: warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
449 | public static var SQRT2 = (precision:0, value:nan)
450 | public static var LN2 = (precision:0, value:nan)
451 | public static var LN10 = (precision:0, value:nan)
| |- warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LN10' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'LN10' 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
452 | public static var pi: Self { return Self.PI(precision:Self.precision) }
453 | public static func getEpsilon(precision px:Int)->BigRational {
/Users/admin/builder/spi-builder-workspace/Sources/BigNum/Rational.swift:474:23: warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
472 | /// if smaller than `-expLimit` 0 is returned
473 | /// anything larger than `+expLimit` +infinity is returned
474 | public static var expLimit = Self(Int16.max)
| |- warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expLimit' 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
475 | public func remainder(dividingBy other:BigRational,
476 | precision:Int = BigRational.precision,
[56/60] Emitting module BigNumRun
[57/60] Compiling BigNumRun main.swift
[57/60] Write Objects.LinkFileList
[58/60] Linking BigNumRun
[59/60] Applying BigNumRun
Build complete! (19.53s)
Build complete.
{
"dependencies" : [
{
"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" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt"
}
],
"manifest_display_name" : "BigNum",
"name" : "BigNum",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BigNum",
"targets" : [
"BigNum"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BigNumRun",
"targets" : [
"BigNumRun"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BigNumTests",
"module_type" : "SwiftTarget",
"name" : "BigNumTests",
"path" : "Tests/BigNumTests",
"sources" : [
"BigNumTests.swift",
"GenericMathTests.swift",
"RationalTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"BigNum"
],
"type" : "test"
},
{
"c99name" : "BigNumRun",
"module_type" : "SwiftTarget",
"name" : "BigNumRun",
"path" : "Sources/BigNumRun",
"product_memberships" : [
"BigNumRun"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"BigNum"
],
"type" : "executable"
},
{
"c99name" : "BigNum",
"module_type" : "SwiftTarget",
"name" : "BigNum",
"path" : "Sources/BigNum",
"product_dependencies" : [
"BigInt",
"Numerics"
],
"product_memberships" : [
"BigNum",
"BigNumRun"
],
"sources" : [
"BigFloat.swift",
"BigNum.swift",
"GenericMath.swift",
"Rational.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.