Build Information
Failed to build CollectionAlgorithms, reference main (c62496), with Swift 6.1 for Android on 1 Jul 2025 14:11:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SangaleBhushan/CollectionAlgorithms.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/SangaleBhushan/CollectionAlgorithms
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c62496f Update README.md
Cloned https://github.com/SangaleBhushan/CollectionAlgorithms.git
Revision (git rev-parse @):
c62496f08891b6ec44d77f7b32fc4f1b61be62b1
SUCCESS checkout https://github.com/SangaleBhushan/CollectionAlgorithms.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/SangaleBhushan/CollectionAlgorithms.git
https://github.com/SangaleBhushan/CollectionAlgorithms.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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/22] Emitting module CollectionAlgorithms
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[4/24] Compiling CollectionAlgorithms Unique.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/24] Compiling CollectionAlgorithms Windowed.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/24] Compiling CollectionAlgorithms IsSorted.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/24] Compiling CollectionAlgorithms KthSmallest.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/24] Compiling CollectionAlgorithms Median.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/24] Compiling CollectionAlgorithms StandardDeviation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/CollectionAlgorithms/StandardDeviation.swift:16:21: error: cannot convert value of type 'Self.Element' to expected argument type 'Double'
14 | let avg = self.reduce(0, +) / Element(count)
15 | let variance = self.map { ($0 - avg) * ($0 - avg) }.reduce(0, +) / Element(count)
16 | return sqrt(variance)
| `- error: cannot convert value of type 'Self.Element' to expected argument type 'Double'
17 | }
18 | }
/host/spi-builder-workspace/Sources/CollectionAlgorithms/StandardDeviation.swift:16:16: error: cannot convert return expression of type 'Double' to return type 'Self.Element'
14 | let avg = self.reduce(0, +) / Element(count)
15 | let variance = self.map { ($0 - avg) * ($0 - avg) }.reduce(0, +) / Element(count)
16 | return sqrt(variance)
| `- error: cannot convert return expression of type 'Double' to return type 'Self.Element'
17 | }
18 | }
[10/24] Compiling CollectionAlgorithms Sum.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/CollectionAlgorithms/StandardDeviation.swift:16:21: error: cannot convert value of type 'Self.Element' to expected argument type 'Double'
14 | let avg = self.reduce(0, +) / Element(count)
15 | let variance = self.map { ($0 - avg) * ($0 - avg) }.reduce(0, +) / Element(count)
16 | return sqrt(variance)
| `- error: cannot convert value of type 'Self.Element' to expected argument type 'Double'
17 | }
18 | }
/host/spi-builder-workspace/Sources/CollectionAlgorithms/StandardDeviation.swift:16:16: error: cannot convert return expression of type 'Double' to return type 'Self.Element'
14 | let avg = self.reduce(0, +) / Element(count)
15 | let variance = self.map { ($0 - avg) * ($0 - avg) }.reduce(0, +) / Element(count)
16 | return sqrt(variance)
| `- error: cannot convert return expression of type 'Double' to return type 'Self.Element'
17 | }
18 | }
[11/24] Compiling CollectionAlgorithms Frequencies.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/24] Compiling CollectionAlgorithms Grouped.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/24] Compiling CollectionAlgorithms IndexOfMinMax.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/24] Compiling CollectionAlgorithms Average.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/24] Compiling CollectionAlgorithms BinarySearch.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/24] Compiling CollectionAlgorithms BinarySearchClosest.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/24] Compiling CollectionAlgorithms Rotate.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/24] Compiling CollectionAlgorithms Sample.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/24] Compiling CollectionAlgorithms Mode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/24] Compiling CollectionAlgorithms Partitioned.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/24] Compiling CollectionAlgorithms Permutations.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/24] Compiling CollectionAlgorithms Bounds.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/24] Compiling CollectionAlgorithms Chunked.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/24] Compiling CollectionAlgorithms CountWhere.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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/21] Emitting module CollectionAlgorithms
[3/23] Compiling CollectionAlgorithms Rotate.swift
[4/23] Compiling CollectionAlgorithms Sample.swift
[5/23] Compiling CollectionAlgorithms Frequencies.swift
[6/23] Compiling CollectionAlgorithms Grouped.swift
[7/23] Compiling CollectionAlgorithms IndexOfMinMax.swift
[8/23] Compiling CollectionAlgorithms Unique.swift
[9/23] Compiling CollectionAlgorithms Windowed.swift
[10/23] Compiling CollectionAlgorithms Bounds.swift
[11/23] Compiling CollectionAlgorithms Chunked.swift
[12/23] Compiling CollectionAlgorithms CountWhere.swift
[13/23] Compiling CollectionAlgorithms IsSorted.swift
[14/23] Compiling CollectionAlgorithms KthSmallest.swift
[15/23] Compiling CollectionAlgorithms Median.swift
[16/23] Compiling CollectionAlgorithms Mode.swift
[17/23] Compiling CollectionAlgorithms Partitioned.swift
[18/23] Compiling CollectionAlgorithms Permutations.swift
[19/23] Compiling CollectionAlgorithms Average.swift
[20/23] Compiling CollectionAlgorithms BinarySearch.swift
[21/23] Compiling CollectionAlgorithms BinarySearchClosest.swift
[22/23] Compiling CollectionAlgorithms StandardDeviation.swift
/host/spi-builder-workspace/Sources/CollectionAlgorithms/StandardDeviation.swift:16:21: error: cannot convert value of type 'Self.Element' to expected argument type 'Double'
14 | let avg = self.reduce(0, +) / Element(count)
15 | let variance = self.map { ($0 - avg) * ($0 - avg) }.reduce(0, +) / Element(count)
16 | return sqrt(variance)
| `- error: cannot convert value of type 'Self.Element' to expected argument type 'Double'
17 | }
18 | }
/host/spi-builder-workspace/Sources/CollectionAlgorithms/StandardDeviation.swift:16:16: error: cannot convert return expression of type 'Double' to return type 'Self.Element'
14 | let avg = self.reduce(0, +) / Element(count)
15 | let variance = self.map { ($0 - avg) * ($0 - avg) }.reduce(0, +) / Element(count)
16 | return sqrt(variance)
| `- error: cannot convert return expression of type 'Double' to return type 'Self.Element'
17 | }
18 | }
[23/23] Compiling CollectionAlgorithms Sum.swift
/host/spi-builder-workspace/Sources/CollectionAlgorithms/StandardDeviation.swift:16:21: error: cannot convert value of type 'Self.Element' to expected argument type 'Double'
14 | let avg = self.reduce(0, +) / Element(count)
15 | let variance = self.map { ($0 - avg) * ($0 - avg) }.reduce(0, +) / Element(count)
16 | return sqrt(variance)
| `- error: cannot convert value of type 'Self.Element' to expected argument type 'Double'
17 | }
18 | }
/host/spi-builder-workspace/Sources/CollectionAlgorithms/StandardDeviation.swift:16:16: error: cannot convert return expression of type 'Double' to return type 'Self.Element'
14 | let avg = self.reduce(0, +) / Element(count)
15 | let variance = self.map { ($0 - avg) * ($0 - avg) }.reduce(0, +) / Element(count)
16 | return sqrt(variance)
| `- error: cannot convert return expression of type 'Double' to return type 'Self.Element'
17 | }
18 | }
BUILD FAILURE 6.1 android