The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LASwift, reference master (d326ee), with Swift 6.4 for Wasm on 21 Nov 2026 15:14:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexandertar/LASwift.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/alexandertar/LASwift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d326ee6 Add Linux support (#37)
Cloned https://github.com/alexandertar/LASwift.git
Revision (git rev-parse @):
d326ee6cd3089b49cc68467a89598cc648e0d0d7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/alexandertar/LASwift.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/alexandertar/LASwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
[32 / 40] LASwift
[37 / 40] LASwift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile PortableAccelerate.swift
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:218:105: error: no 'sqrt' candidates produce the expected type '(Double) -> Double' for parameter #3
216 | }
217 |
218 | func vvsqrt(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sqrt) }
    |                                                                                                         `- error: no 'sqrt' candidates produce the expected type '(Double) -> Double' for parameter #3
219 | func vvexp(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, exp) }
220 | func vvlog(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log) }
/host/spi-builder-workspace/Sources/LASwift/MatrixExponent.swift:70:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
 68 | ///     - A: matrix
 69 | /// - Returns: elementwise square root of matrix A
 70 | public func sqrt(_ A: Matrix) -> Matrix {
    |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
 71 |     return matrixFunction(sqrt, A)
 72 | }
/host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift:82:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
 80 | ///     - a: vector
 81 | /// - Returns: elementwise square root of vector a
 82 | public func sqrt(_ a: Vector) -> Vector {
    |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
 83 |     return vectorFunction(vvsqrt, a)
 84 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:219:104: error: no 'exp' candidates produce the expected type '(Double) -> Double' for parameter #3
217 |
218 | func vvsqrt(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sqrt) }
219 | func vvexp(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, exp) }
    |                                                                                                        `- error: no 'exp' candidates produce the expected type '(Double) -> Double' for parameter #3
220 | func vvlog(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log) }
221 | func vvlog2(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log2) }
/host/spi-builder-workspace/Sources/LASwift/MatrixExponent.swift:82:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
 80 | ///     - A: matrix
 81 | /// - Returns: elementwise `e` raised to the power of matrix A
 82 | public func exp(_ A: Matrix) -> Matrix {
    |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
 83 |     return matrixFunction(exp, A)
 84 | }
/host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift:94:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
 92 | ///     - a: vector
 93 | /// - Returns: elementwise `e` raised to the power of vector a
 94 | public func exp(_ a: Vector) -> Vector {
    |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
 95 |     return vectorFunction(vvexp, a)
 96 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:220:104: error: no 'log' candidates produce the expected type '(Double) -> Double' for parameter #3
218 | func vvsqrt(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sqrt) }
219 | func vvexp(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, exp) }
220 | func vvlog(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log) }
    |                                                                                                        `- error: no 'log' candidates produce the expected type '(Double) -> Double' for parameter #3
221 | func vvlog2(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log2) }
222 | func vvlog10(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log10) }
/host/spi-builder-workspace/Sources/LASwift/MatrixExponent.swift:95:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
 93 | ///     - A: matrix
 94 | /// - Returns: elementwise natural logarithm of matrix A
 95 | public func log(_ A: Matrix) -> Matrix {
    |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
 96 |     return matrixFunction(log, A)
 97 | }
/host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift:107:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
105 | ///     - a: vector
106 | /// - Returns: elementwise natural logarithm of vector a
107 | public func log(_ a: Vector) -> Vector {
    |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
108 |     return vectorFunction(vvlog, a)
109 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:221:105: error: no 'log2' candidates produce the expected type '(Double) -> Double' for parameter #3
219 | func vvexp(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, exp) }
220 | func vvlog(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log) }
221 | func vvlog2(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log2) }
    |                                                                                                         `- error: no 'log2' candidates produce the expected type '(Double) -> Double' for parameter #3
222 | func vvlog10(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log10) }
223 | func vvsin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sin) }
/host/spi-builder-workspace/Sources/LASwift/MatrixExponent.swift:104:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
102 | ///     - A: matrix
103 | /// - Returns: elementwise base-2 logarithm of matrix A
104 | public func log2(_ A: Matrix) -> Matrix {
    |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
105 |     return matrixFunction(log2, A)
106 | }
/host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift:116:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
114 | ///     - a: vector
115 | /// - Returns: elementwise base-2 logarithm of vector a
116 | public func log2(_ a: Vector) -> Vector {
    |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
117 |     return vectorFunction(vvlog2, a)
118 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:222:106: error: no 'log10' candidates produce the expected type '(Double) -> Double' for parameter #3
220 | func vvlog(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log) }
221 | func vvlog2(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log2) }
222 | func vvlog10(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log10) }
    |                                                                                                          `- error: no 'log10' candidates produce the expected type '(Double) -> Double' for parameter #3
223 | func vvsin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sin) }
224 | func vvcos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, cos) }
/host/spi-builder-workspace/Sources/LASwift/MatrixExponent.swift:113:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
111 | ///     - A: matrix
112 | /// - Returns: elementwise base-10 logarithm of matrix A
113 | public func log10(_ A: Matrix) -> Matrix {
    |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
114 |     return matrixFunction(log10, A)
115 | }
/host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift:125:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
123 | ///     - a: vector
124 | /// - Returns: elementwise base-10 logarithm of vector a
125 | public func log10(_ a: Vector) -> Vector {
    |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
126 |     return vectorFunction(vvlog10, a)
127 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:223:104: error: no 'sin' candidates produce the expected type '(Double) -> Double' for parameter #3
221 | func vvlog2(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log2) }
222 | func vvlog10(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log10) }
223 | func vvsin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sin) }
    |                                                                                                        `- error: no 'sin' candidates produce the expected type '(Double) -> Double' for parameter #3
224 | func vvcos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, cos) }
225 | func vvtan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, tan) }
/host/spi-builder-workspace/Sources/LASwift/MatrixTrigonometry.swift:17:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
15 | ///     - A: matrix
16 | /// - Returns: sine of a matrix values
17 | public func sin(_ A: Matrix) -> Matrix {
   |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
18 |     return matrixFunction(sin, A)
19 | }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:25:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
23 | ///     - a: vector
24 | /// - Returns: sine of a vector values
25 | public func sin(_ a: Vector) -> Vector {
   |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
26 |     return vectorFunction(vvsin, a)
27 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:224:104: error: no 'cos' candidates produce the expected type '(Double) -> Double' for parameter #3
222 | func vvlog10(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log10) }
223 | func vvsin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sin) }
224 | func vvcos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, cos) }
    |                                                                                                        `- error: no 'cos' candidates produce the expected type '(Double) -> Double' for parameter #3
225 | func vvtan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, tan) }
226 | func vvasin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, asin) }
/host/spi-builder-workspace/Sources/LASwift/MatrixTrigonometry.swift:27:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
25 | ///     - A: matrix
26 | /// - Returns: cosine of a matrix values
27 | public func cos(_ A: Matrix) -> Matrix {
   |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
28 |     return matrixFunction(cos, A)
29 | }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:35:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
33 | ///     - a: vector
34 | /// - Returns: cosine of a vector values
35 | public func cos(_ a: Vector) -> Vector {
   |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
36 |     return vectorFunction(vvcos, a)
37 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:225:104: error: no 'tan' candidates produce the expected type '(Double) -> Double' for parameter #3
223 | func vvsin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sin) }
224 | func vvcos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, cos) }
225 | func vvtan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, tan) }
    |                                                                                                        `- error: no 'tan' candidates produce the expected type '(Double) -> Double' for parameter #3
226 | func vvasin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, asin) }
227 | func vvacos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, acos) }
/host/spi-builder-workspace/Sources/LASwift/MatrixTrigonometry.swift:40:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
38 | ///     - A: matrix
39 | /// - Returns: tangent of a matrix values
40 | public func tan(_ A: Matrix) -> Matrix {
   |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
41 |     return matrixFunction(tan, A)
42 | }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:48:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
46 | ///     - a: vector
47 | /// - Returns: tangent of a vector values
48 | public func tan(_ a: Vector) -> Vector {
   |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
49 |     return vectorFunction(vvtan, a)
50 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:226:105: error: no 'asin' candidates produce the expected type '(Double) -> Double' for parameter #3
224 | func vvcos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, cos) }
225 | func vvtan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, tan) }
226 | func vvasin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, asin) }
    |                                                                                                         `- error: no 'asin' candidates produce the expected type '(Double) -> Double' for parameter #3
227 | func vvacos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, acos) }
228 | func vvatan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, atan) }
/host/spi-builder-workspace/Sources/LASwift/MatrixTrigonometry.swift:50:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
48 | ///     - A: matrix
49 | /// - Returns: arcsine of a matrix values
50 | public func asin(_ A: Matrix) -> Matrix {
   |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
51 |     return matrixFunction(asin, A)
52 | }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:58:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
56 | ///     - a: vector
57 | /// - Returns: arcsine of a vector values
58 | public func asin(_ a: Vector) -> Vector {
   |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
59 |     return vectorFunction(vvasin, a)
60 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:227:105: error: no 'acos' candidates produce the expected type '(Double) -> Double' for parameter #3
225 | func vvtan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, tan) }
226 | func vvasin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, asin) }
227 | func vvacos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, acos) }
    |                                                                                                         `- error: no 'acos' candidates produce the expected type '(Double) -> Double' for parameter #3
228 | func vvatan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, atan) }
229 |
/host/spi-builder-workspace/Sources/LASwift/MatrixTrigonometry.swift:60:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
58 | ///     - A: matrix
59 | /// - Returns: arccosine of a matrix values
60 | public func acos(_ A: Matrix) -> Matrix {
   |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
61 |     return matrixFunction(acos, A)
62 | }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:68:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
66 | ///     - a: vector
67 | /// - Returns: arccosine of a vector values
68 | public func acos(_ a: Vector) -> Vector {
   |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
69 |     return vectorFunction(vvacos, a)
70 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:228:105: error: no 'atan' candidates produce the expected type '(Double) -> Double' for parameter #3
226 | func vvasin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, asin) }
227 | func vvacos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, acos) }
228 | func vvatan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, atan) }
    |                                                                                                         `- error: no 'atan' candidates produce the expected type '(Double) -> Double' for parameter #3
229 |
230 | /// z[i] = x[i] raised to the scalar exponent y.
/host/spi-builder-workspace/Sources/LASwift/MatrixTrigonometry.swift:69:13: note: found candidate with type '@Sendable (Matrix) -> Matrix'
67 | ///     - A: matrix
68 | /// - Returns: arctangent of a matrix values
69 | public func atan(_ A: Matrix) -> Matrix {
   |             `- note: found candidate with type '@Sendable (Matrix) -> Matrix'
70 |     return matrixFunction(atan, A)
71 | }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:77:13: note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
75 | ///     - a: vector
76 | /// - Returns: arctangent of a vector values
77 | public func atan(_ a: Vector) -> Vector {
   |             `- note: found candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')
78 |     return vectorFunction(vvatan, a)
79 | }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:233:42: error: cannot find 'pow' in scope
231 | func vvpows(_ z: UnsafeMutablePointer<Double>, _ y: UnsafePointer<Double>, _ x: UnsafePointer<Double>,
232 |             _ n: UnsafePointer<Int32>) {
233 |     for i in 0..<Int(n.pointee) { z[i] = pow(x[i], y.pointee) }
    |                                          `- error: cannot find 'pow' in scope
234 | }
235 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/LASwift/Matrix.swift /host/spi-builder-workspace/Sources/LASwift/MatrixAlgebra.swift /host/spi-builder-workspace/Sources/LASwift/MatrixArithmetic.swift /host/spi-builder-workspace/Sources/LASwift/MatrixExponent.swift /host/spi-builder-workspace/Sources/LASwift/MatrixLeastSquare.swift /host/spi-builder-workspace/Sources/LASwift/MatrixStatistics.swift /host/spi-builder-workspace/Sources/LASwift/MatrixTrigonometry.swift /host/spi-builder-workspace/Sources/LASwift/Numeric.swift -primary-file /host/spi-builder-workspace/Sources/LASwift/Operators.swift -primary-file /host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift /host/spi-builder-workspace/Sources/LASwift/Random.swift /host/spi-builder-workspace/Sources/LASwift/Unique.swift /host/spi-builder-workspace/Sources/LASwift/Util.swift /host/spi-builder-workspace/Sources/LASwift/Vector.swift /host/spi-builder-workspace/Sources/LASwift/VectorArithmetic.swift /host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift /host/spi-builder-workspace/Sources/LASwift/VectorStatistics.swift /host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/Operators.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/Operators.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/Operators.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/Operators.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/PortableAccelerate.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/PortableAccelerate.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/PortableAccelerate.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/PortableAccelerate.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-webassembly-wasm32/CLASwiftLAPACK.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/Sources/CLASwiftLAPACK/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LASwift -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/LASwift_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/Operators.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/PortableAccelerate.o -index-unit-output-path /LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/Operators.o -index-unit-output-path /LASwift.build/Debug-webassembly-wasm32/LASwift-t.build/Objects-normal/wasm32/PortableAccelerate.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm