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>&1Build 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: [1;31merror: [1;39mno 'sqrt' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m216 |[0;0m }
[0;36m217 |[0;0m
[0;36m218 |[0;0m func vvsqrt(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sqrt) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'sqrt' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m219 |[0;0m func vvexp(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, exp) }
[0;36m220 |[0;0m 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: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m68 |[0;0m /// - A: matrix
[0;36m69 |[0;0m /// - Returns: elementwise square root of matrix A
[0;36m70 |[0;0m public func sqrt(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m71 |[0;0m return matrixFunction(sqrt, A)
[0;36m72 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift:82:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m80 |[0;0m /// - a: vector
[0;36m81 |[0;0m /// - Returns: elementwise square root of vector a
[0;36m82 |[0;0m public func sqrt(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m83 |[0;0m return vectorFunction(vvsqrt, a)
[0;36m84 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:219:104: [1;31merror: [1;39mno 'exp' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m217 |[0;0m
[0;36m218 |[0;0m func vvsqrt(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sqrt) }
[0;36m219 |[0;0m func vvexp(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, exp) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'exp' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m220 |[0;0m func vvlog(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log) }
[0;36m221 |[0;0m 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: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m80 |[0;0m /// - A: matrix
[0;36m81 |[0;0m /// - Returns: elementwise `e` raised to the power of matrix A
[0;36m82 |[0;0m public func exp(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m83 |[0;0m return matrixFunction(exp, A)
[0;36m84 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift:94:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m92 |[0;0m /// - a: vector
[0;36m93 |[0;0m /// - Returns: elementwise `e` raised to the power of vector a
[0;36m94 |[0;0m public func exp(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m95 |[0;0m return vectorFunction(vvexp, a)
[0;36m96 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:220:104: [1;31merror: [1;39mno 'log' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m218 |[0;0m func vvsqrt(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sqrt) }
[0;36m219 |[0;0m func vvexp(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, exp) }
[0;36m220 |[0;0m func vvlog(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'log' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m221 |[0;0m func vvlog2(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log2) }
[0;36m222 |[0;0m 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: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m93 |[0;0m /// - A: matrix
[0;36m94 |[0;0m /// - Returns: elementwise natural logarithm of matrix A
[0;36m95 |[0;0m public func log(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m96 |[0;0m return matrixFunction(log, A)
[0;36m97 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift:107:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m105 |[0;0m /// - a: vector
[0;36m106 |[0;0m /// - Returns: elementwise natural logarithm of vector a
[0;36m107 |[0;0m public func log(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m108 |[0;0m return vectorFunction(vvlog, a)
[0;36m109 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:221:105: [1;31merror: [1;39mno 'log2' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m219 |[0;0m func vvexp(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, exp) }
[0;36m220 |[0;0m func vvlog(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log) }
[0;36m221 |[0;0m func vvlog2(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log2) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'log2' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m222 |[0;0m func vvlog10(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log10) }
[0;36m223 |[0;0m 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: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m102 |[0;0m /// - A: matrix
[0;36m103 |[0;0m /// - Returns: elementwise base-2 logarithm of matrix A
[0;36m104 |[0;0m public func log2(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m105 |[0;0m return matrixFunction(log2, A)
[0;36m106 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift:116:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m114 |[0;0m /// - a: vector
[0;36m115 |[0;0m /// - Returns: elementwise base-2 logarithm of vector a
[0;36m116 |[0;0m public func log2(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m117 |[0;0m return vectorFunction(vvlog2, a)
[0;36m118 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:222:106: [1;31merror: [1;39mno 'log10' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m220 |[0;0m func vvlog(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log) }
[0;36m221 |[0;0m func vvlog2(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log2) }
[0;36m222 |[0;0m func vvlog10(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log10) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'log10' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m223 |[0;0m func vvsin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sin) }
[0;36m224 |[0;0m 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: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m111 |[0;0m /// - A: matrix
[0;36m112 |[0;0m /// - Returns: elementwise base-10 logarithm of matrix A
[0;36m113 |[0;0m public func log10(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m114 |[0;0m return matrixFunction(log10, A)
[0;36m115 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorExponent.swift:125:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m123 |[0;0m /// - a: vector
[0;36m124 |[0;0m /// - Returns: elementwise base-10 logarithm of vector a
[0;36m125 |[0;0m public func log10(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m126 |[0;0m return vectorFunction(vvlog10, a)
[0;36m127 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:223:104: [1;31merror: [1;39mno 'sin' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m221 |[0;0m func vvlog2(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log2) }
[0;36m222 |[0;0m func vvlog10(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log10) }
[0;36m223 |[0;0m func vvsin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sin) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'sin' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m224 |[0;0m func vvcos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, cos) }
[0;36m225 |[0;0m 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: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m15 |[0;0m /// - A: matrix
[0;36m16 |[0;0m /// - Returns: sine of a matrix values
[0;36m17 |[0;0m public func sin(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m18 |[0;0m return matrixFunction(sin, A)
[0;36m19 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:25:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m23 |[0;0m /// - a: vector
[0;36m24 |[0;0m /// - Returns: sine of a vector values
[0;36m25 |[0;0m public func sin(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m26 |[0;0m return vectorFunction(vvsin, a)
[0;36m27 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:224:104: [1;31merror: [1;39mno 'cos' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m222 |[0;0m func vvlog10(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, log10) }
[0;36m223 |[0;0m func vvsin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sin) }
[0;36m224 |[0;0m func vvcos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, cos) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'cos' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m225 |[0;0m func vvtan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, tan) }
[0;36m226 |[0;0m 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: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m25 |[0;0m /// - A: matrix
[0;36m26 |[0;0m /// - Returns: cosine of a matrix values
[0;36m27 |[0;0m public func cos(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m28 |[0;0m return matrixFunction(cos, A)
[0;36m29 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:35:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m33 |[0;0m /// - a: vector
[0;36m34 |[0;0m /// - Returns: cosine of a vector values
[0;36m35 |[0;0m public func cos(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m36 |[0;0m return vectorFunction(vvcos, a)
[0;36m37 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:225:104: [1;31merror: [1;39mno 'tan' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m223 |[0;0m func vvsin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, sin) }
[0;36m224 |[0;0m func vvcos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, cos) }
[0;36m225 |[0;0m func vvtan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, tan) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'tan' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m226 |[0;0m func vvasin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, asin) }
[0;36m227 |[0;0m 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: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m38 |[0;0m /// - A: matrix
[0;36m39 |[0;0m /// - Returns: tangent of a matrix values
[0;36m40 |[0;0m public func tan(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m41 |[0;0m return matrixFunction(tan, A)
[0;36m42 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:48:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m46 |[0;0m /// - a: vector
[0;36m47 |[0;0m /// - Returns: tangent of a vector values
[0;36m48 |[0;0m public func tan(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m49 |[0;0m return vectorFunction(vvtan, a)
[0;36m50 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:226:105: [1;31merror: [1;39mno 'asin' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m224 |[0;0m func vvcos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, cos) }
[0;36m225 |[0;0m func vvtan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, tan) }
[0;36m226 |[0;0m func vvasin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, asin) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'asin' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m227 |[0;0m func vvacos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, acos) }
[0;36m228 |[0;0m 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: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m48 |[0;0m /// - A: matrix
[0;36m49 |[0;0m /// - Returns: arcsine of a matrix values
[0;36m50 |[0;0m public func asin(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m51 |[0;0m return matrixFunction(asin, A)
[0;36m52 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:58:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m56 |[0;0m /// - a: vector
[0;36m57 |[0;0m /// - Returns: arcsine of a vector values
[0;36m58 |[0;0m public func asin(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m59 |[0;0m return vectorFunction(vvasin, a)
[0;36m60 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:227:105: [1;31merror: [1;39mno 'acos' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m225 |[0;0m func vvtan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, tan) }
[0;36m226 |[0;0m func vvasin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, asin) }
[0;36m227 |[0;0m func vvacos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, acos) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'acos' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m228 |[0;0m func vvatan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, atan) }
[0;36m229 |[0;0m
/host/spi-builder-workspace/Sources/LASwift/MatrixTrigonometry.swift:60:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m58 |[0;0m /// - A: matrix
[0;36m59 |[0;0m /// - Returns: arccosine of a matrix values
[0;36m60 |[0;0m public func acos(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m61 |[0;0m return matrixFunction(acos, A)
[0;36m62 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:68:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m66 |[0;0m /// - a: vector
[0;36m67 |[0;0m /// - Returns: arccosine of a vector values
[0;36m68 |[0;0m public func acos(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m69 |[0;0m return vectorFunction(vvacos, a)
[0;36m70 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:228:105: [1;31merror: [1;39mno 'atan' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m226 |[0;0m func vvasin(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, asin) }
[0;36m227 |[0;0m func vvacos(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, acos) }
[0;36m228 |[0;0m func vvatan(_ y: UnsafeMutablePointer<Double>, _ x: UnsafePointer<Double>, _ n: UnsafePointer<Int32>) { map(y, x, n, atan) }
[0;36m|[0;0m `- [1;31merror: [1;39mno 'atan' candidates produce the expected type '(Double) -> Double' for parameter #3[0;0m
[0;36m229 |[0;0m
[0;36m230 |[0;0m /// z[i] = x[i] raised to the scalar exponent y.
/host/spi-builder-workspace/Sources/LASwift/MatrixTrigonometry.swift:69:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m67 |[0;0m /// - A: matrix
[0;36m68 |[0;0m /// - Returns: arctangent of a matrix values
[0;36m69 |[0;0m public func atan(_ A: Matrix) -> Matrix {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Matrix) -> Matrix'[0;0m
[0;36m70 |[0;0m return matrixFunction(atan, A)
[0;36m71 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/VectorTrigonometry.swift:77:13: [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m75 |[0;0m /// - a: vector
[0;36m76 |[0;0m /// - Returns: arctangent of a vector values
[0;36m77 |[0;0m public func atan(_ a: Vector) -> Vector {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '@Sendable (Vector) -> Vector' (aka '@Sendable (Array<Double>) -> Array<Double>')[0;0m
[0;36m78 |[0;0m return vectorFunction(vvatan, a)
[0;36m79 |[0;0m }
/host/spi-builder-workspace/Sources/LASwift/PortableAccelerate.swift:233:42: [1;31merror: [1;39mcannot find 'pow' in scope[0;0m
[0;36m231 |[0;0m func vvpows(_ z: UnsafeMutablePointer<Double>, _ y: UnsafePointer<Double>, _ x: UnsafePointer<Double>,
[0;36m232 |[0;0m _ n: UnsafePointer<Int32>) {
[0;36m233 |[0;0m for i in 0..<Int(n.pointee) { z[i] = [4;39mpow[0;0m(x[i], y.pointee) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pow' in scope[0;0m
[0;36m234 |[0;0m }
[0;36m235 |[0;0m
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