Build Information
Failed to build GPKit, reference v1.0.0 (01545c), with Swift 6.3 for Android on 9 Oct 2026 18:51:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hneogy/GPKit.git
Reference: v1.0.0
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/hneogy/GPKit
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at 01545c6 watchOS is not a platform of this package: Int is 32 bits wide on most watches, and GPKit does not compile there
Cloned https://github.com/hneogy/GPKit.git
Revision (git rev-parse @):
01545c642259ad10d288910d716dbe8d58084745
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hneogy/GPKit.git at v1.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/hneogy/GPKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:a57e63703100e13e1ecb61b565870501ccb169d7515bc7af7f0994f211e1b1f6
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/8] Write sources
[2/8] Write swift-version-272D24FF697CF451.txt
[3/25] Compiling SGP4Oracle oracle.cpp
[5/25] Emitting module GPKit
[6/27] Compiling GPKit TLE.swift
[7/27] Compiling GPKit XML.swift
[8/27] Compiling GPKit JSON.swift
[9/27] Compiling GPKit KVN.swift
[10/27] Compiling GPKit Alpha5.swift
[11/27] Compiling GPKit Bytes.swift
[12/27] Compiling GPKit CSV.swift
[13/27] Compiling GPKit Epoch.swift
[14/27] Compiling GPKit ExactDecimal.swift
[15/27] Compiling GPKit OMM.swift
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:27:79: error: cannot find 'sin' in scope
25 | var earthFixed: Vector {
26 | let phi = latitude * Frames.radians, lambda = longitude * Frames.radians
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
| `- error: cannot find 'sin' in scope
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:27:90: error: cannot find 'sin' in scope
25 | var earthFixed: Vector {
26 | let phi = latitude * Frames.radians, lambda = longitude * Frames.radians
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
| `- error: cannot find 'sin' in scope
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:29:36: error: cannot find 'cos' in scope
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
| `- error: cannot find 'cos' in scope
30 | z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
31 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:29:47: error: cannot find 'cos' in scope
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
| `- error: cannot find 'cos' in scope
30 | z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
31 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:29:73: error: cannot find 'cos' in scope
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
| `- error: cannot find 'cos' in scope
30 | z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
31 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:29:84: error: cannot find 'sin' in scope
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
| `- error: cannot find 'sin' in scope
30 | z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
31 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:30:73: error: cannot find 'sin' in scope
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
30 | z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
| `- error: cannot find 'sin' in scope
31 | }
32 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:98:17: error: cannot find 'cos' in scope
96 | static func earthFixed(_ state: StateVector, julianDate: Double) -> StateVector {
97 | let theta = SGP4Core.gstime(julianDate)
98 | let c = cos(theta), s = sin(theta)
| `- error: cannot find 'cos' in scope
99 | let r = Vector(x: c * state.position.x + s * state.position.y, y: -s * state.position.x + c * state.position.y, z: state.position.z)
100 | let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:98:33: error: cannot find 'sin' in scope
96 | static func earthFixed(_ state: StateVector, julianDate: Double) -> StateVector {
97 | let theta = SGP4Core.gstime(julianDate)
98 | let c = cos(theta), s = sin(theta)
| `- error: cannot find 'sin' in scope
99 | let r = Vector(x: c * state.position.x + s * state.position.y, y: -s * state.position.x + c * state.position.y, z: state.position.z)
100 | let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:99:75: error: cannot convert value of type 'Float16' to expected argument type 'Double'
97 | let theta = SGP4Core.gstime(julianDate)
98 | let c = cos(theta), s = sin(theta)
99 | let r = Vector(x: c * state.position.x + s * state.position.y, y: -s * state.position.x + c * state.position.y, z: state.position.z)
| `- error: cannot convert value of type 'Float16' to expected argument type 'Double'
100 | let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
101 | y: -s * state.velocity.x + c * state.velocity.y - rotationRate * r.x, z: state.velocity.z)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:100:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
98 | let c = cos(theta), s = sin(theta)
99 | let r = Vector(x: c * state.position.x + s * state.position.y, y: -s * state.position.x + c * state.position.y, z: state.position.z)
100 | let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
101 | y: -s * state.velocity.x + c * state.velocity.y - rotationRate * r.x, z: state.velocity.z)
102 | return StateVector(position: r, velocity: v)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:112:19: error: cannot find 'atan2' in scope
110 | static func geodetic(_ r: Vector) -> GeodeticPosition {
111 | let p = (r.x * r.x + r.y * r.y).squareRoot()
112 | var phi = atan2(r.z, p * (1.0 - eccentricitySquared)) // exact on the ellipsoid, and a start off it
| `- error: cannot find 'atan2' in scope
113 | for _ in 0..<12 {
114 | let s = sin(phi)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:114:21: error: cannot find 'sin' in scope
112 | var phi = atan2(r.z, p * (1.0 - eccentricitySquared)) // exact on the ellipsoid, and a start off it
113 | for _ in 0..<12 {
114 | let s = sin(phi)
| `- error: cannot find 'sin' in scope
115 | let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
116 | let next = atan2(r.z + n * eccentricitySquared * s, p)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:116:24: error: cannot find 'atan2' in scope
114 | let s = sin(phi)
115 | let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
116 | let next = atan2(r.z + n * eccentricitySquared * s, p)
| `- error: cannot find 'atan2' in scope
117 | let moved = abs(next - phi)
118 | phi = next
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:117:25: error: global function 'abs' requires that 'Duration' conform to 'SignedNumeric'
115 | let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
116 | let next = atan2(r.z + n * eccentricitySquared * s, p)
117 | let moved = abs(next - phi)
| `- error: global function 'abs' requires that 'Duration' conform to 'SignedNumeric'
118 | phi = next
119 | if moved < 1.0e-15 { break }
Swift.abs:1:24: note: where 'T' = 'Duration'
1 | @inlinable public func abs<T>(_ x: T) -> T where T : Comparable, T : SignedNumeric
| `- note: where 'T' = 'Duration'
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:121:17: error: cannot find 'sin' in scope
119 | if moved < 1.0e-15 { break }
120 | }
121 | let s = sin(phi), c = cos(phi)
| `- error: cannot find 'sin' in scope
122 | let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
123 | var longitude = atan2(r.y, r.x) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:121:31: error: cannot find 'cos' in scope
119 | if moved < 1.0e-15 { break }
120 | }
121 | let s = sin(phi), c = cos(phi)
| `- error: cannot find 'cos' in scope
122 | let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
123 | var longitude = atan2(r.y, r.x) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:123:25: error: cannot find 'atan2' in scope
121 | let s = sin(phi), c = cos(phi)
122 | let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
123 | var longitude = atan2(r.y, r.x) * degrees
| `- error: cannot find 'atan2' in scope
124 | if longitude <= -180.0 { longitude += 360.0 }
125 | return GeodeticPosition(latitude: phi * degrees, longitude: longitude, altitude: altitude)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:133:21: error: cannot find 'sin' in scope
131 | let phi = observer.latitude * radians, lambda = observer.longitude * radians
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
| `- error: cannot find 'sin' in scope
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:133:40: error: cannot find 'cos' in scope
131 | let phi = observer.latitude * radians, lambda = observer.longitude * radians
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
| `- error: cannot find 'cos' in scope
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:22: error: cannot find 'sin' in scope
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: cannot find 'sin' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:33: error: cannot find 'cos' in scope
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: cannot find 'cos' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:52: error: cannot find 'sin' in scope
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: cannot find 'sin' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:63: error: cannot find 'sin' in scope
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: cannot find 'sin' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:82: error: cannot find 'cos' in scope
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: cannot find 'cos' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:21: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:18: error: cannot find 'cos' in scope
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: cannot find 'cos' in scope
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:29: error: cannot find 'cos' in scope
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: cannot find 'cos' in scope
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:48: error: cannot find 'cos' in scope
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: cannot find 'cos' in scope
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:59: error: cannot find 'sin' in scope
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: cannot find 'sin' in scope
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:78: error: cannot find 'sin' in scope
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: cannot find 'sin' in scope
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:18: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:137:23: error: cannot find 'atan2' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
| `- error: cannot find 'atan2' in scope
138 | if azimuth < 0 { azimuth += 360.0 }
139 | // the place does not move in this frame, so the satellite's velocity is the rate of the line between them
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:25: error: cannot find 'atan2' in scope
141 | // by the arc tangent, which is good to the last digits straight overhead, where an arc sine of up over
142 | // range is not, and where rounding can put that ratio above one
143 | let elevation = atan2(up, (east * east + north * north).squareRoot()) * degrees
| `- error: cannot find 'atan2' in scope
144 | return Look(azimuth: azimuth, elevation: elevation, range: range, rangeRate: rate)
145 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:65: error: value of type 'Duration' has no member 'squareRoot'
141 | // by the arc tangent, which is good to the last digits straight overhead, where an arc sine of up over
142 | // range is not, and where rounding can put that ratio above one
143 | let elevation = atan2(up, (east * east + north * north).squareRoot()) * degrees
| `- error: value of type 'Duration' has no member 'squareRoot'
144 | return Look(azimuth: azimuth, elevation: elevation, range: range, rangeRate: rate)
145 | }
[16/27] Compiling GPKit Observer.swift
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:27:79: error: cannot find 'sin' in scope
25 | var earthFixed: Vector {
26 | let phi = latitude * Frames.radians, lambda = longitude * Frames.radians
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
| `- error: cannot find 'sin' in scope
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:27:90: error: cannot find 'sin' in scope
25 | var earthFixed: Vector {
26 | let phi = latitude * Frames.radians, lambda = longitude * Frames.radians
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
| `- error: cannot find 'sin' in scope
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:29:36: error: cannot find 'cos' in scope
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
| `- error: cannot find 'cos' in scope
30 | z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
31 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:29:47: error: cannot find 'cos' in scope
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
| `- error: cannot find 'cos' in scope
30 | z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
31 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:29:73: error: cannot find 'cos' in scope
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
| `- error: cannot find 'cos' in scope
30 | z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
31 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:29:84: error: cannot find 'sin' in scope
27 | let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
| `- error: cannot find 'sin' in scope
30 | z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
31 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:30:73: error: cannot find 'sin' in scope
28 | let h = height / 1000.0
29 | return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
30 | z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
| `- error: cannot find 'sin' in scope
31 | }
32 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:98:17: error: cannot find 'cos' in scope
96 | static func earthFixed(_ state: StateVector, julianDate: Double) -> StateVector {
97 | let theta = SGP4Core.gstime(julianDate)
98 | let c = cos(theta), s = sin(theta)
| `- error: cannot find 'cos' in scope
99 | let r = Vector(x: c * state.position.x + s * state.position.y, y: -s * state.position.x + c * state.position.y, z: state.position.z)
100 | let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:98:33: error: cannot find 'sin' in scope
96 | static func earthFixed(_ state: StateVector, julianDate: Double) -> StateVector {
97 | let theta = SGP4Core.gstime(julianDate)
98 | let c = cos(theta), s = sin(theta)
| `- error: cannot find 'sin' in scope
99 | let r = Vector(x: c * state.position.x + s * state.position.y, y: -s * state.position.x + c * state.position.y, z: state.position.z)
100 | let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:99:75: error: cannot convert value of type 'Float16' to expected argument type 'Double'
97 | let theta = SGP4Core.gstime(julianDate)
98 | let c = cos(theta), s = sin(theta)
99 | let r = Vector(x: c * state.position.x + s * state.position.y, y: -s * state.position.x + c * state.position.y, z: state.position.z)
| `- error: cannot convert value of type 'Float16' to expected argument type 'Double'
100 | let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
101 | y: -s * state.velocity.x + c * state.velocity.y - rotationRate * r.x, z: state.velocity.z)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:100:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
98 | let c = cos(theta), s = sin(theta)
99 | let r = Vector(x: c * state.position.x + s * state.position.y, y: -s * state.position.x + c * state.position.y, z: state.position.z)
100 | let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
101 | y: -s * state.velocity.x + c * state.velocity.y - rotationRate * r.x, z: state.velocity.z)
102 | return StateVector(position: r, velocity: v)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:112:19: error: cannot find 'atan2' in scope
110 | static func geodetic(_ r: Vector) -> GeodeticPosition {
111 | let p = (r.x * r.x + r.y * r.y).squareRoot()
112 | var phi = atan2(r.z, p * (1.0 - eccentricitySquared)) // exact on the ellipsoid, and a start off it
| `- error: cannot find 'atan2' in scope
113 | for _ in 0..<12 {
114 | let s = sin(phi)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:114:21: error: cannot find 'sin' in scope
112 | var phi = atan2(r.z, p * (1.0 - eccentricitySquared)) // exact on the ellipsoid, and a start off it
113 | for _ in 0..<12 {
114 | let s = sin(phi)
| `- error: cannot find 'sin' in scope
115 | let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
116 | let next = atan2(r.z + n * eccentricitySquared * s, p)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:116:24: error: cannot find 'atan2' in scope
114 | let s = sin(phi)
115 | let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
116 | let next = atan2(r.z + n * eccentricitySquared * s, p)
| `- error: cannot find 'atan2' in scope
117 | let moved = abs(next - phi)
118 | phi = next
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:117:25: error: global function 'abs' requires that 'Duration' conform to 'SignedNumeric'
115 | let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
116 | let next = atan2(r.z + n * eccentricitySquared * s, p)
117 | let moved = abs(next - phi)
| `- error: global function 'abs' requires that 'Duration' conform to 'SignedNumeric'
118 | phi = next
119 | if moved < 1.0e-15 { break }
Swift.abs:1:24: note: where 'T' = 'Duration'
1 | @inlinable public func abs<T>(_ x: T) -> T where T : Comparable, T : SignedNumeric
| `- note: where 'T' = 'Duration'
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:121:17: error: cannot find 'sin' in scope
119 | if moved < 1.0e-15 { break }
120 | }
121 | let s = sin(phi), c = cos(phi)
| `- error: cannot find 'sin' in scope
122 | let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
123 | var longitude = atan2(r.y, r.x) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:121:31: error: cannot find 'cos' in scope
119 | if moved < 1.0e-15 { break }
120 | }
121 | let s = sin(phi), c = cos(phi)
| `- error: cannot find 'cos' in scope
122 | let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
123 | var longitude = atan2(r.y, r.x) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:123:25: error: cannot find 'atan2' in scope
121 | let s = sin(phi), c = cos(phi)
122 | let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
123 | var longitude = atan2(r.y, r.x) * degrees
| `- error: cannot find 'atan2' in scope
124 | if longitude <= -180.0 { longitude += 360.0 }
125 | return GeodeticPosition(latitude: phi * degrees, longitude: longitude, altitude: altitude)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:133:21: error: cannot find 'sin' in scope
131 | let phi = observer.latitude * radians, lambda = observer.longitude * radians
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
| `- error: cannot find 'sin' in scope
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:133:40: error: cannot find 'cos' in scope
131 | let phi = observer.latitude * radians, lambda = observer.longitude * radians
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
| `- error: cannot find 'cos' in scope
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:22: error: cannot find 'sin' in scope
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: cannot find 'sin' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:33: error: cannot find 'cos' in scope
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: cannot find 'cos' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:52: error: cannot find 'sin' in scope
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: cannot find 'sin' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:63: error: cannot find 'sin' in scope
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: cannot find 'sin' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:82: error: cannot find 'cos' in scope
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: cannot find 'cos' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:134:21: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
132 | let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:18: error: cannot find 'cos' in scope
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: cannot find 'cos' in scope
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:29: error: cannot find 'cos' in scope
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: cannot find 'cos' in scope
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:48: error: cannot find 'cos' in scope
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: cannot find 'cos' in scope
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:59: error: cannot find 'sin' in scope
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: cannot find 'sin' in scope
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:78: error: cannot find 'sin' in scope
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: cannot find 'sin' in scope
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:135:18: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
133 | let east = -sin(lambda) * dx + cos(lambda) * dy
134 | let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:137:23: error: cannot find 'atan2' in scope
135 | let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
136 | let range = (dx * dx + dy * dy + dz * dz).squareRoot()
137 | var azimuth = atan2(east, north) * degrees
| `- error: cannot find 'atan2' in scope
138 | if azimuth < 0 { azimuth += 360.0 }
139 | // the place does not move in this frame, so the satellite's velocity is the rate of the line between them
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:25: error: cannot find 'atan2' in scope
141 | // by the arc tangent, which is good to the last digits straight overhead, where an arc sine of up over
142 | // range is not, and where rounding can put that ratio above one
143 | let elevation = atan2(up, (east * east + north * north).squareRoot()) * degrees
| `- error: cannot find 'atan2' in scope
144 | return Look(azimuth: azimuth, elevation: elevation, range: range, rangeRate: rate)
145 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:65: error: value of type 'Duration' has no member 'squareRoot'
141 | // by the arc tangent, which is good to the last digits straight overhead, where an arc sine of up over
142 | // range is not, and where rounding can put that ratio above one
143 | let elevation = atan2(up, (east * east + north * north).squareRoot()) * degrees
| `- error: value of type 'Duration' has no member 'squareRoot'
144 | return Look(azimuth: azimuth, elevation: elevation, range: range, rangeRate: rate)
145 | }
[17/27] Compiling GPKit Date.swift
[18/27] Compiling GPKit ElementSet.swift
[19/27] Compiling GPKit ElementSets.swift
[20/27] Compiling GPKit Passes.swift
[21/27] Compiling GPKit Propagator.swift
[22/27] Compiling GPKit Refusal.swift
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:92:26: error: cannot find 'sqrt' in scope
90 | mus = 398600.8
91 | radiusearthkm = 6378.135
92 | xke = 60.0 / sqrt(radiusearthkm * radiusearthkm * radiusearthkm / mus)
| `- error: cannot find 'sqrt' in scope
93 | tumin = 1.0 / xke
94 | j2 = 0.001082616
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:101:26: error: cannot find 'sqrt' in scope
99 | mus = 398600.5
100 | radiusearthkm = 6378.137
101 | xke = 60.0 / sqrt(radiusearthkm * radiusearthkm * radiusearthkm / mus)
| `- error: cannot find 'sqrt' in scope
102 | tumin = 1.0 / xke
103 | j2 = 0.00108262998905
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:119:16: error: cannot find 'fmod' in scope
117 | var temp = -6.2e-6 * tut1 * tut1 * tut1 + 0.093104 * tut1 * tut1 +
118 | (876600.0 * 3600 + 8640184.812866) * tut1 + 67310.54841
119 | temp = fmod(temp * deg2rad / 240.0, twopi)
| `- error: cannot find 'fmod' in scope
120 | if temp < 0.0 {
121 | temp += twopi
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:150:31: error: cannot find 'sin' in scope
148 | zm = zmos
149 | }
150 | zf = zm + 2.0 * zes * sin(zm)
| `- error: cannot find 'sin' in scope
151 | sinzf = sin(zf)
152 | f2 = 0.5 * sinzf * sinzf - 0.25
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:151:17: error: cannot find 'sin' in scope
149 | }
150 | zf = zm + 2.0 * zes * sin(zm)
151 | sinzf = sin(zf)
| `- error: cannot find 'sin' in scope
152 | f2 = 0.5 * sinzf * sinzf - 0.25
153 | f3 = -0.5 * sinzf * cos(zf)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:153:29: error: cannot find 'cos' in scope
151 | sinzf = sin(zf)
152 | f2 = 0.5 * sinzf * sinzf - 0.25
153 | f3 = -0.5 * sinzf * cos(zf)
| `- error: cannot find 'cos' in scope
154 | ses = se2 * f2 + se3 * f3
155 | sis = si2 * f2 + si3 * f3
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:163:31: error: cannot find 'sin' in scope
161 | zm = zmol
162 | }
163 | zf = zm + 2.0 * zel * sin(zm)
| `- error: cannot find 'sin' in scope
164 | sinzf = sin(zf)
165 | f2 = 0.5 * sinzf * sinzf - 0.25
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:164:17: error: cannot find 'sin' in scope
162 | }
163 | zf = zm + 2.0 * zel * sin(zm)
164 | sinzf = sin(zf)
| `- error: cannot find 'sin' in scope
165 | f2 = 0.5 * sinzf * sinzf - 0.25
166 | f3 = -0.5 * sinzf * cos(zf)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:166:29: error: cannot find 'cos' in scope
164 | sinzf = sin(zf)
165 | f2 = 0.5 * sinzf * sinzf - 0.25
166 | f3 = -0.5 * sinzf * cos(zf)
| `- error: cannot find 'cos' in scope
167 | sel = ee2 * f2 + e3 * f3
168 | sil = xi2 * f2 + xi3 * f3
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:186:21: error: cannot find 'sin' in scope
184 | inclp = inclp + pinc
185 | ep = ep + pe
186 | sinip = sin(inclp)
| `- error: cannot find 'sin' in scope
187 | cosip = cos(inclp)
188 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:187:21: error: cannot find 'cos' in scope
185 | ep = ep + pe
186 | sinip = sin(inclp)
187 | cosip = cos(inclp)
| `- error: cannot find 'cos' in scope
188 |
189 | if inclp >= 0.2 {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:196:25: error: cannot find 'sin' in scope
194 | mp = mp + pl
195 | } else {
196 | sinop = sin(nodep)
| `- error: cannot find 'sin' in scope
197 | cosop = cos(nodep)
198 | alfdp = sinip * sinop
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:197:25: error: cannot find 'cos' in scope
195 | } else {
196 | sinop = sin(nodep)
197 | cosop = cos(nodep)
| `- error: cannot find 'cos' in scope
198 | alfdp = sinip * sinop
199 | betdp = sinip * cosop
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:204:25: error: cannot find 'fmod' in scope
202 | alfdp = alfdp + dalf
203 | betdp = betdp + dbet
204 | nodep = fmod(nodep, twopi)
| `- error: cannot find 'fmod' in scope
205 | if (nodep < 0.0) && afspc {
206 | nodep = nodep + twopi
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:212:25: error: cannot find 'atan2' in scope
210 | xls = xls + dls
211 | xnoh = nodep
212 | nodep = atan2(alfdp, betdp)
| `- error: cannot find 'atan2' in scope
213 | if (nodep < 0.0) && afspc {
214 | nodep = nodep + twopi
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:216:20: error: cannot find 'fabs' in scope
214 | nodep = nodep + twopi
215 | }
216 | if fabs(xnoh - nodep) > pi {
| `- error: cannot find 'fabs' in scope
217 | if nodep < xnoh {
218 | nodep = nodep + twopi
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:286:19: error: cannot find 'sin' in scope
284 | o.nm = np
285 | o.em = ep
286 | o.snodm = sin(nodep)
| `- error: cannot find 'sin' in scope
287 | o.cnodm = cos(nodep)
288 | o.sinomm = sin(argpp)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:287:19: error: cannot find 'cos' in scope
285 | o.em = ep
286 | o.snodm = sin(nodep)
287 | o.cnodm = cos(nodep)
| `- error: cannot find 'cos' in scope
288 | o.sinomm = sin(argpp)
289 | o.cosomm = cos(argpp)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:288:20: error: cannot find 'sin' in scope
286 | o.snodm = sin(nodep)
287 | o.cnodm = cos(nodep)
288 | o.sinomm = sin(argpp)
| `- error: cannot find 'sin' in scope
289 | o.cosomm = cos(argpp)
290 | o.sinim = sin(inclp)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:289:20: error: cannot find 'cos' in scope
287 | o.cnodm = cos(nodep)
288 | o.sinomm = sin(argpp)
289 | o.cosomm = cos(argpp)
| `- error: cannot find 'cos' in scope
290 | o.sinim = sin(inclp)
291 | o.cosim = cos(inclp)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:290:19: error: cannot find 'sin' in scope
288 | o.sinomm = sin(argpp)
289 | o.cosomm = cos(argpp)
290 | o.sinim = sin(inclp)
| `- error: cannot find 'sin' in scope
291 | o.cosim = cos(inclp)
292 | o.emsq = o.em * o.em
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:291:19: error: cannot find 'cos' in scope
289 | o.cosomm = cos(argpp)
290 | o.sinim = sin(inclp)
291 | o.cosim = cos(inclp)
| `- error: cannot find 'cos' in scope
292 | o.emsq = o.em * o.em
293 | betasq = 1.0 - o.emsq
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:294:20: error: cannot find 'sqrt' in scope
292 | o.emsq = o.em * o.em
293 | betasq = 1.0 - o.emsq
294 | o.rtemsq = sqrt(betasq)
| `- error: cannot find 'sqrt' in scope
295 |
296 | o.peo = 0.0
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:302:18: error: cannot find 'fmod' in scope
300 | o.pho = 0.0
301 | o.day = epoch + 18261.5 + tc / 1440.0
302 | xnodce = fmod(4.5236020 - 9.2422029e-4 * o.day, twopi)
| `- error: cannot find 'fmod' in scope
303 | stem = sin(xnodce)
304 | ctem = cos(xnodce)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:303:16: error: cannot find 'sin' in scope
301 | o.day = epoch + 18261.5 + tc / 1440.0
302 | xnodce = fmod(4.5236020 - 9.2422029e-4 * o.day, twopi)
303 | stem = sin(xnodce)
| `- error: cannot find 'sin' in scope
304 | ctem = cos(xnodce)
305 | zcosil = 0.91375164 - 0.03568096 * ctem
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:304:16: error: cannot find 'cos' in scope
302 | xnodce = fmod(4.5236020 - 9.2422029e-4 * o.day, twopi)
303 | stem = sin(xnodce)
304 | ctem = cos(xnodce)
| `- error: cannot find 'cos' in scope
305 | zcosil = 0.91375164 - 0.03568096 * ctem
306 | zsinil = sqrt(1.0 - zcosil * zcosil)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:306:18: error: cannot find 'sqrt' in scope
304 | ctem = cos(xnodce)
305 | zcosil = 0.91375164 - 0.03568096 * ctem
306 | zsinil = sqrt(1.0 - zcosil * zcosil)
| `- error: cannot find 'sqrt' in scope
307 | zsinhl = 0.089683511 * stem / zsinil
308 | zcoshl = sqrt(1.0 - zsinhl * zsinhl)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:308:18: error: cannot find 'sqrt' in scope
306 | zsinil = sqrt(1.0 - zcosil * zcosil)
307 | zsinhl = 0.089683511 * stem / zsinil
308 | zcoshl = sqrt(1.0 - zsinhl * zsinhl)
| `- error: cannot find 'sqrt' in scope
309 | o.gam = 5.8351514 + 0.0019443680 * o.day
310 | zx = 0.39785416 * stem / zsinil
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:312:14: error: cannot find 'atan2' in scope
310 | zx = 0.39785416 * stem / zsinil
311 | zy = zcoshl * ctem + 0.91744867 * zsinhl * stem
312 | zx = atan2(zx, zy)
| `- error: cannot find 'atan2' in scope
313 | zx = o.gam + zx - xnodce
314 | zcosgl = cos(zx)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:314:18: error: cannot find 'cos' in scope
312 | zx = atan2(zx, zy)
313 | zx = o.gam + zx - xnodce
314 | zcosgl = cos(zx)
| `- error: cannot find 'cos' in scope
315 | zsingl = sin(zx)
316 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:315:18: error: cannot find 'sin' in scope
313 | zx = o.gam + zx - xnodce
314 | zcosgl = cos(zx)
315 | zsingl = sin(zx)
| `- error: cannot find 'sin' in scope
316 |
317 | zcosg = zcosgs
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:402:18: error: cannot find 'fmod' in scope
400 | }
401 |
402 | o.zmol = fmod(4.7199672 + 0.22997150 * o.day - o.gam, twopi)
| `- error: cannot find 'fmod' in scope
403 | o.zmos = fmod(6.2565837 + 0.017201977 * o.day, twopi)
404 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:403:18: error: cannot find 'fmod' in scope
401 |
402 | o.zmol = fmod(4.7199672 + 0.22997150 * o.day - o.gam, twopi)
403 | o.zmos = fmod(6.2565837 + 0.017201977 * o.day, twopi)
| `- error: cannot find 'fmod' in scope
404 |
405 | o.se2 = 2.0 * o.ss1 * o.ss6
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:522:17: error: cannot find 'fmod' in scope
520 |
521 | dndt = 0.0
522 | theta = fmod(gsto + tc * rptim, twopi)
| `- error: cannot find 'fmod' in scope
523 | em = em + dedt * t
524 | inclm = inclm + didt * t
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:530:20: error: cannot find 'pow' in scope
528 |
529 | if irez != 0 {
530 | aonv = pow(nm / xke, x2o3)
| `- error: cannot find 'pow' in scope
531 |
532 | if irez == 2 {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:606:25: error: cannot find 'fmod' in scope
604 | d5421 = temp * f542 * g521
605 | d5433 = temp * f543 * g533
606 | xlamo = fmod(mo + nodeo + nodeo - theta - theta, twopi)
| `- error: cannot find 'fmod' in scope
607 | xfact = mdot + dmdt + 2.0 * (nodedot + dnodt - rptim) - no
608 | em = emo
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:624:25: error: cannot find 'fmod' in scope
622 | del3 = 3.0 * del1 * f330 * g300 * q33 * aonv
623 | del1 = del1 * f311 * g310 * q31 * aonv
624 | xlamo = fmod(mo + nodeo + argpo - theta, twopi)
| `- error: cannot find 'fmod' in scope
625 | xfact = mdot + xpidot - rptim + dmdt + domdt + dnodt - no
626 | }
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:667:17: error: cannot find 'fmod' in scope
665 |
666 | dndt = 0.0
667 | theta = fmod(gsto + tc * rptim, twopi)
| `- error: cannot find 'fmod' in scope
668 | em = em + dedt * t
669 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:677:57: error: cannot find 'fabs' in scope
675 | ft = 0.0
676 | if irez != 0 {
677 | if (atime == 0.0) || (t * atime <= 0.0) || (fabs(t) < fabs(atime)) {
| `- error: cannot find 'fabs' in scope
678 | atime = 0.0
679 | xni = no
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:677:67: error: cannot find 'fabs' in scope
675 | ft = 0.0
676 | if irez != 0 {
677 | if (atime == 0.0) || (t * atime <= 0.0) || (fabs(t) < fabs(atime)) {
| `- error: cannot find 'fabs' in scope
678 | atime = 0.0
679 | xni = no
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:691:35: error: cannot find 'sin' in scope
689 | while iretn == 381 {
690 | if irez != 2 {
691 | xndt = del1 * sin(xli - fasx2) + del2 * sin(2.0 * (xli - fasx4)) +
| `- error: cannot find 'sin' in scope
692 | del3 * sin(3.0 * (xli - fasx6))
693 | xldot = xni + xfact
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:691:61: error: cannot find 'sin' in scope
689 | while iretn == 381 {
690 | if irez != 2 {
691 | xndt = del1 * sin(xli - fasx2) + del2 * sin(2.0 * (xli - fasx4)) +
| `- error: cannot find 'sin' in scope
692 | del3 * sin(3.0 * (xli - fasx6))
693 | xldot = xni + xfact
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:692:32: error: cannot find 'sin' in scope
690 | if irez != 2 {
691 | xndt = del1 * sin(xli - fasx2) + del2 * sin(2.0 * (xli - fasx4)) +
692 | del3 * sin(3.0 * (xli - fasx6))
| `- error: cannot find 'sin' in scope
693 | xldot = xni + xfact
694 | xnddt = del1 * cos(xli - fasx2) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:691:21: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
689 | while iretn == 381 {
690 | if irez != 2 {
691 | xndt = del1 * sin(xli - fasx2) + del2 * sin(2.0 * (xli - fasx4)) +
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
692 | del3 * sin(3.0 * (xli - fasx6))
693 | xldot = xni + xfact
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:694:36: error: cannot find 'cos' in scope
692 | del3 * sin(3.0 * (xli - fasx6))
693 | xldot = xni + xfact
694 | xnddt = del1 * cos(xli - fasx2) +
| `- error: cannot find 'cos' in scope
695 | 2.0 * del2 * cos(2.0 * (xli - fasx4)) +
696 | 3.0 * del3 * cos(3.0 * (xli - fasx6))
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:695:38: error: cannot find 'cos' in scope
693 | xldot = xni + xfact
694 | xnddt = del1 * cos(xli - fasx2) +
695 | 2.0 * del2 * cos(2.0 * (xli - fasx4)) +
| `- error: cannot find 'cos' in scope
696 | 3.0 * del3 * cos(3.0 * (xli - fasx6))
697 | xnddt = xnddt * xldot
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:696:38: error: cannot find 'cos' in scope
694 | xnddt = del1 * cos(xli - fasx2) +
695 | 2.0 * del2 * cos(2.0 * (xli - fasx4)) +
696 | 3.0 * del3 * cos(3.0 * (xli - fasx6))
| `- error: cannot find 'cos' in scope
697 | xnddt = xnddt * xldot
698 | } else {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:694:21: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
692 | del3 * sin(3.0 * (xli - fasx6))
693 | xldot = xni + xfact
694 | xnddt = del1 * cos(xli - fasx2) +
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
695 | 2.0 * del2 * cos(2.0 * (xli - fasx4)) +
696 | 3.0 * del3 * cos(3.0 * (xli - fasx6))
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:702:36: error: cannot find 'sin' in scope
700 | x2omi = xomi + xomi
701 | x2li = xli + xli
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
| `- error: cannot find 'sin' in scope
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:702:69: error: cannot find 'sin' in scope
700 | x2omi = xomi + xomi
701 | x2li = xli + xli
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
| `- error: cannot find 'sin' in scope
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:703:33: error: cannot find 'sin' in scope
701 | x2li = xli + xli
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
| `- error: cannot find 'sin' in scope
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:703:65: error: cannot find 'sin' in scope
701 | x2li = xli + xli
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
| `- error: cannot find 'sin' in scope
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:704:33: error: cannot find 'sin' in scope
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
| `- error: cannot find 'sin' in scope
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:704:67: error: cannot find 'sin' in scope
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
| `- error: cannot find 'sin' in scope
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:705:33: error: cannot find 'sin' in scope
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
| `- error: cannot find 'sin' in scope
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
707 | xldot = xni + xfact
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:705:65: error: cannot find 'sin' in scope
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
| `- error: cannot find 'sin' in scope
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
707 | xldot = xni + xfact
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:706:33: error: cannot find 'sin' in scope
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
| `- error: cannot find 'sin' in scope
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:706:66: error: cannot find 'sin' in scope
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
| `- error: cannot find 'sin' in scope
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:702:21: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
700 | x2omi = xomi + xomi
701 | x2li = xli + xli
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:708:37: error: cannot find 'cos' in scope
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
| `- error: cannot find 'cos' in scope
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:708:70: error: cannot find 'cos' in scope
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
| `- error: cannot find 'cos' in scope
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:709:33: error: cannot find 'cos' in scope
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
| `- error: cannot find 'cos' in scope
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:709:65: error: cannot find 'cos' in scope
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
| `- error: cannot find 'cos' in scope
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:710:33: error: cannot find 'cos' in scope
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
| `- error: cannot find 'cos' in scope
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:710:65: error: cannot find 'cos' in scope
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
| `- error: cannot find 'cos' in scope
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:711:40: error: cannot find 'cos' in scope
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
| `- error: cannot find 'cos' in scope
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
713 | d5433 * cos(-xomi + x2li - g54))
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:712:33: error: cannot find 'cos' in scope
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
| `- error: cannot find 'cos' in scope
713 | d5433 * cos(-xomi + x2li - g54))
714 | xnddt = xnddt * xldot
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:712:59: error: cannot find 'cos' in scope
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
| `- error: cannot find 'cos' in scope
713 | d5433 * cos(-xomi + x2li - g54))
714 | xnddt = xnddt * xldot
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:713:33: error: cannot find 'cos' in scope
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
713 | d5433 * cos(-xomi + x2li - g54))
| `- error: cannot find 'cos' in scope
714 | xnddt = xnddt * xldot
715 | }
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:708:21: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:717:20: error: cannot find 'fabs' in scope
715 | }
716 |
717 | if fabs(t - atime) >= stepp {
| `- error: cannot find 'fabs' in scope
718 | iretn = 381
719 | } else {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:763:20: error: cannot find 'sqrt' in scope
761 | o.eccsq = ecco * ecco
762 | o.omeosq = 1.0 - o.eccsq
763 | o.rteosq = sqrt(o.omeosq)
| `- error: cannot find 'sqrt' in scope
764 | o.cosio = cos(inclo)
765 | o.cosio2 = o.cosio * o.cosio
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:764:19: error: cannot find 'cos' in scope
762 | o.omeosq = 1.0 - o.eccsq
763 | o.rteosq = sqrt(o.omeosq)
764 | o.cosio = cos(inclo)
| `- error: cannot find 'cos' in scope
765 | o.cosio2 = o.cosio * o.cosio
766 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:767:14: error: cannot find 'pow' in scope
765 | o.cosio2 = o.cosio * o.cosio
766 |
767 | ak = pow(xke / no_kozai, x2o3)
| `- error: cannot find 'pow' in scope
768 | d1 = 0.75 * j2 * (3.0 * o.cosio2 - 1.0) / (o.rteosq * o.omeosq)
769 | del = d1 / (ak * ak)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:775:16: error: cannot find 'pow' in scope
773 | no_unkozai = no_kozai / (1.0 + del)
774 |
775 | o.ao = pow(xke / (no_unkozai), x2o3)
| `- error: cannot find 'pow' in scope
776 | o.sinio = sin(inclo)
777 | po = o.ao * o.omeosq
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:776:19: error: cannot find 'sin' in scope
774 |
775 | o.ao = pow(xke / (no_unkozai), x2o3)
776 | o.sinio = sin(inclo)
| `- error: cannot find 'sin' in scope
777 | po = o.ao * o.omeosq
778 | o.con42 = 1.0 - 5.0 * o.cosio2
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:846:13: error: cannot find 'pow' in scope
844 | let posq = i.posq, rp = i.rp, rteosq = i.rteosq, sinio = i.sinio
845 |
846 | a = pow(no_unkozai * tumin, (-2.0 / 3.0))
| `- error: cannot find 'pow' in scope
847 | alta = a * (1.0 + ecco) - 1.0
848 | altp = a * (1.0 - ecco) - 1.0
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:875:21: error: cannot find 'fabs' in scope
873 | etasq = eta * eta
874 | eeta = ecco * eta
875 | psisq = fabs(1.0 - etasq)
| `- error: cannot find 'fabs' in scope
876 | coef = qzms24 * pow(tsi, 4.0)
877 | coef1 = coef / pow(psisq, 3.5)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:876:29: error: cannot find 'pow' in scope
874 | eeta = ecco * eta
875 | psisq = fabs(1.0 - etasq)
876 | coef = qzms24 * pow(tsi, 4.0)
| `- error: cannot find 'pow' in scope
877 | coef1 = coef / pow(psisq, 3.5)
878 | cc2 = coef1 * no_unkozai * (ao * (1.0 + 1.5 * etasq + eeta *
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:877:28: error: cannot find 'pow' in scope
875 | psisq = fabs(1.0 - etasq)
876 | coef = qzms24 * pow(tsi, 4.0)
877 | coef1 = coef / pow(psisq, 3.5)
| `- error: cannot find 'pow' in scope
878 | cc2 = coef1 * no_unkozai * (ao * (1.0 + 1.5 * etasq + eeta *
879 | (4.0 + etasq)) + 0.375 * j2 * tsi / psisq * con41 *
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:892:56: error: cannot find 'cos' in scope
890 | (-3.0 * con41 * (1.0 - 2.0 * eeta + etasq *
891 | (1.5 - 0.5 * eeta)) + 0.75 * x1mth2 *
892 | (2.0 * etasq - eeta * (1.0 + etasq)) * cos(2.0 * argpo)))
| `- error: cannot find 'cos' in scope
893 | cc5 = 2.0 * coef1 * ao * omeosq * (1.0 + 2.75 *
894 | (etasq + eeta) + eeta * etasq)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:887:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
885 | }
886 | x1mth2 = 1.0 - cosio2
887 | cc4 = 2.0 * no_unkozai * coef1 * ao * omeosq *
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
888 | (eta * (2.0 + 0.5 * etasq) + ecco *
889 | (0.5 + 2.0 * etasq) - j2 * tsi / (ao * psisq) *
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:908:36: error: cannot find 'cos' in scope
906 | 2.0 * temp3 * (3.0 - 7.0 * cosio2)) * cosio
907 | xpidot = argpdot + nodedot
908 | omgcof = bstar * cc3 * cos(argpo)
| `- error: cannot find 'cos' in scope
909 | xmcof = 0.0
910 | if ecco > 1.0e-4 {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:915:16: error: cannot find 'fabs' in scope
913 | nodecf = 3.5 * omeosq * xhdot1 * cc1
914 | t2cof = 1.5 * cc1
915 | if fabs(cosio + 1.0) > 1.5e-12 {
| `- error: cannot find 'fabs' in scope
916 | xlcof = -0.25 * j3oj2 * sinio * (3.0 + 5.0 * cosio) / (1.0 + cosio)
917 | } else {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:921:37: error: cannot find 'cos' in scope
919 | }
920 | aycof = -0.5 * j3oj2 * sinio
921 | delmotemp = 1.0 + eta * cos(mo)
| `- error: cannot find 'cos' in scope
922 | delmo = delmotemp * delmotemp * delmotemp
923 | sinmao = sin(mo)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:923:22: error: cannot find 'sin' in scope
921 | delmotemp = 1.0 + eta * cos(mo)
922 | delmo = delmotemp * delmotemp * delmotemp
923 | sinmao = sin(mo)
| `- error: cannot find 'sin' in scope
924 | x7thm1 = 7.0 * cosio2 - 1.0
925 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1076:36: error: cannot find 'cos' in scope
1074 | if isimp != 1 {
1075 | delomg = omgcof * t
1076 | delmtemp = 1.0 + eta * cos(xmdf)
| `- error: cannot find 'cos' in scope
1077 | delm = xmcof *
1078 | (delmtemp * delmtemp * delmtemp -
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1087:44: error: cannot find 'sin' in scope
1085 | tempa = tempa - d2 * t2 - d3 * t3 -
1086 | d4 * t4
1087 | tempe = tempe + bstar * cc5 * (sin(mm) -
| `- error: cannot find 'sin' in scope
1088 | sinmao)
1089 | templ = templ + t3cof * t3 + t4 * (t4cof +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1105:14: error: cannot find 'pow' in scope
1103 | return false
1104 | }
1105 | am = pow((xke / nm), x2o3) * tempa * tempa
| `- error: cannot find 'pow' in scope
1106 | nm = xke / pow(am, 1.5)
1107 | em = em - tempe
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1106:20: error: cannot find 'pow' in scope
1104 | }
1105 | am = pow((xke / nm), x2o3) * tempa * tempa
1106 | nm = xke / pow(am, 1.5)
| `- error: cannot find 'pow' in scope
1107 | em = em - tempe
1108 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1121:17: error: cannot find 'fmod' in scope
1119 | temp = 1.0 - emsq
1120 |
1121 | nodem = fmod(nodem, twopi)
| `- error: cannot find 'fmod' in scope
1122 | argpm = fmod(argpm, twopi)
1123 | xlm = fmod(xlm, twopi)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1122:17: error: cannot find 'fmod' in scope
1120 |
1121 | nodem = fmod(nodem, twopi)
1122 | argpm = fmod(argpm, twopi)
| `- error: cannot find 'fmod' in scope
1123 | xlm = fmod(xlm, twopi)
1124 | mm = fmod(xlm - argpm - nodem, twopi)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1123:15: error: cannot find 'fmod' in scope
1121 | nodem = fmod(nodem, twopi)
1122 | argpm = fmod(argpm, twopi)
1123 | xlm = fmod(xlm, twopi)
| `- error: cannot find 'fmod' in scope
1124 | mm = fmod(xlm - argpm - nodem, twopi)
1125 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1124:14: error: cannot find 'fmod' in scope
1122 | argpm = fmod(argpm, twopi)
1123 | xlm = fmod(xlm, twopi)
1124 | mm = fmod(xlm - argpm - nodem, twopi)
| `- error: cannot find 'fmod' in scope
1125 |
1126 | self.am = am
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1134:17: error: cannot find 'sin' in scope
1132 | self.nm = nm
1133 |
1134 | sinim = sin(inclm)
| `- error: cannot find 'sin' in scope
1135 | cosim = cos(inclm)
1136 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1135:17: error: cannot find 'cos' in scope
1133 |
1134 | sinim = sin(inclm)
1135 | cosim = cos(inclm)
| `- error: cannot find 'cos' in scope
1136 |
1137 | ep = em
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1158:21: error: cannot find 'sin' in scope
1156 |
1157 | if deepSpace {
1158 | sinip = sin(xincp)
| `- error: cannot find 'sin' in scope
1159 | cosip = cos(xincp)
1160 | aycof = -0.5 * j3oj2 * sinip
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1159:21: error: cannot find 'cos' in scope
1157 | if deepSpace {
1158 | sinip = sin(xincp)
1159 | cosip = cos(xincp)
| `- error: cannot find 'cos' in scope
1160 | aycof = -0.5 * j3oj2 * sinip
1161 | if fabs(cosip + 1.0) > 1.5e-12 {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1161:16: error: cannot find 'fabs' in scope
1159 | cosip = cos(xincp)
1160 | aycof = -0.5 * j3oj2 * sinip
1161 | if fabs(cosip + 1.0) > 1.5e-12 {
| `- error: cannot find 'fabs' in scope
1162 | xlcof = -0.25 * j3oj2 * sinip * (3.0 + 5.0 * cosip) / (1.0 + cosip)
1163 | } else {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1167:21: error: cannot find 'cos' in scope
1165 | }
1166 | }
1167 | axnl = ep * cos(argpp)
| `- error: cannot find 'cos' in scope
1168 | temp = 1.0 / (am * (1.0 - ep * ep))
1169 | aynl = ep * sin(argpp) + temp * aycof
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1169:21: error: cannot find 'sin' in scope
1167 | axnl = ep * cos(argpp)
1168 | temp = 1.0 / (am * (1.0 - ep * ep))
1169 | aynl = ep * sin(argpp) + temp * aycof
| `- error: cannot find 'sin' in scope
1170 | xl = mp + argpp + nodep + temp * xlcof * axnl
1171 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1172:13: error: cannot find 'fmod' in scope
1170 | xl = mp + argpp + nodep + temp * xlcof * axnl
1171 |
1172 | u = fmod(xl - nodep, twopi)
| `- error: cannot find 'fmod' in scope
1173 | eo1 = u
1174 | tem5 = 9999.9
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1176:16: error: cannot find 'fabs' in scope
1174 | tem5 = 9999.9
1175 | ktr = 1
1176 | while (fabs(tem5) >= 1.0e-12) && (ktr <= 10) {
| `- error: cannot find 'fabs' in scope
1177 | sineo1 = sin(eo1)
1178 | coseo1 = cos(eo1)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1177:22: error: cannot find 'sin' in scope
1175 | ktr = 1
1176 | while (fabs(tem5) >= 1.0e-12) && (ktr <= 10) {
1177 | sineo1 = sin(eo1)
| `- error: cannot find 'sin' in scope
1178 | coseo1 = cos(eo1)
1179 | tem5 = 1.0 - coseo1 * axnl - sineo1 * aynl
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1178:22: error: cannot find 'cos' in scope
1176 | while (fabs(tem5) >= 1.0e-12) && (ktr <= 10) {
1177 | sineo1 = sin(eo1)
1178 | coseo1 = cos(eo1)
| `- error: cannot find 'cos' in scope
1179 | tem5 = 1.0 - coseo1 * axnl - sineo1 * aynl
1180 | tem5 = (u - aynl * coseo1 + axnl * sineo1 - eo1) / tem5
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1181:16: error: cannot find 'fabs' in scope
1179 | tem5 = 1.0 - coseo1 * axnl - sineo1 * aynl
1180 | tem5 = (u - aynl * coseo1 + axnl * sineo1 - eo1) / tem5
1181 | if fabs(tem5) >= 0.95 {
| `- error: cannot find 'fabs' in scope
1182 | tem5 = tem5 > 0.0 ? 0.95 : -0.95
1183 | }
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1197:21: error: cannot find 'sqrt' in scope
1195 | } else {
1196 | rl = am * (1.0 - ecose)
1197 | rdotl = sqrt(am) * esine / rl
| `- error: cannot find 'sqrt' in scope
1198 | rvdotl = sqrt(pl) / rl
1199 | betal = sqrt(1.0 - el2)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1198:22: error: cannot find 'sqrt' in scope
1196 | rl = am * (1.0 - ecose)
1197 | rdotl = sqrt(am) * esine / rl
1198 | rvdotl = sqrt(pl) / rl
| `- error: cannot find 'sqrt' in scope
1199 | betal = sqrt(1.0 - el2)
1200 | temp = esine / (1.0 + betal)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1199:21: error: cannot find 'sqrt' in scope
1197 | rdotl = sqrt(am) * esine / rl
1198 | rvdotl = sqrt(pl) / rl
1199 | betal = sqrt(1.0 - el2)
| `- error: cannot find 'sqrt' in scope
1200 | temp = esine / (1.0 + betal)
1201 | sinu = am / rl * (sineo1 - aynl - axnl * temp)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1203:18: error: cannot find 'atan2' in scope
1201 | sinu = am / rl * (sineo1 - aynl - axnl * temp)
1202 | cosu = am / rl * (coseo1 - axnl + aynl * temp)
1203 | su = atan2(sinu, cosu)
| `- error: cannot find 'atan2' in scope
1204 | sin2u = (cosu + cosu) * sinu
1205 | cos2u = 1.0 - 2.0 * sinu * sinu
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1225:21: error: cannot find 'sin' in scope
1223 | 1.5 * con41) / xke
1224 |
1225 | sinsu = sin(su)
| `- error: cannot find 'sin' in scope
1226 | cossu = cos(su)
1227 | snod = sin(xnode)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1226:21: error: cannot find 'cos' in scope
1224 |
1225 | sinsu = sin(su)
1226 | cossu = cos(su)
| `- error: cannot find 'cos' in scope
1227 | snod = sin(xnode)
1228 | cnod = cos(xnode)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1227:20: error: cannot find 'sin' in scope
1225 | sinsu = sin(su)
1226 | cossu = cos(su)
1227 | snod = sin(xnode)
| `- error: cannot find 'sin' in scope
1228 | cnod = cos(xnode)
1229 | sini = sin(xinc)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1228:20: error: cannot find 'cos' in scope
1226 | cossu = cos(su)
1227 | snod = sin(xnode)
1228 | cnod = cos(xnode)
| `- error: cannot find 'cos' in scope
1229 | sini = sin(xinc)
1230 | cosi = cos(xinc)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1229:20: error: cannot find 'sin' in scope
1227 | snod = sin(xnode)
1228 | cnod = cos(xnode)
1229 | sini = sin(xinc)
| `- error: cannot find 'sin' in scope
1230 | cosi = cos(xinc)
1231 | xmx = -snod * cosi
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1230:20: error: cannot find 'cos' in scope
1228 | cnod = cos(xnode)
1229 | sini = sin(xinc)
1230 | cosi = cos(xinc)
| `- error: cannot find 'cos' in scope
1231 | xmx = -snod * cosi
1232 | xmy = cnod * cosi
[23/27] Compiling GPKit SGP4Core.swift
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:92:26: error: cannot find 'sqrt' in scope
90 | mus = 398600.8
91 | radiusearthkm = 6378.135
92 | xke = 60.0 / sqrt(radiusearthkm * radiusearthkm * radiusearthkm / mus)
| `- error: cannot find 'sqrt' in scope
93 | tumin = 1.0 / xke
94 | j2 = 0.001082616
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:101:26: error: cannot find 'sqrt' in scope
99 | mus = 398600.5
100 | radiusearthkm = 6378.137
101 | xke = 60.0 / sqrt(radiusearthkm * radiusearthkm * radiusearthkm / mus)
| `- error: cannot find 'sqrt' in scope
102 | tumin = 1.0 / xke
103 | j2 = 0.00108262998905
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:119:16: error: cannot find 'fmod' in scope
117 | var temp = -6.2e-6 * tut1 * tut1 * tut1 + 0.093104 * tut1 * tut1 +
118 | (876600.0 * 3600 + 8640184.812866) * tut1 + 67310.54841
119 | temp = fmod(temp * deg2rad / 240.0, twopi)
| `- error: cannot find 'fmod' in scope
120 | if temp < 0.0 {
121 | temp += twopi
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:150:31: error: cannot find 'sin' in scope
148 | zm = zmos
149 | }
150 | zf = zm + 2.0 * zes * sin(zm)
| `- error: cannot find 'sin' in scope
151 | sinzf = sin(zf)
152 | f2 = 0.5 * sinzf * sinzf - 0.25
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:151:17: error: cannot find 'sin' in scope
149 | }
150 | zf = zm + 2.0 * zes * sin(zm)
151 | sinzf = sin(zf)
| `- error: cannot find 'sin' in scope
152 | f2 = 0.5 * sinzf * sinzf - 0.25
153 | f3 = -0.5 * sinzf * cos(zf)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:153:29: error: cannot find 'cos' in scope
151 | sinzf = sin(zf)
152 | f2 = 0.5 * sinzf * sinzf - 0.25
153 | f3 = -0.5 * sinzf * cos(zf)
| `- error: cannot find 'cos' in scope
154 | ses = se2 * f2 + se3 * f3
155 | sis = si2 * f2 + si3 * f3
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:163:31: error: cannot find 'sin' in scope
161 | zm = zmol
162 | }
163 | zf = zm + 2.0 * zel * sin(zm)
| `- error: cannot find 'sin' in scope
164 | sinzf = sin(zf)
165 | f2 = 0.5 * sinzf * sinzf - 0.25
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:164:17: error: cannot find 'sin' in scope
162 | }
163 | zf = zm + 2.0 * zel * sin(zm)
164 | sinzf = sin(zf)
| `- error: cannot find 'sin' in scope
165 | f2 = 0.5 * sinzf * sinzf - 0.25
166 | f3 = -0.5 * sinzf * cos(zf)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:166:29: error: cannot find 'cos' in scope
164 | sinzf = sin(zf)
165 | f2 = 0.5 * sinzf * sinzf - 0.25
166 | f3 = -0.5 * sinzf * cos(zf)
| `- error: cannot find 'cos' in scope
167 | sel = ee2 * f2 + e3 * f3
168 | sil = xi2 * f2 + xi3 * f3
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:186:21: error: cannot find 'sin' in scope
184 | inclp = inclp + pinc
185 | ep = ep + pe
186 | sinip = sin(inclp)
| `- error: cannot find 'sin' in scope
187 | cosip = cos(inclp)
188 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:187:21: error: cannot find 'cos' in scope
185 | ep = ep + pe
186 | sinip = sin(inclp)
187 | cosip = cos(inclp)
| `- error: cannot find 'cos' in scope
188 |
189 | if inclp >= 0.2 {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:196:25: error: cannot find 'sin' in scope
194 | mp = mp + pl
195 | } else {
196 | sinop = sin(nodep)
| `- error: cannot find 'sin' in scope
197 | cosop = cos(nodep)
198 | alfdp = sinip * sinop
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:197:25: error: cannot find 'cos' in scope
195 | } else {
196 | sinop = sin(nodep)
197 | cosop = cos(nodep)
| `- error: cannot find 'cos' in scope
198 | alfdp = sinip * sinop
199 | betdp = sinip * cosop
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:204:25: error: cannot find 'fmod' in scope
202 | alfdp = alfdp + dalf
203 | betdp = betdp + dbet
204 | nodep = fmod(nodep, twopi)
| `- error: cannot find 'fmod' in scope
205 | if (nodep < 0.0) && afspc {
206 | nodep = nodep + twopi
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:212:25: error: cannot find 'atan2' in scope
210 | xls = xls + dls
211 | xnoh = nodep
212 | nodep = atan2(alfdp, betdp)
| `- error: cannot find 'atan2' in scope
213 | if (nodep < 0.0) && afspc {
214 | nodep = nodep + twopi
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:216:20: error: cannot find 'fabs' in scope
214 | nodep = nodep + twopi
215 | }
216 | if fabs(xnoh - nodep) > pi {
| `- error: cannot find 'fabs' in scope
217 | if nodep < xnoh {
218 | nodep = nodep + twopi
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:286:19: error: cannot find 'sin' in scope
284 | o.nm = np
285 | o.em = ep
286 | o.snodm = sin(nodep)
| `- error: cannot find 'sin' in scope
287 | o.cnodm = cos(nodep)
288 | o.sinomm = sin(argpp)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:287:19: error: cannot find 'cos' in scope
285 | o.em = ep
286 | o.snodm = sin(nodep)
287 | o.cnodm = cos(nodep)
| `- error: cannot find 'cos' in scope
288 | o.sinomm = sin(argpp)
289 | o.cosomm = cos(argpp)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:288:20: error: cannot find 'sin' in scope
286 | o.snodm = sin(nodep)
287 | o.cnodm = cos(nodep)
288 | o.sinomm = sin(argpp)
| `- error: cannot find 'sin' in scope
289 | o.cosomm = cos(argpp)
290 | o.sinim = sin(inclp)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:289:20: error: cannot find 'cos' in scope
287 | o.cnodm = cos(nodep)
288 | o.sinomm = sin(argpp)
289 | o.cosomm = cos(argpp)
| `- error: cannot find 'cos' in scope
290 | o.sinim = sin(inclp)
291 | o.cosim = cos(inclp)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:290:19: error: cannot find 'sin' in scope
288 | o.sinomm = sin(argpp)
289 | o.cosomm = cos(argpp)
290 | o.sinim = sin(inclp)
| `- error: cannot find 'sin' in scope
291 | o.cosim = cos(inclp)
292 | o.emsq = o.em * o.em
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:291:19: error: cannot find 'cos' in scope
289 | o.cosomm = cos(argpp)
290 | o.sinim = sin(inclp)
291 | o.cosim = cos(inclp)
| `- error: cannot find 'cos' in scope
292 | o.emsq = o.em * o.em
293 | betasq = 1.0 - o.emsq
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:294:20: error: cannot find 'sqrt' in scope
292 | o.emsq = o.em * o.em
293 | betasq = 1.0 - o.emsq
294 | o.rtemsq = sqrt(betasq)
| `- error: cannot find 'sqrt' in scope
295 |
296 | o.peo = 0.0
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:302:18: error: cannot find 'fmod' in scope
300 | o.pho = 0.0
301 | o.day = epoch + 18261.5 + tc / 1440.0
302 | xnodce = fmod(4.5236020 - 9.2422029e-4 * o.day, twopi)
| `- error: cannot find 'fmod' in scope
303 | stem = sin(xnodce)
304 | ctem = cos(xnodce)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:303:16: error: cannot find 'sin' in scope
301 | o.day = epoch + 18261.5 + tc / 1440.0
302 | xnodce = fmod(4.5236020 - 9.2422029e-4 * o.day, twopi)
303 | stem = sin(xnodce)
| `- error: cannot find 'sin' in scope
304 | ctem = cos(xnodce)
305 | zcosil = 0.91375164 - 0.03568096 * ctem
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:304:16: error: cannot find 'cos' in scope
302 | xnodce = fmod(4.5236020 - 9.2422029e-4 * o.day, twopi)
303 | stem = sin(xnodce)
304 | ctem = cos(xnodce)
| `- error: cannot find 'cos' in scope
305 | zcosil = 0.91375164 - 0.03568096 * ctem
306 | zsinil = sqrt(1.0 - zcosil * zcosil)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:306:18: error: cannot find 'sqrt' in scope
304 | ctem = cos(xnodce)
305 | zcosil = 0.91375164 - 0.03568096 * ctem
306 | zsinil = sqrt(1.0 - zcosil * zcosil)
| `- error: cannot find 'sqrt' in scope
307 | zsinhl = 0.089683511 * stem / zsinil
308 | zcoshl = sqrt(1.0 - zsinhl * zsinhl)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:308:18: error: cannot find 'sqrt' in scope
306 | zsinil = sqrt(1.0 - zcosil * zcosil)
307 | zsinhl = 0.089683511 * stem / zsinil
308 | zcoshl = sqrt(1.0 - zsinhl * zsinhl)
| `- error: cannot find 'sqrt' in scope
309 | o.gam = 5.8351514 + 0.0019443680 * o.day
310 | zx = 0.39785416 * stem / zsinil
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:312:14: error: cannot find 'atan2' in scope
310 | zx = 0.39785416 * stem / zsinil
311 | zy = zcoshl * ctem + 0.91744867 * zsinhl * stem
312 | zx = atan2(zx, zy)
| `- error: cannot find 'atan2' in scope
313 | zx = o.gam + zx - xnodce
314 | zcosgl = cos(zx)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:314:18: error: cannot find 'cos' in scope
312 | zx = atan2(zx, zy)
313 | zx = o.gam + zx - xnodce
314 | zcosgl = cos(zx)
| `- error: cannot find 'cos' in scope
315 | zsingl = sin(zx)
316 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:315:18: error: cannot find 'sin' in scope
313 | zx = o.gam + zx - xnodce
314 | zcosgl = cos(zx)
315 | zsingl = sin(zx)
| `- error: cannot find 'sin' in scope
316 |
317 | zcosg = zcosgs
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:402:18: error: cannot find 'fmod' in scope
400 | }
401 |
402 | o.zmol = fmod(4.7199672 + 0.22997150 * o.day - o.gam, twopi)
| `- error: cannot find 'fmod' in scope
403 | o.zmos = fmod(6.2565837 + 0.017201977 * o.day, twopi)
404 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:403:18: error: cannot find 'fmod' in scope
401 |
402 | o.zmol = fmod(4.7199672 + 0.22997150 * o.day - o.gam, twopi)
403 | o.zmos = fmod(6.2565837 + 0.017201977 * o.day, twopi)
| `- error: cannot find 'fmod' in scope
404 |
405 | o.se2 = 2.0 * o.ss1 * o.ss6
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:522:17: error: cannot find 'fmod' in scope
520 |
521 | dndt = 0.0
522 | theta = fmod(gsto + tc * rptim, twopi)
| `- error: cannot find 'fmod' in scope
523 | em = em + dedt * t
524 | inclm = inclm + didt * t
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:530:20: error: cannot find 'pow' in scope
528 |
529 | if irez != 0 {
530 | aonv = pow(nm / xke, x2o3)
| `- error: cannot find 'pow' in scope
531 |
532 | if irez == 2 {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:606:25: error: cannot find 'fmod' in scope
604 | d5421 = temp * f542 * g521
605 | d5433 = temp * f543 * g533
606 | xlamo = fmod(mo + nodeo + nodeo - theta - theta, twopi)
| `- error: cannot find 'fmod' in scope
607 | xfact = mdot + dmdt + 2.0 * (nodedot + dnodt - rptim) - no
608 | em = emo
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:624:25: error: cannot find 'fmod' in scope
622 | del3 = 3.0 * del1 * f330 * g300 * q33 * aonv
623 | del1 = del1 * f311 * g310 * q31 * aonv
624 | xlamo = fmod(mo + nodeo + argpo - theta, twopi)
| `- error: cannot find 'fmod' in scope
625 | xfact = mdot + xpidot - rptim + dmdt + domdt + dnodt - no
626 | }
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:667:17: error: cannot find 'fmod' in scope
665 |
666 | dndt = 0.0
667 | theta = fmod(gsto + tc * rptim, twopi)
| `- error: cannot find 'fmod' in scope
668 | em = em + dedt * t
669 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:677:57: error: cannot find 'fabs' in scope
675 | ft = 0.0
676 | if irez != 0 {
677 | if (atime == 0.0) || (t * atime <= 0.0) || (fabs(t) < fabs(atime)) {
| `- error: cannot find 'fabs' in scope
678 | atime = 0.0
679 | xni = no
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:677:67: error: cannot find 'fabs' in scope
675 | ft = 0.0
676 | if irez != 0 {
677 | if (atime == 0.0) || (t * atime <= 0.0) || (fabs(t) < fabs(atime)) {
| `- error: cannot find 'fabs' in scope
678 | atime = 0.0
679 | xni = no
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:691:35: error: cannot find 'sin' in scope
689 | while iretn == 381 {
690 | if irez != 2 {
691 | xndt = del1 * sin(xli - fasx2) + del2 * sin(2.0 * (xli - fasx4)) +
| `- error: cannot find 'sin' in scope
692 | del3 * sin(3.0 * (xli - fasx6))
693 | xldot = xni + xfact
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:691:61: error: cannot find 'sin' in scope
689 | while iretn == 381 {
690 | if irez != 2 {
691 | xndt = del1 * sin(xli - fasx2) + del2 * sin(2.0 * (xli - fasx4)) +
| `- error: cannot find 'sin' in scope
692 | del3 * sin(3.0 * (xli - fasx6))
693 | xldot = xni + xfact
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:692:32: error: cannot find 'sin' in scope
690 | if irez != 2 {
691 | xndt = del1 * sin(xli - fasx2) + del2 * sin(2.0 * (xli - fasx4)) +
692 | del3 * sin(3.0 * (xli - fasx6))
| `- error: cannot find 'sin' in scope
693 | xldot = xni + xfact
694 | xnddt = del1 * cos(xli - fasx2) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:691:21: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
689 | while iretn == 381 {
690 | if irez != 2 {
691 | xndt = del1 * sin(xli - fasx2) + del2 * sin(2.0 * (xli - fasx4)) +
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
692 | del3 * sin(3.0 * (xli - fasx6))
693 | xldot = xni + xfact
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:694:36: error: cannot find 'cos' in scope
692 | del3 * sin(3.0 * (xli - fasx6))
693 | xldot = xni + xfact
694 | xnddt = del1 * cos(xli - fasx2) +
| `- error: cannot find 'cos' in scope
695 | 2.0 * del2 * cos(2.0 * (xli - fasx4)) +
696 | 3.0 * del3 * cos(3.0 * (xli - fasx6))
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:695:38: error: cannot find 'cos' in scope
693 | xldot = xni + xfact
694 | xnddt = del1 * cos(xli - fasx2) +
695 | 2.0 * del2 * cos(2.0 * (xli - fasx4)) +
| `- error: cannot find 'cos' in scope
696 | 3.0 * del3 * cos(3.0 * (xli - fasx6))
697 | xnddt = xnddt * xldot
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:696:38: error: cannot find 'cos' in scope
694 | xnddt = del1 * cos(xli - fasx2) +
695 | 2.0 * del2 * cos(2.0 * (xli - fasx4)) +
696 | 3.0 * del3 * cos(3.0 * (xli - fasx6))
| `- error: cannot find 'cos' in scope
697 | xnddt = xnddt * xldot
698 | } else {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:694:21: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
692 | del3 * sin(3.0 * (xli - fasx6))
693 | xldot = xni + xfact
694 | xnddt = del1 * cos(xli - fasx2) +
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
695 | 2.0 * del2 * cos(2.0 * (xli - fasx4)) +
696 | 3.0 * del3 * cos(3.0 * (xli - fasx6))
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:702:36: error: cannot find 'sin' in scope
700 | x2omi = xomi + xomi
701 | x2li = xli + xli
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
| `- error: cannot find 'sin' in scope
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:702:69: error: cannot find 'sin' in scope
700 | x2omi = xomi + xomi
701 | x2li = xli + xli
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
| `- error: cannot find 'sin' in scope
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:703:33: error: cannot find 'sin' in scope
701 | x2li = xli + xli
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
| `- error: cannot find 'sin' in scope
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:703:65: error: cannot find 'sin' in scope
701 | x2li = xli + xli
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
| `- error: cannot find 'sin' in scope
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:704:33: error: cannot find 'sin' in scope
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
| `- error: cannot find 'sin' in scope
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:704:67: error: cannot find 'sin' in scope
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
| `- error: cannot find 'sin' in scope
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:705:33: error: cannot find 'sin' in scope
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
| `- error: cannot find 'sin' in scope
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
707 | xldot = xni + xfact
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:705:65: error: cannot find 'sin' in scope
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
| `- error: cannot find 'sin' in scope
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
707 | xldot = xni + xfact
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:706:33: error: cannot find 'sin' in scope
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
| `- error: cannot find 'sin' in scope
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:706:66: error: cannot find 'sin' in scope
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
705 | d5220 * sin(xomi + xli - g52) + d5232 * sin(-xomi + xli - g52) +
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
| `- error: cannot find 'sin' in scope
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:702:21: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
700 | x2omi = xomi + xomi
701 | x2li = xli + xli
702 | xndt = d2201 * sin(x2omi + xli - g22) + d2211 * sin(xli - g22) +
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
703 | d3210 * sin(xomi + xli - g32) + d3222 * sin(-xomi + xli - g32) +
704 | d4410 * sin(x2omi + x2li - g44) + d4422 * sin(x2li - g44) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:708:37: error: cannot find 'cos' in scope
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
| `- error: cannot find 'cos' in scope
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:708:70: error: cannot find 'cos' in scope
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
| `- error: cannot find 'cos' in scope
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:709:33: error: cannot find 'cos' in scope
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
| `- error: cannot find 'cos' in scope
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:709:65: error: cannot find 'cos' in scope
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
| `- error: cannot find 'cos' in scope
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:710:33: error: cannot find 'cos' in scope
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
| `- error: cannot find 'cos' in scope
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:710:65: error: cannot find 'cos' in scope
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
| `- error: cannot find 'cos' in scope
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:711:40: error: cannot find 'cos' in scope
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
| `- error: cannot find 'cos' in scope
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
713 | d5433 * cos(-xomi + x2li - g54))
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:712:33: error: cannot find 'cos' in scope
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
| `- error: cannot find 'cos' in scope
713 | d5433 * cos(-xomi + x2li - g54))
714 | xnddt = xnddt * xldot
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:712:59: error: cannot find 'cos' in scope
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
| `- error: cannot find 'cos' in scope
713 | d5433 * cos(-xomi + x2li - g54))
714 | xnddt = xnddt * xldot
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:713:33: error: cannot find 'cos' in scope
711 | 2.0 * (d4410 * cos(x2omi + x2li - g44) +
712 | d4422 * cos(x2li - g44) + d5421 * cos(xomi + x2li - g54) +
713 | d5433 * cos(-xomi + x2li - g54))
| `- error: cannot find 'cos' in scope
714 | xnddt = xnddt * xldot
715 | }
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:708:21: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
706 | d5421 * sin(xomi + x2li - g54) + d5433 * sin(-xomi + x2li - g54)
707 | xldot = xni + xfact
708 | xnddt = d2201 * cos(x2omi + xli - g22) + d2211 * cos(xli - g22) +
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
709 | d3210 * cos(xomi + xli - g32) + d3222 * cos(-xomi + xli - g32) +
710 | d5220 * cos(xomi + xli - g52) + d5232 * cos(-xomi + xli - g52) +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:717:20: error: cannot find 'fabs' in scope
715 | }
716 |
717 | if fabs(t - atime) >= stepp {
| `- error: cannot find 'fabs' in scope
718 | iretn = 381
719 | } else {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:763:20: error: cannot find 'sqrt' in scope
761 | o.eccsq = ecco * ecco
762 | o.omeosq = 1.0 - o.eccsq
763 | o.rteosq = sqrt(o.omeosq)
| `- error: cannot find 'sqrt' in scope
764 | o.cosio = cos(inclo)
765 | o.cosio2 = o.cosio * o.cosio
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:764:19: error: cannot find 'cos' in scope
762 | o.omeosq = 1.0 - o.eccsq
763 | o.rteosq = sqrt(o.omeosq)
764 | o.cosio = cos(inclo)
| `- error: cannot find 'cos' in scope
765 | o.cosio2 = o.cosio * o.cosio
766 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:767:14: error: cannot find 'pow' in scope
765 | o.cosio2 = o.cosio * o.cosio
766 |
767 | ak = pow(xke / no_kozai, x2o3)
| `- error: cannot find 'pow' in scope
768 | d1 = 0.75 * j2 * (3.0 * o.cosio2 - 1.0) / (o.rteosq * o.omeosq)
769 | del = d1 / (ak * ak)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:775:16: error: cannot find 'pow' in scope
773 | no_unkozai = no_kozai / (1.0 + del)
774 |
775 | o.ao = pow(xke / (no_unkozai), x2o3)
| `- error: cannot find 'pow' in scope
776 | o.sinio = sin(inclo)
777 | po = o.ao * o.omeosq
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:776:19: error: cannot find 'sin' in scope
774 |
775 | o.ao = pow(xke / (no_unkozai), x2o3)
776 | o.sinio = sin(inclo)
| `- error: cannot find 'sin' in scope
777 | po = o.ao * o.omeosq
778 | o.con42 = 1.0 - 5.0 * o.cosio2
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:846:13: error: cannot find 'pow' in scope
844 | let posq = i.posq, rp = i.rp, rteosq = i.rteosq, sinio = i.sinio
845 |
846 | a = pow(no_unkozai * tumin, (-2.0 / 3.0))
| `- error: cannot find 'pow' in scope
847 | alta = a * (1.0 + ecco) - 1.0
848 | altp = a * (1.0 - ecco) - 1.0
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:875:21: error: cannot find 'fabs' in scope
873 | etasq = eta * eta
874 | eeta = ecco * eta
875 | psisq = fabs(1.0 - etasq)
| `- error: cannot find 'fabs' in scope
876 | coef = qzms24 * pow(tsi, 4.0)
877 | coef1 = coef / pow(psisq, 3.5)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:876:29: error: cannot find 'pow' in scope
874 | eeta = ecco * eta
875 | psisq = fabs(1.0 - etasq)
876 | coef = qzms24 * pow(tsi, 4.0)
| `- error: cannot find 'pow' in scope
877 | coef1 = coef / pow(psisq, 3.5)
878 | cc2 = coef1 * no_unkozai * (ao * (1.0 + 1.5 * etasq + eeta *
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:877:28: error: cannot find 'pow' in scope
875 | psisq = fabs(1.0 - etasq)
876 | coef = qzms24 * pow(tsi, 4.0)
877 | coef1 = coef / pow(psisq, 3.5)
| `- error: cannot find 'pow' in scope
878 | cc2 = coef1 * no_unkozai * (ao * (1.0 + 1.5 * etasq + eeta *
879 | (4.0 + etasq)) + 0.375 * j2 * tsi / psisq * con41 *
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:892:56: error: cannot find 'cos' in scope
890 | (-3.0 * con41 * (1.0 - 2.0 * eeta + etasq *
891 | (1.5 - 0.5 * eeta)) + 0.75 * x1mth2 *
892 | (2.0 * etasq - eeta * (1.0 + etasq)) * cos(2.0 * argpo)))
| `- error: cannot find 'cos' in scope
893 | cc5 = 2.0 * coef1 * ao * omeosq * (1.0 + 2.75 *
894 | (etasq + eeta) + eeta * etasq)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:887:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
885 | }
886 | x1mth2 = 1.0 - cosio2
887 | cc4 = 2.0 * no_unkozai * coef1 * ao * omeosq *
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
888 | (eta * (2.0 + 0.5 * etasq) + ecco *
889 | (0.5 + 2.0 * etasq) - j2 * tsi / (ao * psisq) *
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:908:36: error: cannot find 'cos' in scope
906 | 2.0 * temp3 * (3.0 - 7.0 * cosio2)) * cosio
907 | xpidot = argpdot + nodedot
908 | omgcof = bstar * cc3 * cos(argpo)
| `- error: cannot find 'cos' in scope
909 | xmcof = 0.0
910 | if ecco > 1.0e-4 {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:915:16: error: cannot find 'fabs' in scope
913 | nodecf = 3.5 * omeosq * xhdot1 * cc1
914 | t2cof = 1.5 * cc1
915 | if fabs(cosio + 1.0) > 1.5e-12 {
| `- error: cannot find 'fabs' in scope
916 | xlcof = -0.25 * j3oj2 * sinio * (3.0 + 5.0 * cosio) / (1.0 + cosio)
917 | } else {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:921:37: error: cannot find 'cos' in scope
919 | }
920 | aycof = -0.5 * j3oj2 * sinio
921 | delmotemp = 1.0 + eta * cos(mo)
| `- error: cannot find 'cos' in scope
922 | delmo = delmotemp * delmotemp * delmotemp
923 | sinmao = sin(mo)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:923:22: error: cannot find 'sin' in scope
921 | delmotemp = 1.0 + eta * cos(mo)
922 | delmo = delmotemp * delmotemp * delmotemp
923 | sinmao = sin(mo)
| `- error: cannot find 'sin' in scope
924 | x7thm1 = 7.0 * cosio2 - 1.0
925 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1076:36: error: cannot find 'cos' in scope
1074 | if isimp != 1 {
1075 | delomg = omgcof * t
1076 | delmtemp = 1.0 + eta * cos(xmdf)
| `- error: cannot find 'cos' in scope
1077 | delm = xmcof *
1078 | (delmtemp * delmtemp * delmtemp -
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1087:44: error: cannot find 'sin' in scope
1085 | tempa = tempa - d2 * t2 - d3 * t3 -
1086 | d4 * t4
1087 | tempe = tempe + bstar * cc5 * (sin(mm) -
| `- error: cannot find 'sin' in scope
1088 | sinmao)
1089 | templ = templ + t3cof * t3 + t4 * (t4cof +
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1105:14: error: cannot find 'pow' in scope
1103 | return false
1104 | }
1105 | am = pow((xke / nm), x2o3) * tempa * tempa
| `- error: cannot find 'pow' in scope
1106 | nm = xke / pow(am, 1.5)
1107 | em = em - tempe
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1106:20: error: cannot find 'pow' in scope
1104 | }
1105 | am = pow((xke / nm), x2o3) * tempa * tempa
1106 | nm = xke / pow(am, 1.5)
| `- error: cannot find 'pow' in scope
1107 | em = em - tempe
1108 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1121:17: error: cannot find 'fmod' in scope
1119 | temp = 1.0 - emsq
1120 |
1121 | nodem = fmod(nodem, twopi)
| `- error: cannot find 'fmod' in scope
1122 | argpm = fmod(argpm, twopi)
1123 | xlm = fmod(xlm, twopi)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1122:17: error: cannot find 'fmod' in scope
1120 |
1121 | nodem = fmod(nodem, twopi)
1122 | argpm = fmod(argpm, twopi)
| `- error: cannot find 'fmod' in scope
1123 | xlm = fmod(xlm, twopi)
1124 | mm = fmod(xlm - argpm - nodem, twopi)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1123:15: error: cannot find 'fmod' in scope
1121 | nodem = fmod(nodem, twopi)
1122 | argpm = fmod(argpm, twopi)
1123 | xlm = fmod(xlm, twopi)
| `- error: cannot find 'fmod' in scope
1124 | mm = fmod(xlm - argpm - nodem, twopi)
1125 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1124:14: error: cannot find 'fmod' in scope
1122 | argpm = fmod(argpm, twopi)
1123 | xlm = fmod(xlm, twopi)
1124 | mm = fmod(xlm - argpm - nodem, twopi)
| `- error: cannot find 'fmod' in scope
1125 |
1126 | self.am = am
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1134:17: error: cannot find 'sin' in scope
1132 | self.nm = nm
1133 |
1134 | sinim = sin(inclm)
| `- error: cannot find 'sin' in scope
1135 | cosim = cos(inclm)
1136 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1135:17: error: cannot find 'cos' in scope
1133 |
1134 | sinim = sin(inclm)
1135 | cosim = cos(inclm)
| `- error: cannot find 'cos' in scope
1136 |
1137 | ep = em
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1158:21: error: cannot find 'sin' in scope
1156 |
1157 | if deepSpace {
1158 | sinip = sin(xincp)
| `- error: cannot find 'sin' in scope
1159 | cosip = cos(xincp)
1160 | aycof = -0.5 * j3oj2 * sinip
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1159:21: error: cannot find 'cos' in scope
1157 | if deepSpace {
1158 | sinip = sin(xincp)
1159 | cosip = cos(xincp)
| `- error: cannot find 'cos' in scope
1160 | aycof = -0.5 * j3oj2 * sinip
1161 | if fabs(cosip + 1.0) > 1.5e-12 {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1161:16: error: cannot find 'fabs' in scope
1159 | cosip = cos(xincp)
1160 | aycof = -0.5 * j3oj2 * sinip
1161 | if fabs(cosip + 1.0) > 1.5e-12 {
| `- error: cannot find 'fabs' in scope
1162 | xlcof = -0.25 * j3oj2 * sinip * (3.0 + 5.0 * cosip) / (1.0 + cosip)
1163 | } else {
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1167:21: error: cannot find 'cos' in scope
1165 | }
1166 | }
1167 | axnl = ep * cos(argpp)
| `- error: cannot find 'cos' in scope
1168 | temp = 1.0 / (am * (1.0 - ep * ep))
1169 | aynl = ep * sin(argpp) + temp * aycof
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1169:21: error: cannot find 'sin' in scope
1167 | axnl = ep * cos(argpp)
1168 | temp = 1.0 / (am * (1.0 - ep * ep))
1169 | aynl = ep * sin(argpp) + temp * aycof
| `- error: cannot find 'sin' in scope
1170 | xl = mp + argpp + nodep + temp * xlcof * axnl
1171 |
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1172:13: error: cannot find 'fmod' in scope
1170 | xl = mp + argpp + nodep + temp * xlcof * axnl
1171 |
1172 | u = fmod(xl - nodep, twopi)
| `- error: cannot find 'fmod' in scope
1173 | eo1 = u
1174 | tem5 = 9999.9
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1176:16: error: cannot find 'fabs' in scope
1174 | tem5 = 9999.9
1175 | ktr = 1
1176 | while (fabs(tem5) >= 1.0e-12) && (ktr <= 10) {
| `- error: cannot find 'fabs' in scope
1177 | sineo1 = sin(eo1)
1178 | coseo1 = cos(eo1)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1177:22: error: cannot find 'sin' in scope
1175 | ktr = 1
1176 | while (fabs(tem5) >= 1.0e-12) && (ktr <= 10) {
1177 | sineo1 = sin(eo1)
| `- error: cannot find 'sin' in scope
1178 | coseo1 = cos(eo1)
1179 | tem5 = 1.0 - coseo1 * axnl - sineo1 * aynl
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1178:22: error: cannot find 'cos' in scope
1176 | while (fabs(tem5) >= 1.0e-12) && (ktr <= 10) {
1177 | sineo1 = sin(eo1)
1178 | coseo1 = cos(eo1)
| `- error: cannot find 'cos' in scope
1179 | tem5 = 1.0 - coseo1 * axnl - sineo1 * aynl
1180 | tem5 = (u - aynl * coseo1 + axnl * sineo1 - eo1) / tem5
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1181:16: error: cannot find 'fabs' in scope
1179 | tem5 = 1.0 - coseo1 * axnl - sineo1 * aynl
1180 | tem5 = (u - aynl * coseo1 + axnl * sineo1 - eo1) / tem5
1181 | if fabs(tem5) >= 0.95 {
| `- error: cannot find 'fabs' in scope
1182 | tem5 = tem5 > 0.0 ? 0.95 : -0.95
1183 | }
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1197:21: error: cannot find 'sqrt' in scope
1195 | } else {
1196 | rl = am * (1.0 - ecose)
1197 | rdotl = sqrt(am) * esine / rl
| `- error: cannot find 'sqrt' in scope
1198 | rvdotl = sqrt(pl) / rl
1199 | betal = sqrt(1.0 - el2)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1198:22: error: cannot find 'sqrt' in scope
1196 | rl = am * (1.0 - ecose)
1197 | rdotl = sqrt(am) * esine / rl
1198 | rvdotl = sqrt(pl) / rl
| `- error: cannot find 'sqrt' in scope
1199 | betal = sqrt(1.0 - el2)
1200 | temp = esine / (1.0 + betal)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1199:21: error: cannot find 'sqrt' in scope
1197 | rdotl = sqrt(am) * esine / rl
1198 | rvdotl = sqrt(pl) / rl
1199 | betal = sqrt(1.0 - el2)
| `- error: cannot find 'sqrt' in scope
1200 | temp = esine / (1.0 + betal)
1201 | sinu = am / rl * (sineo1 - aynl - axnl * temp)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1203:18: error: cannot find 'atan2' in scope
1201 | sinu = am / rl * (sineo1 - aynl - axnl * temp)
1202 | cosu = am / rl * (coseo1 - axnl + aynl * temp)
1203 | su = atan2(sinu, cosu)
| `- error: cannot find 'atan2' in scope
1204 | sin2u = (cosu + cosu) * sinu
1205 | cos2u = 1.0 - 2.0 * sinu * sinu
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1225:21: error: cannot find 'sin' in scope
1223 | 1.5 * con41) / xke
1224 |
1225 | sinsu = sin(su)
| `- error: cannot find 'sin' in scope
1226 | cossu = cos(su)
1227 | snod = sin(xnode)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1226:21: error: cannot find 'cos' in scope
1224 |
1225 | sinsu = sin(su)
1226 | cossu = cos(su)
| `- error: cannot find 'cos' in scope
1227 | snod = sin(xnode)
1228 | cnod = cos(xnode)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1227:20: error: cannot find 'sin' in scope
1225 | sinsu = sin(su)
1226 | cossu = cos(su)
1227 | snod = sin(xnode)
| `- error: cannot find 'sin' in scope
1228 | cnod = cos(xnode)
1229 | sini = sin(xinc)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1228:20: error: cannot find 'cos' in scope
1226 | cossu = cos(su)
1227 | snod = sin(xnode)
1228 | cnod = cos(xnode)
| `- error: cannot find 'cos' in scope
1229 | sini = sin(xinc)
1230 | cosi = cos(xinc)
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1229:20: error: cannot find 'sin' in scope
1227 | snod = sin(xnode)
1228 | cnod = cos(xnode)
1229 | sini = sin(xinc)
| `- error: cannot find 'sin' in scope
1230 | cosi = cos(xinc)
1231 | xmx = -snod * cosi
/host/spi-builder-workspace/Sources/GPKit/SGP4Core.swift:1230:20: error: cannot find 'cos' in scope
1228 | cnod = cos(xnode)
1229 | sini = sin(xinc)
1230 | cosi = cos(xinc)
| `- error: cannot find 'cos' in scope
1231 | xmx = -snod * cosi
1232 | xmy = cnod * cosi
BUILD FAILURE 6.3 android