Build Information
Successful build of NumberKit, reference master (33af3f
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 15:46:16 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-numberkit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/objecthub/swift-numberkit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 33af3f9 Delete swiftpm files
Cloned https://github.com/objecthub/swift-numberkit.git
Revision (git rev-parse @):
33af3f9011e45dcd8ee696492d30dbcd5a8a67f3
SUCCESS checkout https://github.com/objecthub/swift-numberkit.git at master
========================================
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
[1/1025] Fetching swift-numberkit
Fetched https://github.com/objecthub/swift-numberkit.git from cache (0.97s)
Creating working copy for https://github.com/objecthub/swift-numberkit.git
Working copy of https://github.com/objecthub/swift-numberkit.git resolved at master (33af3f9)
warning: '.resolve-product-dependencies': dependency 'swift-numberkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/objecthub/swift-numberkit.git
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.3.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-2F0A5646E1D333AE.txt
[3/10] Compiling NumberKit Integer.swift
[4/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: 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
/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: 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
/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: 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 |
/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: 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]
/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: 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]
/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: 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]
/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: 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]
/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: 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,
[5/10] Compiling NumberKit FloatingPointNumber.swift
[6/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: 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
/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: 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
/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: 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 |
/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: 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]
/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: 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]
/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: 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]
/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: 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]
/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: 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,
[7/10] Compiling NumberKit NumberUtil.swift
[8/10] Compiling NumberKit Complex.swift
[9/10] Compiling NumberKit Rational.swift
[10/10] Compiling NumberKit IntegerNumber.swift
Build complete! (5.46s)
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.