The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Swiftish, reference master (d8680c), with Swift 6.4 for Android on 16 Sep 2026 15:03:11 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkolb/swiftish.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/jkolb/swiftish
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d8680cb Conversion between different types of IntVectors. Common aliases for x, y, z, w. Default conformance to Hashable.
Cloned https://github.com/jkolb/swiftish.git
Revision (git rev-parse @):
d8680cba1e30bbfd212844cae3a2081cc00e16a7
SUCCESS checkout https://github.com/jkolb/swiftish.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/jkolb/swiftish.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Pre-planning 1 / 66]
[Planning deferred tasks]
[19 / 27] Swiftish
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Swiftish/Bounds3.swift:206:34: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 23 |  */
 24 |
 25 | public struct Bounds3<T: Vectorable> : Hashable {
    |                       `- note: 'T' previously declared here
 26 |     public var center: Vector3<T>
 27 |     public var extents: Vector3<T>
    :
204 |     }
205 |
206 |     public static func distance2<T>(_ point: Vector3<T>, _ bounds: Bounds3<T>) -> T {
    |                                  `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
207 |         var distanceSquared: T = 0
208 |         let minimum = bounds.minimum
/host/spi-builder-workspace/Sources/Swiftish/Quaternion.swift:308:34: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 23 |  */
 24 |
 25 | public struct Quaternion<T: Vectorable> : Hashable, CustomStringConvertible {
    |                          `- note: 'T' previously declared here
 26 |     public var w: T
 27 |     public var xyz: Vector3<T>
    :
306 |     // MARK: Conjugate
307 |
308 |     public static func conjugate<T>(_ q: Quaternion<T>) -> Quaternion<T> {
    |                                  `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
309 |         return Quaternion<T>(q.w, -q.xyz)
310 |     }
/host/spi-builder-workspace/Sources/Swiftish/Quaternion.swift:314:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 23 |  */
 24 |
 25 | public struct Quaternion<T: Vectorable> : Hashable, CustomStringConvertible {
    |                          `- note: 'T' previously declared here
 26 |     public var w: T
 27 |     public var xyz: Vector3<T>
    :
312 |     // MARK: Geometric
313 |
314 |     public static func dot<T>(_ a: Quaternion<T>, _ b: Quaternion<T>) -> T {
    |                            `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
315 |         return a.w * b.w + Vector3<T>.dot(a.xyz, b.xyz)
316 |     }
/host/spi-builder-workspace/Sources/Swiftish/Quaternion.swift:318:32: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 23 |  */
 24 |
 25 | public struct Quaternion<T: Vectorable> : Hashable, CustomStringConvertible {
    |                          `- note: 'T' previously declared here
 26 |     public var w: T
 27 |     public var xyz: Vector3<T>
    :
316 |     }
317 |
318 |     public static func length2<T>(_ q: Quaternion<T>) -> T {
    |                                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
319 |         return q.w * q.w + Vector3<T>.sum(q.xyz * q.xyz)
320 |     }
/host/spi-builder-workspace/Sources/Swiftish/Quaternion.swift:322:31: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 23 |  */
 24 |
 25 | public struct Quaternion<T: Vectorable> : Hashable, CustomStringConvertible {
    |                          `- note: 'T' previously declared here
 26 |     public var w: T
 27 |     public var xyz: Vector3<T>
    :
320 |     }
321 |
322 |     public static func length<T>(_ q: Quaternion<T>) -> T {
    |                               `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
323 |         return length2(q).squareRoot()
324 |     }
/host/spi-builder-workspace/Sources/Swiftish/Quaternion.swift:326:34: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 23 |  */
 24 |
 25 | public struct Quaternion<T: Vectorable> : Hashable, CustomStringConvertible {
    |                          `- note: 'T' previously declared here
 26 |     public var w: T
 27 |     public var xyz: Vector3<T>
    :
324 |     }
325 |
326 |     public static func normalize<T>(_ q: Quaternion<T>) -> Quaternion<T> {
    |                                  `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 |         return q * (1 / length(q))
328 |     }
/host/spi-builder-workspace/Sources/Swiftish/Quaternion.swift:332:32: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 23 |  */
 24 |
 25 | public struct Quaternion<T: Vectorable> : Hashable, CustomStringConvertible {
    |                          `- note: 'T' previously declared here
 26 |     public var w: T
 27 |     public var xyz: Vector3<T>
    :
330 |     // MARK: - Inverse
331 |
332 |     public static func inverse<T>(_ q: Quaternion<T>) -> Quaternion<T> {
    |                                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
333 |         return Quaternion<T>.conjugate(q) / dot(q, q)
334 |     }
/host/spi-builder-workspace/Sources/Swiftish/Ray3.swift:38:33: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 23 |  */
 24 |
 25 | public struct Ray3<T: Vectorable> : Hashable, CustomStringConvertible {
    |                    `- note: 'T' previously declared here
 26 |     public var origin: Vector3<T>
 27 |     public var direction: Vector3<T>
    :
 36 |     }
 37 |
 38 |     public static func distance<T>(_ r: Ray3<T>, _ t: Triangle3<T>) -> T {
    |                                 `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 39 |         let n = t.normal
 40 |         let qp = -r.direction
/host/spi-builder-workspace/Sources/Swiftish/Sphere.swift:56:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 |  */
24 |
25 | public struct Sphere<T: Vectorable> : Hashable, CustomStringConvertible {
   |                      `- note: 'T' previously declared here
26 |     public let center: Vector3<T>
27 |     public let radius: T
   :
54 |     }
55 |
56 |     public static func union<T>(_ a: Sphere<T>, _ b: Sphere<T>) -> Sphere<T> {
   |                              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
57 |         let midpoint = (a.center + b.center) / 2
58 |         let largestRadius = Vector3<T>.distance(midpoint, a.center) + max(a.radius, b.radius)
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:60:16: error: cannot find 'Darwin' in scope
 58 |         return Glibc.cosf(radians)
 59 |         #else
 60 |         return Darwin.cosf(radians)
    |                `- error: cannot find 'Darwin' in scope
 61 |         #endif
 62 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:69:16: error: cannot find 'Darwin' in scope
 67 |         return Glibc.sinf(radians)
 68 |         #else
 69 |         return Darwin.sinf(radians)
    |                `- error: cannot find 'Darwin' in scope
 70 |         #endif
 71 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:78:16: error: cannot find 'Darwin' in scope
 76 |         return Glibc.tanf(radians)
 77 |         #else
 78 |         return Darwin.tanf(radians)
    |                `- error: cannot find 'Darwin' in scope
 79 |         #endif
 80 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:87:16: error: cannot find 'Darwin' in scope
 85 |         return Glibc.acosf(radians)
 86 |         #else
 87 |         return Darwin.acosf(radians)
    |                `- error: cannot find 'Darwin' in scope
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:96:16: error: cannot find 'Darwin' in scope
 94 |         return Glibc.asinf(radians)
 95 |         #else
 96 |         return Darwin.asinf(radians)
    |                `- error: cannot find 'Darwin' in scope
 97 |         #endif
 98 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:105:16: error: cannot find 'Darwin' in scope
103 |         return Glibc.atanf(radians)
104 |         #else
105 |         return Darwin.atanf(radians)
    |                `- error: cannot find 'Darwin' in scope
106 |         #endif
107 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:114:16: error: cannot find 'Darwin' in scope
112 |         return Glibc.atan2(yRadians, xRadians)
113 |         #else
114 |         return Darwin.atan2(yRadians, xRadians)
    |                `- error: cannot find 'Darwin' in scope
115 |         #endif
116 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:133:16: error: cannot find 'Darwin' in scope
131 |         return Glibc.cos(radians)
132 |         #else
133 |         return Darwin.cos(radians)
    |                `- error: cannot find 'Darwin' in scope
134 |         #endif
135 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:142:16: error: cannot find 'Darwin' in scope
140 |         return Glibc.sin(radians)
141 |         #else
142 |         return Darwin.sin(radians)
    |                `- error: cannot find 'Darwin' in scope
143 |         #endif
144 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:151:16: error: cannot find 'Darwin' in scope
149 |         return Glibc.tan(radians)
150 |         #else
151 |         return Darwin.tan(radians)
    |                `- error: cannot find 'Darwin' in scope
152 |         #endif
153 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:160:16: error: cannot find 'Darwin' in scope
158 |         return Glibc.acos(radians)
159 |         #else
160 |         return Darwin.acos(radians)
    |                `- error: cannot find 'Darwin' in scope
161 |         #endif
162 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:169:16: error: cannot find 'Darwin' in scope
167 |         return Glibc.asin(radians)
168 |         #else
169 |         return Darwin.asin(radians)
    |                `- error: cannot find 'Darwin' in scope
170 |         #endif
171 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:178:16: error: cannot find 'Darwin' in scope
176 |         return Glibc.atan(radians)
177 |         #else
178 |         return Darwin.atan(radians)
    |                `- error: cannot find 'Darwin' in scope
179 |         #endif
180 |     }
/host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift:187:16: error: cannot find 'Darwin' in scope
185 |         return Glibc.atan2(yRadians, xRadians)
186 |         #else
187 |         return Darwin.atan2(yRadians, xRadians)
    |                `- error: cannot find 'Darwin' in scope
188 |         #endif
189 |     }
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Swiftish/Bounds2.swift /host/spi-builder-workspace/Sources/Swiftish/Bounds3.swift /host/spi-builder-workspace/Sources/Swiftish/Circle.swift /host/spi-builder-workspace/Sources/Swiftish/Frustum.swift /host/spi-builder-workspace/Sources/Swiftish/IntVector2.swift /host/spi-builder-workspace/Sources/Swiftish/IntVector3.swift /host/spi-builder-workspace/Sources/Swiftish/IntVector4.swift /host/spi-builder-workspace/Sources/Swiftish/Matrix2x2.swift /host/spi-builder-workspace/Sources/Swiftish/Matrix3x3.swift /host/spi-builder-workspace/Sources/Swiftish/Matrix4x4.swift /host/spi-builder-workspace/Sources/Swiftish/PerspectiveProjection.swift /host/spi-builder-workspace/Sources/Swiftish/Plane.swift /host/spi-builder-workspace/Sources/Swiftish/Quaternion.swift /host/spi-builder-workspace/Sources/Swiftish/Ray3.swift /host/spi-builder-workspace/Sources/Swiftish/Sphere.swift /host/spi-builder-workspace/Sources/Swiftish/Transform3.swift /host/spi-builder-workspace/Sources/Swiftish/Triangle2.swift /host/spi-builder-workspace/Sources/Swiftish/Triangle3.swift /host/spi-builder-workspace/Sources/Swiftish/Trigonometry.swift /host/spi-builder-workspace/Sources/Swiftish/Vector2.swift /host/spi-builder-workspace/Sources/Swiftish/Vector3.swift /host/spi-builder-workspace/Sources/Swiftish/Vector4.swift /host/spi-builder-workspace/Sources/Swiftish/Vectorable.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Swiftish.build/Debug-android-aarch64/Swiftish-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Swiftish.build/Debug-android-aarch64/Swiftish-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Swiftish.build/Debug-android-aarch64/Swiftish-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Swiftish -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swiftish.build/Debug-android-aarch64/Swiftish-t.build/Objects-normal/aarch64/Swiftish_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swiftish.build/Debug-android-aarch64/Swiftish-t.build/Objects-normal/aarch64/Modules/Swiftish.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swiftish.build/Debug-android-aarch64/Swiftish-t.build/Objects-normal/aarch64/Modules/Swiftish.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swiftish.build/Debug-android-aarch64/Swiftish-t.build/Objects-normal/aarch64/Swiftish-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swiftish.build/Debug-android-aarch64/Swiftish-t.build/Objects-normal/aarch64/Swiftish-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swiftish.build/Debug-android-aarch64/Swiftish-t.build/Objects-normal/aarch64/Swiftish-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swiftish.build/Debug-android-aarch64/Swiftish-t.build/Objects-normal/aarch64/Modules/Swiftish.swiftmodule
[28 / 36] Swiftish
error: Build failed
BUILD FAILURE 6.4 android