The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build vincenty, reference main (6b400a), with Swift 6.1 for Android on 29 May 2025 00:34:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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 6b400a0 ignore **.pdf
Cloned https://github.com/dastrobu/vincenty.git
Revision (git rev-parse @):
6b400a0d3eed91a668cf776c69305327a280941f
SUCCESS checkout https://github.com/dastrobu/vincenty.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dastrobu/vincenty.git
https://github.com/dastrobu/vincenty.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "geodesic",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dastrobu/geodesic.git"
    }
  ],
  "manifest_display_name" : "vincenty",
  "name" : "vincenty",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "vincenty",
      "targets" : [
        "vincenty"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "vincentyTests",
      "module_type" : "SwiftTarget",
      "name" : "vincentyTests",
      "path" : "Tests/vincentyTests",
      "product_dependencies" : [
        "geodesic"
      ],
      "sources" : [
        "XCTestManifests.swift",
        "vincentyTests.swift"
      ],
      "target_dependencies" : [
        "vincenty"
      ],
      "type" : "test"
    },
    {
      "c99name" : "vincenty",
      "module_type" : "SwiftTarget",
      "name" : "vincenty",
      "path" : "Sources/vincenty",
      "product_memberships" : [
        "vincenty"
      ],
      "sources" : [
        "vincenty.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/dastrobu/geodesic.git
[1/227] Fetching geodesic
Fetched https://github.com/dastrobu/geodesic.git from cache (1.24s)
Computing version for https://github.com/dastrobu/geodesic.git
Computed https://github.com/dastrobu/geodesic.git at 1.4.0 (1.86s)
Creating working copy for https://github.com/dastrobu/geodesic.git
Working copy of https://github.com/dastrobu/geodesic.git resolved at 1.4.0
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module vincenty
[4/4] Compiling vincenty vincenty.swift
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:90:23: error: cannot find 'atan' in scope
 88 |     let C: Double = (A * A - B * B) / (B * B)
 89 |
 90 |     let u_x: Double = atan((1 - F) * tan(x.lat))
    |                       `- error: cannot find 'atan' in scope
 91 |     let sin_u_x: Double = sin(u_x)
 92 |     let cos_u_x: Double = cos(u_x)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:90:38: error: cannot find 'tan' in scope
 88 |     let C: Double = (A * A - B * B) / (B * B)
 89 |
 90 |     let u_x: Double = atan((1 - F) * tan(x.lat))
    |                                      `- error: cannot find 'tan' in scope
 91 |     let sin_u_x: Double = sin(u_x)
 92 |     let cos_u_x: Double = cos(u_x)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:91:27: error: cannot find 'sin' in scope
 89 |
 90 |     let u_x: Double = atan((1 - F) * tan(x.lat))
 91 |     let sin_u_x: Double = sin(u_x)
    |                           `- error: cannot find 'sin' in scope
 92 |     let cos_u_x: Double = cos(u_x)
 93 |
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:92:27: error: cannot find 'cos' in scope
 90 |     let u_x: Double = atan((1 - F) * tan(x.lat))
 91 |     let sin_u_x: Double = sin(u_x)
 92 |     let cos_u_x: Double = cos(u_x)
    |                           `- error: cannot find 'cos' in scope
 93 |
 94 |     let u_y: Double = atan((1 - F) * tan(y.lat))
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:94:23: error: cannot find 'atan' in scope
 92 |     let cos_u_x: Double = cos(u_x)
 93 |
 94 |     let u_y: Double = atan((1 - F) * tan(y.lat))
    |                       `- error: cannot find 'atan' in scope
 95 |     let sin_u_y: Double = sin(u_y)
 96 |     let cos_u_y: Double = cos(u_y)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:94:38: error: cannot find 'tan' in scope
 92 |     let cos_u_x: Double = cos(u_x)
 93 |
 94 |     let u_y: Double = atan((1 - F) * tan(y.lat))
    |                                      `- error: cannot find 'tan' in scope
 95 |     let sin_u_y: Double = sin(u_y)
 96 |     let cos_u_y: Double = cos(u_y)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:95:27: error: cannot find 'sin' in scope
 93 |
 94 |     let u_y: Double = atan((1 - F) * tan(y.lat))
 95 |     let sin_u_y: Double = sin(u_y)
    |                           `- error: cannot find 'sin' in scope
 96 |     let cos_u_y: Double = cos(u_y)
 97 |
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:96:27: error: cannot find 'cos' in scope
 94 |     let u_y: Double = atan((1 - F) * tan(y.lat))
 95 |     let sin_u_y: Double = sin(u_y)
 96 |     let cos_u_y: Double = cos(u_y)
    |                           `- error: cannot find 'cos' in scope
 97 |
 98 |     let l: Double = y.lon - x.lon
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:105:15: error: cannot find 'cos' in scope
103 |
104 |     for _ in 0..<maxIter {
105 |         tmp = cos(lambda)
    |               `- error: cannot find 'cos' in scope
106 |         q = cos_u_y * sin(lambda)
107 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:106:23: error: cannot find 'sin' in scope
104 |     for _ in 0..<maxIter {
105 |         tmp = cos(lambda)
106 |         q = cos_u_y * sin(lambda)
    |                       `- error: cannot find 'sin' in scope
107 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
108 |         sin_sigma = sqrt(q * q + p * p)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:108:21: error: cannot find 'sqrt' in scope
106 |         q = cos_u_y * sin(lambda)
107 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
108 |         sin_sigma = sqrt(q * q + p * p)
    |                     `- error: cannot find 'sqrt' in scope
109 |         cos_sigma = sin_u_x * sin_u_y + cos_u_x * cos_u_y * tmp
110 |         sigma = atan2(sin_sigma, cos_sigma)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:110:17: error: cannot find 'atan2' in scope
108 |         sin_sigma = sqrt(q * q + p * p)
109 |         cos_sigma = sin_u_x * sin_u_y + cos_u_x * cos_u_y * tmp
110 |         sigma = atan2(sin_sigma, cos_sigma)
    |                 `- error: cannot find 'atan2' in scope
111 |
112 |         // catch zero division problem
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:117:42: error: cannot find 'sin' in scope
115 |         }
116 |
117 |         sin_alpha = (cos_u_x * cos_u_y * sin(lambda)) / sin_sigma
    |                                          `- error: cannot find 'sin' in scope
118 |         cos2_alpha = 1 - sin_alpha * sin_alpha
119 |         cos_2sigma = cos_sigma - (2 * sin_u_x * sin_u_y) / cos2_alpha
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:135:12: error: cannot find 'fabs' in scope
133 |         )
134 |
135 |         if fabs(lambda - tmp) < tol {
    |            `- error: cannot find 'fabs' in scope
136 |             break
137 |         }
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:140:23: error: cannot find 'fabs' in scope
138 |
139 |     }
140 |     let eps: Double = fabs(lambda - tmp)
    |                       `- error: cannot find 'fabs' in scope
141 |     if eps >= tol {
142 |         throw ConvergenceError.notConverged(maxIter: maxIter, tol: tol, eps: eps)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:164:9: error: cannot find 'atan2' in scope
162 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
163 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
164 |         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
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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:25: error: cannot find 'sin' in scope
162 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
163 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
164 |         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
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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:78: error: cannot find 'cos' in scope
162 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
163 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
164 |         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
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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:166:9: error: cannot find 'atan2' in scope
164 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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
167 |
168 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:166:25: error: cannot find 'sin' in scope
164 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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
167 |
168 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:166:79: error: cannot find 'cos' in scope
164 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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
167 |
168 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module vincenty
[3/3] Compiling vincenty vincenty.swift
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:90:23: error: cannot find 'atan' in scope
 88 |     let C: Double = (A * A - B * B) / (B * B)
 89 |
 90 |     let u_x: Double = atan((1 - F) * tan(x.lat))
    |                       `- error: cannot find 'atan' in scope
 91 |     let sin_u_x: Double = sin(u_x)
 92 |     let cos_u_x: Double = cos(u_x)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:90:38: error: cannot find 'tan' in scope
 88 |     let C: Double = (A * A - B * B) / (B * B)
 89 |
 90 |     let u_x: Double = atan((1 - F) * tan(x.lat))
    |                                      `- error: cannot find 'tan' in scope
 91 |     let sin_u_x: Double = sin(u_x)
 92 |     let cos_u_x: Double = cos(u_x)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:91:27: error: cannot find 'sin' in scope
 89 |
 90 |     let u_x: Double = atan((1 - F) * tan(x.lat))
 91 |     let sin_u_x: Double = sin(u_x)
    |                           `- error: cannot find 'sin' in scope
 92 |     let cos_u_x: Double = cos(u_x)
 93 |
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:92:27: error: cannot find 'cos' in scope
 90 |     let u_x: Double = atan((1 - F) * tan(x.lat))
 91 |     let sin_u_x: Double = sin(u_x)
 92 |     let cos_u_x: Double = cos(u_x)
    |                           `- error: cannot find 'cos' in scope
 93 |
 94 |     let u_y: Double = atan((1 - F) * tan(y.lat))
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:94:23: error: cannot find 'atan' in scope
 92 |     let cos_u_x: Double = cos(u_x)
 93 |
 94 |     let u_y: Double = atan((1 - F) * tan(y.lat))
    |                       `- error: cannot find 'atan' in scope
 95 |     let sin_u_y: Double = sin(u_y)
 96 |     let cos_u_y: Double = cos(u_y)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:94:38: error: cannot find 'tan' in scope
 92 |     let cos_u_x: Double = cos(u_x)
 93 |
 94 |     let u_y: Double = atan((1 - F) * tan(y.lat))
    |                                      `- error: cannot find 'tan' in scope
 95 |     let sin_u_y: Double = sin(u_y)
 96 |     let cos_u_y: Double = cos(u_y)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:95:27: error: cannot find 'sin' in scope
 93 |
 94 |     let u_y: Double = atan((1 - F) * tan(y.lat))
 95 |     let sin_u_y: Double = sin(u_y)
    |                           `- error: cannot find 'sin' in scope
 96 |     let cos_u_y: Double = cos(u_y)
 97 |
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:96:27: error: cannot find 'cos' in scope
 94 |     let u_y: Double = atan((1 - F) * tan(y.lat))
 95 |     let sin_u_y: Double = sin(u_y)
 96 |     let cos_u_y: Double = cos(u_y)
    |                           `- error: cannot find 'cos' in scope
 97 |
 98 |     let l: Double = y.lon - x.lon
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:105:15: error: cannot find 'cos' in scope
103 |
104 |     for _ in 0..<maxIter {
105 |         tmp = cos(lambda)
    |               `- error: cannot find 'cos' in scope
106 |         q = cos_u_y * sin(lambda)
107 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:106:23: error: cannot find 'sin' in scope
104 |     for _ in 0..<maxIter {
105 |         tmp = cos(lambda)
106 |         q = cos_u_y * sin(lambda)
    |                       `- error: cannot find 'sin' in scope
107 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
108 |         sin_sigma = sqrt(q * q + p * p)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:108:21: error: cannot find 'sqrt' in scope
106 |         q = cos_u_y * sin(lambda)
107 |         p = cos_u_x * sin_u_y - sin_u_x * cos_u_y * tmp
108 |         sin_sigma = sqrt(q * q + p * p)
    |                     `- error: cannot find 'sqrt' in scope
109 |         cos_sigma = sin_u_x * sin_u_y + cos_u_x * cos_u_y * tmp
110 |         sigma = atan2(sin_sigma, cos_sigma)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:110:17: error: cannot find 'atan2' in scope
108 |         sin_sigma = sqrt(q * q + p * p)
109 |         cos_sigma = sin_u_x * sin_u_y + cos_u_x * cos_u_y * tmp
110 |         sigma = atan2(sin_sigma, cos_sigma)
    |                 `- error: cannot find 'atan2' in scope
111 |
112 |         // catch zero division problem
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:117:42: error: cannot find 'sin' in scope
115 |         }
116 |
117 |         sin_alpha = (cos_u_x * cos_u_y * sin(lambda)) / sin_sigma
    |                                          `- error: cannot find 'sin' in scope
118 |         cos2_alpha = 1 - sin_alpha * sin_alpha
119 |         cos_2sigma = cos_sigma - (2 * sin_u_x * sin_u_y) / cos2_alpha
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:135:12: error: cannot find 'fabs' in scope
133 |         )
134 |
135 |         if fabs(lambda - tmp) < tol {
    |            `- error: cannot find 'fabs' in scope
136 |             break
137 |         }
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:140:23: error: cannot find 'fabs' in scope
138 |
139 |     }
140 |     let eps: Double = fabs(lambda - tmp)
    |                       `- error: cannot find 'fabs' in scope
141 |     if eps >= tol {
142 |         throw ConvergenceError.notConverged(maxIter: maxIter, tol: tol, eps: eps)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:164:9: error: cannot find 'atan2' in scope
162 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
163 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
164 |         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
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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:25: error: cannot find 'sin' in scope
162 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
163 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
164 |         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
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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:78: error: cannot find 'cos' in scope
162 |     // α = azimuths of the geodesic; α2 the direction P₁ P₂ produced
163 |     let a1 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? 0 :
164 |         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
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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:166:9: error: cannot find 'atan2' in scope
164 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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
167 |
168 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:166:25: error: cannot find 'sin' in scope
164 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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
167 |
168 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
/host/spi-builder-workspace/Sources/vincenty/vincenty.swift:166:79: error: cannot find 'cos' in scope
164 |         atan2(cos_u_y * sin(lambda), cos_u_x * sin_u_y - sin_u_x * cos_u_y * cos(lambda))
165 |     let a2 = abs(sinSq_sigma) < Double.leastNonzeroMagnitude ? Double.pi :
166 |         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
167 |
168 |     let initialTrueTrack = abs(distance) < Double.leastNonzeroMagnitude ? Double.nan : wrap2pi(a1)
BUILD FAILURE 6.1 android