The Swift Package Index logo.Swift Package Index

Build Information

Failed to build vincenty, reference main (f1847e), with Swift 6.2 for Wasm on 9 Jan 2026 23:37:48 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dastrobu/vincenty.git
Reference: main
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/dastrobu/vincenty
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f1847e1 Update checkout action to v6
Cloned https://github.com/dastrobu/vincenty.git
Revision (git rev-parse @):
f1847e123fc2500581f0323a075198dc5564724f
SUCCESS checkout https://github.com/dastrobu/vincenty.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dastrobu/vincenty.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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:e45aebddbd3fb4404abe9276e0d450e6fc2ef4836b534e79623bcca11b80d266
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/dastrobu/geodesic.git
Fetching https://github.com/apple/swift-docc-plugin
[1/265] Fetching geodesic
[266/2423] Fetching geodesic, swift-docc-plugin
Fetched https://github.com/dastrobu/geodesic.git from cache (0.24s)
[259/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.36s)
Computing version for https://github.com/dastrobu/geodesic.git
Computed https://github.com/dastrobu/geodesic.git at 1.5.0 (0.69s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.25s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3637] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.05s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/dastrobu/geodesic.git
Working copy of https://github.com/dastrobu/geodesic.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module vincenty
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:88:23: error: cannot find 'atan' in scope
 86 |     let C: Double = (A * A - B * B) / (B * B)
 87 |
 88 |     let u_x: Double = atan((1 - F) * tan(x.lat))
    |                       `- error: cannot find 'atan' in scope
 89 |     let sin_u_x: Double = sin(u_x)
 90 |     let cos_u_x: Double = cos(u_x)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:88:38: error: cannot find 'tan' in scope
 86 |     let C: Double = (A * A - B * B) / (B * B)
 87 |
 88 |     let u_x: Double = atan((1 - F) * tan(x.lat))
    |                                      `- error: cannot find 'tan' in scope
 89 |     let sin_u_x: Double = sin(u_x)
 90 |     let cos_u_x: Double = cos(u_x)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:89:27: error: cannot find 'sin' in scope
 87 |
 88 |     let u_x: Double = atan((1 - F) * tan(x.lat))
 89 |     let sin_u_x: Double = sin(u_x)
    |                           `- error: cannot find 'sin' in scope
 90 |     let cos_u_x: Double = cos(u_x)
 91 |
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:90:27: error: cannot find 'cos' in scope
 88 |     let u_x: Double = atan((1 - F) * tan(x.lat))
 89 |     let sin_u_x: Double = sin(u_x)
 90 |     let cos_u_x: Double = cos(u_x)
    |                           `- error: cannot find 'cos' in scope
 91 |
 92 |     let u_y: Double = atan((1 - F) * tan(y.lat))
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:92:23: error: cannot find 'atan' in scope
 90 |     let cos_u_x: Double = cos(u_x)
 91 |
 92 |     let u_y: Double = atan((1 - F) * tan(y.lat))
    |                       `- error: cannot find 'atan' in scope
 93 |     let sin_u_y: Double = sin(u_y)
 94 |     let cos_u_y: Double = cos(u_y)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:92:38: error: cannot find 'tan' in scope
 90 |     let cos_u_x: Double = cos(u_x)
 91 |
 92 |     let u_y: Double = atan((1 - F) * tan(y.lat))
    |                                      `- error: cannot find 'tan' in scope
 93 |     let sin_u_y: Double = sin(u_y)
 94 |     let cos_u_y: Double = cos(u_y)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:93:27: error: cannot find 'sin' in scope
 91 |
 92 |     let u_y: Double = atan((1 - F) * tan(y.lat))
 93 |     let sin_u_y: Double = sin(u_y)
    |                           `- error: cannot find 'sin' in scope
 94 |     let cos_u_y: Double = cos(u_y)
 95 |
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:94:27: error: cannot find 'cos' in scope
 92 |     let u_y: Double = atan((1 - F) * tan(y.lat))
 93 |     let sin_u_y: Double = sin(u_y)
 94 |     let cos_u_y: Double = cos(u_y)
    |                           `- error: cannot find 'cos' in scope
 95 |
 96 |     let l: Double = y.lon - x.lon
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:103:15: error: cannot find 'cos' in scope
101 |
102 |     for _ in 0..<maxIter {
103 |         tmp = cos(lambda)
    |               `- error: cannot find 'cos' in scope
104 |         q = cos_u_y * sin(lambda)
105 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:104:23: error: cannot find 'sin' in scope
102 |     for _ in 0..<maxIter {
103 |         tmp = cos(lambda)
104 |         q = cos_u_y * sin(lambda)
    |                       `- error: cannot find 'sin' in scope
105 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
106 |         sin_sigma = sqrt(q * q + p * p)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:106:21: error: cannot find 'sqrt' in scope
104 |         q = cos_u_y * sin(lambda)
105 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
106 |         sin_sigma = sqrt(q * q + p * p)
    |                     `- error: cannot find 'sqrt' in scope
107 |         cos_sigma = sin_u_x * sin_u_y + cos_u_x * cos_u_y * tmp
108 |         sigma = atan2(sin_sigma, cos_sigma)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:108:17: error: cannot find 'atan2' in scope
106 |         sin_sigma = sqrt(q * q + p * p)
107 |         cos_sigma = sin_u_x * sin_u_y + cos_u_x * cos_u_y * tmp
108 |         sigma = atan2(sin_sigma, cos_sigma)
    |                 `- error: cannot find 'atan2' in scope
109 |
110 |         // catch zero division problem
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:115:42: error: cannot find 'sin' in scope
113 |         }
114 |
115 |         sin_alpha = (cos_u_x * cos_u_y * sin(lambda)) / sin_sigma
    |                                          `- error: cannot find 'sin' in scope
116 |         cos2_alpha = 1 - sin_alpha * sin_alpha
117 |         cos_2sigma = cos_sigma - (2 * sin_u_x * sin_u_y) / cos2_alpha
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:133:12: error: cannot find 'fabs' in scope
131 |         )
132 |
133 |         if fabs(lambda - tmp) < tol {
    |            `- error: cannot find 'fabs' in scope
134 |             break
135 |         }
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:138:23: error: cannot find 'fabs' in scope
136 |
137 |     }
138 |     let eps: Double = fabs(lambda - tmp)
    |                       `- error: cannot find 'fabs' in scope
139 |     if eps >= tol {
140 |         throw ConvergenceError.notConverged(maxIter: maxIter, tol: tol, eps: eps)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:162:9: error: cannot find 'atan2' in scope
160 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
161 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
    |         `- error: cannot find 'atan2' in scope
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:162:25: error: cannot find 'sin' in scope
160 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
161 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
    |                         `- error: cannot find 'sin' in scope
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:162:78: error: cannot find 'cos' in scope
160 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
161 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
    |                                                                              `- error: cannot find 'cos' in scope
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:164:9: error: cannot find 'atan2' in scope
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
    |         `- error: cannot find 'atan2' in scope
165 |
166 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:164:25: error: cannot find 'sin' in scope
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
    |                         `- error: cannot find 'sin' in scope
165 |
166 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:164:79: error: cannot find 'cos' in scope
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
    |                                                                               `- error: cannot find 'cos' in scope
165 |
166 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
[6/6] Compiling vincenty vincenty.swift
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:88:23: error: cannot find 'atan' in scope
 86 |     let C: Double = (A * A - B * B) / (B * B)
 87 |
 88 |     let u_x: Double = atan((1 - F) * tan(x.lat))
    |                       `- error: cannot find 'atan' in scope
 89 |     let sin_u_x: Double = sin(u_x)
 90 |     let cos_u_x: Double = cos(u_x)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:88:38: error: cannot find 'tan' in scope
 86 |     let C: Double = (A * A - B * B) / (B * B)
 87 |
 88 |     let u_x: Double = atan((1 - F) * tan(x.lat))
    |                                      `- error: cannot find 'tan' in scope
 89 |     let sin_u_x: Double = sin(u_x)
 90 |     let cos_u_x: Double = cos(u_x)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:89:27: error: cannot find 'sin' in scope
 87 |
 88 |     let u_x: Double = atan((1 - F) * tan(x.lat))
 89 |     let sin_u_x: Double = sin(u_x)
    |                           `- error: cannot find 'sin' in scope
 90 |     let cos_u_x: Double = cos(u_x)
 91 |
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:90:27: error: cannot find 'cos' in scope
 88 |     let u_x: Double = atan((1 - F) * tan(x.lat))
 89 |     let sin_u_x: Double = sin(u_x)
 90 |     let cos_u_x: Double = cos(u_x)
    |                           `- error: cannot find 'cos' in scope
 91 |
 92 |     let u_y: Double = atan((1 - F) * tan(y.lat))
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:92:23: error: cannot find 'atan' in scope
 90 |     let cos_u_x: Double = cos(u_x)
 91 |
 92 |     let u_y: Double = atan((1 - F) * tan(y.lat))
    |                       `- error: cannot find 'atan' in scope
 93 |     let sin_u_y: Double = sin(u_y)
 94 |     let cos_u_y: Double = cos(u_y)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:92:38: error: cannot find 'tan' in scope
 90 |     let cos_u_x: Double = cos(u_x)
 91 |
 92 |     let u_y: Double = atan((1 - F) * tan(y.lat))
    |                                      `- error: cannot find 'tan' in scope
 93 |     let sin_u_y: Double = sin(u_y)
 94 |     let cos_u_y: Double = cos(u_y)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:93:27: error: cannot find 'sin' in scope
 91 |
 92 |     let u_y: Double = atan((1 - F) * tan(y.lat))
 93 |     let sin_u_y: Double = sin(u_y)
    |                           `- error: cannot find 'sin' in scope
 94 |     let cos_u_y: Double = cos(u_y)
 95 |
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:94:27: error: cannot find 'cos' in scope
 92 |     let u_y: Double = atan((1 - F) * tan(y.lat))
 93 |     let sin_u_y: Double = sin(u_y)
 94 |     let cos_u_y: Double = cos(u_y)
    |                           `- error: cannot find 'cos' in scope
 95 |
 96 |     let l: Double = y.lon - x.lon
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:103:15: error: cannot find 'cos' in scope
101 |
102 |     for _ in 0..<maxIter {
103 |         tmp = cos(lambda)
    |               `- error: cannot find 'cos' in scope
104 |         q = cos_u_y * sin(lambda)
105 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:104:23: error: cannot find 'sin' in scope
102 |     for _ in 0..<maxIter {
103 |         tmp = cos(lambda)
104 |         q = cos_u_y * sin(lambda)
    |                       `- error: cannot find 'sin' in scope
105 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
106 |         sin_sigma = sqrt(q * q + p * p)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:106:21: error: cannot find 'sqrt' in scope
104 |         q = cos_u_y * sin(lambda)
105 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
106 |         sin_sigma = sqrt(q * q + p * p)
    |                     `- error: cannot find 'sqrt' in scope
107 |         cos_sigma = sin_u_x * sin_u_y + cos_u_x * cos_u_y * tmp
108 |         sigma = atan2(sin_sigma, cos_sigma)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:108:17: error: cannot find 'atan2' in scope
106 |         sin_sigma = sqrt(q * q + p * p)
107 |         cos_sigma = sin_u_x * sin_u_y + cos_u_x * cos_u_y * tmp
108 |         sigma = atan2(sin_sigma, cos_sigma)
    |                 `- error: cannot find 'atan2' in scope
109 |
110 |         // catch zero division problem
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:115:42: error: cannot find 'sin' in scope
113 |         }
114 |
115 |         sin_alpha = (cos_u_x * cos_u_y * sin(lambda)) / sin_sigma
    |                                          `- error: cannot find 'sin' in scope
116 |         cos2_alpha = 1 - sin_alpha * sin_alpha
117 |         cos_2sigma = cos_sigma - (2 * sin_u_x * sin_u_y) / cos2_alpha
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:133:12: error: cannot find 'fabs' in scope
131 |         )
132 |
133 |         if fabs(lambda - tmp) < tol {
    |            `- error: cannot find 'fabs' in scope
134 |             break
135 |         }
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:138:23: error: cannot find 'fabs' in scope
136 |
137 |     }
138 |     let eps: Double = fabs(lambda - tmp)
    |                       `- error: cannot find 'fabs' in scope
139 |     if eps >= tol {
140 |         throw ConvergenceError.notConverged(maxIter: maxIter, tol: tol, eps: eps)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:162:9: error: cannot find 'atan2' in scope
160 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
161 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
    |         `- error: cannot find 'atan2' in scope
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:162:25: error: cannot find 'sin' in scope
160 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
161 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
    |                         `- error: cannot find 'sin' in scope
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:162:78: error: cannot find 'cos' in scope
160 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
161 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
    |                                                                              `- error: cannot find 'cos' in scope
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:164:9: error: cannot find 'atan2' in scope
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
    |         `- error: cannot find 'atan2' in scope
165 |
166 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:164:25: error: cannot find 'sin' in scope
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
    |                         `- error: cannot find 'sin' in scope
165 |
166 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:164:79: error: cannot find 'cos' in scope
162 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
163 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
164 |         atan2(cos_u_x * sin(lambda), -sin_u_x * cos_u_y + cos_u_x * sin_u_y * cos(lambda))
    |                                                                               `- error: cannot find 'cos' in scope
165 |
166 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
BUILD FAILURE 6.2 wasm