The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build BigNum, reference 6.0.0 (a56227), with Swift 6.1 for Android on 3 Sep 2025 22:20:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bignum.git
Reference: 6.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/dankogai/swift-bignum
 * tag               6.0.0      -> FETCH_HEAD
HEAD is now at a562275 Update README.md
Cloned https://github.com/dankogai/swift-bignum.git
Revision (git rev-parse @):
a562275f0a64bc95f6e3f6c45ee652eefa820749
SUCCESS checkout https://github.com/dankogai/swift-bignum.git at 6.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dankogai/swift-bignum.git
https://github.com/dankogai/swift-bignum.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt"
    }
  ],
  "manifest_display_name" : "BigNum",
  "name" : "BigNum",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BigNum",
      "targets" : [
        "BigNum"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BigNumRun",
      "targets" : [
        "BigNumRun"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BigNumTests",
      "module_type" : "SwiftTarget",
      "name" : "BigNumTests",
      "path" : "Tests/BigNumTests",
      "sources" : [
        "BigNumTests.swift",
        "GenericMathTests.swift",
        "RationalTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "BigNum"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BigNumRun",
      "module_type" : "SwiftTarget",
      "name" : "BigNumRun",
      "path" : "Sources/BigNumRun",
      "product_memberships" : [
        "BigNumRun"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "BigNum"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BigNum",
      "module_type" : "SwiftTarget",
      "name" : "BigNum",
      "path" : "Sources/BigNum",
      "product_dependencies" : [
        "BigInt",
        "Numerics"
      ],
      "product_memberships" : [
        "BigNum",
        "BigNumRun"
      ],
      "sources" : [
        "BigFloat.swift",
        "BigNum.swift",
        "GenericMath.swift",
        "Rational.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/attaswift/BigInt
Fetching https://github.com/apple/swift-numerics
[1/4826] Fetching bigint
[1594/11174] Fetching bigint, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.59s)
Fetched https://github.com/attaswift/BigInt from cache (0.65s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.0 (1.19s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 5.7.0 (0.94s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.0
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 5.7.0
Building for debugging...
[0/16] Write sources
[6/16] Compiling _NumericsShims _NumericsShims.c
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/48] Compiling RealModule Real.swift
[10/48] Compiling RealModule Float80+Real.swift
[11/48] Compiling RealModule Float16+Real.swift
[12/48] Compiling RealModule RealFunctions.swift
[13/49] Compiling BigInt BigUInt.swift
[14/49] Compiling BigInt Floating Point Conversion.swift
[15/49] Emitting module RealModule
[16/49] Compiling BigInt Addition.swift
[17/49] Compiling BigInt BigInt.swift
[18/49] Compiling BigInt GCD.swift
[19/49] Compiling BigInt Hashable.swift
[20/49] Compiling RealModule RelaxedArithmetic.swift
[22/50] Emitting module BigInt
[22/52] Wrapping AST for RealModule for debugging
[24/63] Compiling BigInt Strideable.swift
[25/63] Compiling BigInt String Conversion.swift
[26/63] Compiling ComplexModule Polar.swift
[27/64] Compiling ComplexModule Complex+Hashable.swift
[28/64] Compiling ComplexModule Complex+IntegerLiteral.swift
[29/64] Compiling ComplexModule Complex.swift
[30/64] Compiling ComplexModule Complex+StringConvertible.swift
[31/64] Compiling ComplexModule Complex+Numeric.swift
[32/64] Compiling ComplexModule Scale.swift
[33/64] Compiling BigInt Integer Conversion.swift
[34/64] Compiling BigInt Multiplication.swift
[35/64] Compiling BigInt Prime Test.swift
[36/64] Compiling BigInt Random.swift
[37/64] Compiling BigInt Shifts.swift
[38/64] Compiling BigInt Square Root.swift
[39/64] Emitting module ComplexModule
[40/64] Compiling ComplexModule Complex+Codable.swift
[41/64] Compiling ComplexModule Complex+ElementaryFunctions.swift
[42/64] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[43/64] Compiling ComplexModule Complex+AlgebraicField.swift
[44/65] Wrapping AST for ComplexModule for debugging
[46/67] Compiling Numerics Numerics.swift
[47/67] Emitting module Numerics
[48/68] Compiling BigInt Subtraction.swift
[49/68] Compiling BigInt Words and Bits.swift
[50/68] Wrapping AST for Numerics for debugging
[58/68] Compiling BigInt Data Conversion.swift
[59/68] Compiling BigInt Division.swift
[60/68] Compiling BigInt Exponentiation.swift
[61/68] Compiling BigInt Bitwise Ops.swift
[62/68] Compiling BigInt Codable.swift
[63/68] Compiling BigInt Comparable.swift
[64/69] Wrapping AST for BigInt for debugging
[66/74] Compiling BigNum BigNum.swift
[67/74] Emitting module BigNum
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:13:23: 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
 11 |     public var scale:Exponent           // stored property
 12 |     public var mantissa:Significand     // stored property
 13 |     public static var precision = 64
    |                       |- 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
 14 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
 15 |     public static var expLimit     = Self(Int16.max)
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:14:23: warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     public var mantissa:Significand     // stored property
 13 |     public static var precision = 64
 14 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
    |                       |- warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'roundingRule' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'roundingRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     public static var expLimit     = Self(Int16.max)
 16 |     // basic init
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:15:23: warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     public static var precision = 64
 14 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
 15 |     public static var expLimit     = Self(Int16.max)
    |                       |- warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'expLimit' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'expLimit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     // basic init
 17 |     public init(scale: Exponent, mantissa:Significand) {
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:406:23: warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
404 | extension BigFloat : BigFloatingPoint {
405 |     public typealias IntType = BigInt
406 |     public static var ATAN1 = (precision:0, value:nan)
    |                       |- warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'ATAN1' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'ATAN1' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
407 |     public static var E     = (precision:0, value:nan)
408 |     public static var SQRT2 = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:407:23: warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
405 |     public typealias IntType = BigInt
406 |     public static var ATAN1 = (precision:0, value:nan)
407 |     public static var E     = (precision:0, value:nan)
    |                       |- warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'E' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
408 |     public static var SQRT2 = (precision:0, value:nan)
409 |     public static var LN2   = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:408:23: warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
406 |     public static var ATAN1 = (precision:0, value:nan)
407 |     public static var E     = (precision:0, value:nan)
408 |     public static var SQRT2 = (precision:0, value:nan)
    |                       |- warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'SQRT2' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'SQRT2' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
409 |     public static var LN2   = (precision:0, value:nan)
410 |     public static var LN10  = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:409:23: warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
407 |     public static var E     = (precision:0, value:nan)
408 |     public static var SQRT2 = (precision:0, value:nan)
409 |     public static var LN2   = (precision:0, value:nan)
    |                       |- warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'LN2' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'LN2' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
410 |     public static var LN10  = (precision:0, value:nan)
411 |     public init(_ value: BigRat) {
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:410:23: warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
408 |     public static var SQRT2 = (precision:0, value:nan)
409 |     public static var LN2   = (precision:0, value:nan)
410 |     public static var LN10  = (precision:0, value:nan)
    |                       |- warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'LN10' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'LN10' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
411 |     public init(_ value: BigRat) {
412 |         self.init(value, precision:BigFloat.precision, round:BigFloat.roundingRule)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:445:23: 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
443 |     public typealias Element = BigInt
444 |     public typealias IntType = BigInt
445 |     public static var precision    = 64
    |                       |- 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
446 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 |     public static var ATAN1 = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:446:23: warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
444 |     public typealias IntType = BigInt
445 |     public static var precision    = 64
446 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
    |                       |- warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'roundingRule' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'roundingRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
447 |     public static var ATAN1 = (precision:0, value:nan)
448 |     public static var E     = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:447:23: warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
445 |     public static var precision    = 64
446 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 |     public static var ATAN1 = (precision:0, value:nan)
    |                       |- warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'ATAN1' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'ATAN1' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
448 |     public static var E     = (precision:0, value:nan)
449 |     public static var SQRT2 = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:448:23: warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
446 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 |     public static var ATAN1 = (precision:0, value:nan)
448 |     public static var E     = (precision:0, value:nan)
    |                       |- warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'E' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
449 |     public static var SQRT2 = (precision:0, value:nan)
450 |     public static var LN2   = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:449:23: warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
447 |     public static var ATAN1 = (precision:0, value:nan)
448 |     public static var E     = (precision:0, value:nan)
449 |     public static var SQRT2 = (precision:0, value:nan)
    |                       |- warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'SQRT2' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'SQRT2' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
450 |     public static var LN2   = (precision:0, value:nan)
451 |     public static var LN10  = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:450:23: warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
448 |     public static var E     = (precision:0, value:nan)
449 |     public static var SQRT2 = (precision:0, value:nan)
450 |     public static var LN2   = (precision:0, value:nan)
    |                       |- warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'LN2' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'LN2' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 |     public static var LN10  = (precision:0, value:nan)
452 |     public static var pi: Self { return Self.PI(precision:Self.precision) }
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:451:23: warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
449 |     public static var SQRT2 = (precision:0, value:nan)
450 |     public static var LN2   = (precision:0, value:nan)
451 |     public static var LN10  = (precision:0, value:nan)
    |                       |- warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'LN10' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'LN10' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
452 |     public static var pi: Self { return Self.PI(precision:Self.precision) }
453 |     public static func getEpsilon(precision px:Int)->BigRational {
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:474:23: warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
472 |     /// if smaller than `-expLimit` 0 is returned
473 |     /// anything larger than `+expLimit` +infinity is returned
474 |     public static var expLimit = Self(Int16.max)
    |                       |- warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'expLimit' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'expLimit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
475 |     public func remainder(dividingBy other:BigRational,
476 |                           precision:Int = BigRational.precision,
[68/74] Compiling BigNum BigFloat.swift
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:13:23: 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
 11 |     public var scale:Exponent           // stored property
 12 |     public var mantissa:Significand     // stored property
 13 |     public static var precision = 64
    |                       |- 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
 14 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
 15 |     public static var expLimit     = Self(Int16.max)
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:14:23: warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     public var mantissa:Significand     // stored property
 13 |     public static var precision = 64
 14 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
    |                       |- warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'roundingRule' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'roundingRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     public static var expLimit     = Self(Int16.max)
 16 |     // basic init
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:15:23: warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     public static var precision = 64
 14 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
 15 |     public static var expLimit     = Self(Int16.max)
    |                       |- warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'expLimit' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'expLimit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     // basic init
 17 |     public init(scale: Exponent, mantissa:Significand) {
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:406:23: warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
404 | extension BigFloat : BigFloatingPoint {
405 |     public typealias IntType = BigInt
406 |     public static var ATAN1 = (precision:0, value:nan)
    |                       |- warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'ATAN1' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'ATAN1' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
407 |     public static var E     = (precision:0, value:nan)
408 |     public static var SQRT2 = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:407:23: warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
405 |     public typealias IntType = BigInt
406 |     public static var ATAN1 = (precision:0, value:nan)
407 |     public static var E     = (precision:0, value:nan)
    |                       |- warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'E' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
408 |     public static var SQRT2 = (precision:0, value:nan)
409 |     public static var LN2   = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:408:23: warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
406 |     public static var ATAN1 = (precision:0, value:nan)
407 |     public static var E     = (precision:0, value:nan)
408 |     public static var SQRT2 = (precision:0, value:nan)
    |                       |- warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'SQRT2' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'SQRT2' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
409 |     public static var LN2   = (precision:0, value:nan)
410 |     public static var LN10  = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:409:23: warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
407 |     public static var E     = (precision:0, value:nan)
408 |     public static var SQRT2 = (precision:0, value:nan)
409 |     public static var LN2   = (precision:0, value:nan)
    |                       |- warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'LN2' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'LN2' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
410 |     public static var LN10  = (precision:0, value:nan)
411 |     public init(_ value: BigRat) {
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:410:23: warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
408 |     public static var SQRT2 = (precision:0, value:nan)
409 |     public static var LN2   = (precision:0, value:nan)
410 |     public static var LN10  = (precision:0, value:nan)
    |                       |- warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'LN10' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'LN10' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
411 |     public init(_ value: BigRat) {
412 |         self.init(value, precision:BigFloat.precision, round:BigFloat.roundingRule)
[69/74] Compiling BigNum Rational.swift
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:445:23: 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
443 |     public typealias Element = BigInt
444 |     public typealias IntType = BigInt
445 |     public static var precision    = 64
    |                       |- 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
446 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 |     public static var ATAN1 = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:446:23: warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
444 |     public typealias IntType = BigInt
445 |     public static var precision    = 64
446 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
    |                       |- warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'roundingRule' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'roundingRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
447 |     public static var ATAN1 = (precision:0, value:nan)
448 |     public static var E     = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:447:23: warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
445 |     public static var precision    = 64
446 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 |     public static var ATAN1 = (precision:0, value:nan)
    |                       |- warning: static property 'ATAN1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'ATAN1' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'ATAN1' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
448 |     public static var E     = (precision:0, value:nan)
449 |     public static var SQRT2 = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:448:23: warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
446 |     public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
447 |     public static var ATAN1 = (precision:0, value:nan)
448 |     public static var E     = (precision:0, value:nan)
    |                       |- warning: static property 'E' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'E' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
449 |     public static var SQRT2 = (precision:0, value:nan)
450 |     public static var LN2   = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:449:23: warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
447 |     public static var ATAN1 = (precision:0, value:nan)
448 |     public static var E     = (precision:0, value:nan)
449 |     public static var SQRT2 = (precision:0, value:nan)
    |                       |- warning: static property 'SQRT2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'SQRT2' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'SQRT2' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
450 |     public static var LN2   = (precision:0, value:nan)
451 |     public static var LN10  = (precision:0, value:nan)
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:450:23: warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
448 |     public static var E     = (precision:0, value:nan)
449 |     public static var SQRT2 = (precision:0, value:nan)
450 |     public static var LN2   = (precision:0, value:nan)
    |                       |- warning: static property 'LN2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'LN2' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'LN2' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 |     public static var LN10  = (precision:0, value:nan)
452 |     public static var pi: Self { return Self.PI(precision:Self.precision) }
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:451:23: warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
449 |     public static var SQRT2 = (precision:0, value:nan)
450 |     public static var LN2   = (precision:0, value:nan)
451 |     public static var LN10  = (precision:0, value:nan)
    |                       |- warning: static property 'LN10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'LN10' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'LN10' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
452 |     public static var pi: Self { return Self.PI(precision:Self.precision) }
453 |     public static func getEpsilon(precision px:Int)->BigRational {
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:474:23: warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
472 |     /// if smaller than `-expLimit` 0 is returned
473 |     /// anything larger than `+expLimit` +infinity is returned
474 |     public static var expLimit = Self(Int16.max)
    |                       |- warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'expLimit' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'expLimit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
475 |     public func remainder(dividingBy other:BigRational,
476 |                           precision:Int = BigRational.precision,
[70/74] Compiling BigNum GenericMath.swift
[71/75] Wrapping AST for BigNum for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/77] Emitting module BigNumRun
/host/spi-builder-workspace/Sources/BigNumRun/main.swift:5:8: error: no such module 'Darwin'
 3 | import Glibc
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[74/77] Compiling BigNumRun main.swift
/host/spi-builder-workspace/Sources/BigNumRun/main.swift:5:8: error: no such module 'Darwin'
 3 | import Glibc
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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/9] Write swift-version-24593BA9C3E375BF.txt
[2/41] Compiling RealModule RealFunctions.swift
[3/42] Compiling RealModule Float80+Real.swift
[4/42] Compiling RealModule Real.swift
[5/42] Compiling RealModule Float16+Real.swift
[6/42] Compiling RealModule RelaxedArithmetic.swift
[7/42] Compiling BigInt Addition.swift
[8/42] Compiling BigInt BigInt.swift
[9/42] Compiling BigInt Codable.swift
[10/42] Compiling BigInt Comparable.swift
[11/42] Compiling BigInt BigUInt.swift
[12/42] Compiling BigInt Bitwise Ops.swift
[13/42] Emitting module RealModule
[14/43] Emitting module BigInt
[16/45] Compiling BigInt Strideable.swift
[17/45] Compiling BigInt String Conversion.swift
[18/45] Compiling BigInt Floating Point Conversion.swift
[19/45] Compiling BigInt GCD.swift
[20/45] Compiling BigInt Hashable.swift
[21/45] Compiling BigInt Integer Conversion.swift
[22/45] Compiling BigInt Multiplication.swift
[23/45] Compiling BigInt Prime Test.swift
[23/45] Wrapping AST for RealModule for debugging
[31/56] Compiling BigInt Random.swift
[32/56] Compiling BigInt Shifts.swift
[33/56] Compiling BigInt Square Root.swift
[34/56] Compiling ComplexModule Polar.swift
[35/57] Compiling ComplexModule Complex+Numeric.swift
[36/57] Compiling ComplexModule Complex+Hashable.swift
[37/57] Compiling ComplexModule Complex+IntegerLiteral.swift
[38/57] Compiling BigInt Data Conversion.swift
[39/57] Compiling BigInt Division.swift
[40/57] Compiling BigInt Exponentiation.swift
[41/57] Compiling ComplexModule Complex+StringConvertible.swift
[42/57] Compiling ComplexModule Complex.swift
[43/57] Compiling ComplexModule Scale.swift
[44/57] Compiling BigInt Subtraction.swift
[45/57] Compiling BigInt Words and Bits.swift
[47/57] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[48/57] Compiling ComplexModule Complex+AlgebraicField.swift
[49/57] Emitting module ComplexModule
[50/57] Compiling ComplexModule Complex+Codable.swift
[51/57] Compiling ComplexModule Complex+ElementaryFunctions.swift
[52/58] Wrapping AST for ComplexModule for debugging
[54/60] Emitting module Numerics
[55/60] Compiling Numerics Numerics.swift
[57/65] Compiling BigNum Rational.swift
[58/65] Compiling BigNum BigFloat.swift
[59/65] Compiling BigNum BigNum.swift
[60/65] Emitting module BigNum
[61/65] Compiling BigNum GenericMath.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/67] Emitting module BigNumRun
/host/spi-builder-workspace/Sources/BigNumRun/main.swift:5:8: error: no such module 'Darwin'
 3 | import Glibc
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[64/67] Compiling BigNumRun main.swift
/host/spi-builder-workspace/Sources/BigNumRun/main.swift:5:8: error: no such module 'Darwin'
 3 | import Glibc
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
BUILD FAILURE 6.1 android