The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Geometry, reference 1.2.4 (dbe9f6), with Swift 6.3 for Android on 12 Apr 2026 21:07:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mrwerdo/geometry.git
Reference: 1.2.4
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/mrwerdo/geometry
 * tag               1.2.4      -> FETCH_HEAD
HEAD is now at dbe9f6f Merge pull request #1 from mdales/mwd-linux-fixes
Cloned https://github.com/mrwerdo/geometry.git
Revision (git rev-parse @):
dbe9f6ff77821beb29e746071d81feed084da540
SUCCESS checkout https://github.com/mrwerdo/geometry.git at 1.2.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/mrwerdo/geometry.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/jakeheis/SwiftCLI
[1/5074] Fetching swiftcli
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.77s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 4.3.2 (1.55s)
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 4.3.2
Building for debugging...
[0/8] Write sources
[3/8] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/34] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[6/37] Compiling SwiftCLI Output.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[7/37] Compiling SwiftCLI Parameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[8/37] Compiling SwiftCLI ParameterFiller.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/37] Emitting module Geometry
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:113:62: error: cannot find type 'CGVector' in scope
111 |     }
112 |
113 |     func vector(headingTo point: CGPoint, speed: CGFloat) -> CGVector {
    |                                                              `- error: cannot find type 'CGVector' in scope
114 |         let difference = point - self
115 |         let theta = atan2(difference.y, difference.x)
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:120:1: warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
118 | }
119 |
120 | extension CGPoint : VectorType {
    | |- warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
121 |     public static var components: [WritableKeyPath<CGPoint, CGFloat>] {
122 |         return [\.x, \.y]
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:137:15: error: cannot find type 'CGVector' in scope
135 |     }
136 |
137 |     init(_ v: CGVector) {
    |               `- error: cannot find type 'CGVector' in scope
138 |         self.init(x: v.dx, y: v.dy)
139 |     }
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:148:11: error: cannot find type 'CGVector' in scope
146 |
147 |
148 | extension CGVector : VectorType {
    |           `- error: cannot find type 'CGVector' in scope
149 |     public static var components: [WritableKeyPath<CGVector, CGFloat>] {
150 |         return [\.dx, \.dy]
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:154:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
152 | }
153 |
154 | extension CGSize : CountableArea {
    | |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
155 |     public init(square l: CGFloat) {
156 |         self.init(width: l, height: l)
/host/spi-builder-workspace/Sources/Geometry/Vector.swift:42:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Point2D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 40 |     }
 41 |
 42 |     var hashValue: Int {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Point2D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 43 |         return Self.components.description.hashValue // FIXME: This hash algorithm is inefficient.
 44 |     }
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:16:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Size2D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 14 |     }
 15 |
 16 |     var hashValue: Int {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Size2D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 17 |         return "\(width), \(height)".hashValue
 18 |     }
/host/spi-builder-workspace/Sources/Geometry/Geometry.swift:90:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Point3D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 88 |
 89 | extension Point3D : Hashable {
 90 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Point3D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 91 |         return x.hashValue ^ y.hashValue << 16 ^ z.hashValue << 32
 92 |     }
/host/spi-builder-workspace/Sources/Geometry/Geometry.swift:96:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Size3D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 94 |
 95 | extension Size3D : Hashable {
 96 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Size3D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 97 |         return width.hashValue ^ height.hashValue << 16 ^ breadth.hashValue << 32
 98 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/37] Compiling Geometry Coordinates.swift
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:113:62: error: cannot find type 'CGVector' in scope
111 |     }
112 |
113 |     func vector(headingTo point: CGPoint, speed: CGFloat) -> CGVector {
    |                                                              `- error: cannot find type 'CGVector' in scope
114 |         let difference = point - self
115 |         let theta = atan2(difference.y, difference.x)
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:120:1: warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
118 | }
119 |
120 | extension CGPoint : VectorType {
    | |- warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
121 |     public static var components: [WritableKeyPath<CGPoint, CGFloat>] {
122 |         return [\.x, \.y]
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:137:15: error: cannot find type 'CGVector' in scope
135 |     }
136 |
137 |     init(_ v: CGVector) {
    |               `- error: cannot find type 'CGVector' in scope
138 |         self.init(x: v.dx, y: v.dy)
139 |     }
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:148:11: error: cannot find type 'CGVector' in scope
146 |
147 |
148 | extension CGVector : VectorType {
    |           `- error: cannot find type 'CGVector' in scope
149 |     public static var components: [WritableKeyPath<CGVector, CGFloat>] {
150 |         return [\.dx, \.dy]
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:154:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
152 | }
153 |
154 | extension CGSize : CountableArea {
    | |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
155 |     public init(square l: CGFloat) {
156 |         self.init(width: l, height: l)
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:116:16: error: cannot find 'CGVector' in scope
114 |         let difference = point - self
115 |         let theta = atan2(difference.y, difference.x)
116 |         return CGVector(dx: speed * cos(theta), dy: speed * sin(theta))
    |                `- error: cannot find 'CGVector' in scope
117 |     }
118 | }
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:149:52: error: cannot find type 'CGVector' in scope
147 |
148 | extension CGVector : VectorType {
149 |     public static var components: [WritableKeyPath<CGVector, CGFloat>] {
    |                                                    `- error: cannot find type 'CGVector' in scope
150 |         return [\.dx, \.dy]
151 |     }
[11/37] Compiling SwiftCLI ArgumentList.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[12/37] Compiling SwiftCLI ArgumentListManipulator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[13/37] Compiling SwiftCLI CLI.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[14/37] Compiling SwiftCLI Task.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[15/37] Compiling SwiftCLI Term.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[16/37] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[17/37] Compiling SwiftCLI CompletionGenerator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[18/37] Compiling SwiftCLI Error.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[19/37] Compiling SwiftCLI HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[20/37] Compiling SwiftCLI OptionGroup.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[21/37] Compiling SwiftCLI OptionRecognizer.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[22/37] Compiling SwiftCLI OptionRegistry.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[23/37] Compiling SwiftCLI Command.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[24/37] Compiling SwiftCLI CommandSignature.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[25/37] Compiling SwiftCLI Compatibility.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[26/37] Compiling SwiftCLI HelpMessageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[27/37] Compiling SwiftCLI Input.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[28/37] Compiling SwiftCLI Option.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[29/37] Compiling SwiftCLI Path.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[30/37] Compiling SwiftCLI Router.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[31/37] Compiling SwiftCLI Stream.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[32/37] Compiling Geometry Geometry.swift
/host/spi-builder-workspace/Sources/Geometry/Vector.swift:42:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Point2D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 40 |     }
 41 |
 42 |     var hashValue: Int {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Point2D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 43 |         return Self.components.description.hashValue // FIXME: This hash algorithm is inefficient.
 44 |     }
/host/spi-builder-workspace/Sources/Geometry/Coordinates.swift:16:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Size2D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 14 |     }
 15 |
 16 |     var hashValue: Int {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Size2D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 17 |         return "\(width), \(height)".hashValue
 18 |     }
/host/spi-builder-workspace/Sources/Geometry/Geometry.swift:90:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Point3D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 88 |
 89 | extension Point3D : Hashable {
 90 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Point3D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 91 |         return x.hashValue ^ y.hashValue << 16 ^ z.hashValue << 32
 92 |     }
/host/spi-builder-workspace/Sources/Geometry/Geometry.swift:96:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Size3D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 94 |
 95 | extension Size3D : Hashable {
 96 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Size3D' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 97 |         return width.hashValue ^ height.hashValue << 16 ^ breadth.hashValue << 32
 98 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[33/37] Compiling Geometry Vector.swift
BUILD FAILURE 6.3 android