Build Information
Successful build of BigNum, reference 6.0.0 (a56227
), with Swift 6.1 for Linux on 3 Sep 2025 22:20:17 UTC.
Swift 6 data race errors: 16
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bignum.git
Reference: 6.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/dankogai/swift-bignum
* tag 6.0.0 -> FETCH_HEAD
HEAD is now at a562275 Update README.md
Cloned https://github.com/dankogai/swift-bignum.git
Revision (git rev-parse @):
a562275f0a64bc95f6e3f6c45ee652eefa820749
SUCCESS checkout https://github.com/dankogai/swift-bignum.git at 6.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankogai/swift-bignum.git
https://github.com/dankogai/swift-bignum.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/attaswift/BigInt
[1/4826] Fetching bigint
[1063/11174] Fetching bigint, swift-numerics
Fetched https://github.com/attaswift/BigInt from cache (0.72s)
Fetched https://github.com/apple/swift-numerics from cache (0.73s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.0 (1.60s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 5.7.0 (0.85s)
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 5.7.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.0
Building for debugging...
[0/16] Write sources
[6/16] Compiling _NumericsShims _NumericsShims.c
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/48] Compiling BigInt Strideable.swift
[10/48] Compiling BigInt String Conversion.swift
[11/50] Compiling BigInt Data Conversion.swift
[12/50] Compiling BigInt Division.swift
[13/51] Emitting module BigInt
[14/51] Emitting module RealModule
[15/51] Compiling BigInt Exponentiation.swift
[16/51] Compiling BigInt Random.swift
[17/51] Compiling RealModule RealFunctions.swift
[18/51] Compiling RealModule Real.swift
[19/51] Compiling BigInt Shifts.swift
[20/51] Compiling BigInt Square Root.swift
[21/51] Compiling RealModule Float16+Real.swift
[22/51] Compiling RealModule Float80+Real.swift
[23/51] Compiling RealModule RelaxedArithmetic.swift
[24/52] Wrapping AST for RealModule for debugging
[26/63] Compiling BigInt Subtraction.swift
[27/63] Compiling BigInt Words and Bits.swift
[28/63] Compiling ComplexModule Polar.swift
[29/64] Compiling ComplexModule Complex+Hashable.swift
[30/64] Compiling ComplexModule Complex+IntegerLiteral.swift
[31/64] Compiling ComplexModule Scale.swift
[32/64] Compiling ComplexModule Complex+Numeric.swift
[33/64] Compiling ComplexModule Complex+StringConvertible.swift
[34/64] Compiling ComplexModule Complex.swift
[35/64] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[36/64] Compiling ComplexModule Complex+AlgebraicField.swift
[37/64] Compiling ComplexModule Complex+Codable.swift
[38/64] Compiling ComplexModule Complex+ElementaryFunctions.swift
[39/64] Emitting module ComplexModule
[40/67] Wrapping AST for ComplexModule for debugging
[42/67] Compiling Numerics Numerics.swift
[43/67] Emitting module Numerics
[47/68] Compiling BigInt Integer Conversion.swift
[48/68] Compiling BigInt Multiplication.swift
[49/68] Compiling BigInt Prime Test.swift
[50/68] Compiling BigInt Addition.swift
[51/68] Compiling BigInt BigInt.swift
[52/68] Compiling BigInt BigUInt.swift
[53/68] Compiling BigInt Bitwise Ops.swift
[54/68] Compiling BigInt Codable.swift
[55/68] Compiling BigInt Comparable.swift
[56/68] Compiling BigInt Floating Point Conversion.swift
[57/68] Compiling BigInt GCD.swift
[58/68] Compiling BigInt Hashable.swift
[63/69] Wrapping AST for Numerics for debugging
[64/69] Wrapping AST for BigInt for debugging
[66/74] Emitting module BigNum
/host/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: add '@MainActor' to make static property 'precision' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'roundingRule' part of global actor 'MainActor'
| `- 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
/host/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: add '@MainActor' to make static property 'expLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | // basic init
17 | public init(scale: Exponent, mantissa:Significand) {
/host/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: add '@MainActor' to make static property 'ATAN1' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'SQRT2' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'LN2' part of global actor 'MainActor'
| `- 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) {
/host/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: add '@MainActor' to make static property 'LN10' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'precision' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'roundingRule' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'ATAN1' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'SQRT2' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'LN2' part of global actor 'MainActor'
| `- 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) }
/host/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: add '@MainActor' to make static property 'LN10' part of global actor 'MainActor'
| `- 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 {
/host/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: add '@MainActor' to make static property 'expLimit' part of global actor 'MainActor'
| `- 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,
[67/74] Compiling BigNum Rational.swift
/host/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: add '@MainActor' to make static property 'precision' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'roundingRule' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'ATAN1' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'SQRT2' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'LN2' part of global actor 'MainActor'
| `- 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) }
/host/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: add '@MainActor' to make static property 'LN10' part of global actor 'MainActor'
| `- 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 {
/host/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: add '@MainActor' to make static property 'expLimit' part of global actor 'MainActor'
| `- 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,
[68/74] Compiling BigNum BigNum.swift
[69/74] Compiling BigNum BigFloat.swift
/host/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: add '@MainActor' to make static property 'precision' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'roundingRule' part of global actor 'MainActor'
| `- 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
/host/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: add '@MainActor' to make static property 'expLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | // basic init
17 | public init(scale: Exponent, mantissa:Significand) {
/host/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: add '@MainActor' to make static property 'ATAN1' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'SQRT2' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'LN2' part of global actor 'MainActor'
| `- 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) {
/host/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: add '@MainActor' to make static property 'LN10' part of global actor 'MainActor'
| `- 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)
[70/74] Compiling BigNum GenericMath.swift
[71/75] Wrapping AST for BigNum for debugging
[73/77] Compiling BigNumRun main.swift
[74/77] Emitting module BigNumRun
[75/78] Wrapping AST for BigNumRun for debugging
[76/78] Write Objects.LinkFileList
[77/78] Linking BigNumRun
Build complete! (20.93s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.