Build Information
Successful build of BigNum with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bignum.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-bignum
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7905f4e add pull_request:
Cloned https://github.com/dankogai/swift-bignum.git
Revision (git rev-parse @):
7905f4e520bb601ed02a163d3c7410aa20f39c71
SUCCESS checkout https://github.com/dankogai/swift-bignum.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/dankogai/swift-bignum.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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
[2/12] Write BigNumRun-entitlement.plist
[2/12] Write sources
[7/12] Compiling _NumericsShims _NumericsShims.c
[8/12] Write swift-version-6F35C1178C84523A.txt
[10/43] Compiling RealModule Float16+Real.swift
[11/43] Compiling RealModule Real.swift
[12/43] Compiling RealModule Float+Real.swift
[13/43] Compiling RealModule Float80+Real.swift
[14/44] Compiling RealModule RealFunctions.swift
[15/44] Compiling RealModule AugmentedArithmetic.swift
[16/44] Compiling RealModule Double+Real.swift
[17/44] Compiling RealModule ElementaryFunctions.swift
[18/44] Compiling RealModule AlgebraicField.swift
[19/44] Emitting module RealModule
[20/44] Compiling RealModule ApproximateEquality.swift
[21/49] Compiling ComplexModule ElementaryFunctions.swift
[22/49] Compiling ComplexModule Complex.swift
[23/49] Compiling ComplexModule Differentiable.swift
[24/49] Emitting module ComplexModule
[25/49] Compiling ComplexModule Arithmetic.swift
[26/51] Emitting module Numerics
[27/51] Compiling Numerics Numerics.swift
[28/51] Compiling BigInt Strideable.swift
[29/51] Compiling BigInt String Conversion.swift
[30/53] Compiling BigInt GCD.swift
[31/53] Compiling BigInt Hashable.swift
[32/53] Compiling BigInt Shifts.swift
[33/53] Compiling BigInt Square Root.swift
[34/53] Compiling BigInt Integer Conversion.swift
[35/53] Compiling BigInt Multiplication.swift
[36/53] Compiling BigInt Exponentiation.swift
[37/53] Compiling BigInt Floating Point Conversion.swift
[38/53] Compiling BigInt Prime Test.swift
[39/53] Compiling BigInt Random.swift
[40/53] Emitting module BigInt
[41/53] Compiling BigInt Subtraction.swift
[42/53] Compiling BigInt Words and Bits.swift
[43/53] Compiling BigInt Data Conversion.swift
[44/53] Compiling BigInt Division.swift
[45/53] Compiling BigInt Addition.swift
[46/53] Compiling BigInt BigInt.swift
[47/53] Compiling BigInt BigUInt.swift
[48/53] Compiling BigInt Bitwise Ops.swift
[49/53] Compiling BigInt Codable.swift
[50/53] Compiling BigInt Comparable.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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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] Compiling BigNumRun main.swift
[57/60] Emitting module BigNumRun
[57/60] Write Objects.LinkFileList
[58/60] Linking BigNumRun
[59/60] Applying BigNumRun
Build complete! (25.01s)
Fetching https://github.com/attaswift/BigInt
Fetching https://github.com/apple/swift-numerics
[1/3097] Fetching bigint
[94/8569] Fetching bigint, swift-numerics
Fetched https://github.com/attaswift/BigInt from cache (1.35s)
Fetched https://github.com/apple/swift-numerics from cache (1.35s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.69s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 5.3.0 (0.68s)
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.3.0
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.