The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIntX, reference 3.0.0 (af0adb), with Swift 6.1 for Android on 28 May 2025 10:45:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/rkreutz/UIntX.git
Reference: 3.0.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/rkreutz/UIntX
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at af0adb1 Skipping performance tests
Cloned https://github.com/rkreutz/UIntX.git
Revision (git rev-parse @):
af0adb198db9a61a3c15a8d095941ba7b4712414
SUCCESS checkout https://github.com/rkreutz/UIntX.git at 3.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rkreutz/UIntX.git
https://github.com/rkreutz/UIntX.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UIntX",
  "name" : "UIntX",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UIntX",
      "targets" : [
        "UIntX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "UIntXTests",
      "module_type" : "SwiftTarget",
      "name" : "UIntXTests",
      "path" : "Tests/UIntXTests",
      "sources" : [
        "Performance/ArrayExtensionsPerformanceTests.swift",
        "Performance/CustomStringConvertiblePerformanceTests.swift",
        "Performance/InitilisersPerformanceTests.swift",
        "Performance/OperationsPerformanceTests.swift",
        "Performance/UIntXExtensionsPerformanceTests.swift",
        "UIntXComparableTests.swift",
        "UIntXDescription.swift",
        "UIntXEquatable.swift",
        "UIntXHash.swift",
        "UIntXInitTests.swift",
        "UIntXLeftShiftTests.swift",
        "UIntXOperations.swift",
        "UIntXRightShiftTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "UIntX"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UIntX",
      "module_type" : "SwiftTarget",
      "name" : "UIntX",
      "path" : "Sources/UIntX",
      "product_memberships" : [
        "UIntX"
      ],
      "sources" : [
        "Extensions/Array+Extensions.swift",
        "UIntX+BinaryInteger.swift",
        "UIntX+Comparable.swift",
        "UIntX+CustomStringConvertible.swift",
        "UIntX+Equatable.swift",
        "UIntX+ExpressibleByIntegerLiteral.swift",
        "UIntX+Hashable.swift",
        "UIntX+Numeric.swift",
        "UIntX+UnsignedInteger.swift",
        "UIntX.swift",
        "UIntXConfig.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/13] Compiling UIntX UIntX+Equatable.swift
[4/13] Compiling UIntX UIntX+ExpressibleByIntegerLiteral.swift
[5/14] Compiling UIntX UIntXConfig.swift
/host/spi-builder-workspace/Sources/UIntX/UIntXConfig.swift:5:23: warning: static property 'maximumNumberOfWords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |     /// The maximum number of words that can be stored in any given UIntX, regardless of the base value type.
4 |     /// **Change this with extreme caution.**
5 |     public static var maximumNumberOfWords: Int = 128
  |                       |- warning: static property 'maximumNumberOfWords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'maximumNumberOfWords' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'maximumNumberOfWords' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[6/14] Emitting module UIntX
/host/spi-builder-workspace/Sources/UIntX/UIntXConfig.swift:5:23: warning: static property 'maximumNumberOfWords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |     /// The maximum number of words that can be stored in any given UIntX, regardless of the base value type.
4 |     /// **Change this with extreme caution.**
5 |     public static var maximumNumberOfWords: Int = 128
  |                       |- warning: static property 'maximumNumberOfWords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'maximumNumberOfWords' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'maximumNumberOfWords' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[7/14] Compiling UIntX Array+Extensions.swift
/host/spi-builder-workspace/Sources/UIntX/UIntX+BinaryInteger.swift:59:47: error: cannot convert value of type 'T' to expected argument type 'Double'
 57 |     public init?<T>(exactly source: T) where T: BinaryFloatingPoint {
 58 |
 59 |         guard let value = UInt(exactly: round(source)) else { return nil }
    |                                               `- error: cannot convert value of type 'T' to expected argument type 'Double'
 60 |         self.init(value)
 61 |     }
[8/14] Compiling UIntX UIntX+BinaryInteger.swift
/host/spi-builder-workspace/Sources/UIntX/UIntX+BinaryInteger.swift:59:47: error: cannot convert value of type 'T' to expected argument type 'Double'
 57 |     public init?<T>(exactly source: T) where T: BinaryFloatingPoint {
 58 |
 59 |         guard let value = UInt(exactly: round(source)) else { return nil }
    |                                               `- error: cannot convert value of type 'T' to expected argument type 'Double'
 60 |         self.init(value)
 61 |     }
[9/14] Compiling UIntX UIntX+Comparable.swift
[10/14] Compiling UIntX UIntX+CustomStringConvertible.swift
[11/14] Compiling UIntX UIntX+Hashable.swift
[12/14] Compiling UIntX UIntX+UnsignedInteger.swift
[13/14] Compiling UIntX UIntX+Numeric.swift
[14/14] Compiling UIntX UIntX.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling UIntX UIntX+Hashable.swift
[3/12] Compiling UIntX UIntX+Equatable.swift
[4/12] Compiling UIntX UIntX+ExpressibleByIntegerLiteral.swift
[5/13] Compiling UIntX UIntX+Comparable.swift
[6/13] Compiling UIntX UIntX+CustomStringConvertible.swift
[7/13] Emitting module UIntX
[8/13] Compiling UIntX Array+Extensions.swift
/host/spi-builder-workspace/Sources/UIntX/UIntX+BinaryInteger.swift:59:47: error: cannot convert value of type 'T' to expected argument type 'Double'
 57 |     public init?<T>(exactly source: T) where T: BinaryFloatingPoint {
 58 |
 59 |         guard let value = UInt(exactly: round(source)) else { return nil }
    |                                               `- error: cannot convert value of type 'T' to expected argument type 'Double'
 60 |         self.init(value)
 61 |     }
[9/13] Compiling UIntX UIntX+BinaryInteger.swift
/host/spi-builder-workspace/Sources/UIntX/UIntX+BinaryInteger.swift:59:47: error: cannot convert value of type 'T' to expected argument type 'Double'
 57 |     public init?<T>(exactly source: T) where T: BinaryFloatingPoint {
 58 |
 59 |         guard let value = UInt(exactly: round(source)) else { return nil }
    |                                               `- error: cannot convert value of type 'T' to expected argument type 'Double'
 60 |         self.init(value)
 61 |     }
[10/13] Compiling UIntX UIntX+Numeric.swift
[11/13] Compiling UIntX UIntX+UnsignedInteger.swift
[12/13] Compiling UIntX UIntXConfig.swift
[13/13] Compiling UIntX UIntX.swift
BUILD FAILURE 6.1 android