Build Information
Successful build of Base58Swift, reference 2.1.15 (3ba16c
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 20:23:24 UTC.
Swift 6 data race errors: 2
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/heckj/Base58Swift.git
Reference: 2.1.15
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/heckj/Base58Swift
* tag 2.1.15 -> FETCH_HEAD
HEAD is now at 3ba16c0 update README to explain fork
Cloned https://github.com/heckj/Base58Swift.git
Revision (git rev-parse @):
3ba16c02089401c817b631ffc33ca8f022a41538
SUCCESS checkout https://github.com/heckj/Base58Swift.git at 2.1.15
Fetching https://github.com/attaswift/BigInt.git
[1/4771] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (1.12s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.2.1 (1.70s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.2.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": "base58swift",
"name": "Base58Swift",
"url": "https://github.com/heckj/Base58Swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Base58Swift",
"dependencies": [
{
"identity": "bigint",
"name": "BigInt",
"url": "https://github.com/attaswift/BigInt.git",
"version": "5.5.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/heckj/Base58Swift.git
[1/485] Fetching base58swift
Fetched https://github.com/heckj/Base58Swift.git from cache (1.00s)
Fetching https://github.com/attaswift/BigInt.git from cache
Fetched https://github.com/attaswift/BigInt.git from cache (0.45s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.5.1 (0.91s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.5.1
Creating working copy for https://github.com/heckj/Base58Swift.git
Working copy of https://github.com/heckj/Base58Swift.git resolved at 2.1.15 (3ba16c0)
warning: '.resolve-product-dependencies': dependency 'base58swift' is not used by any target
Found 1 product dependencies
- BigInt
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/heckj/Base58Swift.git
https://github.com/heckj/Base58Swift.git
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
}
],
"manifest_display_name" : "Base58Swift",
"name" : "Base58Swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Base58Swift",
"targets" : [
"Base58Swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "base58swiftTests",
"module_type" : "SwiftTarget",
"name" : "base58swiftTests",
"path" : "Base58SwiftTests",
"sources" : [
"Base58Tests.swift"
],
"target_dependencies" : [
"Base58Swift"
],
"type" : "test"
},
{
"c99name" : "Base58Swift",
"module_type" : "SwiftTarget",
"name" : "Base58Swift",
"path" : "Base58Swift",
"product_dependencies" : [
"BigInt"
],
"product_memberships" : [
"Base58Swift"
],
"sources" : [
"Base58.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/24] Emitting module BigInt
[5/26] Compiling BigInt Addition.swift
[6/26] Compiling BigInt BigInt.swift
[7/26] Compiling BigInt BigUInt.swift
[8/26] Compiling BigInt Integer Conversion.swift
[9/26] Compiling BigInt Multiplication.swift
[10/26] Compiling BigInt Subtraction.swift
[11/26] Compiling BigInt Words and Bits.swift
[12/26] Compiling BigInt Shifts.swift
[13/26] Compiling BigInt Square Root.swift
[14/26] Compiling BigInt Exponentiation.swift
[15/26] Compiling BigInt Floating Point Conversion.swift
[16/26] Compiling BigInt Strideable.swift
[17/26] Compiling BigInt String Conversion.swift
[18/26] Compiling BigInt Prime Test.swift
[19/26] Compiling BigInt Random.swift
[20/26] Compiling BigInt GCD.swift
[21/26] Compiling BigInt Hashable.swift
[22/26] Compiling BigInt Data Conversion.swift
[23/26] Compiling BigInt Division.swift
[24/26] Compiling BigInt Bitwise Ops.swift
[25/26] Compiling BigInt Codable.swift
[26/26] Compiling BigInt Comparable.swift
[27/28] Emitting module Base58Swift
/Users/admin/builder/spi-builder-workspace/Base58Swift/Base58.swift:13:22: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | private static let alphabet = [UInt8]("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz".utf8)
13 | private static let zero = BigUInt(0)
| `- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private static let radix = BigUInt(alphabet.count)
15 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Base58Swift/Base58.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
1 | // Copyright Keefer Taylor, 2019.
2 |
3 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
4 | import CommonCrypto
5 | import Foundation
:
11 |
12 | private static let alphabet = [UInt8]("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz".utf8)
13 | private static let zero = BigUInt(0)
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private static let radix = BigUInt(alphabet.count)
15 |
/Users/admin/builder/spi-builder-workspace/Base58Swift/Base58.swift:14:22: warning: static property 'radix' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private static let alphabet = [UInt8]("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz".utf8)
13 | private static let zero = BigUInt(0)
14 | private static let radix = BigUInt(alphabet.count)
| |- warning: static property 'radix' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'radix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Encode the given bytes into a Base58Check encoded string.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
[28/28] Compiling Base58Swift Base58.swift
/Users/admin/builder/spi-builder-workspace/Base58Swift/Base58.swift:13:22: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | private static let alphabet = [UInt8]("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz".utf8)
13 | private static let zero = BigUInt(0)
| `- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private static let radix = BigUInt(alphabet.count)
15 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Base58Swift/Base58.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
1 | // Copyright Keefer Taylor, 2019.
2 |
3 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
4 | import CommonCrypto
5 | import Foundation
:
11 |
12 | private static let alphabet = [UInt8]("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz".utf8)
13 | private static let zero = BigUInt(0)
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private static let radix = BigUInt(alphabet.count)
15 |
/Users/admin/builder/spi-builder-workspace/Base58Swift/Base58.swift:14:22: warning: static property 'radix' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private static let alphabet = [UInt8]("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz".utf8)
13 | private static let zero = BigUInt(0)
14 | private static let radix = BigUInt(alphabet.count)
| |- warning: static property 'radix' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'radix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Encode the given bytes into a Base58Check encoded string.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
Build complete! (5.46s)
Build complete.
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
}
],
"manifest_display_name" : "Base58Swift",
"name" : "Base58Swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Base58Swift",
"targets" : [
"Base58Swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "base58swiftTests",
"module_type" : "SwiftTarget",
"name" : "base58swiftTests",
"path" : "Base58SwiftTests",
"sources" : [
"Base58Tests.swift"
],
"target_dependencies" : [
"Base58Swift"
],
"type" : "test"
},
{
"c99name" : "Base58Swift",
"module_type" : "SwiftTarget",
"name" : "Base58Swift",
"path" : "Base58Swift",
"product_dependencies" : [
"BigInt"
],
"product_memberships" : [
"Base58Swift"
],
"sources" : [
"Base58.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.