Build Information
Failed to build Taskig, reference 0.2.6 (8e7e56), with Swift 6.0 for Linux on 16 Jun 2025 21:13:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.0
Building package at path: $PWD
https://github.com/stendahls/Taskig.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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
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
56 | group.leave()
57 | })
[4/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
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
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
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
87 | group.leave()
88 | })
[5/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
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
54 | group.leave()
55 | })
[6/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 |
[7/10] Compiling Taskig Helpers.swift
[8/10] Compiling Taskig Collections.swift
[9/10] Compiling Taskig CancellableTaskType.swift
[10/10] Emitting module Taskig
BUILD FAILURE 6.0 linux