The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-bezier, reference main (7061d2), with Swift 6.4 for Android on 21 Sep 2026 00:21:30 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.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/LuizZak/swift-bezier.git
Reference: main
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/LuizZak/swift-bezier
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7061d2e Adding BezierType.approximate() function
Cloned https://github.com/LuizZak/swift-bezier.git
Revision (git rev-parse @):
7061d2e5396e006e6b80313510c3689917d9569d
SUCCESS checkout https://github.com/LuizZak/swift-bezier.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/LuizZak/swift-bezier.git
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.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
Fetching https://github.com/LuizZak/MiniP5Printer.git
[1/50] Fetching minip5printer
Fetched https://github.com/LuizZak/MiniP5Printer.git (0.45s)
Fetching https://github.com/apple/swift-numerics.git
[1/6636] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.59s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.76s)
Creating working copy for https://github.com/LuizZak/MiniP5Printer.git
Working copy of https://github.com/LuizZak/MiniP5Printer.git resolved at main (5be1800)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
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/swift-bezier/BezierLookUpTable.swift /host/spi-builder-workspace/Sources/swift-bezier/Beziers/Cubic/CubicBezier+Cached.swift /host/spi-builder-workspace/Sources/swift-bezier/Beziers/Cubic/CubicBezier.swift /host/spi-builder-workspace/Sources/swift-bezier/Beziers/Cubic/CubicBezier2.swift /host/spi-builder-workspace/Sources/swift-bezier/Beziers/Linear/LinearBezier+Cached.swift /host/spi-builder-workspace/Sources/swift-bezier/Beziers/Linear/LinearBezier.swift /host/spi-builder-workspace/Sources/swift-bezier/Beziers/Linear/LinearBezier2.swift /host/spi-builder-workspace/Sources/swift-bezier/Beziers/Quadratic/QuadBezier+Cached.swift /host/spi-builder-workspace/Sources/swift-bezier/Beziers/Quadratic/QuadBezier.swift /host/spi-builder-workspace/Sources/swift-bezier/Beziers/Quadratic/QuadBezier2.swift /host/spi-builder-workspace/Sources/swift-bezier/CachedBezier.swift /host/spi-builder-workspace/Sources/swift-bezier/Internal/BinarySearch.swift /host/spi-builder-workspace/Sources/swift-bezier/Internal/Comparable+Ext.swift /host/spi-builder-workspace/Sources/swift-bezier/Internal/LegendreGauss.swift /host/spi-builder-workspace/Sources/swift-bezier/Internal/Math.swift /host/spi-builder-workspace/Sources/swift-bezier/Internal/QuadraticSolver.swift /host/spi-builder-workspace/Sources/swift-bezier/LookUpTable.swift /host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2DPoint.swift /host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift /host/spi-builder-workspace/Sources/swift-bezier/Protocols/Bezier2Type.swift /host/spi-builder-workspace/Sources/swift-bezier/Protocols/BezierType.swift /host/spi-builder-workspace/Sources/swift-bezier/Protocols/BoundedBezier2Type.swift /host/spi-builder-workspace/Sources/swift-bezier/Protocols/DeCasteljauSolvableBezierType.swift /host/spi-builder-workspace/Sources/swift-bezier/Protocols/DerivableBezierType.swift /host/spi-builder-workspace/Sources/swift-bezier/Protocols/Point/Bezier2PointType.swift /host/spi-builder-workspace/Sources/swift-bezier/Protocols/Point/BezierPointType.swift /host/spi-builder-workspace/Sources/swift-bezier/Protocols/Point/ConstructibleBezier2PointType.swift /host/spi-builder-workspace/Sources/swift-bezier/Typealiases/CubicBezier+Alias.swift /host/spi-builder-workspace/Sources/swift-bezier/Typealiases/LinearBezier+Alias.swift /host/spi-builder-workspace/Sources/swift-bezier/Typealiases/QuadBezier+Alias.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 5 -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/swift-bezier.build/Debug-android-aarch64/SwiftBezier-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-bezier.build/Debug-android-aarch64/SwiftBezier-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-bezier.build/Debug-android-aarch64/SwiftBezier-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftBezier -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-bezier.build/Debug-android-aarch64/SwiftBezier-t.build/Objects-normal/aarch64/SwiftBezier_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/swift-bezier.build/Debug-android-aarch64/SwiftBezier-t.build/Objects-normal/aarch64/Modules/SwiftBezier.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-bezier.build/Debug-android-aarch64/SwiftBezier-t.build/Objects-normal/aarch64/Modules/SwiftBezier.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-bezier.build/Debug-android-aarch64/SwiftBezier-t.build/Objects-normal/aarch64/SwiftBezier-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-bezier.build/Debug-android-aarch64/SwiftBezier-t.build/Objects-normal/aarch64/SwiftBezier-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-bezier.build/Debug-android-aarch64/SwiftBezier-t.build/Objects-normal/aarch64/SwiftBezier-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-bezier.build/Debug-android-aarch64/SwiftBezier-t.build/Obje[27 / 36] SwiftBezier
cts-normal/aarch64/Modules/SwiftBezier.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android