The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NDArray, reference master (d2513d), with Swift 6.1 for Android on 27 May 2025 13:05:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/t-ae/ndarray.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/t-ae/ndarray
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d2513d8 SR-10230
Cloned https://github.com/t-ae/ndarray.git
Revision (git rev-parse @):
d2513d897c1853654a5df4eb6549485ec3f7fca6
SUCCESS checkout https://github.com/t-ae/ndarray.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/t-ae/ndarray.git
https://github.com/t-ae/ndarray.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xorswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/t-ae/xorswift.git"
    }
  ],
  "manifest_display_name" : "NDArray",
  "name" : "NDArray",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "NDArray",
      "targets" : [
        "NDArray"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestHelper",
      "module_type" : "SwiftTarget",
      "name" : "TestHelper",
      "path" : "Tests/TestHelper",
      "sources" : [
        "IrisDataset.swift",
        "XCTAssertEqualWithAccuracy.swift"
      ],
      "target_dependencies" : [
        "NDArray"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "PerformanceTests",
      "path" : "Tests/PerformanceTests",
      "sources" : [
        "GradientDescentExample.swift",
        "HamiltonianMonteCarloExample.swift",
        "IrisClassificationExample.swift",
        "PerformanceTests.swift"
      ],
      "target_dependencies" : [
        "NDArray",
        "TestHelper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NDArrayTests",
      "module_type" : "SwiftTarget",
      "name" : "NDArrayTests",
      "path" : "Tests/NDArrayTests",
      "sources" : [
        "ArithmeticTests.swift",
        "ArrayLiteralTests.swift",
        "ClipTests.swift",
        "CompoundAssignmentTests.swift",
        "CopySignTests.swift",
        "CovarianceTests.swift",
        "CreationTests.swift",
        "FloatingPointFunctionsTests.swift",
        "HigherOrderFunctionsTests.swift",
        "LinearAlgebraTests.swift",
        "MatrixMultiplicationTests.swift",
        "NDArrayTests.swift",
        "PowerTests.swift",
        "RandomTests.swift",
        "ReduceTests.swift",
        "SelectTests.swift",
        "SequenceTests.swift",
        "SortTests.swift",
        "StackTests.swift",
        "SubscriptTests.swift",
        "TransformationTests.swift",
        "UtilsTests.swift"
      ],
      "target_dependencies" : [
        "NDArray",
        "TestHelper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NDArray",
      "module_type" : "SwiftTarget",
      "name" : "NDArray",
      "path" : "Sources/NDArray",
      "product_dependencies" : [
        "Xorswift"
      ],
      "product_memberships" : [
        "NDArray"
      ],
      "sources" : [
        "Core/ArrayLiteral.swift",
        "Core/Broadcast.swift",
        "Core/Indexing.swift",
        "Core/IterationUtils.swift",
        "Core/NDArray.swift",
        "Core/NDArrayUtils.swift",
        "Core/Scalar.swift",
        "Core/Sequence.swift",
        "Core/Subscript.swift",
        "Functions/Arithmetic.swift",
        "Functions/Clip.swift",
        "Functions/CompoundAssignment.swift",
        "Functions/CopySign.swift",
        "Functions/Covariance.swift",
        "Functions/Creation.swift",
        "Functions/FloatingPointFunctions.swift",
        "Functions/HigherOrderFunctions.swift",
        "Functions/LinearAlgebra.swift",
        "Functions/MatrixMultiplication.swift",
        "Functions/Power.swift",
        "Functions/Random.swift",
        "Functions/Reduce.swift",
        "Functions/Select.swift",
        "Functions/Sort.swift",
        "Functions/Stack.swift",
        "Functions/Transformation.swift",
        "Utils/vDSPUtils.swift",
        "Utils/vecLibUtils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/t-ae/xorswift.git
[1/784] Fetching xorswift
Fetched https://github.com/t-ae/xorswift.git from cache (0.21s)
Computing version for https://github.com/t-ae/xorswift.git
Computed https://github.com/t-ae/xorswift.git at 2.0.1 (1.09s)
Creating working copy for https://github.com/t-ae/xorswift.git
Working copy of https://github.com/t-ae/xorswift.git resolved at 2.0.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/9] Compiling Xorswift XorshiftGenerator.swift
[6/9] Compiling Xorswift Normal.swift
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:88:44: error: cannot convert value of type 'T' to expected argument type 'Double'
 86 |             T.fillOpen(start: &t, count: 1, high: 1,
 87 |                        x: &x, y: &y, z: &z, w: &w)
 88 |             rp.pointee = sqrt(minus2sigma2 * .log(rp.pointee)) * .sin(.pi*t) + mu
    |                                            `- error: cannot convert value of type 'T' to expected argument type 'Double'
 89 |             rp += 1
 90 |         }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:88:75: error: cannot convert value of type 'T' to expected argument type 'Double'
 86 |             T.fillOpen(start: &t, count: 1, high: 1,
 87 |                        x: &x, y: &y, z: &z, w: &w)
 88 |             rp.pointee = sqrt(minus2sigma2 * .log(rp.pointee)) * .sin(.pi*t) + mu
    |                                                                           `- error: cannot convert value of type 'T' to expected argument type 'Double'
 89 |             rp += 1
 90 |         }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:88:64: error: cannot convert value of type 'Double' to expected argument type 'T'
 86 |             T.fillOpen(start: &t, count: 1, high: 1,
 87 |                        x: &x, y: &y, z: &z, w: &w)
 88 |             rp.pointee = sqrt(minus2sigma2 * .log(rp.pointee)) * .sin(.pi*t) + mu
    |                                                                `- error: cannot convert value of type 'Double' to expected argument type 'T'
 89 |             rp += 1
 90 |         }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:92:39: error: cannot convert value of type 'T' to expected argument type 'Double'
 90 |         }
 91 |         for _ in 0..<(count-half) {
 92 |             let r = sqrt(minus2sigma2 * .log(rp.pointee))
    |                                       `- error: cannot convert value of type 'T' to expected argument type 'Double'
 93 |             let (sin, cos) = T.sincospi(tp.pointee)
 94 |             rp.pointee = r * sin + mu
[7/9] Compiling Xorswift Uniform.swift
[8/9] Emitting module Xorswift
[9/9] Compiling Xorswift FloatDouble.swift
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:63:27: error: no exact matches in call to global function 'sin'
 61 | extension Float: FloatDouble {
 62 |     static func sin(_ arg: Float) -> Float {
 63 |         return Foundation.sin(arg)
    |                           `- error: no exact matches in call to global function 'sin'
 64 |     }
 65 |     static func cos(_ arg: Float) -> Float {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:63:27: error: no 'sin' candidates produce the expected contextual result type 'Float'
 61 | extension Float: FloatDouble {
 62 |     static func sin(_ arg: Float) -> Float {
 63 |         return Foundation.sin(arg)
    |                           `- error: no 'sin' candidates produce the expected contextual result type 'Float'
 64 |     }
 65 |     static func cos(_ arg: Float) -> Float {
Foundation.sin:1:13: note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: 'sin' produces 'Double', not the expected contextual result type 'Float'
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: 'sin' produces 'Double', not the expected contextual result type 'Float'
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:66:27: error: no exact matches in call to global function 'cos'
 64 |     }
 65 |     static func cos(_ arg: Float) -> Float {
 66 |         return Foundation.cos(arg)
    |                           `- error: no exact matches in call to global function 'cos'
 67 |     }
 68 |     static func log(_ arg: Float) -> Float {
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:66:27: error: no 'cos' candidates produce the expected contextual result type 'Float'
 64 |     }
 65 |     static func cos(_ arg: Float) -> Float {
 66 |         return Foundation.cos(arg)
    |                           `- error: no 'cos' candidates produce the expected contextual result type 'Float'
 67 |     }
 68 |     static func log(_ arg: Float) -> Float {
Foundation.cos:1:13: note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: 'cos' produces 'Double', not the expected contextual result type 'Float'
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: 'cos' produces 'Double', not the expected contextual result type 'Float'
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:69:27: error: no exact matches in call to global function 'log'
 67 |     }
 68 |     static func log(_ arg: Float) -> Float {
 69 |         return Foundation.log(arg)
    |                           `- error: no exact matches in call to global function 'log'
 70 |     }
 71 |     static func sincospi(_ arg: Float) -> (sin: Float, cos: Float) {
Foundation.log:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:69:27: error: no 'log' candidates produce the expected contextual result type 'Float'
 67 |     }
 68 |     static func log(_ arg: Float) -> Float {
 69 |         return Foundation.log(arg)
    |                           `- error: no 'log' candidates produce the expected contextual result type 'Float'
 70 |     }
 71 |     static func sincospi(_ arg: Float) -> (sin: Float, cos: Float) {
Foundation.log:1:13: note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log(_ x: CGFloat) -> CGFloat
  |             `- note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: 'log' produces 'Double', not the expected contextual result type 'Float'
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
    |        `- note: 'log' produces 'Double', not the expected contextual result type 'Float'
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:74:9: error: cannot find '__sincospif' in scope
 72 |         var sin: Float = 0
 73 |         var cos: Float = 0
 74 |         __sincospif(arg, &sin, &cos)
    |         `- error: cannot find '__sincospif' in scope
 75 |         return (sin, cos)
 76 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:248:9: error: cannot find '__sincospi' in scope
246 |         var sin: Double = 0
247 |         var cos: Double = 0
248 |         __sincospi(arg, &sin, &cos)
    |         `- error: cannot find '__sincospi' in scope
249 |         return (sin, cos)
250 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/6] Compiling Xorswift Uniform.swift
[3/6] Compiling Xorswift Normal.swift
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:88:44: error: cannot convert value of type 'T' to expected argument type 'Double'
 86 |             T.fillOpen(start: &t, count: 1, high: 1,
 87 |                        x: &x, y: &y, z: &z, w: &w)
 88 |             rp.pointee = sqrt(minus2sigma2 * .log(rp.pointee)) * .sin(.pi*t) + mu
    |                                            `- error: cannot convert value of type 'T' to expected argument type 'Double'
 89 |             rp += 1
 90 |         }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:88:75: error: cannot convert value of type 'T' to expected argument type 'Double'
 86 |             T.fillOpen(start: &t, count: 1, high: 1,
 87 |                        x: &x, y: &y, z: &z, w: &w)
 88 |             rp.pointee = sqrt(minus2sigma2 * .log(rp.pointee)) * .sin(.pi*t) + mu
    |                                                                           `- error: cannot convert value of type 'T' to expected argument type 'Double'
 89 |             rp += 1
 90 |         }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:88:64: error: cannot convert value of type 'Double' to expected argument type 'T'
 86 |             T.fillOpen(start: &t, count: 1, high: 1,
 87 |                        x: &x, y: &y, z: &z, w: &w)
 88 |             rp.pointee = sqrt(minus2sigma2 * .log(rp.pointee)) * .sin(.pi*t) + mu
    |                                                                `- error: cannot convert value of type 'Double' to expected argument type 'T'
 89 |             rp += 1
 90 |         }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:92:39: error: cannot convert value of type 'T' to expected argument type 'Double'
 90 |         }
 91 |         for _ in 0..<(count-half) {
 92 |             let r = sqrt(minus2sigma2 * .log(rp.pointee))
    |                                       `- error: cannot convert value of type 'T' to expected argument type 'Double'
 93 |             let (sin, cos) = T.sincospi(tp.pointee)
 94 |             rp.pointee = r * sin + mu
[4/6] Emitting module Xorswift
[5/6] Compiling Xorswift FloatDouble.swift
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:63:27: error: no exact matches in call to global function 'sin'
 61 | extension Float: FloatDouble {
 62 |     static func sin(_ arg: Float) -> Float {
 63 |         return Foundation.sin(arg)
    |                           `- error: no exact matches in call to global function 'sin'
 64 |     }
 65 |     static func cos(_ arg: Float) -> Float {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:63:27: error: no 'sin' candidates produce the expected contextual result type 'Float'
 61 | extension Float: FloatDouble {
 62 |     static func sin(_ arg: Float) -> Float {
 63 |         return Foundation.sin(arg)
    |                           `- error: no 'sin' candidates produce the expected contextual result type 'Float'
 64 |     }
 65 |     static func cos(_ arg: Float) -> Float {
Foundation.sin:1:13: note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: 'sin' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: 'sin' produces 'Double', not the expected contextual result type 'Float'
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: 'sin' produces 'Double', not the expected contextual result type 'Float'
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:66:27: error: no exact matches in call to global function 'cos'
 64 |     }
 65 |     static func cos(_ arg: Float) -> Float {
 66 |         return Foundation.cos(arg)
    |                           `- error: no exact matches in call to global function 'cos'
 67 |     }
 68 |     static func log(_ arg: Float) -> Float {
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:66:27: error: no 'cos' candidates produce the expected contextual result type 'Float'
 64 |     }
 65 |     static func cos(_ arg: Float) -> Float {
 66 |         return Foundation.cos(arg)
    |                           `- error: no 'cos' candidates produce the expected contextual result type 'Float'
 67 |     }
 68 |     static func log(_ arg: Float) -> Float {
Foundation.cos:1:13: note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: 'cos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: 'cos' produces 'Double', not the expected contextual result type 'Float'
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: 'cos' produces 'Double', not the expected contextual result type 'Float'
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:69:27: error: no exact matches in call to global function 'log'
 67 |     }
 68 |     static func log(_ arg: Float) -> Float {
 69 |         return Foundation.log(arg)
    |                           `- error: no exact matches in call to global function 'log'
 70 |     }
 71 |     static func sincospi(_ arg: Float) -> (sin: Float, cos: Float) {
Foundation.log:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:69:27: error: no 'log' candidates produce the expected contextual result type 'Float'
 67 |     }
 68 |     static func log(_ arg: Float) -> Float {
 69 |         return Foundation.log(arg)
    |                           `- error: no 'log' candidates produce the expected contextual result type 'Float'
 70 |     }
 71 |     static func sincospi(_ arg: Float) -> (sin: Float, cos: Float) {
Foundation.log:1:13: note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func log(_ x: CGFloat) -> CGFloat
  |             `- note: 'log' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:152:8: note: 'log' produces 'Double', not the expected contextual result type 'Float'
150 | long double ldexpl(long double __x, int __exponent);
151 |
152 | double log(double __x);
    |        `- note: 'log' produces 'Double', not the expected contextual result type 'Float'
153 | float logf(float __x);
154 | long double logl(long double __x);
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:74:9: error: cannot find '__sincospif' in scope
 72 |         var sin: Float = 0
 73 |         var cos: Float = 0
 74 |         __sincospif(arg, &sin, &cos)
    |         `- error: cannot find '__sincospif' in scope
 75 |         return (sin, cos)
 76 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:248:9: error: cannot find '__sincospi' in scope
246 |         var sin: Double = 0
247 |         var cos: Double = 0
248 |         __sincospi(arg, &sin, &cos)
    |         `- error: cannot find '__sincospi' in scope
249 |         return (sin, cos)
250 |     }
[6/6] Compiling Xorswift XorshiftGenerator.swift
BUILD FAILURE 6.1 android