The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwifitLearn, reference master (259662), with Swift 6.1 for Android on 27 May 2025 12:09:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/t-ae/swifit-learn.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/swifit-learn
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 259662c Update for Swift4
Cloned https://github.com/t-ae/swifit-learn.git
Revision (git rev-parse @):
259662cff3c5cfcc627c48294e578884ed97a931
SUCCESS checkout https://github.com/t-ae/swifit-learn.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/t-ae/swifit-learn.git
https://github.com/t-ae/swifit-learn.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "ndarray",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.14",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/t-ae/ndarray.git"
    }
  ],
  "manifest_display_name" : "SwifitLearn",
  "name" : "SwifitLearn",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwifitLearn",
      "targets" : [
        "SwifitLearn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwifitLearnTests",
      "module_type" : "SwiftTarget",
      "name" : "SwifitLearnTests",
      "path" : "Tests/SwifitLearnTests",
      "sources" : [
        "IrisClassificationTests.swift",
        "IrisDataset.swift",
        "UtilsTests.swift"
      ],
      "target_dependencies" : [
        "SwifitLearn"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwifitLearn",
      "module_type" : "SwiftTarget",
      "name" : "SwifitLearn",
      "path" : "Sources",
      "product_dependencies" : [
        "NDArray"
      ],
      "product_memberships" : [
        "SwifitLearn"
      ],
      "sources" : [
        "DBSCAN.swift",
        "KMeans.swift",
        "KNeighborClassifier.swift",
        "MeanShift.swift",
        "RandomForestClassifier.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/t-ae/ndarray.git
[1/2231] Fetching ndarray
Fetched https://github.com/t-ae/ndarray.git from cache (0.58s)
Computing version for https://github.com/t-ae/ndarray.git
Computed https://github.com/t-ae/ndarray.git at 0.0.14 (1.16s)
Fetching https://github.com/t-ae/xorswift.git
[1/784] Fetching xorswift
Fetched https://github.com/t-ae/xorswift.git from cache (0.28s)
Computing version for https://github.com/t-ae/xorswift.git
Computed https://github.com/t-ae/xorswift.git at 0.0.10 (1.47s)
Creating working copy for https://github.com/t-ae/ndarray.git
Working copy of https://github.com/t-ae/ndarray.git resolved at 0.0.14
Creating working copy for https://github.com/t-ae/xorswift.git
Working copy of https://github.com/t-ae/xorswift.git resolved at 0.0.10
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/10] Emitting module Xorswift
[6/10] Compiling Xorswift Normal.swift
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:106:47: error: cannot convert value of type 'Int32' to expected argument type 'Int'
104 |                                 mu: Float = 0,
105 |                                 sigma: Float = 1) {
106 |         _xorshift_normal(start: start, count: Int32(count), mu: mu, sigma: sigma)
    |                                               `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
107 |     }
108 | #endif
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:124:19: error: cannot find 'nextafterf' in scope
122 |
123 |     var p = start
124 |     let divisor = nextafterf(Float(UInt32.max), Float.infinity)
    |                   `- error: cannot find 'nextafterf' in scope
125 |
126 |     if count%2 == 1 {
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:138:27: error: cannot find 'sqrtf' in scope
136 |         let x2 = Float(w) / divisor + Float.leastNormalMagnitude
137 |
138 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                           `- error: cannot find 'sqrtf' in scope
139 |         p += 1
140 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:138:36: error: cannot find 'logf' in scope
136 |         let x2 = Float(w) / divisor + Float.leastNormalMagnitude
137 |
138 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                    `- error: cannot find 'logf' in scope
139 |         p += 1
140 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:138:46: error: cannot find 'cosf' in scope
136 |         let x2 = Float(w) / divisor + Float.leastNormalMagnitude
137 |
138 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                              `- error: cannot find 'cosf' in scope
139 |         p += 1
140 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:156:27: error: cannot find 'sqrtf' in scope
154 |         x1 = Float(x) / divisor + Float.leastNormalMagnitude
155 |         x2 = Float(y) / divisor + Float.leastNormalMagnitude
156 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                           `- error: cannot find 'sqrtf' in scope
157 |         p += 1
158 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:156:36: error: cannot find 'logf' in scope
154 |         x1 = Float(x) / divisor + Float.leastNormalMagnitude
155 |         x2 = Float(y) / divisor + Float.leastNormalMagnitude
156 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                    `- error: cannot find 'logf' in scope
157 |         p += 1
158 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:156:46: error: cannot find 'cosf' in scope
154 |         x1 = Float(x) / divisor + Float.leastNormalMagnitude
155 |         x2 = Float(y) / divisor + Float.leastNormalMagnitude
156 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                              `- error: cannot find 'cosf' in scope
157 |         p += 1
158 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:161:27: error: cannot find 'sqrtf' in scope
159 |         x1 = Float(z) / divisor + Float.leastNormalMagnitude
160 |         x2 = Float(w) / divisor + Float.leastNormalMagnitude
161 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                           `- error: cannot find 'sqrtf' in scope
162 |         p += 1
163 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:161:36: error: cannot find 'logf' in scope
159 |         x1 = Float(z) / divisor + Float.leastNormalMagnitude
160 |         x2 = Float(w) / divisor + Float.leastNormalMagnitude
161 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                    `- error: cannot find 'logf' in scope
162 |         p += 1
163 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:161:46: error: cannot find 'cosf' in scope
159 |         x1 = Float(z) / divisor + Float.leastNormalMagnitude
160 |         x2 = Float(w) / divisor + Float.leastNormalMagnitude
161 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                              `- error: cannot find 'cosf' in scope
162 |         p += 1
163 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:272:47: error: cannot convert value of type 'Int32' to expected argument type 'Int'
270 |                                 mu: Double = 0,
271 |                                 sigma: Double = 1) {
272 |         _xorshift_normal(start: start, count: Int32(count), mu: mu, sigma: sigma)
    |                                               `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
273 |     }
274 | #endif
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:304:27: error: cannot find 'sqrt' in scope
302 |         let x2 = Double(w) / divisor + Double.leastNormalMagnitude
303 |
304 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                           `- error: cannot find 'sqrt' in scope
305 |         p += 1
306 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:304:35: error: cannot find 'log' in scope
302 |         let x2 = Double(w) / divisor + Double.leastNormalMagnitude
303 |
304 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                   `- error: cannot find 'log' in scope
305 |         p += 1
306 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:304:44: error: cannot find 'cos' in scope
302 |         let x2 = Double(w) / divisor + Double.leastNormalMagnitude
303 |
304 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                            `- error: cannot find 'cos' in scope
305 |         p += 1
306 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:322:27: error: cannot find 'sqrt' in scope
320 |         x1 = Double(x) / divisor + Double.leastNormalMagnitude
321 |         x2 = Double(y) / divisor + Double.leastNormalMagnitude
322 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                           `- error: cannot find 'sqrt' in scope
323 |         p += 1
324 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:322:35: error: cannot find 'log' in scope
320 |         x1 = Double(x) / divisor + Double.leastNormalMagnitude
321 |         x2 = Double(y) / divisor + Double.leastNormalMagnitude
322 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                   `- error: cannot find 'log' in scope
323 |         p += 1
324 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:322:44: error: cannot find 'cos' in scope
320 |         x1 = Double(x) / divisor + Double.leastNormalMagnitude
321 |         x2 = Double(y) / divisor + Double.leastNormalMagnitude
322 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                            `- error: cannot find 'cos' in scope
323 |         p += 1
324 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:327:27: error: cannot find 'sqrt' in scope
325 |         x1 = Double(z) / divisor + Double.leastNormalMagnitude
326 |         x2 = Double(w) / divisor + Double.leastNormalMagnitude
327 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                           `- error: cannot find 'sqrt' in scope
328 |         p += 1
329 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:327:35: error: cannot find 'log' in scope
325 |         x1 = Double(z) / divisor + Double.leastNormalMagnitude
326 |         x2 = Double(w) / divisor + Double.leastNormalMagnitude
327 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                   `- error: cannot find 'log' in scope
328 |         p += 1
329 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:327:44: error: cannot find 'cos' in scope
325 |         x1 = Double(z) / divisor + Double.leastNormalMagnitude
326 |         x2 = Double(w) / divisor + Double.leastNormalMagnitude
327 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                            `- error: cannot find 'cos' in scope
328 |         p += 1
329 |     }
[7/10] Compiling Xorswift Uniform.swift
[8/10] Compiling Xorswift State.swift
[9/10] Compiling Xorswift NextAfter.swift
[10/10] Compiling Xorswift Xorswift.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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/7] Compiling Xorswift State.swift
[3/7] Compiling Xorswift Normal.swift
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:106:47: error: cannot convert value of type 'Int32' to expected argument type 'Int'
104 |                                 mu: Float = 0,
105 |                                 sigma: Float = 1) {
106 |         _xorshift_normal(start: start, count: Int32(count), mu: mu, sigma: sigma)
    |                                               `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
107 |     }
108 | #endif
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:124:19: error: cannot find 'nextafterf' in scope
122 |
123 |     var p = start
124 |     let divisor = nextafterf(Float(UInt32.max), Float.infinity)
    |                   `- error: cannot find 'nextafterf' in scope
125 |
126 |     if count%2 == 1 {
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:138:27: error: cannot find 'sqrtf' in scope
136 |         let x2 = Float(w) / divisor + Float.leastNormalMagnitude
137 |
138 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                           `- error: cannot find 'sqrtf' in scope
139 |         p += 1
140 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:138:36: error: cannot find 'logf' in scope
136 |         let x2 = Float(w) / divisor + Float.leastNormalMagnitude
137 |
138 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                    `- error: cannot find 'logf' in scope
139 |         p += 1
140 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:138:46: error: cannot find 'cosf' in scope
136 |         let x2 = Float(w) / divisor + Float.leastNormalMagnitude
137 |
138 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                              `- error: cannot find 'cosf' in scope
139 |         p += 1
140 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:156:27: error: cannot find 'sqrtf' in scope
154 |         x1 = Float(x) / divisor + Float.leastNormalMagnitude
155 |         x2 = Float(y) / divisor + Float.leastNormalMagnitude
156 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                           `- error: cannot find 'sqrtf' in scope
157 |         p += 1
158 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:156:36: error: cannot find 'logf' in scope
154 |         x1 = Float(x) / divisor + Float.leastNormalMagnitude
155 |         x2 = Float(y) / divisor + Float.leastNormalMagnitude
156 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                    `- error: cannot find 'logf' in scope
157 |         p += 1
158 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:156:46: error: cannot find 'cosf' in scope
154 |         x1 = Float(x) / divisor + Float.leastNormalMagnitude
155 |         x2 = Float(y) / divisor + Float.leastNormalMagnitude
156 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                              `- error: cannot find 'cosf' in scope
157 |         p += 1
158 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:161:27: error: cannot find 'sqrtf' in scope
159 |         x1 = Float(z) / divisor + Float.leastNormalMagnitude
160 |         x2 = Float(w) / divisor + Float.leastNormalMagnitude
161 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                           `- error: cannot find 'sqrtf' in scope
162 |         p += 1
163 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:161:36: error: cannot find 'logf' in scope
159 |         x1 = Float(z) / divisor + Float.leastNormalMagnitude
160 |         x2 = Float(w) / divisor + Float.leastNormalMagnitude
161 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                    `- error: cannot find 'logf' in scope
162 |         p += 1
163 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:161:46: error: cannot find 'cosf' in scope
159 |         x1 = Float(z) / divisor + Float.leastNormalMagnitude
160 |         x2 = Float(w) / divisor + Float.leastNormalMagnitude
161 |         p.pointee = sigma*sqrtf(-2*logf(x1))*cosf(2*Float.pi*x2) + mu
    |                                              `- error: cannot find 'cosf' in scope
162 |         p += 1
163 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:272:47: error: cannot convert value of type 'Int32' to expected argument type 'Int'
270 |                                 mu: Double = 0,
271 |                                 sigma: Double = 1) {
272 |         _xorshift_normal(start: start, count: Int32(count), mu: mu, sigma: sigma)
    |                                               `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
273 |     }
274 | #endif
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:304:27: error: cannot find 'sqrt' in scope
302 |         let x2 = Double(w) / divisor + Double.leastNormalMagnitude
303 |
304 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                           `- error: cannot find 'sqrt' in scope
305 |         p += 1
306 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:304:35: error: cannot find 'log' in scope
302 |         let x2 = Double(w) / divisor + Double.leastNormalMagnitude
303 |
304 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                   `- error: cannot find 'log' in scope
305 |         p += 1
306 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:304:44: error: cannot find 'cos' in scope
302 |         let x2 = Double(w) / divisor + Double.leastNormalMagnitude
303 |
304 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                            `- error: cannot find 'cos' in scope
305 |         p += 1
306 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:322:27: error: cannot find 'sqrt' in scope
320 |         x1 = Double(x) / divisor + Double.leastNormalMagnitude
321 |         x2 = Double(y) / divisor + Double.leastNormalMagnitude
322 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                           `- error: cannot find 'sqrt' in scope
323 |         p += 1
324 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:322:35: error: cannot find 'log' in scope
320 |         x1 = Double(x) / divisor + Double.leastNormalMagnitude
321 |         x2 = Double(y) / divisor + Double.leastNormalMagnitude
322 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                   `- error: cannot find 'log' in scope
323 |         p += 1
324 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:322:44: error: cannot find 'cos' in scope
320 |         x1 = Double(x) / divisor + Double.leastNormalMagnitude
321 |         x2 = Double(y) / divisor + Double.leastNormalMagnitude
322 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                            `- error: cannot find 'cos' in scope
323 |         p += 1
324 |
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:327:27: error: cannot find 'sqrt' in scope
325 |         x1 = Double(z) / divisor + Double.leastNormalMagnitude
326 |         x2 = Double(w) / divisor + Double.leastNormalMagnitude
327 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                           `- error: cannot find 'sqrt' in scope
328 |         p += 1
329 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:327:35: error: cannot find 'log' in scope
325 |         x1 = Double(z) / divisor + Double.leastNormalMagnitude
326 |         x2 = Double(w) / divisor + Double.leastNormalMagnitude
327 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                   `- error: cannot find 'log' in scope
328 |         p += 1
329 |     }
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/Normal.swift:327:44: error: cannot find 'cos' in scope
325 |         x1 = Double(z) / divisor + Double.leastNormalMagnitude
326 |         x2 = Double(w) / divisor + Double.leastNormalMagnitude
327 |         p.pointee = sigma*sqrt(-2*log(x1))*cos(2*Double.pi*x2) + mu
    |                                            `- error: cannot find 'cos' in scope
328 |         p += 1
329 |     }
[4/7] Compiling Xorswift Uniform.swift
[5/7] Emitting module Xorswift
[6/7] Compiling Xorswift Xorswift.swift
[7/7] Compiling Xorswift NextAfter.swift
BUILD FAILURE 6.1 android