Build Information
Failed to build UInt256, reference master (53950a
), with Swift 6.0 for Linux on 1 Nov 2024 01:40:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyugit/UInt256.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 53950a7 update metadata
Cloned https://github.com/hyugit/UInt256.git
Revision (git rev-parse @):
53950a76fe56f3cb27074dcdb1f534ec28a8483f
SUCCESS checkout https://github.com/hyugit/UInt256.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/hyugit/UInt256.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling UInt256 UInt256+Equatable.swift
[4/17] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[5/18] Compiling UInt256 UInt256.swift
[6/18] Compiling UInt256 UInt256+BinaryInteger.swift
[7/18] Compiling UInt256 UInt256+Comparable.swift
[8/18] Compiling UInt256 UInt256+CustomStringConvertible.swift
[9/18] Compiling UInt256 UInt256+Divide&Conquer.swift
[10/18] 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: annotate 'max' 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
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: annotate 'min' 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
9 |
10 | public var magnitude: UInt256 {
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
31 | func generateRandom(within highBits: UInt32) -> UInt64 {
32 | let high: UInt32 = arc4random_uniform(highBits)
33 | let low: UInt32 = arc4random()
| `- error: cannot find 'arc4random' in scope
34 | let result: UInt64 = UInt64(high) << 32 + UInt64(low)
35 | return result
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
64 |
65 | func arc4random64() -> UInt64 {
66 | let high: UInt32 = arc4random()
| `- error: cannot find 'arc4random' in scope
67 | let low: UInt32 = arc4random()
68 | let result: UInt64 = UInt64(high) << 32 + UInt64(low)
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
65 | func arc4random64() -> UInt64 {
66 | let high: UInt32 = arc4random()
67 | let low: UInt32 = arc4random()
| `- error: cannot find 'arc4random' in scope
68 | let result: UInt64 = UInt64(high) << 32 + UInt64(low)
69 | return result
[11/18] 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: annotate 'max' 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
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: annotate 'min' 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
9 |
10 | public var magnitude: UInt256 {
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
31 | func generateRandom(within highBits: UInt32) -> UInt64 {
32 | let high: UInt32 = arc4random_uniform(highBits)
33 | let low: UInt32 = arc4random()
| `- error: cannot find 'arc4random' in scope
34 | let result: UInt64 = UInt64(high) << 32 + UInt64(low)
35 | return result
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
64 |
65 | func arc4random64() -> UInt64 {
66 | let high: UInt32 = arc4random()
| `- error: cannot find 'arc4random' in scope
67 | let low: UInt32 = arc4random()
68 | let result: UInt64 = UInt64(high) << 32 + UInt64(low)
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
65 | func arc4random64() -> UInt64 {
66 | let high: UInt32 = arc4random()
67 | let low: UInt32 = arc4random()
| `- error: cannot find 'arc4random' in scope
68 | let result: UInt64 = UInt64(high) << 32 + UInt64(low)
69 | return result
[12/18] Emitting module UInt256
/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: annotate 'max' 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
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: annotate 'min' 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
9 |
10 | public var magnitude: UInt256 {
[13/18] Compiling UInt256 FixedWidthInteger+BarrettDivision.swift
[14/18] Compiling UInt256 FixedWidthInteger+LongDivision.swift
[15/18] Compiling UInt256 UInt256+FixedWidthInteger.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: annotate 'max' 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
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: annotate 'min' 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
9 |
10 | public var magnitude: UInt256 {
[16/18] Compiling UInt256 UInt256+Hashable.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: annotate 'max' 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
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: annotate 'min' 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
9 |
10 | public var magnitude: UInt256 {
[17/18] Compiling UInt256 UInt256+Karatsuba.swift
[18/18] Compiling UInt256 UInt256+Numeric.swift
BUILD FAILURE 6.0 linux