Build Information
Failed to build Taskig, reference 0.2.6 (8e7e56), with Swift 6.3 for Linux on 10 Apr 2026 12:46:50 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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stendahls/Taskig.git
Reference: 0.2.6
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
* tag 0.2.6 -> FETCH_HEAD
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 0.2.6
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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 |
[4/10] Compiling Taskig Collections.swift
[5/10] Compiling Taskig CancellableTaskType.swift
[6/10] Emitting module Taskig
[7/10] Compiling Taskig Helpers.swift
[8/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: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 | })
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[9/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: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 | })
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[10/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>
BUILD FAILURE 6.3 linux