Build Information
Successful build of BigNum, reference main (7905f4
), with Swift 6.1 for Linux on 28 Apr 2025 00:49:51 UTC.
Swift 6 data race errors: 16
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bignum.git
Reference: main
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
* 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: 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-4606859-1":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/4771] Fetching bigint
[2101/10445] Fetching bigint, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.67s)
Fetched https://github.com/attaswift/BigInt from cache (0.68s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.55s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 5.5.1 (0.75s)
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 5.5.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Building for debugging...
[0/16] Write sources
[6/16] Compiling _NumericsShims _NumericsShims.c
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/47] Emitting module RealModule
[10/48] Compiling RealModule Real.swift
[11/48] Compiling BigInt Strideable.swift
[12/48] Compiling BigInt String Conversion.swift
[13/50] Compiling RealModule Float80+Real.swift
[14/50] Compiling RealModule Float16+Real.swift
[15/50] Compiling RealModule RealFunctions.swift
[16/50] Compiling RealModule AugmentedArithmetic.swift
[17/50] Compiling RealModule Double+Real.swift
[18/50] Compiling RealModule AlgebraicField.swift
[19/50] Compiling RealModule ApproximateEquality.swift
[20/50] Compiling RealModule ElementaryFunctions.swift
[21/50] Compiling RealModule Float+Real.swift
[22/51] Compiling BigInt Integer Conversion.swift
[23/51] Compiling BigInt Multiplication.swift
[24/51] Compiling BigInt Prime Test.swift
[25/51] Compiling BigInt Random.swift
[26/51] Compiling BigInt Shifts.swift
[27/51] Compiling BigInt Square Root.swift
[28/56] Wrapping AST for RealModule for debugging
[30/56] Compiling BigInt Subtraction.swift
[31/56] Compiling BigInt Words and Bits.swift
[32/56] Compiling ComplexModule ElementaryFunctions.swift
[33/56] Emitting module ComplexModule
[37/56] Compiling BigInt Addition.swift
[38/56] Compiling BigInt BigInt.swift
[39/56] Compiling BigInt BigUInt.swift
[41/56] Compiling BigInt Division.swift
[42/56] Compiling BigInt Exponentiation.swift
[43/56] Compiling BigInt Bitwise Ops.swift
[44/56] Compiling BigInt Codable.swift
[45/56] Compiling BigInt Comparable.swift
[46/56] Emitting module BigInt
[47/57] Wrapping AST for BigInt for debugging
[49/57] Compiling ComplexModule Complex.swift
[50/57] Compiling ComplexModule Arithmetic.swift
[51/57] Compiling ComplexModule Differentiable.swift
[52/58] Wrapping AST for ComplexModule for debugging
[54/60] Compiling Numerics Numerics.swift
[55/60] Emitting module Numerics
[56/61] Wrapping AST for Numerics for debugging
[58/66] 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,
[59/66] 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)
[60/66] 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,
[61/66] Compiling BigNum BigNum.swift
[62/66] Compiling BigNum GenericMath.swift
[63/67] Wrapping AST for BigNum for debugging
[65/69] Compiling BigNumRun main.swift
[66/69] Emitting module BigNumRun
[67/70] Wrapping AST for BigNumRun for debugging
[68/70] Write Objects.LinkFileList
[69/70] Linking BigNumRun
Build complete! (31.75s)
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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.