Build Information
Successful build of UInt256, reference 0.2.2 (1a499a
), with Swift 6.1 for Android on 27 May 2025 17:49:40 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyugit/UInt256.git
Reference: 0.2.2
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/hyugit/UInt256
* tag 0.2.2 -> FETCH_HEAD
HEAD is now at 1a499a1 minor changes
Cloned https://github.com/hyugit/UInt256.git
Revision (git rev-parse @):
1a499a1bf08afd10b9fcd0fd6d90b6dd9196be50
SUCCESS checkout https://github.com/hyugit/UInt256.git at 0.2.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/hyugit/UInt256.git
https://github.com/hyugit/UInt256.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "UInt256",
"name" : "UInt256",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "UInt256",
"targets" : [
"UInt256"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UInt256",
"module_type" : "SwiftTarget",
"name" : "UInt256",
"path" : "Sources",
"product_memberships" : [
"UInt256"
],
"sources" : [
"FixedWidthInteger+LongDivision.swift",
"UInt256+BarrettDivision.swift",
"UInt256+BinaryInteger.swift",
"UInt256+Comparable.swift",
"UInt256+CustomStringConvertible.swift",
"UInt256+Divide&Conquer.swift",
"UInt256+Equatable.swift",
"UInt256+ExpressibleByIntegerLiteral.swift",
"UInt256+FixedWidthInteger.swift",
"UInt256+Hashable.swift",
"UInt256+Karatsuba.swift",
"UInt256+Numeric.swift",
"UInt256+UnsignedInteger.swift",
"UInt256+arc4random.swift",
"UInt256.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling UInt256 UInt256+UnsignedInteger.swift
/host/spi-builder-workspace/Sources/UInt256+UnsignedInteger.swift:7:23: warning: static property 'max' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | extension UInt256: UnsignedInteger {
6 |
7 | public static var max = UInt256([UInt64.max, UInt64.max, UInt64.max, UInt64.max])
| |- warning: static property 'max' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'max' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public static var min = UInt256([UInt64.min, UInt64.min, UInt64.min, UInt64.min])
9 |
/host/spi-builder-workspace/Sources/UInt256+UnsignedInteger.swift:8:23: warning: static property 'min' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public static var max = UInt256([UInt64.max, UInt64.max, UInt64.max, UInt64.max])
8 | public static var min = UInt256([UInt64.min, UInt64.min, UInt64.min, UInt64.min])
| |- warning: static property 'min' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'min' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'min' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var magnitude: UInt256 {
[4/17] Compiling UInt256 UInt256+arc4random.swift
/host/spi-builder-workspace/Sources/UInt256+UnsignedInteger.swift:7:23: warning: static property 'max' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | extension UInt256: UnsignedInteger {
6 |
7 | public static var max = UInt256([UInt64.max, UInt64.max, UInt64.max, UInt64.max])
| |- warning: static property 'max' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'max' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public static var min = UInt256([UInt64.min, UInt64.min, UInt64.min, UInt64.min])
9 |
/host/spi-builder-workspace/Sources/UInt256+UnsignedInteger.swift:8:23: warning: static property 'min' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public static var max = UInt256([UInt64.max, UInt64.max, UInt64.max, UInt64.max])
8 | public static var min = UInt256([UInt64.min, UInt64.min, UInt64.min, UInt64.min])
| |- warning: static property 'min' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'min' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'min' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var magnitude: UInt256 {
[5/18] Compiling UInt256 UInt256.swift
[6/18] Compiling UInt256 UInt256+Karatsuba.swift
[7/18] Compiling UInt256 UInt256+Numeric.swift
[8/18] Compiling UInt256 UInt256+CustomStringConvertible.swift
[9/18] Compiling UInt256 UInt256+Divide&Conquer.swift
[10/18] Compiling UInt256 UInt256+Equatable.swift
[11/18] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[12/18] Compiling UInt256 UInt256+FixedWidthInteger.swift
/host/spi-builder-workspace/Sources/UInt256+Hashable.swift:4:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UInt256' to 'Hashable' by implementing 'hash(into:)' instead
2 |
3 | extension UInt256: Hashable {
4 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UInt256' to 'Hashable' by implementing 'hash(into:)' instead
5 | return toHexString().hashValue
6 | }
[13/18] Compiling UInt256 UInt256+Hashable.swift
/host/spi-builder-workspace/Sources/UInt256+Hashable.swift:4:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UInt256' to 'Hashable' by implementing 'hash(into:)' instead
2 |
3 | extension UInt256: Hashable {
4 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UInt256' to 'Hashable' by implementing 'hash(into:)' instead
5 | return toHexString().hashValue
6 | }
[14/18] Compiling UInt256 FixedWidthInteger+LongDivision.swift
[15/18] Compiling UInt256 UInt256+BarrettDivision.swift
[16/18] Emitting module UInt256
/host/spi-builder-workspace/Sources/UInt256+BinaryInteger.swift:22:23: warning: static property 'bitWidth' nearly matches defaulted requirement 'bitWidth' of protocol 'BinaryInteger'
20 | }
21 |
22 | public static var bitWidth: Int {
| |- warning: static property 'bitWidth' nearly matches defaulted requirement 'bitWidth' of protocol 'BinaryInteger'
| |- note: candidate operates on a type, not an instance as required
| `- note: move 'bitWidth' to another extension to silence this warning
23 | return 256
24 | }
Swift.BinaryInteger.bitWidth:2:5: note: requirement 'bitWidth' declared here
1 | protocol BinaryInteger {
2 | var bitWidth: Int { get }}
| `- note: requirement 'bitWidth' declared here
3 |
/host/spi-builder-workspace/Sources/UInt256+BinaryInteger.swift:45:12: warning: initializer 'init(exactly:)' nearly matches defaulted requirement 'init(exactly:)' of protocol 'BinaryInteger'
43 | }
44 |
45 | public init?<T: BinaryInteger>(exactly source: T) {
| |- warning: initializer 'init(exactly:)' nearly matches defaulted requirement 'init(exactly:)' of protocol 'BinaryInteger'
| |- note: candidate has non-matching type '(exactly: T)'
| `- note: move 'init(exactly:)' to another extension to silence this warning
46 | if let uint64 = UInt64(exactly: source) {
47 | self.init(withUInt64: uint64)
Swift.BinaryInteger.init:2:1: note: requirement 'init(exactly:)' declared here
1 | protocol BinaryInteger {
2 | init?<T>(exactly source: T) where T : BinaryFloatingPoint}
| `- note: requirement 'init(exactly:)' declared here
3 |
/host/spi-builder-workspace/Sources/UInt256+Hashable.swift:4:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UInt256' to 'Hashable' by implementing 'hash(into:)' instead
2 |
3 | extension UInt256: Hashable {
4 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'UInt256' to 'Hashable' by implementing 'hash(into:)' instead
5 | return toHexString().hashValue
6 | }
/host/spi-builder-workspace/Sources/UInt256+UnsignedInteger.swift:7:23: warning: static property 'max' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | extension UInt256: UnsignedInteger {
6 |
7 | public static var max = UInt256([UInt64.max, UInt64.max, UInt64.max, UInt64.max])
| |- warning: static property 'max' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'max' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public static var min = UInt256([UInt64.min, UInt64.min, UInt64.min, UInt64.min])
9 |
/host/spi-builder-workspace/Sources/UInt256+UnsignedInteger.swift:8:23: warning: static property 'min' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public static var max = UInt256([UInt64.max, UInt64.max, UInt64.max, UInt64.max])
8 | public static var min = UInt256([UInt64.min, UInt64.min, UInt64.min, UInt64.min])
| |- warning: static property 'min' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'min' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'min' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var magnitude: UInt256 {
[17/18] Compiling UInt256 UInt256+BinaryInteger.swift
/host/spi-builder-workspace/Sources/UInt256+BinaryInteger.swift:22:23: warning: static property 'bitWidth' nearly matches defaulted requirement 'bitWidth' of protocol 'BinaryInteger'
20 | }
21 |
22 | public static var bitWidth: Int {
| |- warning: static property 'bitWidth' nearly matches defaulted requirement 'bitWidth' of protocol 'BinaryInteger'
| |- note: candidate operates on a type, not an instance as required
| `- note: move 'bitWidth' to another extension to silence this warning
23 | return 256
24 | }
Swift.BinaryInteger.bitWidth:2:5: note: requirement 'bitWidth' declared here
1 | protocol BinaryInteger {
2 | var bitWidth: Int { get }}
| `- note: requirement 'bitWidth' declared here
3 |
/host/spi-builder-workspace/Sources/UInt256+BinaryInteger.swift:45:12: warning: initializer 'init(exactly:)' nearly matches defaulted requirement 'init(exactly:)' of protocol 'BinaryInteger'
43 | }
44 |
45 | public init?<T: BinaryInteger>(exactly source: T) {
| |- warning: initializer 'init(exactly:)' nearly matches defaulted requirement 'init(exactly:)' of protocol 'BinaryInteger'
| |- note: candidate has non-matching type '(exactly: T)'
| `- note: move 'init(exactly:)' to another extension to silence this warning
46 | if let uint64 = UInt64(exactly: source) {
47 | self.init(withUInt64: uint64)
Swift.BinaryInteger.init:2:1: note: requirement 'init(exactly:)' declared here
1 | protocol BinaryInteger {
2 | init?<T>(exactly source: T) where T : BinaryFloatingPoint}
| `- note: requirement 'init(exactly:)' declared here
3 |
[18/18] Compiling UInt256 UInt256+Comparable.swift
/host/spi-builder-workspace/Sources/UInt256+BinaryInteger.swift:22:23: warning: static property 'bitWidth' nearly matches defaulted requirement 'bitWidth' of protocol 'BinaryInteger'
20 | }
21 |
22 | public static var bitWidth: Int {
| |- warning: static property 'bitWidth' nearly matches defaulted requirement 'bitWidth' of protocol 'BinaryInteger'
| |- note: candidate operates on a type, not an instance as required
| `- note: move 'bitWidth' to another extension to silence this warning
23 | return 256
24 | }
Swift.BinaryInteger.bitWidth:2:5: note: requirement 'bitWidth' declared here
1 | protocol BinaryInteger {
2 | var bitWidth: Int { get }}
| `- note: requirement 'bitWidth' declared here
3 |
/host/spi-builder-workspace/Sources/UInt256+BinaryInteger.swift:45:12: warning: initializer 'init(exactly:)' nearly matches defaulted requirement 'init(exactly:)' of protocol 'BinaryInteger'
43 | }
44 |
45 | public init?<T: BinaryInteger>(exactly source: T) {
| |- warning: initializer 'init(exactly:)' nearly matches defaulted requirement 'init(exactly:)' of protocol 'BinaryInteger'
| |- note: candidate has non-matching type '(exactly: T)'
| `- note: move 'init(exactly:)' to another extension to silence this warning
46 | if let uint64 = UInt64(exactly: source) {
47 | self.init(withUInt64: uint64)
Swift.BinaryInteger.init:2:1: note: requirement 'init(exactly:)' declared here
1 | protocol BinaryInteger {
2 | init?<T>(exactly source: T) where T : BinaryFloatingPoint}
| `- note: requirement 'init(exactly:)' declared here
3 |
Build complete! (9.40s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "UInt256",
"name" : "UInt256",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "UInt256",
"targets" : [
"UInt256"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UInt256",
"module_type" : "SwiftTarget",
"name" : "UInt256",
"path" : "Sources",
"product_memberships" : [
"UInt256"
],
"sources" : [
"FixedWidthInteger+LongDivision.swift",
"UInt256+BarrettDivision.swift",
"UInt256+BinaryInteger.swift",
"UInt256+Comparable.swift",
"UInt256+CustomStringConvertible.swift",
"UInt256+Divide&Conquer.swift",
"UInt256+Equatable.swift",
"UInt256+ExpressibleByIntegerLiteral.swift",
"UInt256+FixedWidthInteger.swift",
"UInt256+Hashable.swift",
"UInt256+Karatsuba.swift",
"UInt256+Numeric.swift",
"UInt256+UnsignedInteger.swift",
"UInt256+arc4random.swift",
"UInt256.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.