Build Information
Successful build of NumberKit, reference 2.5.1 (38c649
), with Swift 6.1 for Linux on 28 Apr 2025 15:39:56 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/objecthub/swift-numberkit.git
Reference: 2.5.1
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/objecthub/swift-numberkit
* tag 2.5.1 -> FETCH_HEAD
HEAD is now at 38c649a Make usage of `StaticBigInt` conditionally. Reduce deployment target requirements down to macOS 10.13 and iOS 13.
Cloned https://github.com/objecthub/swift-numberkit.git
Revision (git rev-parse @):
38c649a58989ae80f8b0694b0b9826130df5c18f
SUCCESS checkout https://github.com/objecthub/swift-numberkit.git at 2.5.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/objecthub/swift-numberkit.git
https://github.com/objecthub/swift-numberkit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "NumberKit",
"name" : "NumberKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "NumberKit",
"targets" : [
"NumberKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "NumberKitTests",
"module_type" : "SwiftTarget",
"name" : "NumberKitTests",
"path" : "Tests/NumberKitTests",
"sources" : [
"BigIntTests.swift",
"CodableTests.swift",
"ComplexTests.swift",
"IntegerNumberTests.swift",
"IntegerTests.swift",
"NumberUtilTests.swift",
"RationalTests.swift"
],
"target_dependencies" : [
"NumberKit"
],
"type" : "test"
},
{
"c99name" : "NumberKit",
"module_type" : "SwiftTarget",
"name" : "NumberKit",
"path" : "Sources/NumberKit",
"product_memberships" : [
"NumberKit"
],
"sources" : [
"BigInt.swift",
"Complex.swift",
"FloatingPointNumber.swift",
"Integer.swift",
"IntegerNumber.swift",
"NumberUtil.swift",
"Rational.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling NumberKit NumberUtil.swift
[4/10] Compiling NumberKit Rational.swift
[5/10] Compiling NumberKit IntegerNumber.swift
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:186:1: warning: extension declares a conformance of imported type 'UInt' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
184 | }
185 |
186 | extension UInt: IntegerNumber {
| |- warning: extension declares a conformance of imported type 'UInt' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
187 | public var doubleValue: Double {
188 | return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:198:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
196 | }
197 |
198 | extension UInt8: IntegerNumber {
| |- warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
199 | public var doubleValue: Double {
200 | return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:210:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
208 | }
209 |
210 | extension UInt16: IntegerNumber {
| |- warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
211 | public var doubleValue: Double {
212 | return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:222:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
220 | }
221 |
222 | extension UInt32: IntegerNumber {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
223 | public var doubleValue: Double {
224 | return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:234:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
232 | }
233 |
234 | extension UInt64: IntegerNumber {
| |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
235 | public var doubleValue: Double {
236 | return Double(self)
[6/10] Compiling NumberKit Complex.swift
[7/10] Emitting module NumberKit
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:75:23: warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
| |- warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:76:23: warning: static property 'oct' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
| |- warning: static property 'oct' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oct' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let dec = BigInt.decBase
78 | public static let hex = BigInt.hexBase
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:77:23: warning: static property 'dec' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
| |- warning: static property 'dec' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dec' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let hex = BigInt.hexBase
79 |
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:78:23: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
78 | public static let hex = BigInt.hexBase
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | fileprivate let digitSpace: [Character]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:94:21: warning: static property 'binBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
92 |
93 | /// Representing base 2 (binary)
94 | public static let binBase = Base(
| |- warning: static property 'binBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | digitSpace: ["0", "1"],
96 | digitMap: ["0": 0, "1": 1]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:100:21: warning: static property 'octBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
98 |
99 | /// Representing base 8 (octal)
100 | public static let octBase = Base(
| |- warning: static property 'octBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7"],
102 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:106:21: warning: static property 'decBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
104 |
105 | /// Representing base 10 (decimal)
106 | public static let decBase = Base(
| |- warning: static property 'decBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
108 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:112:21: warning: static property 'hexBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
110 |
111 | /// Representing base 16 (hex)
112 | public static let hexBase = Base(
| |- warning: static property 'hexBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hexBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"],
114 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9,
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:186:1: warning: extension declares a conformance of imported type 'UInt' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
184 | }
185 |
186 | extension UInt: IntegerNumber {
| |- warning: extension declares a conformance of imported type 'UInt' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
187 | public var doubleValue: Double {
188 | return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:198:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
196 | }
197 |
198 | extension UInt8: IntegerNumber {
| |- warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
199 | public var doubleValue: Double {
200 | return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:210:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
208 | }
209 |
210 | extension UInt16: IntegerNumber {
| |- warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
211 | public var doubleValue: Double {
212 | return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:222:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
220 | }
221 |
222 | extension UInt32: IntegerNumber {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
223 | public var doubleValue: Double {
224 | return Double(self)
/host/spi-builder-workspace/Sources/NumberKit/IntegerNumber.swift:234:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
232 | }
233 |
234 | extension UInt64: IntegerNumber {
| |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'SignedNumeric'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
235 | public var doubleValue: Double {
236 | return Double(self)
[8/10] Compiling NumberKit FloatingPointNumber.swift
[9/10] Compiling NumberKit BigInt.swift
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:75:23: warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
| |- warning: static property 'bin' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:76:23: warning: static property 'oct' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
| |- warning: static property 'oct' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oct' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let dec = BigInt.decBase
78 | public static let hex = BigInt.hexBase
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:77:23: warning: static property 'dec' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
| |- warning: static property 'dec' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dec' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let hex = BigInt.hexBase
79 |
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:78:23: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
78 | public static let hex = BigInt.hexBase
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | fileprivate let digitSpace: [Character]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:94:21: warning: static property 'binBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
92 |
93 | /// Representing base 2 (binary)
94 | public static let binBase = Base(
| |- warning: static property 'binBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | digitSpace: ["0", "1"],
96 | digitMap: ["0": 0, "1": 1]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:100:21: warning: static property 'octBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
98 |
99 | /// Representing base 8 (octal)
100 | public static let octBase = Base(
| |- warning: static property 'octBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'octBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7"],
102 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:106:21: warning: static property 'decBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
104 |
105 | /// Representing base 10 (decimal)
106 | public static let decBase = Base(
| |- warning: static property 'decBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
108 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9]
/host/spi-builder-workspace/Sources/NumberKit/BigInt.swift:112:21: warning: static property 'hexBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
72 | /// - Note: It is currently not possible to define custom `Base` objects. It needs
73 | /// to be figured out first what safety checks need to be put in place.
74 | public final class Base {
| `- note: class 'Base' does not conform to the 'Sendable' protocol
75 | public static let bin = BigInt.binBase
76 | public static let oct = BigInt.octBase
:
110 |
111 | /// Representing base 16 (hex)
112 | public static let hexBase = Base(
| |- warning: static property 'hexBase' is not concurrency-safe because non-'Sendable' type 'BigInt.Base' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hexBase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | digitSpace: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"],
114 | digitMap: ["0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8, "9": 9,
[10/10] Compiling NumberKit Integer.swift
Build complete! (7.64s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NumberKit",
"name" : "NumberKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "NumberKit",
"targets" : [
"NumberKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "NumberKitTests",
"module_type" : "SwiftTarget",
"name" : "NumberKitTests",
"path" : "Tests/NumberKitTests",
"sources" : [
"BigIntTests.swift",
"CodableTests.swift",
"ComplexTests.swift",
"IntegerNumberTests.swift",
"IntegerTests.swift",
"NumberUtilTests.swift",
"RationalTests.swift"
],
"target_dependencies" : [
"NumberKit"
],
"type" : "test"
},
{
"c99name" : "NumberKit",
"module_type" : "SwiftTarget",
"name" : "NumberKit",
"path" : "Sources/NumberKit",
"product_memberships" : [
"NumberKit"
],
"sources" : [
"BigInt.swift",
"Complex.swift",
"FloatingPointNumber.swift",
"Integer.swift",
"IntegerNumber.swift",
"NumberUtil.swift",
"Rational.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
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.