Build Information
Successful build of NumberKit, reference 2.5.1 (38c649
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 22:34:10 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-numberkit.git
Reference: 2.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-numberkit",
"name": "NumberKit",
"url": "https://github.com/objecthub/swift-numberkit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numberkit",
"dependencies": [
]
}
]
}
Fetching https://github.com/objecthub/swift-numberkit.git
[11/1025] Fetching swift-numberkit
Fetched https://github.com/objecthub/swift-numberkit.git from cache (1.06s)
Creating working copy for https://github.com/objecthub/swift-numberkit.git
Working copy of https://github.com/objecthub/swift-numberkit.git resolved at 2.5.1 (38c649a)
warning: '.resolve-product-dependencies': dependency 'swift-numberkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/objecthub/swift-numberkit.git
{
"dependencies" : [
],
"manifest_display_name" : "NumberKit",
"name" : "NumberKit",
"path" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling NumberKit Rational.swift
[4/10] Compiling NumberKit IntegerNumber.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
[5/10] Compiling NumberKit FloatingPointNumber.swift
[6/10] Compiling NumberKit NumberUtil.swift
[7/10] Compiling NumberKit Integer.swift
[8/10] Compiling NumberKit Complex.swift
[9/10] Emitting module NumberKit
/Users/admin/builder/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: annotate 'bin' 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
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
/Users/admin/builder/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: annotate 'binBase' 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
95 | digitSpace: ["0", "1"],
96 | digitMap: ["0": 0, "1": 1]
/Users/admin/builder/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: annotate 'oct' 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
77 | public static let dec = BigInt.decBase
78 | public static let hex = BigInt.hexBase
/Users/admin/builder/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: annotate 'octBase' 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
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]
/Users/admin/builder/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: annotate 'dec' 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
78 | public static let hex = BigInt.hexBase
79 |
/Users/admin/builder/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: annotate 'decBase' 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
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]
/Users/admin/builder/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: annotate 'hex' 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
79 |
80 | fileprivate let digitSpace: [Character]
/Users/admin/builder/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: annotate 'hexBase' 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
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,
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
[10/10] Compiling NumberKit BigInt.swift
/Users/admin/builder/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: annotate 'bin' 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
76 | public static let oct = BigInt.octBase
77 | public static let dec = BigInt.decBase
/Users/admin/builder/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: annotate 'binBase' 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
95 | digitSpace: ["0", "1"],
96 | digitMap: ["0": 0, "1": 1]
/Users/admin/builder/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: annotate 'oct' 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
77 | public static let dec = BigInt.decBase
78 | public static let hex = BigInt.hexBase
/Users/admin/builder/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: annotate 'octBase' 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
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]
/Users/admin/builder/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: annotate 'dec' 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
78 | public static let hex = BigInt.hexBase
79 |
/Users/admin/builder/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: annotate 'decBase' 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
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]
/Users/admin/builder/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: annotate 'hex' 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
79 |
80 | fileprivate let digitSpace: [Character]
/Users/admin/builder/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: annotate 'hexBase' 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
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,
Build complete! (9.70s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NumberKit",
"name" : "NumberKit",
"path" : "/Users/admin/builder/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"
}
Done.