The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GPKit, reference main (1229da), with Swift 6.1 for Android on 17 Oct 2026 02:06:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

 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: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: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: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
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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: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: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: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: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: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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:639806e3270a7d76362a869fc7a464db4368085eea7ecdf63d02ce60a0298950
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/22] Emitting module GPKit
[3/24] Compiling GPKit Date.swift
[4/24] Compiling GPKit ElementSet.swift
[5/24] Compiling GPKit ElementSets.swift
[6/24] Compiling GPKit Passes.swift
[7/24] Compiling GPKit Propagator.swift
[8/24] Compiling GPKit JSON.swift
[9/24] Compiling GPKit KVN.swift
[10/24] 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: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: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: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: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: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
[11/24] 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: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: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: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: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: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
[12/24] Compiling GPKit OMM.swift
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:31:79: error: cannot find 'sin' in scope
 29 |     var earthFixed: Vector {
 30 |         let phi = latitude * Frames.radians, lambda = longitude * Frames.radians
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
    |                                                                               `- error: cannot find 'sin' in scope
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:31:90: error: cannot find 'sin' in scope
 29 |     var earthFixed: Vector {
 30 |         let phi = latitude * Frames.radians, lambda = longitude * Frames.radians
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
    |                                                                                          `- error: cannot find 'sin' in scope
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:33:36: error: cannot find 'cos' in scope
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
    |                                    `- error: cannot find 'cos' in scope
 34 |                       z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
 35 |     }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:33:47: error: cannot find 'cos' in scope
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
    |                                               `- error: cannot find 'cos' in scope
 34 |                       z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
 35 |     }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:33:73: error: cannot find 'cos' in scope
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
    |                                                                         `- error: cannot find 'cos' in scope
 34 |                       z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
 35 |     }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:33:84: error: cannot find 'sin' in scope
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
    |                                                                                    `- error: cannot find 'sin' in scope
 34 |                       z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
 35 |     }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:34:73: error: cannot find 'sin' in scope
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
 34 |                       z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
    |                                                                         `- error: cannot find 'sin' in scope
 35 |     }
 36 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:107:17: error: cannot find 'cos' in scope
105 |     static func earthFixed(_ state: StateVector, julianDate: Double) -> StateVector {
106 |         let theta = SGP4Core.gstime(julianDate)
107 |         let c = cos(theta), s = sin(theta)
    |                 `- error: cannot find 'cos' in scope
108 |         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)
109 |         let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:107:33: error: cannot find 'sin' in scope
105 |     static func earthFixed(_ state: StateVector, julianDate: Double) -> StateVector {
106 |         let theta = SGP4Core.gstime(julianDate)
107 |         let c = cos(theta), s = sin(theta)
    |                                 `- error: cannot find 'sin' in scope
108 |         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)
109 |         let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:121:19: error: cannot find 'atan2' in scope
119 |     static func geodetic(_ r: Vector) -> GeodeticPosition {
120 |         let p = (r.x * r.x + r.y * r.y).squareRoot()
121 |         var phi = atan2(r.z, p * (1.0 - eccentricitySquared))   // exact on the ellipsoid, and a start off it
    |                   `- error: cannot find 'atan2' in scope
122 |         for _ in 0..<12 {
123 |             let s = sin(phi)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:123:21: error: cannot find 'sin' in scope
121 |         var phi = atan2(r.z, p * (1.0 - eccentricitySquared))   // exact on the ellipsoid, and a start off it
122 |         for _ in 0..<12 {
123 |             let s = sin(phi)
    |                     `- error: cannot find 'sin' in scope
124 |             let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
125 |             let next = atan2(r.z + n * eccentricitySquared * s, p)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:125:24: error: cannot find 'atan2' in scope
123 |             let s = sin(phi)
124 |             let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
125 |             let next = atan2(r.z + n * eccentricitySquared * s, p)
    |                        `- error: cannot find 'atan2' in scope
126 |             let moved = abs(next - phi)
127 |             phi = next
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:126:25: error: global function 'abs' requires that 'Duration' conform to 'SignedNumeric'
124 |             let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
125 |             let next = atan2(r.z + n * eccentricitySquared * s, p)
126 |             let moved = abs(next - phi)
    |                         `- error: global function 'abs' requires that 'Duration' conform to 'SignedNumeric'
127 |             phi = next
128 |             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:130:17: error: cannot find 'sin' in scope
128 |             if moved < 1.0e-15 { break }
129 |         }
130 |         let s = sin(phi), c = cos(phi)
    |                 `- error: cannot find 'sin' in scope
131 |         let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
132 |         var longitude = atan2(r.y, r.x) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:130:31: error: cannot find 'cos' in scope
128 |             if moved < 1.0e-15 { break }
129 |         }
130 |         let s = sin(phi), c = cos(phi)
    |                               `- error: cannot find 'cos' in scope
131 |         let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
132 |         var longitude = atan2(r.y, r.x) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:132:25: error: cannot find 'atan2' in scope
130 |         let s = sin(phi), c = cos(phi)
131 |         let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
132 |         var longitude = atan2(r.y, r.x) * degrees
    |                         `- error: cannot find 'atan2' in scope
133 |         if longitude <= -180.0 { longitude += 360.0 }
134 |         return GeodeticPosition(latitude: phi * degrees, longitude: longitude, altitude: altitude)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:142:21: error: cannot find 'sin' in scope
140 |         let phi = observer.latitude * radians, lambda = observer.longitude * radians
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
    |                     `- error: cannot find 'sin' in scope
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:142:40: error: cannot find 'cos' in scope
140 |         let phi = observer.latitude * radians, lambda = observer.longitude * radians
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
    |                                        `- error: cannot find 'cos' in scope
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:22: error: cannot find 'sin' in scope
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
    |                      `- error: cannot find 'sin' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:33: error: cannot find 'cos' in scope
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
    |                                 `- error: cannot find 'cos' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:52: error: cannot find 'sin' in scope
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
    |                                                    `- error: cannot find 'sin' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:63: error: cannot find 'sin' in scope
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
    |                                                               `- error: cannot find 'sin' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:82: error: cannot find 'cos' in scope
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
    |                                                                                  `- error: cannot find 'cos' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:144:18: error: cannot find 'cos' in scope
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
    |                  `- error: cannot find 'cos' in scope
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:144:29: error: cannot find 'cos' in scope
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
    |                             `- error: cannot find 'cos' in scope
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:144:48: error: cannot find 'cos' in scope
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
    |                                                `- error: cannot find 'cos' in scope
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:144:59: error: cannot find 'sin' in scope
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
    |                                                           `- error: cannot find 'sin' in scope
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:144:78: error: cannot find 'sin' in scope
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
    |                                                                              `- error: cannot find 'sin' in scope
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:146:23: error: cannot find 'atan2' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
    |                       `- error: cannot find 'atan2' in scope
147 |         if azimuth < 0 { azimuth += 360.0 }
148 |         // 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:152:25: error: cannot find 'atan2' in scope
150 |         // by the arc tangent, which is good to the last digits straight overhead, where an arc sine of up over
151 |         // range is not, and where rounding can put that ratio above one
152 |         let elevation = atan2(up, (east * east + north * north).squareRoot()) * degrees
    |                         `- error: cannot find 'atan2' in scope
153 |         return Look(azimuth: azimuth, elevation: elevation, range: range, rangeRate: rate)
154 |     }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:152:65: error: value of type 'Duration' has no member 'squareRoot'
150 |         // by the arc tangent, which is good to the last digits straight overhead, where an arc sine of up over
151 |         // range is not, and where rounding can put that ratio above one
152 |         let elevation = atan2(up, (east * east + north * north).squareRoot()) * degrees
    |                                                                 `- error: value of type 'Duration' has no member 'squareRoot'
153 |         return Look(azimuth: azimuth, elevation: elevation, range: range, rangeRate: rate)
154 |     }
[13/24] Compiling GPKit Observer.swift
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:31:79: error: cannot find 'sin' in scope
 29 |     var earthFixed: Vector {
 30 |         let phi = latitude * Frames.radians, lambda = longitude * Frames.radians
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
    |                                                                               `- error: cannot find 'sin' in scope
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:31:90: error: cannot find 'sin' in scope
 29 |     var earthFixed: Vector {
 30 |         let phi = latitude * Frames.radians, lambda = longitude * Frames.radians
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
    |                                                                                          `- error: cannot find 'sin' in scope
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:33:36: error: cannot find 'cos' in scope
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
    |                                    `- error: cannot find 'cos' in scope
 34 |                       z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
 35 |     }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:33:47: error: cannot find 'cos' in scope
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
    |                                               `- error: cannot find 'cos' in scope
 34 |                       z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
 35 |     }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:33:73: error: cannot find 'cos' in scope
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
    |                                                                         `- error: cannot find 'cos' in scope
 34 |                       z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
 35 |     }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:33:84: error: cannot find 'sin' in scope
 31 |         let n = Frames.equatorialRadius / (1.0 - Frames.eccentricitySquared * sin(phi) * sin(phi)).squareRoot()
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
    |                                                                                    `- error: cannot find 'sin' in scope
 34 |                       z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
 35 |     }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:34:73: error: cannot find 'sin' in scope
 32 |         let h = height / 1000.0
 33 |         return Vector(x: (n + h) * cos(phi) * cos(lambda), y: (n + h) * cos(phi) * sin(lambda),
 34 |                       z: (n * (1.0 - Frames.eccentricitySquared) + h) * sin(phi))
    |                                                                         `- error: cannot find 'sin' in scope
 35 |     }
 36 | }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:107:17: error: cannot find 'cos' in scope
105 |     static func earthFixed(_ state: StateVector, julianDate: Double) -> StateVector {
106 |         let theta = SGP4Core.gstime(julianDate)
107 |         let c = cos(theta), s = sin(theta)
    |                 `- error: cannot find 'cos' in scope
108 |         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)
109 |         let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:107:33: error: cannot find 'sin' in scope
105 |     static func earthFixed(_ state: StateVector, julianDate: Double) -> StateVector {
106 |         let theta = SGP4Core.gstime(julianDate)
107 |         let c = cos(theta), s = sin(theta)
    |                                 `- error: cannot find 'sin' in scope
108 |         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)
109 |         let v = Vector(x: c * state.velocity.x + s * state.velocity.y + rotationRate * r.y,
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:121:19: error: cannot find 'atan2' in scope
119 |     static func geodetic(_ r: Vector) -> GeodeticPosition {
120 |         let p = (r.x * r.x + r.y * r.y).squareRoot()
121 |         var phi = atan2(r.z, p * (1.0 - eccentricitySquared))   // exact on the ellipsoid, and a start off it
    |                   `- error: cannot find 'atan2' in scope
122 |         for _ in 0..<12 {
123 |             let s = sin(phi)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:123:21: error: cannot find 'sin' in scope
121 |         var phi = atan2(r.z, p * (1.0 - eccentricitySquared))   // exact on the ellipsoid, and a start off it
122 |         for _ in 0..<12 {
123 |             let s = sin(phi)
    |                     `- error: cannot find 'sin' in scope
124 |             let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
125 |             let next = atan2(r.z + n * eccentricitySquared * s, p)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:125:24: error: cannot find 'atan2' in scope
123 |             let s = sin(phi)
124 |             let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
125 |             let next = atan2(r.z + n * eccentricitySquared * s, p)
    |                        `- error: cannot find 'atan2' in scope
126 |             let moved = abs(next - phi)
127 |             phi = next
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:126:25: error: global function 'abs' requires that 'Duration' conform to 'SignedNumeric'
124 |             let n = equatorialRadius / (1.0 - eccentricitySquared * s * s).squareRoot()
125 |             let next = atan2(r.z + n * eccentricitySquared * s, p)
126 |             let moved = abs(next - phi)
    |                         `- error: global function 'abs' requires that 'Duration' conform to 'SignedNumeric'
127 |             phi = next
128 |             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:130:17: error: cannot find 'sin' in scope
128 |             if moved < 1.0e-15 { break }
129 |         }
130 |         let s = sin(phi), c = cos(phi)
    |                 `- error: cannot find 'sin' in scope
131 |         let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
132 |         var longitude = atan2(r.y, r.x) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:130:31: error: cannot find 'cos' in scope
128 |             if moved < 1.0e-15 { break }
129 |         }
130 |         let s = sin(phi), c = cos(phi)
    |                               `- error: cannot find 'cos' in scope
131 |         let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
132 |         var longitude = atan2(r.y, r.x) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:132:25: error: cannot find 'atan2' in scope
130 |         let s = sin(phi), c = cos(phi)
131 |         let altitude = p * c + r.z * s - equatorialRadius * (1.0 - eccentricitySquared * s * s).squareRoot()
132 |         var longitude = atan2(r.y, r.x) * degrees
    |                         `- error: cannot find 'atan2' in scope
133 |         if longitude <= -180.0 { longitude += 360.0 }
134 |         return GeodeticPosition(latitude: phi * degrees, longitude: longitude, altitude: altitude)
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:142:21: error: cannot find 'sin' in scope
140 |         let phi = observer.latitude * radians, lambda = observer.longitude * radians
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
    |                     `- error: cannot find 'sin' in scope
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:142:40: error: cannot find 'cos' in scope
140 |         let phi = observer.latitude * radians, lambda = observer.longitude * radians
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
    |                                        `- error: cannot find 'cos' in scope
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:22: error: cannot find 'sin' in scope
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
    |                      `- error: cannot find 'sin' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:33: error: cannot find 'cos' in scope
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
    |                                 `- error: cannot find 'cos' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:52: error: cannot find 'sin' in scope
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
    |                                                    `- error: cannot find 'sin' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:63: error: cannot find 'sin' in scope
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
    |                                                               `- error: cannot find 'sin' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:143:82: error: cannot find 'cos' in scope
141 |         let dx = satellite.position.x - site.x, dy = satellite.position.y - site.y, dz = satellite.position.z - site.z
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
    |                                                                                  `- error: cannot find 'cos' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:144:18: error: cannot find 'cos' in scope
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
    |                  `- error: cannot find 'cos' in scope
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:144:29: error: cannot find 'cos' in scope
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
    |                             `- error: cannot find 'cos' in scope
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:144:48: error: cannot find 'cos' in scope
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
    |                                                `- error: cannot find 'cos' in scope
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:144:59: error: cannot find 'sin' in scope
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
    |                                                           `- error: cannot find 'sin' in scope
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:144:78: error: cannot find 'sin' in scope
142 |         let east = -sin(lambda) * dx + cos(lambda) * dy
143 |         let north = -sin(phi) * cos(lambda) * dx - sin(phi) * sin(lambda) * dy + cos(phi) * dz
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
    |                                                                              `- error: cannot find 'sin' in scope
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:146:23: error: cannot find 'atan2' in scope
144 |         let up = cos(phi) * cos(lambda) * dx + cos(phi) * sin(lambda) * dy + sin(phi) * dz
145 |         let range = (dx * dx + dy * dy + dz * dz).squareRoot()
146 |         var azimuth = atan2(east, north) * degrees
    |                       `- error: cannot find 'atan2' in scope
147 |         if azimuth < 0 { azimuth += 360.0 }
148 |         // 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:152:25: error: cannot find 'atan2' in scope
150 |         // by the arc tangent, which is good to the last digits straight overhead, where an arc sine of up over
151 |         // range is not, and where rounding can put that ratio above one
152 |         let elevation = atan2(up, (east * east + north * north).squareRoot()) * degrees
    |                         `- error: cannot find 'atan2' in scope
153 |         return Look(azimuth: azimuth, elevation: elevation, range: range, rangeRate: rate)
154 |     }
/host/spi-builder-workspace/Sources/GPKit/Observer.swift:152:65: error: value of type 'Duration' has no member 'squareRoot'
150 |         // by the arc tangent, which is good to the last digits straight overhead, where an arc sine of up over
151 |         // range is not, and where rounding can put that ratio above one
152 |         let elevation = atan2(up, (east * east + north * north).squareRoot()) * degrees
    |                                                                 `- error: value of type 'Duration' has no member 'squareRoot'
153 |         return Look(azimuth: azimuth, elevation: elevation, range: range, rangeRate: rate)
154 |     }
[14/24] Compiling GPKit Alpha5.swift
[15/24] Compiling GPKit Bytes.swift
[16/24] Compiling GPKit CSV.swift
[17/24] Compiling GPKit Epoch.swift
[18/24] Compiling GPKit ExactDecimal.swift
[19/24] Compiling GPKit TLE.swift
[20/24] Compiling GPKit XML.swift
BUILD FAILURE 6.1 android