Build Information
Failed to build BigNumber, reference v2.3.0 (b07e96
), with Swift 6.1 for Android on 28 May 2025 21:33:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mkrd/Swift-BigInt.git
Reference: v2.3.0
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/mkrd/Swift-BigInt
* tag v2.3.0 -> FETCH_HEAD
HEAD is now at b07e961 Merge pull request #79 from twodayslate/issue78
Cloned https://github.com/mkrd/Swift-BigInt.git
Revision (git rev-parse @):
b07e961f4c999671cf8c2dc80e740899e8946013
SUCCESS checkout https://github.com/mkrd/Swift-BigInt.git at v2.3.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/mkrd/Swift-BigInt.git
https://github.com/mkrd/Swift-BigInt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "BigNumber",
"name" : "BigNumber",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BigNumber",
"targets" : [
"BigNumber"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Benchmarks",
"targets" : [
"Benchmarks"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MGToolsTests",
"module_type" : "SwiftTarget",
"name" : "MGToolsTests",
"path" : "Tests/MGToolsTests",
"sources" : [
"MG Math Tests.swift",
"MG Matrix Tests.swift"
],
"target_dependencies" : [
"MGTools"
],
"type" : "test"
},
{
"c99name" : "MGTools",
"module_type" : "SwiftTarget",
"name" : "MGTools",
"path" : "Sources/MGTools",
"product_memberships" : [
"Benchmarks"
],
"sources" : [
"MG Benchmark Tools.swift",
"MG Complex.swift",
"MG IO.swift",
"MG Math.swift",
"MG Matrix.swift",
"MG QueueDispatch.swift",
"MG Storage.swift",
"MG SuperSwift.swift"
],
"target_dependencies" : [
"BigNumber"
],
"type" : "library"
},
{
"c99name" : "BigNumberTests",
"module_type" : "SwiftTarget",
"name" : "BigNumberTests",
"path" : "Tests/BigNumberTests",
"sources" : [
"BDoubleTests.swift",
"BIntTests.swift",
"Test_Advanced_Math.swift",
"Test_BIntMath.swift",
"Test_Basic_Math.swift",
"Test_Initialization.swift",
"Test_String_Conversions.swift"
],
"target_dependencies" : [
"BigNumber",
"MGTools"
],
"type" : "test"
},
{
"c99name" : "BigNumber",
"module_type" : "SwiftTarget",
"name" : "BigNumber",
"path" : "Sources/BigNumber",
"product_memberships" : [
"BigNumber",
"Benchmarks"
],
"sources" : [
"Swift-Big-Number-Core.swift"
],
"type" : "library"
},
{
"c99name" : "Benchmarks",
"module_type" : "SwiftTarget",
"name" : "Benchmarks",
"path" : "Sources/Benchmarks",
"product_memberships" : [
"Benchmarks"
],
"sources" : [
"Benchmarks.swift",
"main.swift"
],
"target_dependencies" : [
"BigNumber",
"MGTools"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling BigNumber Swift-Big-Number-Core.swift
/host/spi-builder-workspace/Sources/BigNumber/Swift-Big-Number-Core.swift:261:23: warning: static property 'stringPrefixes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
259 |
260 | /// Common prefixes for different bases
261 | static public var stringPrefixes = [
| |- warning: static property 'stringPrefixes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stringPrefixes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stringPrefixes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | 2: "0b",
263 | 8: "0o",
/host/spi-builder-workspace/Sources/BigNumber/Swift-Big-Number-Core.swift:2512:21: warning: static property '_precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2510 | }
2511 |
2512 | static private var _precision = 4
| |- warning: static property '_precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_precision' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_precision' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2513 | /**
2514 | * the global percision for all newly created values
[6/11] Emitting module BigNumber
/host/spi-builder-workspace/Sources/BigNumber/Swift-Big-Number-Core.swift:261:23: warning: static property 'stringPrefixes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
259 |
260 | /// Common prefixes for different bases
261 | static public var stringPrefixes = [
| |- warning: static property 'stringPrefixes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stringPrefixes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stringPrefixes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | 2: "0b",
263 | 8: "0o",
/host/spi-builder-workspace/Sources/BigNumber/Swift-Big-Number-Core.swift:2512:21: warning: static property '_precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2510 | }
2511 |
2512 | static private var _precision = 4
| |- warning: static property '_precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_precision' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_precision' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2513 | /**
2514 | * the global percision for all newly created values
[7/12] Wrapping AST for BigNumber for debugging
[9/20] Compiling MGTools MG Complex.swift
/host/spi-builder-workspace/Sources/MGTools/MG Complex.swift:24:19: warning: setter argument 'newValue' was never used, but the property was accessed
22 | {
23 | get { return self.re }
24 | set { self.re = r }
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
25 | }
26 |
/host/spi-builder-workspace/Sources/MGTools/MG Complex.swift:30:19: warning: setter argument 'newValue' was never used, but the property was accessed
28 | {
29 | get { return self.im }
30 | set { self.im = i }
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
31 | }
32 | }
[10/21] Emitting module MGTools
[11/21] Compiling MGTools MG Benchmark Tools.swift
/host/spi-builder-workspace/Sources/MGTools/MG Benchmark Tools.swift:35:10: error: cannot find 'mach_absolute_time' in scope
33 | var end = UInt64()
34 |
35 | start = mach_absolute_time()
| `- error: cannot find 'mach_absolute_time' in scope
36 | call()
37 | end = mach_absolute_time()
/host/spi-builder-workspace/Sources/MGTools/MG Benchmark Tools.swift:37:8: error: cannot find 'mach_absolute_time' in scope
35 | start = mach_absolute_time()
36 | call()
37 | end = mach_absolute_time()
| `- error: cannot find 'mach_absolute_time' in scope
38 |
39 | var timeBaseInfo = mach_timebase_info_data_t()
/host/spi-builder-workspace/Sources/MGTools/MG Benchmark Tools.swift:39:21: error: cannot find 'mach_timebase_info_data_t' in scope
37 | end = mach_absolute_time()
38 |
39 | var timeBaseInfo = mach_timebase_info_data_t()
| `- error: cannot find 'mach_timebase_info_data_t' in scope
40 | mach_timebase_info(&timeBaseInfo)
41 |
/host/spi-builder-workspace/Sources/MGTools/MG Benchmark Tools.swift:40:2: error: cannot find 'mach_timebase_info' in scope
38 |
39 | var timeBaseInfo = mach_timebase_info_data_t()
40 | mach_timebase_info(&timeBaseInfo)
| `- error: cannot find 'mach_timebase_info' in scope
41 |
42 | return Int(end - start) * Int(timeBaseInfo.numer) / Int(timeBaseInfo.denom)
[12/21] Compiling MGTools MG QueueDispatch.swift
/host/spi-builder-workspace/Sources/MGTools/MG QueueDispatch.swift:25:69: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
19 | Run trailing closure after a given time in seconds in background queue.
20 | */
21 | static public func runAfterDelay(_ seconds: Double, _ closure: @escaping () -> ())
| `- note: parameter 'closure' is implicitly non-sendable
22 | {
23 | let queue = DispatchQueue.global()
24 |
25 | queue.asyncAfter(deadline: DispatchTime.now() + seconds, execute: closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
26 | }
27 |
/host/spi-builder-workspace/Sources/MGTools/MG QueueDispatch.swift:40:23: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
38 | for closure in closures
39 | {
40 | queue.addOperation(closure)
| `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
41 | }
42 |
[13/21] Compiling MGTools MG Storage.swift
[14/21] Compiling MGTools MG Math.swift
[15/21] Compiling MGTools MG SuperSwift.swift
[16/21] Compiling MGTools MG IO.swift
[17/21] Compiling MGTools MG Matrix.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/8] Emitting module BigNumber
[3/8] Compiling BigNumber Swift-Big-Number-Core.swift
[4/9] Wrapping AST for BigNumber for debugging
[6/17] Compiling MGTools MG QueueDispatch.swift
/host/spi-builder-workspace/Sources/MGTools/MG QueueDispatch.swift:25:69: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
19 | Run trailing closure after a given time in seconds in background queue.
20 | */
21 | static public func runAfterDelay(_ seconds: Double, _ closure: @escaping () -> ())
| `- note: parameter 'closure' is implicitly non-sendable
22 | {
23 | let queue = DispatchQueue.global()
24 |
25 | queue.asyncAfter(deadline: DispatchTime.now() + seconds, execute: closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
26 | }
27 |
/host/spi-builder-workspace/Sources/MGTools/MG QueueDispatch.swift:40:23: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
38 | for closure in closures
39 | {
40 | queue.addOperation(closure)
| `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
41 | }
42 |
[7/18] Compiling MGTools MG IO.swift
[8/18] Compiling MGTools MG Complex.swift
/host/spi-builder-workspace/Sources/MGTools/MG Complex.swift:24:19: warning: setter argument 'newValue' was never used, but the property was accessed
22 | {
23 | get { return self.re }
24 | set { self.re = r }
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
25 | }
26 |
/host/spi-builder-workspace/Sources/MGTools/MG Complex.swift:30:19: warning: setter argument 'newValue' was never used, but the property was accessed
28 | {
29 | get { return self.im }
30 | set { self.im = i }
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
31 | }
32 | }
[9/18] Compiling MGTools MG Math.swift
[10/18] Emitting module MGTools
[11/18] Compiling MGTools MG Benchmark Tools.swift
/host/spi-builder-workspace/Sources/MGTools/MG Benchmark Tools.swift:35:10: error: cannot find 'mach_absolute_time' in scope
33 | var end = UInt64()
34 |
35 | start = mach_absolute_time()
| `- error: cannot find 'mach_absolute_time' in scope
36 | call()
37 | end = mach_absolute_time()
/host/spi-builder-workspace/Sources/MGTools/MG Benchmark Tools.swift:37:8: error: cannot find 'mach_absolute_time' in scope
35 | start = mach_absolute_time()
36 | call()
37 | end = mach_absolute_time()
| `- error: cannot find 'mach_absolute_time' in scope
38 |
39 | var timeBaseInfo = mach_timebase_info_data_t()
/host/spi-builder-workspace/Sources/MGTools/MG Benchmark Tools.swift:39:21: error: cannot find 'mach_timebase_info_data_t' in scope
37 | end = mach_absolute_time()
38 |
39 | var timeBaseInfo = mach_timebase_info_data_t()
| `- error: cannot find 'mach_timebase_info_data_t' in scope
40 | mach_timebase_info(&timeBaseInfo)
41 |
/host/spi-builder-workspace/Sources/MGTools/MG Benchmark Tools.swift:40:2: error: cannot find 'mach_timebase_info' in scope
38 |
39 | var timeBaseInfo = mach_timebase_info_data_t()
40 | mach_timebase_info(&timeBaseInfo)
| `- error: cannot find 'mach_timebase_info' in scope
41 |
42 | return Int(end - start) * Int(timeBaseInfo.numer) / Int(timeBaseInfo.denom)
[12/18] Compiling MGTools MG SuperSwift.swift
[13/18] Compiling MGTools MG Storage.swift
[14/18] Compiling MGTools MG Matrix.swift
BUILD FAILURE 6.1 android