Build Information
Failed to build SwiftyVector, reference 0.4.0-alpha (db9fdf
), with Swift 6.1 for Android on 27 May 2025 09:37:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/koher/swiftyvector.git
Reference: 0.4.0-alpha
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/koher/swiftyvector
* tag 0.4.0-alpha -> FETCH_HEAD
HEAD is now at db9fdf8 Update README.md
Cloned https://github.com/koher/swiftyvector.git
Revision (git rev-parse @):
db9fdf8b2c66b34f6b10b11fe07ea64d90e70e27
SUCCESS checkout https://github.com/koher/swiftyvector.git at 0.4.0-alpha
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/koher/swiftyvector.git
https://github.com/koher/swiftyvector.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftyVector",
"name" : "SwiftyVector",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyVector",
"targets" : [
"SwiftyVector"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftyVectorTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyVectorTests",
"path" : "Tests/SwiftyVectorTests",
"sources" : [
"ConcreteTests.swift",
"SwiftyVectorTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"SwiftyVector"
],
"type" : "test"
},
{
"c99name" : "SwiftyVector",
"module_type" : "SwiftTarget",
"name" : "SwiftyVector",
"path" : "Sources/SwiftyVector",
"product_memberships" : [
"SwiftyVector"
],
"sources" : [
"Concrete.swift",
"CoreGraphics.swift",
"Vector.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling SwiftyVector CoreGraphics.swift
[4/6] Emitting module SwiftyVector
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:118:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2f' may have shared mutable state; this is an error in the Swift 6 language mode
62 | #else
63 |
64 | public struct Vector2f: Vector {
| `- note: consider making struct 'Vector2f' conform to the 'Sendable' protocol
65 | public var x: Float
66 | public var y: Float
:
116 | }
117 |
118 | public static let zero: Vector2f = Vector2f(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2f' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | x: 0,
120 | y: 0
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:256:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
200 | #else
201 |
202 | public struct Vector2: Vector {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
203 | public var x: Double
204 | public var y: Double
:
254 | }
255 |
256 | public static let zero: Vector2 = Vector2(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
257 | x: 0,
258 | y: 0
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:418:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3f' may have shared mutable state; this is an error in the Swift 6 language mode
345 | #else
346 |
347 | public struct Vector3f: Vector {
| `- note: consider making struct 'Vector3f' conform to the 'Sendable' protocol
348 | public var x: Float
349 | public var y: Float
:
416 | }
417 |
418 | public static let zero: Vector3f = Vector3f(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3f' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 | x: 0,
420 | y: 0,
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:582:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
509 | #else
510 |
511 | public struct Vector3: Vector {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
512 | public var x: Double
513 | public var y: Double
:
580 | }
581 |
582 | public static let zero: Vector3 = Vector3(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
583 | x: 0,
584 | y: 0,
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:754:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4f' may have shared mutable state; this is an error in the Swift 6 language mode
680 | #else
681 |
682 | public struct Vector4f: Vector {
| `- note: consider making struct 'Vector4f' conform to the 'Sendable' protocol
683 | public var x: Float
684 | public var y: Float
:
752 | }
753 |
754 | public static let zero: Vector4f = Vector4f(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4f' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
755 | x: 0,
756 | y: 0,
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:928:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
854 | #else
855 |
856 | public struct Vector4: Vector {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
857 | public var x: Double
858 | public var y: Double
:
926 | }
927 |
928 | public static let zero: Vector4 = Vector4(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
929 | x: 0,
930 | y: 0,
[5/6] Compiling SwiftyVector Concrete.swift
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:118:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2f' may have shared mutable state; this is an error in the Swift 6 language mode
62 | #else
63 |
64 | public struct Vector2f: Vector {
| `- note: consider making struct 'Vector2f' conform to the 'Sendable' protocol
65 | public var x: Float
66 | public var y: Float
:
116 | }
117 |
118 | public static let zero: Vector2f = Vector2f(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2f' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | x: 0,
120 | y: 0
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:256:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
200 | #else
201 |
202 | public struct Vector2: Vector {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
203 | public var x: Double
204 | public var y: Double
:
254 | }
255 |
256 | public static let zero: Vector2 = Vector2(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
257 | x: 0,
258 | y: 0
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:418:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3f' may have shared mutable state; this is an error in the Swift 6 language mode
345 | #else
346 |
347 | public struct Vector3f: Vector {
| `- note: consider making struct 'Vector3f' conform to the 'Sendable' protocol
348 | public var x: Float
349 | public var y: Float
:
416 | }
417 |
418 | public static let zero: Vector3f = Vector3f(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3f' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 | x: 0,
420 | y: 0,
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:582:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
509 | #else
510 |
511 | public struct Vector3: Vector {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
512 | public var x: Double
513 | public var y: Double
:
580 | }
581 |
582 | public static let zero: Vector3 = Vector3(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
583 | x: 0,
584 | y: 0,
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:754:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4f' may have shared mutable state; this is an error in the Swift 6 language mode
680 | #else
681 |
682 | public struct Vector4f: Vector {
| `- note: consider making struct 'Vector4f' conform to the 'Sendable' protocol
683 | public var x: Float
684 | public var y: Float
:
752 | }
753 |
754 | public static let zero: Vector4f = Vector4f(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4f' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
755 | x: 0,
756 | y: 0,
/host/spi-builder-workspace/Sources/SwiftyVector/Concrete.swift:928:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
854 | #else
855 |
856 | public struct Vector4: Vector {
| `- note: consider making struct 'Vector4' conform to the 'Sendable' protocol
857 | public var x: Double
858 | public var y: Double
:
926 | }
927 |
928 | public static let zero: Vector4 = Vector4(
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
929 | x: 0,
930 | y: 0,
[6/6] Compiling SwiftyVector Vector.swift
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:69:16: error: cannot convert return expression of type 'Double' to return type 'Self.Scalar'
67 |
68 | public var length: Scalar {
69 | return sqrt(squareLength)
| `- error: cannot convert return expression of type 'Double' to return type 'Self.Scalar'
70 | }
71 |
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:69:21: error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
67 |
68 | public var length: Scalar {
69 | return sqrt(squareLength)
| `- error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
70 | }
71 |
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:77:16: error: cannot convert return expression of type 'Double' to return type 'Self.Scalar'
75 |
76 | public func distance(from vector: Self) -> Scalar {
77 | return sqrt(squareDistance(from: vector))
| `- error: cannot convert return expression of type 'Double' to return type 'Self.Scalar'
78 | }
79 |
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:77:21: error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
75 |
76 | public func distance(from vector: Self) -> Scalar {
77 | return sqrt(squareDistance(from: vector))
| `- error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
78 | }
79 |
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:85:25: error: cannot convert value of type 'Double' to expected argument type 'Self.Scalar'
83 |
84 | public func cos(from v: Self) -> Scalar {
85 | return dot(v) / sqrt(squareLength * v.squareLength)
| `- error: cannot convert value of type 'Double' to expected argument type 'Self.Scalar'
86 | }
87 | }
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:85:43: error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
83 |
84 | public func cos(from v: Self) -> Scalar {
85 | return dot(v) / sqrt(squareLength * v.squareLength)
| `- error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
86 | }
87 | }
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:97:20: error: no exact matches in call to global function 'acos'
95 | return 0
96 | } else {
97 | return acos(cosValue)
| `- error: no exact matches in call to global function 'acos'
98 | }
99 | }
Foundation.acos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:76:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
74 | : __builtin_signbitl(x))
75 |
76 | double acos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
77 | float acosf(float __x);
78 | long double acosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:97:20: error: no 'acos' candidates produce the expected contextual result type 'Float'
95 | return 0
96 | } else {
97 | return acos(cosValue)
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
98 | }
99 | }
Foundation.acos:1:13: note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func acos(_ x: CGFloat) -> CGFloat
| `- note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:76:8: note: 'acos' produces 'Double', not the expected contextual result type 'Float'
74 | : __builtin_signbitl(x))
75 |
76 | double acos(double __x);
| `- note: 'acos' produces 'Double', not the expected contextual result type 'Float'
77 | float acosf(float __x);
78 | long double acosl(long double __x);
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling SwiftyVector Vector.swift
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:69:16: error: cannot convert return expression of type 'Double' to return type 'Self.Scalar'
67 |
68 | public var length: Scalar {
69 | return sqrt(squareLength)
| `- error: cannot convert return expression of type 'Double' to return type 'Self.Scalar'
70 | }
71 |
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:69:21: error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
67 |
68 | public var length: Scalar {
69 | return sqrt(squareLength)
| `- error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
70 | }
71 |
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:77:16: error: cannot convert return expression of type 'Double' to return type 'Self.Scalar'
75 |
76 | public func distance(from vector: Self) -> Scalar {
77 | return sqrt(squareDistance(from: vector))
| `- error: cannot convert return expression of type 'Double' to return type 'Self.Scalar'
78 | }
79 |
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:77:21: error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
75 |
76 | public func distance(from vector: Self) -> Scalar {
77 | return sqrt(squareDistance(from: vector))
| `- error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
78 | }
79 |
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:85:25: error: cannot convert value of type 'Double' to expected argument type 'Self.Scalar'
83 |
84 | public func cos(from v: Self) -> Scalar {
85 | return dot(v) / sqrt(squareLength * v.squareLength)
| `- error: cannot convert value of type 'Double' to expected argument type 'Self.Scalar'
86 | }
87 | }
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:85:43: error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
83 |
84 | public func cos(from v: Self) -> Scalar {
85 | return dot(v) / sqrt(squareLength * v.squareLength)
| `- error: cannot convert value of type 'Self.Scalar' to expected argument type 'Double'
86 | }
87 | }
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:97:20: error: no exact matches in call to global function 'acos'
95 | return 0
96 | } else {
97 | return acos(cosValue)
| `- error: no exact matches in call to global function 'acos'
98 | }
99 | }
Foundation.acos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:76:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
74 | : __builtin_signbitl(x))
75 |
76 | double acos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
77 | float acosf(float __x);
78 | long double acosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyVector/Vector.swift:97:20: error: no 'acos' candidates produce the expected contextual result type 'Float'
95 | return 0
96 | } else {
97 | return acos(cosValue)
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
98 | }
99 | }
Foundation.acos:1:13: note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func acos(_ x: CGFloat) -> CGFloat
| `- note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:76:8: note: 'acos' produces 'Double', not the expected contextual result type 'Float'
74 | : __builtin_signbitl(x))
75 |
76 | double acos(double __x);
| `- note: 'acos' produces 'Double', not the expected contextual result type 'Float'
77 | float acosf(float __x);
78 | long double acosl(long double __x);
[3/5] Compiling SwiftyVector CoreGraphics.swift
[4/5] Compiling SwiftyVector Concrete.swift
[5/5] Emitting module SwiftyVector
BUILD FAILURE 6.1 android