The Swift Package Index logo.Swift Package Index

Build Information

Failed to build quiver-cookbook, reference main (5f2cc9), with Swift 6.2 for Android on 20 Apr 2026 05:59:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-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/waynewbishop/quiver-cookbook.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/waynewbishop/quiver-cookbook
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5f2cc92 docs: new recipies and newsletter update..
Cloned https://github.com/waynewbishop/quiver-cookbook.git
Revision (git rev-parse @):
5f2cc923e250419d24ad2a3f1f10a584643d1bc9
SUCCESS checkout https://github.com/waynewbishop/quiver-cookbook.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/waynewbishop/quiver-cookbook.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/waynewbishop/quiver.git
[1/1881] Fetching quiver
Fetched https://github.com/waynewbishop/quiver.git from cache (0.37s)
Computing version for https://github.com/waynewbishop/quiver.git
Computed https://github.com/waynewbishop/quiver.git at 1.0.1 (0.80s)
Creating working copy for https://github.com/waynewbishop/quiver.git
Working copy of https://github.com/waynewbishop/quiver.git resolved at 1.0.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--11D90AFD9DD3AB2.txt
[4/33] Compiling Quiver ArrayAngles.swift
/host/spi-builder-workspace/.build/checkouts/quiver/Sources/Quiver/Extensions/Vectors/ArrayAngles.swift:55:16: error: cannot convert return expression of type 'Double' to return type 'Float'
53 |     func angle(with other: [Float]) -> Float {
54 |         let cosine = self.cosineOfAngle(with: other)
55 |         return acos(Swift.min(1.0, Swift.max(-1.0, cosine)))
   |                `- error: cannot convert return expression of type 'Double' to return type 'Float'
56 |     }
57 |
/host/spi-builder-workspace/.build/checkouts/quiver/Sources/Quiver/Extensions/Vectors/ArrayAngles.swift:55:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
53 |     func angle(with other: [Float]) -> Float {
54 |         let cosine = self.cosineOfAngle(with: other)
55 |         return acos(Swift.min(1.0, Swift.max(-1.0, cosine)))
   |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
56 |     }
57 |
[5/33] Compiling Quiver ArrayArithmetic.swift
/host/spi-builder-workspace/.build/checkouts/quiver/Sources/Quiver/Extensions/Vectors/ArrayAngles.swift:55:16: error: cannot convert return expression of type 'Double' to return type 'Float'
53 |     func angle(with other: [Float]) -> Float {
54 |         let cosine = self.cosineOfAngle(with: other)
55 |         return acos(Swift.min(1.0, Swift.max(-1.0, cosine)))
   |                `- error: cannot convert return expression of type 'Double' to return type 'Float'
56 |     }
57 |
/host/spi-builder-workspace/.build/checkouts/quiver/Sources/Quiver/Extensions/Vectors/ArrayAngles.swift:55:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
53 |     func angle(with other: [Float]) -> Float {
54 |         let cosine = self.cosineOfAngle(with: other)
55 |         return acos(Swift.min(1.0, Swift.max(-1.0, cosine)))
   |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
56 |     }
57 |
[6/33] Compiling Quiver ArrayBoolean.swift
/host/spi-builder-workspace/.build/checkouts/quiver/Sources/Quiver/Extensions/Vectors/ArrayAngles.swift:55:16: error: cannot convert return expression of type 'Double' to return type 'Float'
53 |     func angle(with other: [Float]) -> Float {
54 |         let cosine = self.cosineOfAngle(with: other)
55 |         return acos(Swift.min(1.0, Swift.max(-1.0, cosine)))
   |                `- error: cannot convert return expression of type 'Double' to return type 'Float'
56 |     }
57 |
/host/spi-builder-workspace/.build/checkouts/quiver/Sources/Quiver/Extensions/Vectors/ArrayAngles.swift:55:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
53 |     func angle(with other: [Float]) -> Float {
54 |         let cosine = self.cosineOfAngle(with: other)
55 |         return acos(Swift.min(1.0, Swift.max(-1.0, cosine)))
   |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
56 |     }
57 |
[7/33] Compiling Quiver ArrayBroadcast.swift
/host/spi-builder-workspace/.build/checkouts/quiver/Sources/Quiver/Extensions/Vectors/ArrayAngles.swift:55:16: error: cannot convert return expression of type 'Double' to return type 'Float'
53 |     func angle(with other: [Float]) -> Float {
54 |         let cosine = self.cosineOfAngle(with: other)
55 |         return acos(Swift.min(1.0, Swift.max(-1.0, cosine)))
   |                `- error: cannot convert return expression of type 'Double' to return type 'Float'
56 |     }
57 |
/host/spi-builder-workspace/.build/checkouts/quiver/Sources/Quiver/Extensions/Vectors/ArrayAngles.swift:55:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
53 |     func angle(with other: [Float]) -> Float {
54 |         let cosine = self.cosineOfAngle(with: other)
55 |         return acos(Swift.min(1.0, Swift.max(-1.0, cosine)))
   |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
56 |     }
57 |
[8/37] Emitting module Quiver
[9/37] Compiling Quiver LinearRegression.swift
[10/37] Compiling Quiver ArrayInfo.swift
[11/37] Compiling Quiver Fraction.swift
[12/37] Compiling Quiver StringExtensions.swift
[13/37] Compiling Quiver _VectorRegression.swift
[14/37] Compiling Quiver _VectorReshape.swift
[15/37] Compiling Quiver _VectorSampling.swift
[16/37] Compiling Quiver _VectorStatistics.swift
[17/37] Compiling Quiver ArrayGeneration.swift
[18/37] Compiling Quiver ArrayRandom.swift
[19/37] Compiling Quiver ArrayReshape.swift
[20/37] Compiling Quiver Classifier.swift
[21/37] Compiling Quiver ArrayCharts.swift
[22/37] Compiling Quiver ArrayMetrics.swift
[23/37] Compiling Quiver ArraySampling.swift
[24/37] Compiling Quiver Panel.swift
[25/37] Compiling Quiver FeatureScaler.swift
[26/37] Compiling Quiver GaussianNaiveBayes.swift
[27/37] Compiling Quiver KMeansClustering.swift
[28/37] Compiling Quiver KNearestNeighbors.swift
[29/37] Compiling Quiver _Vector.swift
[30/37] Compiling Quiver _VectorComparable.swift
[31/37] Compiling Quiver _VectorGeneration.swift
[32/37] Compiling Quiver _VectorMetrics.swift
[33/37] Compiling Quiver _VectorOperations.swift
[34/37] Compiling Quiver ArrayElementwise.swift
[35/37] Compiling Quiver ArrayStatistics.swift
[36/37] Compiling Quiver VectorOperations.swift
[37/37] Compiling Quiver Quiver.swift
BUILD FAILURE 6.2 android