Build Information
Successful build of BigNum, reference main (7905f4
), with Swift 6.0 for Linux on 3 Nov 2024 21:05:23 UTC.
Swift 6 data race errors: 16
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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.0
Building package at path: $PWD
https://github.com/dankogai/swift-bignum.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/attaswift/BigInt
Fetching https://github.com/apple/swift-numerics
[1/4732] Fetching bigint
[285/10308] Fetching bigint, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.72s)
Fetched https://github.com/attaswift/BigInt from cache (0.84s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.80s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 5.5.0 (0.75s)
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 5.5.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Building for debugging...
[0/16] Write sources
[6/16] Compiling _NumericsShims _NumericsShims.c
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/47] Emitting module BigInt
[10/49] Compiling BigInt Bitwise Ops.swift
[11/49] Compiling BigInt Codable.swift
[12/49] Emitting module RealModule
[13/49] Compiling RealModule Real.swift
[14/50] Compiling BigInt Strideable.swift
[15/50] Compiling BigInt String Conversion.swift
[16/50] Compiling RealModule Float16+Real.swift
[17/50] Compiling RealModule Float+Real.swift
[18/50] Compiling RealModule ElementaryFunctions.swift
[19/50] Compiling RealModule Float80+Real.swift
[20/50] Compiling RealModule RealFunctions.swift
[21/50] Compiling BigInt Random.swift
[22/50] Compiling BigInt Shifts.swift
[23/50] Compiling BigInt Square Root.swift
[24/50] Compiling BigInt Subtraction.swift
[25/50] Compiling BigInt Words and Bits.swift
[26/50] Compiling BigInt Comparable.swift
[27/50] Compiling BigInt Data Conversion.swift
[28/51] Compiling BigInt Integer Conversion.swift
[29/51] Compiling BigInt Multiplication.swift
[30/51] Compiling BigInt Prime Test.swift
[31/51] Wrapping AST for RealModule for debugging
[33/56] Compiling ComplexModule ElementaryFunctions.swift
[34/56] Emitting module ComplexModule
[35/56] Compiling ComplexModule Complex.swift
[36/56] Compiling ComplexModule Arithmetic.swift
[41/56] Compiling BigInt Division.swift
[42/56] Compiling BigInt Exponentiation.swift
[43/56] Compiling BigInt Addition.swift
[44/56] Compiling BigInt BigInt.swift
[45/56] Compiling BigInt BigUInt.swift
[46/56] Compiling BigInt Floating Point Conversion.swift
[47/56] Compiling BigInt GCD.swift
[48/56] Compiling BigInt Hashable.swift
[49/57] Wrapping AST for BigInt for debugging
[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] 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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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) }
/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: 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 {
/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: 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,
[59/66] Compiling BigNum BigNum.swift
[60/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: 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)
/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: 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
/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: 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) {
/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: 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)
/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: 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)
/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: 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)
/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: 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) {
/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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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)
/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: 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) }
/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: 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 {
/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: 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,
[61/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: 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)
/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: 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
/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: 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) {
/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: 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)
/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: 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)
/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: 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)
/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: 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) {
/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: 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)
[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! (21.68s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.