Build Information
Failed to build Taskig, reference master (8e7e56), with Swift 6.2 for Android on 17 Jun 2025 16:05:01 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stendahls/Taskig.git
Reference: master
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/stendahls/Taskig
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8e7e560 Updated license text
Cloned https://github.com/stendahls/Taskig.git
Revision (git rev-parse @):
8e7e5603d5f14bb2a1b262137d9122ec58c8837a
SUCCESS checkout https://github.com/stendahls/Taskig.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/stendahls/Taskig.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/10] Compiling Taskig TaskType.swift
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:44:38: error: referencing operator function '==' on 'Equatable' requires that 'DispatchQueue' conform to 'Equatable'
42 | @discardableResult
43 | func await() -> ResultType {
44 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
| `- error: referencing operator function '==' on 'Equatable' requires that 'DispatchQueue' conform to 'Equatable'
45 |
46 | var result: ResultType!
Swift.Equatable:1:17: note: where 'Self' = 'DispatchQueue'
1 | public protocol Equatable {
| `- note: where 'Self' = 'DispatchQueue'
2 | static func == (lhs: Self, rhs: Self) -> Bool
3 | }
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:52:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |
51 | executionQueue.async {
52 | self.action(completion: { (actionResult) in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 | result = actionResult
54 | group.leave()
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:43:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | public extension TaskType {
42 | @discardableResult
43 | func await() -> ResultType {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
45 |
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:53:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
51 | executionQueue.async {
52 | self.action(completion: { (actionResult) in
53 | result = actionResult
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
54 | group.leave()
55 | })
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:65:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
63 | func async(delayBy: TimeInterval = 0, completion: @escaping resultHandler) {
64 | executionQueue.asyncAfter(deadline: .now() + delayBy) {
65 | self.action(completion: completion)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 | }
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:63:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
61 | }
62 |
63 | func async(delayBy: TimeInterval = 0, completion: @escaping resultHandler) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | executionQueue.asyncAfter(deadline: .now() + delayBy) {
65 | self.action(completion: completion)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[4/10] Compiling Taskig ThrowableTaskType.swift
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:46:38: error: referencing operator function '==' on 'Equatable' requires that 'DispatchQueue' conform to 'Equatable'
44 | @discardableResult
45 | func awaitResult() -> Result<ResultType, Error> {
46 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
| `- error: referencing operator function '==' on 'Equatable' requires that 'DispatchQueue' conform to 'Equatable'
47 |
48 | var result: Result<ResultType, Error>!
Swift.Equatable:1:17: note: where 'Self' = 'DispatchQueue'
1 | public protocol Equatable {
| `- note: where 'Self' = 'DispatchQueue'
2 | static func == (lhs: Self, rhs: Self) -> Bool
3 | }
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:54:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 |
53 | executionQueue.async {
54 | self.action(completion: { (actionResult) in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 | result = actionResult
56 | group.leave()
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:45:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 | public extension ThrowableTaskType {
44 | @discardableResult
45 | func awaitResult() -> Result<ResultType, Error> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
46 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
47 |
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:55:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
53 | executionQueue.async {
54 | self.action(completion: { (actionResult) in
55 | result = actionResult
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
56 | group.leave()
57 | })
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:72:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | func async(delayBy: TimeInterval = 0, completion: @escaping resultHandler) {
71 | executionQueue.asyncAfter(deadline: .now() + delayBy) {
72 | self.action(completion: completion)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
73 | }
74 | }
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:70:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func async(delayBy: TimeInterval = 0, completion: @escaping resultHandler) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
71 | executionQueue.asyncAfter(deadline: .now() + delayBy) {
72 | self.action(completion: completion)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[5/10] Compiling Taskig ThrowableTask.swift
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:71:38: error: referencing operator function '==' on 'Equatable' requires that 'DispatchQueue' conform to 'Equatable'
69 | @discardableResult
70 | public func awaitResult() -> Result<ResultType, Error> {
71 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
| `- error: referencing operator function '==' on 'Equatable' requires that 'DispatchQueue' conform to 'Equatable'
72 |
73 | var result: Result<ResultType, Error>!
Swift.Equatable:1:17: note: where 'Self' = 'DispatchQueue'
1 | public protocol Equatable {
| `- note: where 'Self' = 'DispatchQueue'
2 | static func == (lhs: Self, rhs: Self) -> Bool
3 | }
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:80:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
78 | executionQueue.async {
79 | guard self.isCancelled == false else {
80 | result = .failure(CancellableTaskError.taskWasCancelled)
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
81 | group.leave()
82 | return
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:86:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
84 |
85 | self.action(completion: { (actionResult) in
86 | result = actionResult
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
87 | group.leave()
88 | })
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[6/10] Compiling Taskig Collections.swift
[7/10] Compiling Taskig Helpers.swift
[8/10] Compiling Taskig CancellableTaskType.swift
[9/10] Compiling Taskig Task.swift
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:55:72: warning: passing non-sendable parameter 'action' to function expecting a '@Sendable' closure
52 |
53 | public extension Task where T == Void {
54 | static func async(executionQueue: DispatchQueue = .global(), delayBy: TimeInterval = 0, action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
55 | executionQueue.asyncAfter(deadline: .now() + delayBy, execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a '@Sendable' closure
56 | }
57 |
[10/10] Emitting module Taskig
BUILD FAILURE 6.2 android