The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwifitLearn, reference master (259662), with Swift 6.3 for Wasm on 10 Apr 2026 21:46:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/t-ae/swifit-learn.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/t-ae/ndarray.git
[1/2231] Fetching ndarray
Fetched https://github.com/t-ae/ndarray.git from cache (0.28s)
Computing version for https://github.com/t-ae/ndarray.git
Computed https://github.com/t-ae/ndarray.git at 0.0.14 (0.73s)
Fetching https://github.com/t-ae/xorswift.git
[1/784] Fetching xorswift
Fetched https://github.com/t-ae/xorswift.git from cache (0.71s)
Computing version for https://github.com/t-ae/xorswift.git
Computed https://github.com/t-ae/xorswift.git at 0.0.10 (1.15s)
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
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/10] Emitting module Xorswift
[6/10] Compiling Xorswift State.swift
[7/10] Compiling Xorswift NextAfter.swift
[8/10] Compiling Xorswift Uniform.swift
[9/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 |     }
[10/10] Compiling Xorswift Xorswift.swift
BUILD FAILURE 6.3 wasm